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.Weil.AdelicSplitting.FinitePositionInsert |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.LocalCompact |
| 3 | |
| 4 | /-! # Finite Test Support -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite function of a restricted Bruhat family has compact support. |
| 11 | A single nonzero algebraic integer clears all exceptional local supports. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open IsDedekindDomain IsDedekindDomain.HeightOneSpectrum Filter |
| 15 | |
| 16 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 17 | |
| 18 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.finiteValue_denominator (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) : |
| 19 | ∃ r : 𝓞 F, r ≠ 0 ∧ ∀ a : Fin N → ArchimedeanAdeles.Construction.FiniteAdeles F, f.finiteValue F N a ≠ 0 → |
| 20 | ∀ i, algebraMap (𝓞 F) (ArchimedeanAdeles.Construction.FiniteAdeles F) r * a i ∈ IntegralAdeles.Construction.finiteIntegralRing F := by |
| 21 | have hlocal (v : HeightOneSpectrum (𝓞 F)) : |
| 22 | IsCompact (tsupport (f (.inr v)).val) := |
| 23 | (NonarchimedeanIntertwiner.LocalAnalysis.schwartzBruhat_totallyDisconnected_iff.mp (f (.inr v)).property).2 |
| 24 | choose d hd hb using fun v => LocalCompact.Construction.compact_local_integer_denominator F v N _ (hlocal v) |
| 25 | have hs := eventually_cofinite.mp f.unramified |
| 26 | let s := hs.toFinset |
| 27 | let r : 𝓞 F := ∏ v ∈ s, d v |
| 28 | refine ⟨r, Finset.prod_ne_zero_iff.mpr (fun v _ => hd v), fun a ha i v => ?_⟩ |
| 29 | have hnz (w : HeightOneSpectrum (𝓞 F)) : (f (.inr w)).val (fun j => a j w) ≠ 0 := by |
| 30 | intro hw |
| 31 | exact ha (tprod_of_exists_eq_zero ⟨w, hw⟩) |
| 32 | change algebraMap (𝓞 F) (v.adicCompletion F) r * a i v ∈ v.adicCompletionIntegers F |
| 33 | by_cases hv : v ∈ s |
| 34 | · have hbound := hb v (subset_tsupport _ (hnz v)) |
| 35 | have hdv : d v ∣ r := Finset.dvd_prod_of_mem d hv |
| 36 | exact LocalCompact.Construction.localIntegerPositionBox_mono F v N hdv hbound i |
| 37 | · have hf : f (.inr v) = Vacuum.Construction.finiteVacuum F N v := by simpa [s] using hv |
| 38 | have hint : ∀ j, a j v ∈ v.adicCompletionIntegers F := by |
| 39 | by_contra hh |
| 40 | apply hnz v |
| 41 | rw [hf] |
| 42 | exact FinitePositionInsert.Construction.finiteVacuum_eq_zero_of_not_integral F N v _ hh |
| 43 | exact (v.adicCompletionIntegers F).toSubring.mul_mem |
| 44 | (coe_mem_adicCompletionIntegers (K := F) v r) (hint i) |
| 45 | |
| 46 | theorem RestrictedTestFamilies.Construction.RestrictedTestFamily.finiteValue_compactSupport (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) : |
| 47 | HasCompactSupport (f.finiteValue F N) := by |
| 48 | obtain ⟨r, hr, hb⟩ := f.finiteValue_denominator F N |
| 49 | let q := algebraMap (𝓞 F) F r |
| 50 | have hq : q ≠ 0 := (map_ne_zero_iff _ (IsFractionRing.injective (𝓞 F) F)).mpr hr |
| 51 | apply HasCompactSupport.intro (FiniteLattices.Construction.finiteAdelicPositionLattice_isCompact q⁻¹ (inv_ne_zero hq)) |
| 52 | intro a ha |
| 53 | by_contra hnz |
| 54 | apply ha |
| 55 | apply (FiniteLattices.Construction.finiteAdelicPositionLattice_mem_iff q⁻¹ (inv_ne_zero hq) a).mpr |
| 56 | intro i |
| 57 | have hh := hb a hnz i |
| 58 | change algebraMap F (ArchimedeanAdeles.Construction.FiniteAdeles F) (q⁻¹)⁻¹ * a i ∈ IntegralAdeles.Construction.finiteIntegralRing F |
| 59 | rw [inv_inv] |
| 60 | simpa only [q, IsScalarTower.algebraMap_apply] using! hh |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.RepresentationTheory.Weil.AdelicSplitting |