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.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FunctionAction |
| 2 | import OAI.RepresentationTheory.Weil.Local.UnitaryInner |
| 3 | |
| 4 | /-! # Local Integral -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.LocalIntegral.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual local Haar integration, normalized so the integral lattice |
| 11 | vacuum has integral one at every finite place. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.MeasureTheory OAI.RepresentationTheory.Weil.Local.UnitaryInner.Construction |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz |
| 16 | |
| 17 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 18 | |
| 19 | local instance (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : MeasurableSpace (v.adicCompletion F) := borel _ |
| 20 | local instance (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : BorelSpace (v.adicCompletion F) := ⟨rfl⟩ |
| 21 | |
| 22 | def measure (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : Measure (Fin N → v.adicCompletion F) := |
| 23 | RepresentationTheory.Weil.Local.UnitaryInner.Construction.referencePositionMeasure (v.adicCompletion F) N |
| 24 | |
| 25 | instance measureHaar (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : (measure F N v).IsAddHaarMeasure := by |
| 26 | unfold measure RepresentationTheory.Weil.Local.UnitaryInner.Construction.referencePositionMeasure |
| 27 | infer_instance |
| 28 | |
| 29 | def mass (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : ℝ := (measure F N v).real (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice F N v) |
| 30 | |
| 31 | theorem mass_pos (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : 0 < mass F N v := by |
| 32 | apply ENNReal.toReal_pos |
| 33 | · apply ((RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice_clopen F N v).isOpen.measure_pos (measure F N v) ?_).ne' |
| 34 | exact ⟨0, fun _ _ => (v.adicCompletionIntegers F).zero_mem⟩ |
| 35 | · exact (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice_compact F N v).measure_ne_top |
| 36 | |
| 37 | def rawIntegral (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N →ₗ[ℂ] ℂ where |
| 38 | toFun f := ∫ x, f.val x ∂ measure F N v |
| 39 | map_add' f h := integral_add (RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat_integrable _ f) (RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat_integrable _ h) |
| 40 | map_smul' c f := integral_smul c f.val |
| 41 | |
| 42 | theorem raw_vacuum (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : |
| 43 | rawIntegral F N v (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) = (mass F N v : ℂ) := by |
| 44 | change (∫ x, (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice F N v).indicator (fun _ => (1 : ℂ)) x ∂ measure F N v) = _ |
| 45 | rw [integral_indicator (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finitePositionLattice_clopen F N v).isClosed.measurableSet] |
| 46 | simp only [setIntegral_const, Complex.real_smul, mul_one] |
| 47 | rfl |
| 48 | |
| 49 | def integral (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N →ₗ[ℂ] ℂ := |
| 50 | (mass F N v : ℂ)⁻¹ • rawIntegral F N v |
| 51 | |
| 52 | theorem vacuum (v : RepresentationTheory.Theta.Adelic.FiniteSchwartz.FinitePlace F) : integral F N v (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) = 1 := by |
| 53 | change (mass F N v : ℂ)⁻¹ * rawIntegral F N v (RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction.finiteVacuum F N v) = 1 |
| 54 | rw [raw_vacuum, inv_mul_cancel₀ (Complex.ofReal_ne_zero.mpr (mass_pos F N v).ne')] |
| 55 | |
| 56 | def globalIntegral : RepresentationTheory.Theta.Adelic.CompactSupport.AdelicSchwartz.adelicSchwartzFunctions F N →ₗ[ℂ] ℂ := |
| 57 | Finite.FunctionAction.CM.FunctionalDescent.functionFunctional F N (integral F N) |
| 58 | (Filter.Eventually.of_forall (vacuum F N)) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.NumberField.LocalIntegral.CM |