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.IntegralDetection |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates |
| 3 | |
| 4 | /-! # Matrix Lattice -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integral local matrices act on the literal standard coordinate |
| 11 | lattices. Combining every local place with the away condition recovers |
| 12 | preservation of the original integral reference lattice. -/ |
| 13 | |
| 14 | theorem Local.MatrixLattice.standardLocalLattice_mem_iff (q : ℕ) [Fact q.Prime] (u : Fin 3 → ℚ_[q]) : |
| 15 | u ∈ Data.ActiveHeckeThetaData.standardLocalLattice (q := q) ↔ ∀ i, ‖u i‖ ≤ 1 := by |
| 16 | have hb : (Pi.basisFun ℚ_[q] (Fin 3) : Fin 3 → Fin 3 → ℚ_[q]) = |
| 17 | fun i => Pi.single i 1 := funext (Pi.basisFun_apply ℚ_[q] (Fin 3)) |
| 18 | change u ∈ Submodule.span ℤ_[q] (Set.range fun i => Pi.single i (1 : ℚ_[q])) ↔ _ |
| 19 | rw [← hb, (Pi.basisFun ℚ_[q] (Fin 3)).mem_span_iff_repr_mem ℤ_[q]] |
| 20 | constructor |
| 21 | · intro h i |
| 22 | obtain ⟨a, ha⟩ := h i |
| 23 | have he : (a : ℚ_[q]) = u i := by simpa using ha |
| 24 | rw [← he] |
| 25 | exact a.property |
| 26 | · intro h i |
| 27 | exact ⟨⟨u i, h i⟩, by simp; rfl⟩ |
| 28 | |
| 29 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 30 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 31 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 32 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 33 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 34 | |
| 35 | theorem Data.ActiveHeckeThetaData.localMatrix_reference_action (g : D.RationalSU) (v : Fin s × Bool) (u : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 36 | (D.localMatrix v g).val.mulVec (fun i => D.localEmbedding v (u i)) = |
| 37 | fun i => D.localEmbedding v (D.rationalLinear g u i) := by |
| 38 | symm |
| 39 | funext i |
| 40 | exact RingHom.map_mulVec (D.localEmbedding v) g.val.val u i |
| 41 | |
| 42 | theorem Data.ActiveHeckeThetaData.localMatrix_integral_reference (hc : D.HasFiniteCoordinates) |
| 43 | (g : D.RationalSU) (v : Fin s × Bool) (hg : D.localMatrix v g ∈ SphericalGU.Spherical.integralSL3 q) |
| 44 | (u : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) (hu : u ∈ D.pel.reference.lattice) : |
| 45 | (fun i => D.localEmbedding v (D.rationalLinear g u i)) ∈ Data.ActiveHeckeThetaData.standardLocalLattice (q := q) := by |
| 46 | rw [← D.localMatrix_reference_action, Local.MatrixLattice.standardLocalLattice_mem_iff] |
| 47 | apply AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates.TestTransport.integralSL3_mulVec_integral q _ hg |
| 48 | apply (Local.MatrixLattice.standardLocalLattice_mem_iff q _).mp |
| 49 | rw [← hc.2.1 v] |
| 50 | exact Submodule.subset_span ⟨u, hu, rfl⟩ |
| 51 | |
| 52 | theorem Data.ActiveHeckeThetaData.rationalLinear_integral_of_all_local (hg : D.pel.HasIntegralModelGeometry) |
| 53 | (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 54 | (hdegree : Module.finrank ℚ E = 2 * s) (g : D.RationalSU) |
| 55 | (hloc : ∀ v, D.localMatrix v g ∈ SphericalGU.Spherical.integralSL3 q) |
| 56 | (haway : D.away g ∈ D.awayLevel) (u : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) (hu : u ∈ D.pel.reference.lattice) : |
| 57 | D.rationalLinear g u ∈ D.pel.reference.lattice := by |
| 58 | apply D.referenceLattice_of_local_and_away hg hc hgood hdegree |
| 59 | · intro v |
| 60 | exact D.localMatrix_integral_reference hc g v (hloc v) u hu |
| 61 | · exact (D.mem_awayLattice_iff _).mpr (D.away_level_clears_vector hc g haway ⟨u, hu⟩) |
| 62 | |
| 63 | theorem Data.ActiveHeckeThetaData.rationalLinear_preserves_lattice_of_all_local (hg : D.pel.HasIntegralModelGeometry) |
| 64 | (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 65 | (hdegree : Module.finrank ℚ E = 2 * s) (g : D.RationalSU) |
| 66 | (hloc : ∀ v, D.localMatrix v g ∈ SphericalGU.Spherical.integralSL3 q) |
| 67 | (haway : D.away g ∈ D.awayLevel) (u : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 68 | u ∈ D.pel.reference.lattice ↔ D.rationalLinear g u ∈ D.pel.reference.lattice := by |
| 69 | constructor |
| 70 | · exact D.rationalLinear_integral_of_all_local hg hc hgood hdegree g hloc haway u |
| 71 | · intro hu |
| 72 | have hloc' (v) : D.localMatrix v g⁻¹ ∈ SphericalGU.Spherical.integralSL3 q := by |
| 73 | rw [map_inv] |
| 74 | exact (SphericalGU.Spherical.integralSL3 q).inv_mem (hloc v) |
| 75 | have haway' : D.away g⁻¹ ∈ D.awayLevel := by |
| 76 | rw [map_inv] |
| 77 | exact D.awayLevel.inv_mem haway |
| 78 | have h := D.rationalLinear_integral_of_all_local hg hc hgood hdegree g⁻¹ hloc' haway' |
| 79 | (D.rationalLinear g u) hu |
| 80 | rw [map_inv] at h |
| 81 | change (D.rationalLinear g).symm (D.rationalLinear g u) ∈ _ at h |
| 82 | rwa [LinearEquiv.symm_apply_apply] at h |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.RepresentationTheory.Theta.Geometric |