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.TraceCoordinates |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Local.MatrixLattice |
| 3 | |
| 4 | /-! # Trace Integrality -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original integral polarization remains integral on the full |
| 11 | completed lattice. Its explicit split coefficients are integral. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 16 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 17 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 18 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 19 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 20 | |
| 21 | theorem Data.ActiveHeckeThetaData.localTracePairing_integral (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 22 | (hgood : D.pel.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) |
| 23 | (x y : Fin s × Bool → Fin 3 → ℚ_[q]) (hx : x ∈ D.jointLocalLattice) (hy : y ∈ D.jointLocalLattice) : |
| 24 | D.localTracePairing x y ∈ Set.range (algebraMap ℤ_[q] ℚ_[q]) := by |
| 25 | let B := D.localTracePairing.restrictScalars₁₂ ℤ_[q] ℤ_[q] |
| 26 | let J : Submodule ℤ_[q] ℚ_[q] := (Algebra.linearMap ℤ_[q] ℚ_[q]).range |
| 27 | change B x y ∈ J |
| 28 | induction hx, hy using Submodule.span_induction₂ with |
| 29 | | mem_mem x y hx hy => |
| 30 | obtain ⟨a, ha, rfl⟩ := hx |
| 31 | obtain ⟨b, hb, rfl⟩ := hy |
| 32 | have htrace : ∀ a b : D.pel.reference.lattice, |
| 33 | (D.pel.reference.integralForm a b : ℚ) = D.pel.reference.traceForm a b := by |
| 34 | rcases hg.reference_admissible with ⟨_, _, _, _, _, _, _, _, _, _, h, _⟩ |
| 35 | exact h |
| 36 | refine ⟨(D.pel.reference.integralForm ⟨a, ha⟩ ⟨b, hb⟩ : ℤ_[q]), ?_⟩ |
| 37 | change algebraMap ℤ_[q] ℚ_[q] (D.pel.reference.integralForm ⟨a, ha⟩ ⟨b, hb⟩ : ℤ_[q]) = |
| 38 | D.localTracePairing (D.jointLocalEmbedding a) (D.jointLocalEmbedding b) |
| 39 | rw [D.localTracePairing_reference hc hgood hdegree, ← htrace ⟨a, ha⟩ ⟨b, hb⟩] |
| 40 | simp |
| 41 | | zero_left y _ => |
| 42 | rw [map_zero, LinearMap.zero_apply] |
| 43 | exact J.zero_mem |
| 44 | | zero_right x _ => |
| 45 | rw [map_zero] |
| 46 | exact J.zero_mem |
| 47 | | add_left x y z _ _ _ hx hy => |
| 48 | rw [map_add, LinearMap.add_apply] |
| 49 | exact J.add_mem hx hy |
| 50 | | add_right x y z _ _ _ hy hz => |
| 51 | rw [map_add] |
| 52 | exact J.add_mem hy hz |
| 53 | | smul_left c x y _ _ h => |
| 54 | rw [LinearMap.map_smul₂] |
| 55 | exact J.smul_mem c h |
| 56 | | smul_right c x y _ _ h => |
| 57 | rw [map_smul] |
| 58 | exact J.smul_mem c h |
| 59 | |
| 60 | theorem Data.ActiveHeckeThetaData.jointLocalLattice_unit (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 61 | (hgood : D.pel.IsGoodCompletelySplitPrime) (v : Fin s × Bool) (i : Fin 3) : |
| 62 | Pi.single v (Pi.single i (1 : ℚ_[q])) ∈ D.jointLocalLattice := by |
| 63 | apply D.jointLocalLattice_single hg hc hgood |
| 64 | rw [hc.2.1] |
| 65 | exact Submodule.subset_span ⟨i, rfl⟩ |
| 66 | |
| 67 | theorem Data.ActiveHeckeThetaData.localTracePairing_unit_left (v : Fin s × Bool) (i : Fin 3) |
| 68 | (y : Fin s × Bool → Fin 3 → ℚ_[q]) : |
| 69 | D.localTracePairing (Pi.single v (Pi.single i 1)) y = |
| 70 | D.localTraceCoefficient v i * y (v.1, !v.2) i := by |
| 71 | simp [D.localTracePairing_apply, Pi.single_apply, ite_apply] |
| 72 | |
| 73 | theorem Data.ActiveHeckeThetaData.localTraceCoefficient_integral (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 74 | (hgood : D.pel.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) |
| 75 | (v : Fin s × Bool) (i : Fin 3) : ‖D.localTraceCoefficient v i‖ ≤ 1 := by |
| 76 | have h := D.localTracePairing_integral hg hc hgood hdegree _ _ |
| 77 | (D.jointLocalLattice_unit hg hc hgood v i) (D.jointLocalLattice_unit hg hc hgood (v.1, !v.2) i) |
| 78 | rw [D.localTracePairing_unit_left, Pi.single_eq_same, Pi.single_eq_same, mul_one] at h |
| 79 | obtain ⟨a, ha⟩ := h |
| 80 | have he : (a : ℚ_[q]) = D.localTraceCoefficient v i := ha |
| 81 | rw [← he] |
| 82 | exact a.property |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.RepresentationTheory.Theta.Geometric |