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.UnitarySplitting.RealCayleySchwartz |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.RealWeakSynthesis |
| 3 | import OAI.RepresentationTheory.Weil.UnitarySplitting.RealMoyalIdentity |
| 4 | import OAI.RepresentationTheory.Weil.UnitarySplitting.WeakGaussianLinearity |
| 5 | |
| 6 | /-! # Real Cayley -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.RealCayley.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Real weak Cayley forms are represented by actual Bruhat test vectors. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory |
| 15 | open scoped InnerProductSpace ComplexConjugate |
| 16 | |
| 17 | theorem realCayley_representable {d : ℕ} |
| 18 | (ψ : AddChar ℝ ℂ) (hc : Continuous (fun t : ℝ => ψ t)) (hu : ∀ t, ‖ψ t‖ = 1) |
| 19 | (hn : ∃ t, ψ t ≠ 1) (ν : Measure (Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ d)) [ν.IsAddHaarMeasure] |
| 20 | (g : FrameTransport.Construction.StandardSymplectic ℝ d) (D : Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ d ≃ₗ[ℝ] Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ d) |
| 21 | (hD : ∀ x, D x = g.val x - x) (f : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d) : |
| 22 | ∃ w : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d, ∀ h : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d, |
| 23 | ⟪Weak.Construction.testToL2 ℝ d h, Weak.Construction.testToL2 ℝ d w⟫_ℂ = |
| 24 | WeakWeylGaussian.Construction.weakWeylGaussian ψ (Weak.Construction.referencePositionMeasure ℝ d) ν |
| 25 | (CayleyCompositionPhase.Construction.cayleyWeylPhase (StandardTransvections.Construction.standardSymplecticBilinear ℝ d) D) f.val h.val := by |
| 26 | obtain ⟨u, hu0⟩ := LocalTest.Construction.exists_test_nonzero_of_real_coordinates (ContinuousAddEquiv.refl (Local.FunctionsMetaplectic.Construction.Position ℝ d)) |
| 27 | obtain ⟨r, hr, hrec⟩ := RealMoyalIdentity.Construction.realTest_reconstruction_positive ψ hc hu hn ν u hu0 |
| 28 | obtain ⟨b, hb⟩ := RealCayleySchwartz.Construction.exists_real_cayley_coefficient_schwartz ψ hc hu hn ν g D hD f u |
| 29 | let w : Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ d := ⟨WeylSynthesisAdd.Construction.weylSynthesis ψ ν b u.val, RealWeylFourier.Construction.weylSynthesis_mem_real ψ hc hu ν b u⟩ |
| 30 | let q := CayleyCompositionPhase.Construction.cayleyWeylPhase (StandardTransvections.Construction.standardSymplecticBilinear ℝ d) D |
| 31 | have hq : Continuous q := (RealCayleySchwartz.Construction.realCayleyWeylPhase_temperate D).1.continuous |
| 32 | refine ⟨(r : ℂ)⁻¹ • w, fun h => ?_⟩ |
| 33 | obtain ⟨A, hA⟩ := RealMoyalIdentity.Construction.exists_real_weyl_analysis_schwartz ψ hc hu hn u h |
| 34 | have hAa : (A : Local.FunctionsMetaplectic.Construction.PhaseSpace ℝ d → ℂ) = WeylAnalysis.Construction.weylAnalysis ψ (Weak.Construction.referencePositionMeasure ℝ d) u.val h.val := funext hA |
| 35 | have hh : ((r : ℂ) • h).val = WeylSynthesisAdd.Construction.weylSynthesis ψ ν A u.val := by |
| 36 | rw [hAa] |
| 37 | funext x |
| 38 | exact (hrec h x).symm |
| 39 | have hp : ⟪Weak.Construction.testToL2 ℝ d h, Weak.Construction.testToL2 ℝ d w⟫_ℂ = |
| 40 | WeakWeylGaussian.Construction.weakWeylGaussian ψ (Weak.Construction.referencePositionMeasure ℝ d) ν q f.val ((r : ℂ) • h).val := by |
| 41 | rw [RealWeakSynthesis.Construction.realWeakWeylGaussian_synthesized_output ψ hc hu hn ν q hq A f u ((r : ℂ) • h) hh, |
| 42 | Weak.Construction.testToL2_inner] |
| 43 | change (∫ x, WeylSynthesisAdd.Construction.weylSynthesis ψ ν b u.val x * conj (h.val x) ∂ Weak.Construction.referencePositionMeasure ℝ d) = _ |
| 44 | rw [WeylSynthesis.Construction.weylSynthesis_pairing ψ hc hu (Weak.Construction.referencePositionMeasure ℝ d) ν b b.continuous b.integrable u h] |
| 45 | apply integral_congr_ae |
| 46 | exact Filter.Eventually.of_forall fun v => by |
| 47 | dsimp only |
| 48 | rw [hA, hb] |
| 49 | simp only [WeylAnalysis.Construction.weylAnalysis, starRingEnd_self_apply] |
| 50 | exact mul_comm _ _ |
| 51 | rw [map_smul, inner_smul_right, hp, |
| 52 | WeakGaussianLinearity.Construction.weakWeylGaussian_smul_right RealFourierUnitary.Construction.real_nondiscrete ψ hc hu, Complex.conj_ofReal, |
| 53 | ← mul_assoc, inv_mul_cancel₀ (Complex.ofReal_ne_zero.mpr hr.ne'), one_mul] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.RepresentationTheory.Weil.UnitarySplitting.RealCayley.Construction |