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.Data |
| 2 | |
| 3 | /-! # Joint Local Lattice -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The completed reference lattice is stable under every split integral |
| 10 | coordinate multiplier. This follows from its original integral CM action |
| 11 | and the supplied bijective integral completion map. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 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 | def Data.ActiveHeckeThetaData.jointLocalEmbedding (x : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : Fin s × Bool → Fin 3 → ℚ_[q] := |
| 22 | fun v i => D.localEmbedding v (x i) |
| 23 | |
| 24 | def Data.ActiveHeckeThetaData.jointLocalLattice : Submodule ℤ_[q] (Fin s × Bool → Fin 3 → ℚ_[q]) := |
| 25 | Submodule.span ℤ_[q] (D.jointLocalEmbedding '' (D.pel.reference.lattice : Set (NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E))) |
| 26 | |
| 27 | def Data.ActiveHeckeThetaData.jointLocalScale (c : Fin s × Bool → ℤ_[q]) : |
| 28 | (Fin s × Bool → Fin 3 → ℚ_[q]) →ₗ[ℤ_[q]] (Fin s × Bool → Fin 3 → ℚ_[q]) where |
| 29 | toFun u v := c v • u v |
| 30 | map_add' u w := by |
| 31 | ext v i |
| 32 | change c v • (u v i + w v i) = c v • u v i + c v • w v i |
| 33 | exact smul_add _ _ _ |
| 34 | map_smul' a u := by |
| 35 | ext v i |
| 36 | change c v • (a • u v i) = a • (c v • u v i) |
| 37 | exact smul_comm _ _ _ |
| 38 | |
| 39 | theorem Data.ActiveHeckeThetaData.jointLocalEmbedding_integer (hc : D.HasFiniteCoordinates) |
| 40 | (a : NumberField.RingOfIntegers E) (x : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 41 | D.jointLocalEmbedding ((a : E) • x) = |
| 42 | Data.ActiveHeckeThetaData.jointLocalScale (fun v => D.pel.localCharacter v a) (D.jointLocalEmbedding x) := by |
| 43 | funext v i |
| 44 | change D.localEmbedding v ((a : E) * x i) = |
| 45 | (D.pel.localCharacter v a : ℚ_[q]) * D.localEmbedding v (x i) |
| 46 | rw [map_mul, hc.1] |
| 47 | |
| 48 | theorem Data.ActiveHeckeThetaData.jointLocalScale_integer_mem (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 49 | (a : NumberField.RingOfIntegers E) (u : Fin s × Bool → Fin 3 → ℚ_[q]) |
| 50 | (hu : u ∈ D.jointLocalLattice) : |
| 51 | Data.ActiveHeckeThetaData.jointLocalScale (fun v => D.pel.localCharacter v a) u ∈ D.jointLocalLattice := by |
| 52 | have hstable : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice D.pel.reference.lattice := by |
| 53 | rcases hg.reference_admissible with ⟨_, _, _, _, _, _, _, _, _, h, _⟩ |
| 54 | exact h |
| 55 | induction hu using Submodule.span_induction with |
| 56 | | mem u hu => |
| 57 | obtain ⟨x, hx, rfl⟩ := hu |
| 58 | rw [← D.jointLocalEmbedding_integer hc] |
| 59 | exact Submodule.subset_span ⟨_, hstable.2.2 a x hx, rfl⟩ |
| 60 | | zero => |
| 61 | rw [map_zero] |
| 62 | exact D.jointLocalLattice.zero_mem |
| 63 | | add u w _ _ hu hw => |
| 64 | rw [map_add] |
| 65 | exact D.jointLocalLattice.add_mem hu hw |
| 66 | | smul c u _ hu => |
| 67 | rw [map_smul] |
| 68 | exact D.jointLocalLattice.smul_mem c hu |
| 69 | |
| 70 | theorem Data.ActiveHeckeThetaData.jointLocalScale_completed_mem (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 71 | (t : ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E) |
| 72 | (u : Fin s × Bool → Fin 3 → ℚ_[q]) (hu : u ∈ D.jointLocalLattice) : |
| 73 | Data.ActiveHeckeThetaData.jointLocalScale (D.pel.localCompletionMap t) u ∈ D.jointLocalLattice := by |
| 74 | induction t using TensorProduct.inductionOn with |
| 75 | | tmul z a => |
| 76 | have he : Data.ActiveHeckeThetaData.jointLocalScale (D.pel.localCompletionMap (z ⊗ₜ[ℤ] a)) u = |
| 77 | z • Data.ActiveHeckeThetaData.jointLocalScale (fun v => D.pel.localCharacter v a) u := by |
| 78 | ext v i |
| 79 | change (z * D.pel.localCharacter v a) • u v i = z • (D.pel.localCharacter v a • u v i) |
| 80 | exact mul_smul _ _ _ |
| 81 | rw [he] |
| 82 | exact D.jointLocalLattice.smul_mem z (D.jointLocalScale_integer_mem hg hc a u hu) |
| 83 | | add t w ht hw => |
| 84 | have he : Data.ActiveHeckeThetaData.jointLocalScale (D.pel.localCompletionMap (t + w)) u = |
| 85 | Data.ActiveHeckeThetaData.jointLocalScale (D.pel.localCompletionMap t) u + Data.ActiveHeckeThetaData.jointLocalScale (D.pel.localCompletionMap w) u := by |
| 86 | ext v i |
| 87 | change (D.pel.localCompletionMap (t + w) v) • u v i = _ |
| 88 | rw [map_add, Pi.add_apply, add_smul] |
| 89 | rfl |
| 90 | rw [he] |
| 91 | exact D.jointLocalLattice.add_mem ht hw |
| 92 | |
| 93 | theorem Data.ActiveHeckeThetaData.jointLocalScale_mem (hg : D.pel.HasIntegralModelGeometry) (hc : D.HasFiniteCoordinates) |
| 94 | (hgood : D.pel.IsGoodCompletelySplitPrime) (c : Fin s × Bool → ℤ_[q]) |
| 95 | (u : Fin s × Bool → Fin 3 → ℚ_[q]) (hu : u ∈ D.jointLocalLattice) : |
| 96 | Data.ActiveHeckeThetaData.jointLocalScale c u ∈ D.jointLocalLattice := by |
| 97 | obtain ⟨t, rfl⟩ := hgood.1.2 c |
| 98 | exact D.jointLocalScale_completed_mem hg hc t u hu |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.RepresentationTheory.Theta.Geometric |