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.RepresentationTheory.Theta.Geometric.Local.MatrixLattice |
| 2 | |
| 3 | /-! # Principal Local Matrices -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Preserving the original integral reference lattice forces every |
| 10 | supplied local matrix to lie in the literal integral special-linear group. -/ |
| 11 | |
| 12 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 13 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 14 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 15 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 16 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 17 | |
| 18 | theorem Data.ActiveHeckeThetaData.localMatrix_preserves_reference_span (g : D.RationalSU) |
| 19 | (hg : ∀ x ∈ D.pel.reference.lattice, D.rationalLinear g x ∈ D.pel.reference.lattice) |
| 20 | (v : Fin s × Bool) (x : Fin 3 → ℚ_[q]) (hx : x ∈ D.localReferenceLattice v) : |
| 21 | (D.localMatrix v g).val.mulVec x ∈ D.localReferenceLattice v := by |
| 22 | let f := (Matrix.SpecialLinearGroup.toLin' (D.localMatrix v g)).toLinearMap.restrictScalars ℤ_[q] |
| 23 | change f x ∈ D.localReferenceLattice v |
| 24 | induction hx using Submodule.span_induction with |
| 25 | | mem x hx => |
| 26 | obtain ⟨u, hu, rfl⟩ := hx |
| 27 | change (D.localMatrix v g).val.mulVec (fun i => D.localEmbedding v (u i)) ∈ D.localReferenceLattice v |
| 28 | rw [D.localMatrix_reference_action] |
| 29 | exact Submodule.subset_span ⟨_, hg u hu, rfl⟩ |
| 30 | | zero => |
| 31 | rw [map_zero] |
| 32 | exact (D.localReferenceLattice v).zero_mem |
| 33 | | add x y _ _ hx hy => |
| 34 | rw [map_add] |
| 35 | exact (D.localReferenceLattice v).add_mem hx hy |
| 36 | | smul a x _ hx => |
| 37 | rw [map_smul] |
| 38 | exact (D.localReferenceLattice v).smul_mem a hx |
| 39 | |
| 40 | theorem Data.ActiveHeckeThetaData.localMatrix_integral_of_reference_lattice (hc : D.HasFiniteCoordinates) (g : D.RationalSU) |
| 41 | (hg : ∀ x ∈ D.pel.reference.lattice, D.rationalLinear g x ∈ D.pel.reference.lattice) |
| 42 | (v : Fin s × Bool) : D.localMatrix v g ∈ SphericalGU.Spherical.integralSL3 q := by |
| 43 | apply (AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates.TestTransport.integralSL3_iff_preserves_vectors q _).mpr |
| 44 | intro x hx |
| 45 | have h := D.localMatrix_preserves_reference_span g hg v x |
| 46 | ((hc.2.1 v).symm ▸ (Local.MatrixLattice.standardLocalLattice_mem_iff q x).mpr hx) |
| 47 | rw [hc.2.1] at h |
| 48 | exact (Local.MatrixLattice.standardLocalLattice_mem_iff q _).mp h |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.RepresentationTheory.Theta.Geometric |