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.Local.UnitaryInner |
| 2 | import OAI.RepresentationTheory.Weil.Local.ModulationMeasure |
| 3 | |
| 4 | /-! # Density Measure -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.DensityMeasure.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! L²-energy preservation and commutation with modulations determine the |
| 11 | pointwise norm, through finite measures with density equal to norm squared. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | open scoped ENNReal InnerProductSpace ComplexConjugate |
| 15 | |
| 16 | variable (F : Type) [NormedField F] [LocallyCompactSpace F] |
| 17 | variable [MeasurableSpace F] [BorelSpace F] [SecondCountableTopology F] |
| 18 | variable {d : ℕ} |
| 19 | |
| 20 | def testDensityMeasure (f : FunctionsMetaplectic.Construction.schwartzBruhat F d) : Measure (FunctionsMetaplectic.Construction.Position F d) := |
| 21 | (UnitaryInner.Construction.referencePositionMeasure F d).withDensity (fun x => ENNReal.ofReal (‖f.val x‖ ^ 2)) |
| 22 | |
| 23 | instance testDensityMeasure_finite (f : FunctionsMetaplectic.Construction.schwartzBruhat F d) : |
| 24 | IsFiniteMeasure (testDensityMeasure F f) := by |
| 25 | apply isFiniteMeasure_withDensity |
| 26 | apply ne_of_lt |
| 27 | exact (hasFiniteIntegral_iff_ofReal (Filter.Eventually.of_forall |
| 28 | (fun x => sq_nonneg ‖f.val x‖))).mp |
| 29 | (FunctionsMetaplectic.Construction.schwartzBruhat_norm_sq_integrable (UnitaryInner.Construction.referencePositionMeasure F d) f).hasFiniteIntegral |
| 30 | |
| 31 | theorem testDensityMeasure_integral (f : FunctionsMetaplectic.Construction.schwartzBruhat F d) |
| 32 | (g : FunctionsMetaplectic.Construction.Position F d → ℂ) : |
| 33 | ∫ x, g x ∂ testDensityMeasure F f = |
| 34 | ∫ x, (‖f.val x‖ ^ 2 : ℝ) • g x ∂ UnitaryInner.Construction.referencePositionMeasure F d := by |
| 35 | unfold testDensityMeasure |
| 36 | rw [integral_withDensity_eq_integral_toReal_smul] |
| 37 | · simp only [ENNReal.toReal_ofReal (sq_nonneg _)] |
| 38 | · exact ((FunctionsMetaplectic.Construction.schwartzBruhat_continuous f.property).norm.pow 2).measurable.ennreal_ofReal |
| 39 | · exact Filter.Eventually.of_forall fun _ => ENNReal.ofReal_lt_top |
| 40 | |
| 41 | theorem testDensityMeasure_modulation |
| 42 | (ψ : AddChar F ℂ) (p : FunctionsMetaplectic.Construction.Position F d) (f g : FunctionsMetaplectic.Construction.schwartzBruhat F d) |
| 43 | (hg : ∀ x, g.val x = ModulationMeasure.Construction.modulationCharacter ψ p x * f.val x) : |
| 44 | ∫ x, ModulationMeasure.Construction.modulationCharacter ψ p x ∂ testDensityMeasure F f = |
| 45 | ⟪UnitaryInner.Construction.testToL2 F d f, UnitaryInner.Construction.testToL2 F d g⟫_ℂ := by |
| 46 | rw [testDensityMeasure_integral, UnitaryInner.Construction.testToL2_inner] |
| 47 | apply integral_congr_ae |
| 48 | exact Filter.Eventually.of_forall fun x => by |
| 49 | dsimp only |
| 50 | rw [hg, mul_assoc, Complex.mul_conj, Complex.normSq_eq_norm_sq] |
| 51 | change ((‖f.val x‖ ^ 2 : ℝ) : ℂ) * ModulationMeasure.Construction.modulationCharacter ψ p x = _ |
| 52 | exact mul_comm _ _ |
| 53 | |
| 54 | theorem energy_commutant_preserves_norm [CompleteSpace F] |
| 55 | (ψ : AddChar F ℂ) (hψ : Continuous (fun x : F => ψ x)) |
| 56 | (hunit : ∀ t, ‖ψ t‖ = 1) (hnontrivial : ∃ t, ψ t ≠ 1) |
| 57 | (M : FunctionsMetaplectic.Construction.Position F d → FunctionsMetaplectic.Construction.schwartzBruhat F d →ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat F d) |
| 58 | (hM : ∀ p f x, (M p f).val x = ModulationMeasure.Construction.modulationCharacter ψ p x * f.val x) |
| 59 | (A : FunctionsMetaplectic.Construction.schwartzBruhat F d →ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat F d) |
| 60 | (henergy : ∀ f, FunctionsMetaplectic.Construction.l2Energy F d (A f) = FunctionsMetaplectic.Construction.l2Energy F d f) |
| 61 | (hA : ∀ p f, A (M p f) = M p (A f)) |
| 62 | (f : FunctionsMetaplectic.Construction.schwartzBruhat F d) (x : FunctionsMetaplectic.Construction.Position F d) : ‖(A f).val x‖ = ‖f.val x‖ := by |
| 63 | have hmeasure : testDensityMeasure F (A f) = testDensityMeasure F f := by |
| 64 | apply ModulationMeasure.Construction.measures_eq_of_modulation_integrals ψ hψ hunit hnontrivial |
| 65 | intro p |
| 66 | rw [testDensityMeasure_modulation F ψ p (A f) (M p (A f)) (hM p (A f)), |
| 67 | testDensityMeasure_modulation F ψ p f (M p f) (hM p f), ← hA] |
| 68 | exact UnitaryInner.Construction.energy_preserving_inner F d A henergy f (M p f) |
| 69 | have hc (g : FunctionsMetaplectic.Construction.schwartzBruhat F d) : |
| 70 | Continuous (fun y => ENNReal.ofReal (‖g.val y‖ ^ 2)) := |
| 71 | ENNReal.continuous_ofReal.comp ((FunctionsMetaplectic.Construction.schwartzBruhat_continuous g.property).norm.pow 2) |
| 72 | have hae : (fun y => ENNReal.ofReal (‖(A f).val y‖ ^ 2)) =ᵐ[UnitaryInner.Construction.referencePositionMeasure F d] |
| 73 | (fun y => ENNReal.ofReal (‖f.val y‖ ^ 2)) := |
| 74 | (withDensity_eq_iff_of_sigmaFinite (hc (A f)).measurable.aemeasurable |
| 75 | (hc f).measurable.aemeasurable).mp hmeasure |
| 76 | have heq := congrFun (Measure.eq_of_ae_eq hae (hc (A f)) (hc f)) x |
| 77 | have hsquare := congrArg ENNReal.toReal heq |
| 78 | simp only [ENNReal.toReal_ofReal (sq_nonneg _)] at hsquare |
| 79 | nlinarith [norm_nonneg ((A f).val x), norm_nonneg (f.val x)] |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.RepresentationTheory.Weil.Local.DensityMeasure.Construction |