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.AwayLattice |
| 2 | |
| 3 | /-! # Marking Lattice -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Clearing an away-principal rational matrix retains its prescribed |
| 10 | full-level congruence on the original integral reference lattice. -/ |
| 11 | |
| 12 | theorem MarkingLattice.localized_lattice_saturation {V : Type*} [AddCommGroup V] |
| 13 | (L : Submodule ℤ V) (q N : ℕ) (hcop : Nat.Coprime q N) (u : V) |
| 14 | (hu : ∃ m : ℕ, (q : ℤ) ^ m • u ∈ L) (hN : (N : ℤ) • u ∈ L) : u ∈ L := by |
| 15 | obtain ⟨m, hm⟩ := hu |
| 16 | have hbez : (q : ℤ) ^ m * Nat.gcdA (q ^ m) N + (N : ℤ) * Nat.gcdB (q ^ m) N = 1 := by |
| 17 | rw [← Nat.cast_pow, ← Nat.gcd_eq_gcd_ab, (hcop.pow_left m).gcd_eq_one] |
| 18 | rfl |
| 19 | have h := L.add_mem (L.smul_mem (Nat.gcdA (q ^ m) N) hm) |
| 20 | (L.smul_mem (Nat.gcdB (q ^ m) N) hN) |
| 21 | convert h using 1 |
| 22 | rw [smul_smul, smul_smul, ← add_smul, mul_comm (Nat.gcdA (q ^ m) N), |
| 23 | mul_comm (Nat.gcdB (q ^ m) N), hbez, one_smul] |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 26 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 27 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 28 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 29 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 30 | |
| 31 | theorem Data.ActiveHeckeThetaData.cleared_away_level_congruence (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 32 | (hc : D.HasFiniteCoordinates) (g : D.RationalSU) (ha : D.away g ∈ D.awayLevel) |
| 33 | (n : ℕ) (hn : ∀ v ∈ D.pel.reference.lattice, |
| 34 | (q : ℤ) ^ n • D.rationalLinear g v ∈ D.pel.reference.lattice) |
| 35 | (v : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) (hv : v ∈ D.pel.reference.lattice) : |
| 36 | ∃ w ∈ D.pel.reference.lattice, |
| 37 | (q : ℤ) ^ n • D.rationalLinear g v - (q : ℤ) ^ n • v = (D.pel.level : ℤ) • w := by |
| 38 | have h := ((hc.2.2 g).mp ha).1 |
| 39 | change D.rationalLinear g ∈ AlgebraicGeometry.AbelianModuli.ReferenceFamily.Groups.principalLatticeSubgroup D.awayLattice.toAddSubgroup D.pel.level at h |
| 40 | obtain ⟨w, hw, hrel⟩ := h.2 v (D.reference_mem_awayLattice hv) |
| 41 | let c : ℤ := (q : ℤ) ^ n |
| 42 | have hcaway : c • w ∈ D.awayLattice := D.awayLattice.smul_mem c hw |
| 43 | have hN : (D.pel.level : ℤ) • (c • w) ∈ D.pel.reference.lattice := by |
| 44 | rw [smul_comm, natCast_zsmul, ← hrel, smul_sub] |
| 45 | exact D.pel.reference.lattice.sub_mem (hn v hv) (D.pel.reference.lattice.smul_mem c hv) |
| 46 | have hint : c • w ∈ D.pel.reference.lattice := |
| 47 | MarkingLattice.localized_lattice_saturation D.pel.reference.lattice q D.pel.level hgood.2.2.1 (c • w) |
| 48 | ((D.mem_awayLattice_iff _).mp hcaway) hN |
| 49 | refine ⟨c • w, hint, ?_⟩ |
| 50 | change c • D.rationalLinear g v - c • v = (D.pel.level : ℤ) • (c • w) |
| 51 | rw [← smul_sub, hrel, natCast_zsmul, smul_comm] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.RepresentationTheory.Theta.Geometric |