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.Period.Lattice |
| 2 | |
| 3 | /-! # Basis -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! One integral basis of the fixed reference lattice gives compatible |
| 10 | bases in every explicit period fiber. -/ |
| 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 | def Data.ActiveHeckeThetaData.periodLatticeMap (x : D.domain) : D.pel.reference.lattice →+ D.periodLattice x.val where |
| 19 | toFun v := ⟨D.periodReferenceEmbedding x.val v.val, |
| 20 | (D.periodLattice_mem x.val _).mpr ⟨v.val, v.property, rfl⟩⟩ |
| 21 | map_zero' := Subtype.ext (map_zero (D.periodReferenceEmbedding x.val)) |
| 22 | map_add' v w := Subtype.ext (map_add (D.periodReferenceEmbedding x.val) v.val w.val) |
| 23 | |
| 24 | theorem Data.ActiveHeckeThetaData.periodLatticeMap_bijective (hg : D.pel.HasIntegralModelGeometry) (x : D.domain) : |
| 25 | Function.Bijective (D.periodLatticeMap x) := by |
| 26 | constructor |
| 27 | · intro v w h |
| 28 | apply Subtype.ext |
| 29 | exact (D.referenceAnalyticFiber hg x).periodReferenceEmbedding_injective D hg |
| 30 | (congrArg Subtype.val h) |
| 31 | · intro t |
| 32 | obtain ⟨v, hv, he⟩ := (D.periodLattice_mem x.val t.val).mp t.property |
| 33 | exact ⟨⟨v, hv⟩, Subtype.ext he⟩ |
| 34 | |
| 35 | def Data.ActiveHeckeThetaData.periodLatticeEquiv (hg : D.pel.HasIntegralModelGeometry) (x : D.domain) : |
| 36 | D.pel.reference.lattice ≃ₗ[ℤ] (D.canonicalPeriodData hg x).periodIntegerLattice := |
| 37 | (AddEquiv.ofBijective (D.periodLatticeMap x) (D.periodLatticeMap_bijective hg x)).toIntLinearEquiv |
| 38 | |
| 39 | @[simp] theorem Data.ActiveHeckeThetaData.periodLatticeEquiv_apply (hg : D.pel.HasIntegralModelGeometry) (x : D.domain) |
| 40 | (v : D.pel.reference.lattice) : |
| 41 | (D.periodLatticeEquiv hg x v).val = D.periodReferenceEmbedding x.val v.val := rfl |
| 42 | |
| 43 | theorem Data.ActiveHeckeThetaData.periodLattice_rank (hg : D.pel.HasIntegralModelGeometry) (x : D.domain) : |
| 44 | Module.finrank ℤ (D.canonicalPeriodData hg x).periodIntegerLattice = 2 * (3 * s) := by |
| 45 | rw [ZLattice.rank ℝ (D.canonicalPeriodData hg x).periodIntegerLattice] |
| 46 | change Module.finrank ℝ (Fin s → Fin 3 → ℂ) = _ |
| 47 | simp only [Module.finrank_pi_fintype, Complex.finrank_real_complex, |
| 48 | Finset.sum_const, Finset.card_univ, Fintype.card_fin, smul_eq_mul] |
| 49 | omega |
| 50 | |
| 51 | def Data.ActiveHeckeThetaData.periodOrigin (hg : D.pel.HasIntegralModelGeometry) : D.domain := |
| 52 | ⟨0, by |
| 53 | have h := hg.reference_admissible.2.2.2.1 |
| 54 | change Complex.normSq 0 + Complex.normSq 0 < -(D.pel.reference.μ D.pel.reference.b).re |
| 55 | simpa only [Complex.normSq_zero, zero_add] using neg_pos.mpr h⟩ |
| 56 | |
| 57 | def Data.ActiveHeckeThetaData.referenceBasis (hg : D.pel.HasIntegralModelGeometry) : |
| 58 | Module.Basis (Fin (2 * (3 * s))) ℤ D.pel.reference.lattice := by |
| 59 | let x := D.periodOrigin hg |
| 60 | let L := (D.canonicalPeriodData hg x).periodIntegerLattice |
| 61 | let : Module.Free ℤ L := ZLattice.module_free ℝ L |
| 62 | let : Module.Finite ℤ L := ZLattice.module_finite ℝ L |
| 63 | exact ((Module.finBasis ℤ L).reindex (finCongr (D.periodLattice_rank hg x))).map |
| 64 | (D.periodLatticeEquiv hg x).symm |
| 65 | |
| 66 | def Data.ActiveHeckeThetaData.periodBasis (hg : D.pel.HasIntegralModelGeometry) (x : D.domain) : |
| 67 | Module.Basis (Fin (2 * (3 * s))) ℤ (D.canonicalPeriodData hg x).periodIntegerLattice := |
| 68 | (D.referenceBasis hg).map (D.periodLatticeEquiv hg x) |
| 69 | |
| 70 | @[simp] theorem Data.ActiveHeckeThetaData.periodBasis_apply (hg : D.pel.HasIntegralModelGeometry) (x : D.domain) |
| 71 | (i : Fin (2 * (3 * s))) : |
| 72 | (D.periodBasis hg x i).val = D.periodReferenceEmbedding x.val (D.referenceBasis hg i).val := rfl |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.RepresentationTheory.Theta.Geometric |