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.JointLocalLattice |
| 2 | |
| 3 | /-! # Split Local Lattice -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The completed reference lattice is the product of its actual local |
| 10 | coordinate lattices. Integral split idempotents provide the missing |
| 11 | simultaneous-coordinate assertion. -/ |
| 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.jointLocalLattice_projection (u : Fin s × Bool → Fin 3 → ℚ_[q]) |
| 22 | (hu : u ∈ D.jointLocalLattice) (v : Fin s × Bool) : u v ∈ D.localReferenceLattice v := by |
| 23 | induction hu using Submodule.span_induction with |
| 24 | | mem u hu => |
| 25 | obtain ⟨x, hx, rfl⟩ := hu |
| 26 | exact Submodule.subset_span ⟨x, hx, rfl⟩ |
| 27 | | zero => exact (D.localReferenceLattice v).zero_mem |
| 28 | | add u w _ _ hu hw => exact (D.localReferenceLattice v).add_mem hu hw |
| 29 | | smul c u _ hu => exact (D.localReferenceLattice v).smul_mem c hu |
| 30 | |
| 31 | theorem Data.ActiveHeckeThetaData.jointLocalLattice_single (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 32 | (hgood : D.pel.IsGoodCompletelySplitPrime) (v : Fin s × Bool) |
| 33 | (u : Fin 3 → ℚ_[q]) (hu : u ∈ D.localReferenceLattice v) : |
| 34 | Pi.single v u ∈ D.jointLocalLattice := by |
| 35 | let j : (Fin 3 → ℚ_[q]) →ₗ[ℤ_[q]] (Fin s × Bool → Fin 3 → ℚ_[q]) := |
| 36 | LinearMap.single ℤ_[q] (fun _ : Fin s × Bool => Fin 3 → ℚ_[q]) v |
| 37 | change j u ∈ D.jointLocalLattice |
| 38 | induction hu using Submodule.span_induction with |
| 39 | | mem u hu => |
| 40 | obtain ⟨x, hx, rfl⟩ := hu |
| 41 | have he : Data.ActiveHeckeThetaData.jointLocalScale (Pi.single v (1 : ℤ_[q])) (D.jointLocalEmbedding x) = |
| 42 | j (fun i => D.localEmbedding v (x i)) := by |
| 43 | funext w |
| 44 | by_cases h : w = v |
| 45 | · subst w |
| 46 | simp [Data.ActiveHeckeThetaData.jointLocalScale, j, LinearMap.single_apply] |
| 47 | rfl |
| 48 | · simp [Data.ActiveHeckeThetaData.jointLocalScale, j, LinearMap.single_apply, h] |
| 49 | rw [← he] |
| 50 | exact D.jointLocalScale_mem hg hc hgood _ _ (Submodule.subset_span ⟨x, hx, rfl⟩) |
| 51 | | zero => |
| 52 | rw [map_zero] |
| 53 | exact D.jointLocalLattice.zero_mem |
| 54 | | add u w _ _ hu hw => |
| 55 | rw [map_add] |
| 56 | exact D.jointLocalLattice.add_mem hu hw |
| 57 | | smul c u _ hu => |
| 58 | rw [map_smul] |
| 59 | exact D.jointLocalLattice.smul_mem c hu |
| 60 | |
| 61 | theorem Data.ActiveHeckeThetaData.jointLocalLattice_mem_iff (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 62 | (hgood : D.pel.IsGoodCompletelySplitPrime) (u : Fin s × Bool → Fin 3 → ℚ_[q]) : |
| 63 | u ∈ D.jointLocalLattice ↔ ∀ v, u v ∈ D.localReferenceLattice v := by |
| 64 | constructor |
| 65 | · exact D.jointLocalLattice_projection u |
| 66 | · intro hu |
| 67 | have hsum : (∑ v, LinearMap.single ℤ_[q] (fun _ : Fin s × Bool => Fin 3 → ℚ_[q]) v (u v)) = u := |
| 68 | LinearMap.sum_single_apply (fun _ : Fin s × Bool => Fin 3 → ℚ_[q]) u |
| 69 | rw [← hsum] |
| 70 | exact D.jointLocalLattice.sum_mem (fun v _ => D.jointLocalLattice_single hg hc hgood v (u v) (hu v)) |
| 71 | |
| 72 | theorem Data.ActiveHeckeThetaData.jointLocalLattice_standard (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 73 | (hgood : D.pel.IsGoodCompletelySplitPrime) (u : Fin s × Bool → Fin 3 → ℚ_[q]) : |
| 74 | u ∈ D.jointLocalLattice ↔ ∀ v, u v ∈ Data.ActiveHeckeThetaData.standardLocalLattice (q := q) := by |
| 75 | rw [D.jointLocalLattice_mem_iff hg hc hgood] |
| 76 | simp only [hc.2.1] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.RepresentationTheory.Theta.Geometric |