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.PrincipalUnitaryDeterminant |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.PrincipalFiniteCoordinates |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.Reference.ModuliPoints |
| 4 | |
| 5 | /-! # PEL Finite Matrix -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An equality of actual reference moduli points yields a rational SU |
| 12 | matrix in the exact finite subgroup, preserving every original label. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 20 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 21 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 22 | {D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA} |
| 23 | {hg : D.pel.HasIntegralModelGeometry} {x y : D.domain} |
| 24 | (R : D.ReferencePELPointData hg x) (S : D.ReferencePELPointData hg y) |
| 25 | |
| 26 | theorem Data.ActiveHeckeThetaData.ReferencePELPointData.familyIso_of_point_eq (h : R.point = S.point) : Nonempty (AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli.PELFamilyIso R.family S.family) := by |
| 27 | have hS := S.point_family |
| 28 | rw [← h] at hS |
| 29 | exact ⟨R.point_family.some.symm.trans hS.some⟩ |
| 30 | |
| 31 | variable (e : AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli.PELFamilyIso R.family S.family) |
| 32 | |
| 33 | def Data.ActiveHeckeThetaData.ReferencePELPointData.rationalMatrix : D.RationalSU := |
| 34 | letI : NeZero D.pel.level := ⟨by have h := hg.fullLevel; omega⟩ |
| 35 | PrincipalUnitaryDeterminant.referencePELRationalSU (C := R.polarization) (C' := S.polarization) e hg.fullLevel |
| 36 | |
| 37 | theorem Data.ActiveHeckeThetaData.ReferencePELPointData.rationalMatrix_lattice (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 38 | v ∈ D.pel.reference.lattice ↔ D.rationalLinear (R.rationalMatrix S e) v ∈ D.pel.reference.lattice := by |
| 39 | let : NeZero D.pel.level := ⟨by have h := hg.fullLevel; omega⟩ |
| 40 | exact PrincipalUnitaryDeterminant.referencePELRationalSU_lattice (C := R.polarization) (C' := S.polarization) e hg.fullLevel v |
| 41 | |
| 42 | theorem Data.ActiveHeckeThetaData.ReferencePELPointData.rationalMatrix_level (v : D.pel.reference.lattice) : |
| 43 | ∃ w ∈ D.pel.reference.lattice, |
| 44 | D.rationalLinear (R.rationalMatrix S e) v.val - v.val = D.pel.level • w := by |
| 45 | let : NeZero D.pel.level := ⟨by have h := hg.fullLevel; omega⟩ |
| 46 | exact PrincipalUnitaryDeterminant.referencePELRationalSU_level (C := R.polarization) (C' := S.polarization) e hg.fullLevel v |
| 47 | |
| 48 | theorem Data.ActiveHeckeThetaData.ReferencePELPointData.rationalMatrix_finite (hc : D.HasFiniteCoordinates) : |
| 49 | D.rationalFinite (R.rationalMatrix S e) ∈ (SphericalGU.Spherical.integralSL3 q).prod D.awayLevel.toSubgroup := |
| 50 | D.principal_finite_membership hc (R.rationalMatrix S e) (R.rationalMatrix_lattice S e) |
| 51 | (fun v hv => R.rationalMatrix_level S e ⟨v, hv⟩) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.RepresentationTheory.Theta.Geometric |