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.Cleared.LocalMatrices |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Local.TraceB |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.Local.MatrixLattice |
| 4 | |
| 5 | /-! # Exact Clearing Lattice -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The exact TateComparison clearing exponent clears the entire original lattice |
| 12 | for every active rational representative preserving the full away level. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 20 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 21 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 22 | |
| 23 | theorem Data.ActiveHeckeThetaData.cleared_localMatrix_opposite_entries (hg : D.pel.HasIntegralModelGeometry) |
| 24 | (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 25 | (hdegree : Module.finrank ℚ E = 2 * s) (g : D.RationalSU) |
| 26 | (v : Fin s × Bool) (n : ℕ) |
| 27 | (hinv : ∀ i j, ‖(q : ℚ_[q]) ^ n * (D.localMatrix v g⁻¹).val i j‖ ≤ 1) : |
| 28 | ∀ i j, ‖(q : ℚ_[q]) ^ n * (D.localMatrix (v.1, !v.2) g).val i j‖ ≤ 1 := by |
| 29 | intro i j |
| 30 | have hu (k : Fin 3) : ‖(if k = 2 then D.localEmbedding v D.pel.reference.b else 1)‖ = 1 := by |
| 31 | split_ifs |
| 32 | · exact D.localEmbedding_b_norm hg hc hgood hdegree v |
| 33 | · exact norm_one |
| 34 | have he := congrArg (fun a : ℚ_[q] => ‖a‖) (D.localMatrix_opposite_entry hc hgood g v i j) |
| 35 | rw [norm_mul, norm_mul, hu, hu, one_mul, one_mul] at he |
| 36 | simpa only [norm_mul, he] using hinv j i |
| 37 | |
| 38 | theorem Data.ActiveHeckeThetaData.active_doubleCoset_cleared_local_entries (hg : D.pel.HasIntegralModelGeometry) |
| 39 | (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 40 | (hdegree : Module.finrank ℚ E = 2 * s) (a : Intrinsic.Hecke.ActiveWeight) (g : D.RationalSU) |
| 41 | (haway : D.away g ∈ D.awayLevel) |
| 42 | (hcos : DoubleCosets.Spherical.InDoubleCoset (SphericalGU.Spherical.integralSL3 q) |
| 43 | (Intrinsic.Hecke.activeSLRepresentative q a)⁻¹ (D.activeLocal g)⁻¹) : |
| 44 | ∀ v i j, ‖(q : ℚ_[q]) ^ Intrinsic.Hecke.clearingExponent D.pel.reference.distinguished a * |
| 45 | (D.localMatrix v g).val i j‖ ≤ 1 := by |
| 46 | let n := Intrinsic.Hecke.clearingExponent D.pel.reference.distinguished a |
| 47 | have hgcos : DoubleCosets.Spherical.InDoubleCoset (SphericalGU.Spherical.integralSL3 q) |
| 48 | (Intrinsic.Hecke.activeSLRepresentative q a) (D.activeLocal g) := by |
| 49 | simpa only [inv_inv] using Cleared.LocalMatrices.inDoubleCoset_inv (SphericalGU.Spherical.integralSL3 q) hcos |
| 50 | have hactive := Cleared.LocalMatrices.scaled_doubleCoset_entries q n _ _ |
| 51 | (Cleared.LocalMatrices.active_representative_cleared_entries q D.pel.reference.distinguished a) hgcos |
| 52 | have hinv := Cleared.LocalMatrices.scaled_doubleCoset_entries q n _ _ |
| 53 | (Cleared.LocalMatrices.active_representative_inverse_cleared_entries q D.pel.reference.distinguished a) hcos |
| 54 | intro v |
| 55 | by_cases hv : v.1 = D.pel.reference.distinguished |
| 56 | · rcases v with ⟨v, side⟩ |
| 57 | dsimp at hv |
| 58 | subst v |
| 59 | cases side |
| 60 | · exact hactive |
| 61 | · apply D.cleared_localMatrix_opposite_entries hg hc hgood hdegree g |
| 62 | (D.pel.reference.distinguished, false) n |
| 63 | change ∀ i j, ‖(q : ℚ_[q]) ^ n * (D.activeLocal g⁻¹).val i j‖ ≤ 1 |
| 64 | simpa only [map_inv] using hinv |
| 65 | · have hi := (AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates.TestTransport.integralSL3_iff_entries q _).mp (((hc.2.2 g).mp haway).2 v hv) |
| 66 | intro i j |
| 67 | rw [norm_mul] |
| 68 | have hq : ‖(q : ℚ_[q]) ^ n‖ ≤ 1 := by |
| 69 | have H := (AlgebraicGeometry.AbelianScheme.TateComparison.IntegralCartan.q_zpow_integral_iff q (n : ℤ)).mpr (Int.natCast_nonneg n) |
| 70 | obtain ⟨b, hb⟩ := H |
| 71 | rw [zpow_natCast] at hb |
| 72 | rw [← hb] |
| 73 | exact b.property |
| 74 | exact (mul_le_mul hq (hi i j) (norm_nonneg _) zero_le_one).trans (by simp) |
| 75 | |
| 76 | theorem Data.ActiveHeckeThetaData.scaled_local_entries_preserve_reference (hc : D.HasFiniteCoordinates) |
| 77 | (g : D.RationalSU) (v : Fin s × Bool) (n : ℕ) |
| 78 | (hn : ∀ i j, ‖(q : ℚ_[q]) ^ n * (D.localMatrix v g).val i j‖ ≤ 1) |
| 79 | (u : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) (hu : u ∈ D.pel.reference.lattice) : |
| 80 | (fun i => D.localEmbedding v (((q : ℤ) ^ n • D.rationalLinear g u) i)) ∈ |
| 81 | Data.ActiveHeckeThetaData.standardLocalLattice (q := q) := by |
| 82 | have hi : ∀ i, ‖D.localEmbedding v (u i)‖ ≤ 1 := by |
| 83 | apply (Local.MatrixLattice.standardLocalLattice_mem_iff q _).mp |
| 84 | rw [← hc.2.1 v] |
| 85 | exact Submodule.subset_span ⟨u, hu, rfl⟩ |
| 86 | have H := AlgebraicGeometry.HodgeConjecture.CMExtraction.PadicIntegralSymplectic.Local.padic_matrix_mulVec_integral q ((q : ℚ_[q]) ^ n • (D.localMatrix v g).val) |
| 87 | hn (fun i => D.localEmbedding v (u i)) hi |
| 88 | apply (Local.MatrixLattice.standardLocalLattice_mem_iff q _).mpr |
| 89 | intro i |
| 90 | have he : D.localEmbedding v (((q : ℤ) ^ n • D.rationalLinear g u) i) = |
| 91 | (((q : ℚ_[q]) ^ n • (D.localMatrix v g).val).mulVec |
| 92 | (fun j => D.localEmbedding v (u j))) i := by |
| 93 | rw [Matrix.smul_mulVec, D.localMatrix_reference_action] |
| 94 | change D.localEmbedding v ((q : ℤ) ^ n • D.rationalLinear g u i) = _ |
| 95 | rw [map_zsmul, zsmul_eq_mul, Int.cast_pow, Int.cast_natCast] |
| 96 | rfl |
| 97 | rw [he] |
| 98 | exact H i |
| 99 | |
| 100 | theorem Data.ActiveHeckeThetaData.active_doubleCoset_exact_clearing (hg : D.pel.HasIntegralModelGeometry) |
| 101 | (hc : D.HasFiniteCoordinates) (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 102 | (hdegree : Module.finrank ℚ E = 2 * s) (a : Intrinsic.Hecke.ActiveWeight) (g : D.RationalSU) |
| 103 | (haway : D.away g ∈ D.awayLevel) |
| 104 | (hcos : DoubleCosets.Spherical.InDoubleCoset (SphericalGU.Spherical.integralSL3 q) |
| 105 | (Intrinsic.Hecke.activeSLRepresentative q a)⁻¹ (D.activeLocal g)⁻¹) : |
| 106 | ∀ u ∈ D.pel.reference.lattice, |
| 107 | (q : ℤ) ^ Intrinsic.Hecke.clearingExponent D.pel.reference.distinguished a • D.rationalLinear g u ∈ |
| 108 | D.pel.reference.lattice := by |
| 109 | intro u hu |
| 110 | apply D.referenceLattice_of_local_and_away hg hc hgood hdegree |
| 111 | · intro v |
| 112 | exact D.scaled_local_entries_preserve_reference hc g v _ |
| 113 | (D.active_doubleCoset_cleared_local_entries hg hc hgood hdegree a g haway hcos v) u hu |
| 114 | · apply D.awayLattice.smul_mem |
| 115 | exact (D.mem_awayLattice_iff _).mpr (D.away_level_clears_vector hc g haway ⟨u, hu⟩) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.RepresentationTheory.Theta.Geometric |