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.ArchimedeanPositionFourier |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CosetThetaPrimal |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CosetThetaDual |
| 4 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CosetFourierExpansion |
| 5 | import OAI.RepresentationTheory.Weil.AdelicSplitting.RapidLatticePoisson |
| 6 | |
| 7 | /-! # Theta Fourier Positive -/ |
| 8 | |
| 9 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.ThetaFourierPositive.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Adelic Poisson summation up to a positive scalar, derived for actual |
| 14 | restricted test families from finite cosets and real lattice Poisson. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField |
| 17 | open _root_.NumberField IsDedekindDomain _root_.MeasureTheory |
| 18 | |
| 19 | open OAI.RepresentationTheory.Weil.AdelicSplitting.RapidLatticePoisson.LocalAnalysis |
| 20 | |
| 21 | local instance thetaFourierFiniteMeasurable (F : Type) [Field F] [NumberField F] |
| 22 | (v : HeightOneSpectrum (𝓞 F)) : MeasurableSpace (v.adicCompletion F) := borel (v.adicCompletion F) |
| 23 | local instance thetaFourierFiniteBorel (F : Type) [Field F] [NumberField F] |
| 24 | (v : HeightOneSpectrum (𝓞 F)) : BorelSpace (v.adicCompletion F) := ⟨rfl⟩ |
| 25 | local instance thetaFourierInfiniteMeasurable (F : Type) [Field F] |
| 26 | (v : InfinitePlace F) : MeasurableSpace v.Completion := borel v.Completion |
| 27 | local instance thetaFourierInfiniteBorel (F : Type) [Field F] |
| 28 | (v : InfinitePlace F) : BorelSpace v.Completion := ⟨rfl⟩ |
| 29 | local instance thetaFourierMixedBorel (F : Type) [Field F] [NumberField F] : |
| 30 | BorelSpace (mixedEmbedding.mixedSpace F) := by |
| 31 | unfold mixedEmbedding.mixedSpace |
| 32 | infer_instance |
| 33 | |
| 34 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 35 | variable (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) (hc : Continuous ψ) (hu : ∀ x, ‖ψ x‖ = 1) |
| 36 | variable (hp : ∀ q : F, ψ (algebraMap F (ArchimedeanAdeles.Construction.Adeles F) q) = 1) |
| 37 | variable (hn : ∀ v : InfinitePlace F, ∃ t : v.Completion, Characters.Construction.localAdditiveCharacter F ψ (.inl v) t ≠ 1) |
| 38 | variable (hμf : ∀ v : HeightOneSpectrum (𝓞 F), |
| 39 | (Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F (.inr v)) N (Characters.Construction.localAdditiveCharacter F ψ (.inr v))).IsAddHaarMeasure) |
| 40 | variable (hμa : ∀ v : InfinitePlace F, |
| 41 | (Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F (.inl v)) N (Characters.Construction.localAdditiveCharacter F ψ (.inl v))).IsAddHaarMeasure) |
| 42 | |
| 43 | include hc hu hp hn hμf hμa in |
| 44 | theorem theta_fourier_cosets_positive (a : Rational.Construction.RestrictedCover F N ψ) (ha : Rational.Construction.IsRationalFourier F N ψ a) |
| 45 | (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) (M : ℕ) (hM : 0 < M) : |
| 46 | ∃ c : ℝ, 0 < c ∧ ∀ b : Fin N → F, |
| 47 | ((f.replaceFiniteByCoset F N (M : F) (by exact_mod_cast hM.ne') (FiniteCosets.Construction.finiteRationalPosition b)).act F N ψ a).theta F N = |
| 48 | (c : ℂ) * (f.replaceFiniteByCoset F N (M : F) (by exact_mod_cast hM.ne') (FiniteCosets.Construction.finiteRationalPosition b)).theta F N := by |
| 49 | obtain ⟨L, hL, hrat⟩ := ArchimedeanCharacterLattice.Construction.exists_archimedean_linear_character_rational F ψ hc hu hp |
| 50 | have hsep := ArchimedeanDualLattice.Construction.archimedean_linear_pairing_separates F ψ hn L hL |
| 51 | let μ := ArchimedeanPositionFourier.Construction.archimedeanPositionMeasure F N ψ |
| 52 | let : μ.IsAddHaarMeasure := ArchimedeanPositionFourier.Construction.archimedeanPositionMeasure_isAddHaarMeasure F N ψ hμa |
| 53 | let B := ArchimedeanPositionPairing.Construction.mixedPositionPairing F N L |
| 54 | let b := MixedIntegerBasis.Construction.mixedIntegerPositionBasis F N M hM |
| 55 | obtain ⟨V, hV, hVp⟩ := FiniteAnnihilator.Construction.finiteCosetVolume_hasProd F N ψ hμf a ha f (M : F) (by exact_mod_cast hM.ne') |
| 56 | refine ⟨V * (LatticePoisson.LocalAnalysis.basisHaarFactor b μ : ℝ), mul_pos hV (by exact_mod_cast LatticePoisson.LocalAnalysis.basisHaarFactor_pos b μ), fun z => ?_⟩ |
| 57 | rw [f.theta_coset_dual_coordinates F N ψ hc hp hμf L hL hsep hrat a ha M hM z V hVp, |
| 58 | f.theta_coset_primal_coordinates F N M hM z] |
| 59 | have hP := RapidLatticePoisson.LocalAnalysis.rapid_lattice_poisson_shift_positive b B μ (ArchimedeanPositionPairing.Construction.mixedPositionPairing_separating F N L hsep) |
| 60 | (f.mixedProductRapid F N) ((f.act F N ψ a).mixedProductRapid F N) |
| 61 | (ArchimedeanPositionFourier.Construction.archimedean_fourier_product F N ψ hμa hc L hL a ha f) (ThetaTest.Construction.mixedRationalPosition F N z) |
| 62 | have hsum : (∑' n : MixedIntegerBasis.Construction.MixedPositionIndex F N → ℤ, |
| 63 | (f.act F N ψ a).mixedProductRapid F N (CosetThetaDual.Construction.mixedDualPosition F N L hsep M hM n) * |
| 64 | RealCharacters.LocalAnalysis.realCharacter 1 (ArchimedeanPositionPairing.Construction.mixedPositionPairing F N L |
| 65 | (CosetThetaDual.Construction.mixedDualPosition F N L hsep M hM n) (ThetaTest.Construction.mixedRationalPosition F N z))) = |
| 66 | (LatticePoisson.LocalAnalysis.basisHaarFactor b μ : ℂ) * ∑' n : MixedIntegerBasis.Construction.MixedPositionIndex F N → ℤ, |
| 67 | f.mixedProductRapid F N (ThetaTest.Construction.mixedRationalPosition F N z + b.equivFun.symm (fun p => (n p : ℝ))) := hP |
| 68 | rw [hsum, Complex.ofReal_mul, mul_assoc] |
| 69 | |
| 70 | include hc hu hp hn hμf hμa in |
| 71 | theorem theta_rational_fourier_positive (a : Rational.Construction.RestrictedCover F N ψ) (ha : Rational.Construction.IsRationalFourier F N ψ a) |
| 72 | (f : RestrictedTestFamilies.Construction.RestrictedTestFamily F N) : |
| 73 | ∃ c : ℝ, 0 < c ∧ (f.act F N ψ a).theta F N = (c : ℂ) * f.theta F N := by |
| 74 | obtain ⟨M, hM, s, hs⟩ := f.finite_coset_expansion F N |
| 75 | let g (j : s) := f.replaceFiniteByCoset F N (M : F) (by exact_mod_cast hM.ne') |
| 76 | (FiniteCosets.Construction.finiteRationalPosition (FiniteCosets.Construction.finitePositionQuotientRep (M : F) (by exact_mod_cast hM.ne') j.val)) |
| 77 | let k (j : s) := f.finiteValue F N |
| 78 | (FiniteCosets.Construction.finiteRationalPosition (FiniteCosets.Construction.finitePositionQuotientRep (M : F) (by exact_mod_cast hM.ne') j.val)) |
| 79 | have harch : ∀ j : s, ∀ v, g j (.inl v) = f (.inl v) := fun _ _ => rfl |
| 80 | have hrel : ∀ x, f.finiteValue F N x = ∑ j : s, k j * (g j).finiteValue F N x := hs |
| 81 | obtain ⟨c, hcp, hct⟩ := theta_fourier_cosets_positive F N ψ hc hu hp hn hμf hμa a ha f M hM |
| 82 | refine ⟨c, hcp, ?_⟩ |
| 83 | rw [f.theta_fourier_of_finite_relation F N ψ hc hu hμf a ha g k harch hrel, |
| 84 | f.theta_of_finite_relation F N g k harch hrel, Finset.mul_sum] |
| 85 | apply Finset.sum_congr rfl |
| 86 | intro j _ |
| 87 | have hj : ((g j).act F N ψ a).theta F N = (c : ℂ) * (g j).theta F N := hct _ |
| 88 | rw [hj] |
| 89 | ring |
| 90 | |
| 91 | include hc hu hp hn hμf hμa in |
| 92 | theorem rationalFourier_mem_positiveThetaSubgroup (a : Rational.Construction.RestrictedCover F N ψ) |
| 93 | (ha : Rational.Construction.IsRationalFourier F N ψ a) : a ∈ TestFamilyAction.Construction.positiveThetaSubgroup F N ψ := |
| 94 | theta_rational_fourier_positive F N ψ hc hu hp hn hμf hμa a ha |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.RepresentationTheory.Weil.AdelicSplitting.ThetaFourierPositive.Construction |