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.IntegralDetection |
| 2 | |
| 3 | /-! # Local Basis -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The same fixed integral reference basis gives rational and completed |
| 10 | bases. Their vectors retain the literal original split embeddings. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 15 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 16 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 17 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 18 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 19 | (hg : D.pel.HasIntegralModelGeometry) (hdegree : Module.finrank ℚ E = 2 * s) |
| 20 | |
| 21 | include hg in |
| 22 | theorem Data.ActiveHeckeThetaData.referenceLattice_rationalSpan : |
| 23 | Submodule.span ℚ (D.pel.reference.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E)) = ⊤ := by |
| 24 | rcases hg.reference_admissible with ⟨_, _, _, _, _, _, _, _, _, h, _⟩ |
| 25 | exact h.2.1 |
| 26 | |
| 27 | include hdegree in |
| 28 | omit [NumberField.IsCMField E] in |
| 29 | theorem Data.ActiveHeckeThetaData.referenceLattice_rank : Fintype.card (Fin (2 * (3 * s))) = Module.finrank ℚ (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) := by |
| 30 | change Fintype.card (Fin (2 * (3 * s))) = Module.finrank ℚ (Fin 3 → E) |
| 31 | rw [Module.finrank_pi_fintype] |
| 32 | simp only [Fintype.card_fin, hdegree, Finset.sum_const, Finset.card_univ, smul_eq_mul] |
| 33 | omega |
| 34 | |
| 35 | def Data.ActiveHeckeThetaData.referenceQBasis : Module.Basis (Fin (2 * (3 * s))) ℚ (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) := |
| 36 | IntegralRationalBasis.integralRationalBasis D.pel.reference.lattice (D.pel.reference.referenceBasis hg.reference_admissible) |
| 37 | (D.referenceLattice_rationalSpan hg) (Data.ActiveHeckeThetaData.referenceLattice_rank hdegree) |
| 38 | |
| 39 | theorem Data.ActiveHeckeThetaData.referenceQBasis_apply (i : Fin (2 * (3 * s))) : |
| 40 | D.referenceQBasis hg hdegree i = (D.pel.reference.referenceBasis hg.reference_admissible i).val := |
| 41 | IntegralRationalBasis.integralRationalBasis_apply _ _ _ _ i |
| 42 | |
| 43 | theorem Data.ActiveHeckeThetaData.referenceQBasis_span : |
| 44 | Submodule.span ℤ (Set.range (D.referenceQBasis hg hdegree)) = D.pel.reference.lattice := |
| 45 | IntegralRationalBasis.integralRationalBasis_span _ _ _ _ |
| 46 | |
| 47 | def Data.ActiveHeckeThetaData.jointQBasis (hgood : D.pel.IsGoodCompletelySplitPrime) : |
| 48 | Module.Basis (Fin (2 * (3 * s))) ℚ_[q] (Fin s × Bool → Fin 3 → ℚ_[q]) := |
| 49 | ((D.referenceQBasis hg hdegree).baseChange ℚ_[q]).map (D.jointRationalCompletion hgood hdegree) |
| 50 | |
| 51 | theorem Data.ActiveHeckeThetaData.jointQBasis_apply (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 52 | (i : Fin (2 * (3 * s))) : D.jointQBasis hg hdegree hgood i = |
| 53 | D.jointLocalEmbedding (D.pel.reference.referenceBasis hg.reference_admissible i).val := by |
| 54 | change D.jointRationalCompletion hgood hdegree ((D.referenceQBasis hg hdegree).baseChange ℚ_[q] i) = _ |
| 55 | rw [Module.Basis.baseChange_apply, D.referenceQBasis_apply, D.jointRationalCompletion_one_tmul hgood hdegree hc] |
| 56 | |
| 57 | theorem Data.ActiveHeckeThetaData.jointQBasis_mem (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 58 | (i : Fin (2 * (3 * s))) : D.jointQBasis hg hdegree hgood i ∈ D.jointLocalLattice := by |
| 59 | rw [D.jointQBasis_apply hg hdegree hc hgood] |
| 60 | exact Submodule.subset_span ⟨_, (D.pel.reference.referenceBasis hg.reference_admissible i).property, rfl⟩ |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.RepresentationTheory.Theta.Geometric |