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.SplitLocalLattice |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.JointRationalCompletion |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.IntegralRationalBasis |
| 4 | import OAI.RepresentationTheory.Theta.Geometric.LatticeSaturation |
| 5 | import OAI.RepresentationTheory.Theta.Geometric.AwayLattice |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Reference.FixedBasis |
| 7 | |
| 8 | /-! # Integral Detection -/ |
| 9 | |
| 10 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Literal integral membership in the reference lattice is detected by |
| 15 | all its original split coordinates together with away-q membership. -/ |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 20 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 21 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 22 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 23 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 24 | |
| 25 | theorem Data.ActiveHeckeThetaData.referenceLattice_of_jointLocal_and_away (hg : D.pel.HasIntegralModelGeometry) |
| 26 | (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 27 | (hdegree : Module.finrank ℚ E = 2 * s) (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) |
| 28 | (hlocal : D.jointLocalEmbedding v ∈ D.jointLocalLattice) (haway : v ∈ D.awayLattice) : |
| 29 | v ∈ D.pel.reference.lattice := by |
| 30 | have hspan : Submodule.span ℚ (D.pel.reference.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) = ⊤ := by |
| 31 | rcases hg.reference_admissible with ⟨_, _, _, _, _, _, _, _, _, h, _⟩ |
| 32 | exact h.2.1 |
| 33 | have hrank : Fintype.card (Fin (2 * (3 * s))) = Module.finrank ℚ (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) := by |
| 34 | change Fintype.card (Fin (2 * (3 * s))) = Module.finrank ℚ (Fin 3 → E) |
| 35 | rw [Module.finrank_pi_fintype] |
| 36 | simp only [Fintype.card_fin, hdegree, Finset.sum_const, Finset.card_univ, smul_eq_mul] |
| 37 | omega |
| 38 | let b := IntegralRationalBasis.integralRationalBasis D.pel.reference.lattice |
| 39 | (D.pel.reference.referenceBasis hg.reference_admissible) hspan hrank |
| 40 | let e := D.jointRationalCompletion hgood hdegree |
| 41 | apply LatticeSaturation.completedLattice_power_saturation q b D.pel.reference.lattice |
| 42 | (IntegralRationalBasis.integralRationalBasis_span _ _ _ _) e v |
| 43 | · change e (1 ⊗ₜ[ℚ] v) ∈ Submodule.span ℤ_[q] |
| 44 | ((fun x => e (1 ⊗ₜ[ℚ] x)) '' (D.pel.reference.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E))) |
| 45 | simpa only [e, D.jointRationalCompletion_one_tmul hgood hdegree hc, Data.ActiveHeckeThetaData.jointLocalLattice] using hlocal |
| 46 | · exact (D.mem_awayLattice_iff v).mp haway |
| 47 | |
| 48 | theorem Data.ActiveHeckeThetaData.referenceLattice_of_local_and_away (hg : D.pel.HasIntegralModelGeometry) |
| 49 | (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 50 | (hdegree : Module.finrank ℚ E = 2 * s) (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) |
| 51 | (hlocal : ∀ w, (fun i => D.localEmbedding w (v i)) ∈ Data.ActiveHeckeThetaData.standardLocalLattice (q := q)) |
| 52 | (haway : v ∈ D.awayLattice) : v ∈ D.pel.reference.lattice := |
| 53 | D.referenceLattice_of_jointLocal_and_away hg hc hgood hdegree v |
| 54 | ((D.jointLocalLattice_standard hg hc hgood _).mpr hlocal) haway |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.RepresentationTheory.Theta.Geometric |