Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalLatticeGenerators |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LocalizedLatticeMaps |
| 3 | |
| 4 | /-! # Principal Lattice Division -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalLatticeDivision.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Congruence in a rational vector space is exact membership of the |
| 11 | divided difference in the original lattice. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {V : Type*} [AddCommGroup V] [Module ℚ V] |
| 16 | |
| 17 | theorem lattice_multiple_iff_division (L : AddSubgroup V) (N : ℕ) (hN : 0 < N) (x : V) : |
| 18 | (∃ y ∈ L, x = N • y) ↔ (N : ℚ)⁻¹ • x ∈ L := by |
| 19 | have hN0 : (N : ℚ) ≠ 0 := by exact_mod_cast hN.ne' |
| 20 | constructor |
| 21 | · rintro ⟨y, hy, rfl⟩ |
| 22 | simpa only [← Nat.cast_smul_eq_nsmul ℚ, smul_smul, inv_mul_cancel₀ hN0, one_smul] using hy |
| 23 | · intro hx |
| 24 | refine ⟨(N : ℚ)⁻¹ • x, hx, ?_⟩ |
| 25 | rw [← Nat.cast_smul_eq_nsmul ℚ, smul_smul, mul_inv_cancel₀ hN0, one_smul] |
| 26 | |
| 27 | theorem principalLattice_iff_division (L : Submodule ℤ V) (N : ℕ) (hN : 0 < N) |
| 28 | (g : V ≃ₗ[ℚ] V) : |
| 29 | g ∈ AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup L.toAddSubgroup N ↔ |
| 30 | (∀ x ∈ L, g x ∈ L) ∧ (∀ x ∈ L, g.symm x ∈ L) ∧ |
| 31 | ∀ x ∈ L, (N : ℚ)⁻¹ • (g x - x) ∈ L := by |
| 32 | change ((∀ x, x ∈ L ↔ g x ∈ L) ∧ ∀ x ∈ L, ∃ y ∈ L, g x - x = N • y) ↔ _ |
| 33 | constructor |
| 34 | · rintro ⟨hg, hc⟩ |
| 35 | refine ⟨fun x hx => (hg x).mp hx, ?_, fun x hx => |
| 36 | (lattice_multiple_iff_division L.toAddSubgroup N hN _).mp (hc x hx)⟩ |
| 37 | intro x hx |
| 38 | exact (hg (g.symm x)).mpr (by simpa only [LinearEquiv.apply_symm_apply] using hx) |
| 39 | · rintro ⟨hg, hi, hc⟩ |
| 40 | refine ⟨fun x => ⟨hg x, fun hx => ?_⟩, fun x hx => |
| 41 | (lattice_multiple_iff_division L.toAddSubgroup N hN _).mpr (hc x hx)⟩ |
| 42 | simpa only [LinearEquiv.symm_apply_apply] using hi (g x) hx |
| 43 | |
| 44 | theorem principalLattice_generators_division {A J : Type*} [CommRing A] [Module A V] |
| 45 | (L : Submodule A V) (b : J → V) (hb : Submodule.span A (Set.range b) = L) |
| 46 | (N : ℕ) (hN : 0 < N) (g : V ≃ₗ[A] V) : |
| 47 | g ∈ AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup L.toAddSubgroup N ↔ |
| 48 | (∀ j, g (b j) ∈ L) ∧ (∀ j, g.symm (b j) ∈ L) ∧ |
| 49 | ∀ j, (N : ℚ)⁻¹ • (g (b j) - b j) ∈ L := by |
| 50 | rw [PrincipalLatticeGenerators.TestTransport.principalLattice_iff_generators L b hb N g] |
| 51 | exact and_congr Iff.rfl (and_congr Iff.rfl |
| 52 | (forall_congr' (fun j => lattice_multiple_iff_division L.toAddSubgroup N hN _))) |
| 53 | |
| 54 | variable {J : Type*} [Fintype J] (L : Submodule ℤ V) (b : Module.Basis J ℤ L) |
| 55 | |
| 56 | theorem principalPowerLocalizedLattice_iff_basis (q N : ℕ) (hN : 0 < N) (g : V ≃ₗ[ℚ] V) : |
| 57 | g ∈ AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup (LocalizedLatticeMaps.TestTransport.powerLocalizedLattice L q).toAddSubgroup N ↔ |
| 58 | (∀ j, g (b j).val ∈ LocalizedLatticeMaps.TestTransport.powerLocalizedLattice L q) ∧ |
| 59 | (∀ j, g.symm (b j).val ∈ LocalizedLatticeMaps.TestTransport.powerLocalizedLattice L q) ∧ |
| 60 | ∀ j, (N : ℚ)⁻¹ • (g (b j).val - (b j).val) ∈ LocalizedLatticeMaps.TestTransport.powerLocalizedLattice L q := by |
| 61 | rw [principalLattice_iff_division _ N hN g] |
| 62 | exact and_congr |
| 63 | (LocalizedLatticeMaps.TestTransport.powerLocalizedLattice_map_iff_basis L q b (g.toLinearMap.restrictScalars ℤ)) |
| 64 | (and_congr (LocalizedLatticeMaps.TestTransport.powerLocalizedLattice_map_iff_basis L q b (g.symm.toLinearMap.restrictScalars ℤ)) |
| 65 | (LocalizedLatticeMaps.TestTransport.powerLocalizedLattice_map_iff_basis L q b |
| 66 | (((N : ℚ)⁻¹ • (g.toLinearMap - LinearMap.id)).restrictScalars ℤ))) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalLatticeDivision.TestTransport |