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.AlgebraicGeometry.HodgeConjecture.CMExtraction.LocalUnitTest |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart |
| 3 | import OAI.RepresentationTheory.Hecke.RadialDilation.TensorCommutant |
| 4 | import OAI.RepresentationTheory.Hecke.RadialDilation.LocalCharacterConductor |
| 5 | import OAI.RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier |
| 6 | |
| 7 | /-! # Prime Unramified -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrimeUnramified.Local |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Integral finite tests with prime-to-q translation level have one |
| 14 | unit-ball factor for the entire q-adic position space. -/ |
| 15 | |
| 16 | open scoped Classical |
| 17 | open OAI.RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction |
| 18 | |
| 19 | local instance fullPrimePropDecidable (p : Prop) : Decidable p := Classical.propDecidable p |
| 20 | |
| 21 | def truthIndicator (P : Prop) : ℂ := @ite ℂ P (Classical.propDecidable P) 1 0 |
| 22 | |
| 23 | theorem positionReindex_asFunction {I J K : Type*} [TopologicalSpace K] |
| 24 | (e : I ≃ J) (x : I → K) : |
| 25 | RepresentationTheory.Hecke.RadialDilation.PositionReindex.Realization.positionReindex e x = (fun j => x (e.symm j)) := rfl |
| 26 | |
| 27 | theorem indicator_factor_of_retraction {X : Type*} (f : X → ℂ) (r : X → X) (P : X → Prop) |
| 28 | (hyes : ∀ x, P x → f x = f (r x)) (hno : ∀ x, ¬ P x → f x = 0) (x : X) : |
| 29 | f x = truthIndicator (P x) * f (r x) := by |
| 30 | by_cases h : P x |
| 31 | · simpa only [truthIndicator, ite_eq_left h, one_mul] using hyes x h |
| 32 | · simp only [truthIndicator, ite_eq_right h, zero_mul, hno x h] |
| 33 | |
| 34 | variable (q : ℕ) [Fact q.Prime] {I : Type} [Fintype I] |
| 35 | |
| 36 | omit [Fintype I] in |
| 37 | theorem fullPrimeInclusion_level (N : ℕ) (hN : 0 < N) (hcop : q.Coprime N) |
| 38 | (x : I → ℚ_[q]) (hx : ∀ i, ‖x i‖ ≤ 1) : |
| 39 | RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeInclusion q x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (N : ℚ) (by exact_mod_cast hN.ne') := by |
| 40 | apply (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_mem_iff _ _ _).mpr |
| 41 | have he : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (N : ℚ)⁻¹ (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeInclusion q x) = |
| 42 | RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeInclusion q ((N : ℚ)⁻¹ • x) := |
| 43 | ((RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeInclusion q).map_smul (N : ℚ)⁻¹ x).symm |
| 44 | rw [he] |
| 45 | intro i |
| 46 | apply RepresentationTheory.Hecke.RadialDilation.LocalCharacterConductor.Realization.finitePadicInclusion_integral q |
| 47 | have hn : ‖(N : ℚ_[q])‖ = 1 := Padic.norm_natCast_eq_one_iff.mpr hcop |
| 48 | simpa [Algebra.smul_def, norm_mul, hn] using hx i |
| 49 | |
| 50 | theorem finite_test_full_prime_retraction |
| 51 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (N : ℕ) (hN : 0 < N) (hcop : q.Coprime N) |
| 52 | (hperiod : ∀ u ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (N : ℚ) (by exact_mod_cast hN.ne'), |
| 53 | ∀ x, φ.val (u + x) = φ.val x) (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) |
| 54 | (hp : ∀ i, ‖RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x i‖ ≤ 1) : |
| 55 | φ.val x = φ.val (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeAway q x).val := |
| 56 | (congrArg φ.val (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrime_decomposition q x).symm).trans |
| 57 | (hperiod _ (fullPrimeInclusion_level q N hN hcop (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x) hp) |
| 58 | (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeAway q x).val) |
| 59 | |
| 60 | omit [Fintype I] in |
| 61 | theorem fullPrimeProjection_component (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (i : I) : |
| 62 | RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x i = RepresentationTheory.Hecke.RadialDilation.FiniteSchur.Realization.finitePadicProjection q (x i) := rfl |
| 63 | |
| 64 | omit [Fintype I] in |
| 65 | theorem fullPrimeProjection_integral (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors) : |
| 66 | ∀ i, ‖RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x i‖ ≤ 1 := by |
| 67 | intro i |
| 68 | rw [fullPrimeProjection_component] |
| 69 | exact RepresentationTheory.Hecke.RadialDilation.FiniteSchur.Realization.finitePadicProjection_integral_norm q (x i) (hx i) |
| 70 | |
| 71 | theorem finite_test_full_prime_zero |
| 72 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (hsupport : ∀ x, x ∉ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors → φ.val x = 0) |
| 73 | (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hp : ¬ ∀ i, ‖RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x i‖ ≤ 1) : φ.val x = 0 := |
| 74 | hsupport x (fun hx => hp (fullPrimeProjection_integral q x hx)) |
| 75 | |
| 76 | theorem finite_test_full_prime_factor |
| 77 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (hsupport : ∀ x, x ∉ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors → φ.val x = 0) |
| 78 | (N : ℕ) (hN : 0 < N) (hcop : q.Coprime N) |
| 79 | (hperiod : ∀ u ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (N : ℚ) (by exact_mod_cast hN.ne'), |
| 80 | ∀ x, φ.val (u + x) = φ.val x) (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 81 | φ.val x = truthIndicator (∀ i, ‖RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x i‖ ≤ 1) * |
| 82 | φ.val (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeAway q x).val := |
| 83 | indicator_factor_of_retraction φ.val (fun x => (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeAway q x).val) |
| 84 | (fun x => ∀ i, ‖RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x i‖ ≤ 1) |
| 85 | (finite_test_full_prime_retraction q φ N hN hcop hperiod) |
| 86 | (finite_test_full_prime_zero q φ hsupport) x |
| 87 | |
| 88 | variable {n : ℕ} (e : I ≃ Fin n) |
| 89 | |
| 90 | def indexedPrimeAwayTest (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : RepresentationTheory.Hecke.RadialDilation.TestSections.Realization.lcCompactSpace (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.FullPrimeAwayPosition q (ι := I)) := |
| 91 | RepresentationTheory.Hecke.RadialDilation.TensorCommutant.Realization.testRightSection (0 : Fin n → ℚ_[q]) ((RepresentationTheory.Hecke.RadialDilation.FiniteLocalOperators.Realization.finiteProductTestEquiv (RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart.Realization.indexedPrimeChart q e)).symm φ) |
| 92 | |
| 93 | theorem indexedPrimeAwayTest_apply (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (y : RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.FullPrimeAwayPosition q (ι := I)) : |
| 94 | (indexedPrimeAwayTest q e φ).val y = φ.val y.val := by |
| 95 | change φ.val ((RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeChart q).symm ((RepresentationTheory.Hecke.RadialDilation.PositionReindex.Realization.positionReindex e).symm 0, y)) = φ.val y.val |
| 96 | change φ.val (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeInclusion q 0 + y.val) = φ.val y.val |
| 97 | rw [map_zero, zero_add] |
| 98 | |
| 99 | omit [Fintype I] in |
| 100 | theorem padicUnitIndicator_reindex (x : I → ℚ_[q]) : |
| 101 | LocalUnitTest.padicUnitIndicator q n (fun j => x (e.symm j)) = truthIndicator (∀ i, ‖x i‖ ≤ 1) := by |
| 102 | have hi : (∀ j, ‖x (e.symm j)‖ ≤ 1) ↔ ∀ i, ‖x i‖ ≤ 1 := by |
| 103 | constructor |
| 104 | · intro h i |
| 105 | simpa only [Equiv.symm_apply_apply] using h (e i) |
| 106 | · intro h j |
| 107 | exact h (e.symm j) |
| 108 | by_cases h : ∀ i, ‖x i‖ ≤ 1 |
| 109 | · rw [LocalUnitTest.padicUnitIndicator_of_integral q n _ (hi.mpr h)] |
| 110 | simp only [truthIndicator, ite_eq_left h] |
| 111 | · rw [LocalUnitTest.padicUnitIndicator_of_not_integral q n _ (fun hh => h (hi.mp hh))] |
| 112 | simp only [truthIndicator, ite_eq_right h] |
| 113 | |
| 114 | omit [Fintype I] in |
| 115 | theorem indexedPrimeProjection_asFunction (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 116 | RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart.Realization.indexedPrimeProjection q e x = (fun j => RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x (e.symm j)) := |
| 117 | positionReindex_asFunction e (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x) |
| 118 | |
| 119 | omit [Fintype I] in |
| 120 | theorem indexedPrimeUnitIndicator (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 121 | LocalUnitTest.padicUnitIndicator q n (RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart.Realization.indexedPrimeProjection q e x) = |
| 122 | truthIndicator (∀ i, ‖RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x i‖ ≤ 1) := |
| 123 | (congrArg (LocalUnitTest.padicUnitIndicator q n) (indexedPrimeProjection_asFunction q e x)).trans |
| 124 | (padicUnitIndicator_reindex q e (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeProjection q x)) |
| 125 | |
| 126 | theorem finite_test_full_prime_tensor |
| 127 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (hsupport : ∀ x, x ∉ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors → φ.val x = 0) |
| 128 | (N : ℕ) (hN : 0 < N) (hcop : q.Coprime N) |
| 129 | (hperiod : ∀ u ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (N : ℚ) (by exact_mod_cast hN.ne'), |
| 130 | ∀ x, φ.val (u + x) = φ.val x) : |
| 131 | φ = RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart.Realization.indexedPrimeTensor q e (LocalUnitTest.padicUnitTest q n) (indexedPrimeAwayTest q e φ) := by |
| 132 | apply Subtype.ext |
| 133 | funext x |
| 134 | rw [RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart.Realization.indexedPrimeTensor_apply, indexedPrimeAwayTest_apply] |
| 135 | change φ.val x = LocalUnitTest.padicUnitIndicator q n (RepresentationTheory.Hecke.RadialDilation.IndexedPrimeChart.Realization.indexedPrimeProjection q e x) * φ.val (RepresentationTheory.Hecke.RadialDilation.PrimeChart.Realization.fullPrimeAway q x).val |
| 136 | rw [indexedPrimeUnitIndicator] |
| 137 | exact finite_test_full_prime_factor q φ hsupport N hN hcop hperiod x |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PrimeUnramified.Local |