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.FresnelOperators |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ThetaFourierPositive |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.PositiveScalarProduct |
| 4 | |
| 5 | /-! # Gaussian One Reciprocity -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.GaussianOneReciprocity.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Gaussian reciprocity for the standard scalar quadratic form, obtained |
| 12 | from actual Fourier-quadratic words and adelic Poisson positivity. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open _root_.MeasureTheory |
| 16 | |
| 17 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 18 | variable (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) (hc : Continuous ψ) (hu : ∀ x, ‖ψ x‖ = 1) |
| 19 | variable (hp : ∀ q : F, ψ (algebraMap F (ArchimedeanAdeles.Construction.Adeles F) q) = 1) |
| 20 | variable (hn : ∀ v : ArchimedeanAdeles.Construction.Places F, ∃ t : ArchimedeanAdeles.Construction.Completion F v, Characters.Construction.localAdditiveCharacter F ψ v t ≠ 1) |
| 21 | variable (hμ : ∀ v : ArchimedeanAdeles.Construction.Places F, |
| 22 | (Local.FunctionsMetaplectic.Construction.positionMeasure (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v)).IsAddHaarMeasure) |
| 23 | |
| 24 | include hp in |
| 25 | theorem rationalQuadratic_mem_positiveThetaSubgroup (B : Local.FunctionsMetaplectic.Construction.SymmetricMatrix F N) : |
| 26 | QuadraticGenerators.Construction.rationalQuadraticFamily F N ψ hu hc B ∈ TestFamilyAction.Construction.positiveThetaSubgroup F N ψ := by |
| 27 | intro f |
| 28 | refine ⟨1, zero_lt_one, ?_⟩ |
| 29 | simpa only [Complex.ofReal_one, one_mul] using f.theta_rational_quadratic F N ψ hc hp B |
| 30 | (QuadraticGenerators.Construction.rationalQuadraticFamily F N ψ hu hc B) (QuadraticGenerators.Construction.rationalQuadraticFamily_spec F N ψ hu hc B) |
| 31 | |
| 32 | include hp hμ in |
| 33 | theorem gaussianPowerCircle_principal_hasProd (a : Rational.Construction.RestrictedCover F N ψ) |
| 34 | (ha : Rational.Construction.IsRationalFourier F N ψ a) : |
| 35 | HasProd (FresnelOperators.Construction.gaussianPowerCircle F N ψ hc hu hn) 1 := by |
| 36 | let A := FresnelOperators.Construction.fresnelFirstWord F N ψ hc hu a |
| 37 | let B := FresnelOperators.Construction.fresnelSecondWord F N ψ hc hu a |
| 38 | let s := A * B⁻¹ |
| 39 | let P := TestFamilyAction.Construction.positiveThetaSubgroup F N ψ |
| 40 | have hW : a ∈ P := ThetaFourierPositive.Construction.rationalFourier_mem_positiveThetaSubgroup F N ψ hc hu hp |
| 41 | (fun v => hn (.inl v)) (fun v => hμ (.inr v)) (fun v => hμ (.inl v)) a ha |
| 42 | have hQ : FresnelOperators.Construction.unitQuadraticFamily F N ψ hc hu ∈ P := |
| 43 | rationalQuadratic_mem_positiveThetaSubgroup F N ψ hc hu hp (FresnelAlgebra.Construction.unitSymmetricMatrix F N) |
| 44 | have hQm : FresnelOperators.Construction.negativeUnitQuadraticFamily F N ψ hc hu ∈ P := |
| 45 | rationalQuadratic_mem_positiveThetaSubgroup F N ψ hc hu hp (FresnelAlgebra.Construction.negativeUnitSymmetricMatrix F N) |
| 46 | have hA : A ∈ P := P.mul_mem (P.mul_mem hW hQ) hW |
| 47 | have hB : B ∈ P := P.mul_mem (P.mul_mem hQm hW) hQm |
| 48 | have hs : s ∈ P := P.mul_mem hA (P.inv_mem hB) |
| 49 | apply PositiveScalarProduct.Construction.restricted_scalar_positive_hasProd_one F N ψ s hs (FresnelOperators.Construction.gaussianPowerCircle F N ψ hc hu hn) |
| 50 | intro v |
| 51 | change FresnelOperators.Construction.fresnelFirstWord F N ψ hc hu a v * (FresnelOperators.Construction.fresnelSecondWord F N ψ hc hu a v)⁻¹ = _ |
| 52 | rw [FresnelOperators.Construction.fresnel_words_scalar F N ψ hc hu hn a ha v, mul_inv_cancel_right] |
| 53 | |
| 54 | include hc hu hp hn hμ in |
| 55 | theorem gaussianIndex_one_power_principal_hasProd (a : Rational.Construction.RestrictedCover F N ψ) |
| 56 | (ha : Rational.Construction.IsRationalFourier F N ψ a) : |
| 57 | HasProd (fun v : ArchimedeanAdeles.Construction.Places F => Local.FunctionsMetaplectic.Construction.gaussianIndex (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F ψ v) 1 ^ N) 1 := by |
| 58 | have h := (gaussianPowerCircle_principal_hasProd F N ψ hc hu hp hn hμ a ha).map |
| 59 | Circle.coeHom continuous_subtype_val |
| 60 | exact h |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.RepresentationTheory.Weil.AdelicSplitting.GaussianOneReciprocity.Construction |