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.PrincipalLocalMatrices |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.PrincipalAwayLattice |
| 3 | |
| 4 | /-! # Principal Finite Coordinates -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Principal congruence on the actual reference lattice implies |
| 11 | membership in the precise finite subgroup used in GeometricTheta. -/ |
| 12 | |
| 13 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 14 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 15 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 16 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 17 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 18 | |
| 19 | theorem Data.ActiveHeckeThetaData.principal_finite_membership (hc : D.HasFiniteCoordinates) (g : D.RationalSU) |
| 20 | (hg : ∀ x, x ∈ D.pel.reference.lattice ↔ D.rationalLinear g x ∈ D.pel.reference.lattice) |
| 21 | (hl : ∀ x ∈ D.pel.reference.lattice, ∃ y ∈ D.pel.reference.lattice, |
| 22 | D.rationalLinear g x - x = D.pel.level • y) : |
| 23 | D.rationalFinite g ∈ (SphericalGU.Spherical.integralSL3 q).prod D.awayLevel.toSubgroup := by |
| 24 | have hint (v) := D.localMatrix_integral_of_reference_lattice hc g (fun x hx => (hg x).mp hx) v |
| 25 | exact ⟨hint (D.pel.reference.distinguished, false), |
| 26 | (hc.2.2 g).mpr ⟨D.principal_mem_rationalAwayLevel g hg hl, fun v _ => hint v⟩⟩ |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.RepresentationTheory.Theta.Geometric |