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.HeckeCycles.Source.PELFiniteGroup |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LatticeTopology |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrincipalLatticeDivision |
| 4 | |
| 5 | /-! # Principal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.Principal.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Principal membership of the actual rational source matrix is |
| 12 | detected by its PEL finite image and the original completed lattice. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | |
| 17 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 18 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (Q : GeometricSource.CM.SymplecticCoordinates E B places) |
| 19 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hb : P.b = B.b) |
| 20 | {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ P.lattice] |
| 21 | (b : Module.Basis J ℤ P.lattice) |
| 22 | |
| 23 | include b in |
| 24 | omit [NumberField.IsCMField ↥E] in |
| 25 | theorem rational_mem (x : Fin 3 → E) : |
| 26 | AbelianModuli.ReferenceFamily.AdelicData.finiteVectorEmbedding E x ∈ P.completedLattice ↔ x ∈ P.lattice := by |
| 27 | rw [show P.completedLattice = CMExtraction.LatticeCoordinates.TestTransport.completedVectorLattice E P.lattice from rfl, |
| 28 | CMExtraction.LatticeCoordinates.TestTransport.completedVectorLattice_coordinates E P.lattice b, |
| 29 | CMExtraction.LatticeCoordinates.TestTransport.lattice_mem_iff_integer_coordinates P.lattice b] |
| 30 | rw [show AbelianModuli.ReferenceFamily.AdelicData.finiteVectorEmbedding E x = (fun i => AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E (x i)) from rfl, |
| 31 | CMExtraction.CoefficientVectorCoordinates.TestTransport.coefficientVectorCoordinates_rational] |
| 32 | exact forall_congr' (fun j => RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.rational_integral_iff ((b.extendOfIsLattice ℚ).equivFun x j)) |
| 33 | |
| 34 | def embedding : (Fin 3 → E) →ₗ[ℚ] (Fin 3 → AbelianModuli.ReferenceFamily.AdelicData.FiniteCoefficients E) := |
| 35 | LinearMap.pi (fun i => (AbelianModuli.ReferenceFamily.AdelicData.finiteCoefficientEmbedding E).toLinearMap.comp (LinearMap.proj i)) |
| 36 | |
| 37 | include b in |
| 38 | theorem rational_principal (N : ℕ) (hN : 0 < N) (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 39 | (hg : Source.PELFiniteGroup.CM.pel E Q P hb (Source.RationalLocal.CM.finiteHom E Q g) ∈ |
| 40 | P.adelicPrincipalLevel N) : |
| 41 | (Matrix.SpecialLinearGroup.toLin' g.val).restrictScalars ℚ ∈ |
| 42 | AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup P.lattice.toAddSubgroup N := by |
| 43 | let G := Source.PELFiniteGroup.CM.pel E Q P hb (Source.RationalLocal.CM.finiteHom E Q g) |
| 44 | have hv (x : Fin 3 → E) : G.val (embedding E x) = embedding E (g.val.val *ᵥ x) := |
| 45 | Source.PELFiniteGroup.CM.Matrix.rational_vector E Q P hb g x |
| 46 | change (∀ x, x ∈ P.completedLattice ↔ G.val x ∈ P.completedLattice) ∧ |
| 47 | (∀ x ∈ P.completedLattice, ∃ y ∈ P.completedLattice, G.val x - x = N • y) at hg |
| 48 | change (∀ x, x ∈ P.lattice ↔ g.val.val *ᵥ x ∈ P.lattice) ∧ |
| 49 | (∀ x ∈ P.lattice, ∃ y ∈ P.lattice, g.val.val *ᵥ x - x = N • y) |
| 50 | constructor |
| 51 | · intro x |
| 52 | exact (rational_mem E P b x).symm.trans |
| 53 | ((hg.1 (embedding E x)).trans |
| 54 | ((Iff.of_eq (congrArg (fun y => y ∈ P.completedLattice) (hv x))).trans |
| 55 | (rational_mem E P b (g.val.val *ᵥ x)))) |
| 56 | · intro x hx |
| 57 | have hx' := (rational_mem E P b x).mpr hx |
| 58 | have hd := (CMExtraction.PrincipalLatticeDivision.TestTransport.lattice_multiple_iff_division P.completedLattice.toAddSubgroup N hN _).mp |
| 59 | (hg.2 (embedding E x) hx') |
| 60 | rw [hv, ← map_sub, ← map_smul] at hd |
| 61 | have hd' := (rational_mem E P b ((N : ℚ)⁻¹ • (g.val.val *ᵥ x - x))).mp hd |
| 62 | exact (CMExtraction.PrincipalLatticeDivision.TestTransport.lattice_multiple_iff_division P.lattice.toAddSubgroup N hN _).mpr hd' |
| 63 | |
| 64 | include b in |
| 65 | theorem source_principal (hL : P.lattice = B.lattice) (N : ℕ) (hN : 0 < N) |
| 66 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 67 | (hg : Source.PELFiniteGroup.CM.pel E Q P hb (Source.RationalLocal.CM.finiteHom E Q g) ∈ |
| 68 | P.adelicPrincipalLevel N) : |
| 69 | B.principalLevel N (Matrix.SpecialLinearGroup.toLin' g.val) := by |
| 70 | have h := rational_principal E Q P hb b N hN g hg |
| 71 | rw [hL] at h |
| 72 | refine ⟨g.property, ?_, h.1, ?_⟩ |
| 73 | · rw [← LinearMap.det_toMatrix'] |
| 74 | erw [LinearMap.toMatrix'_toLin'] |
| 75 | exact g.val.property |
| 76 | · intro x hx |
| 77 | obtain ⟨y, hy, he⟩ := h.2 x hx |
| 78 | exact ⟨y, hy, he.trans (Nat.cast_smul_eq_nsmul ℤ N y).symm⟩ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.Principal.CM |