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 Mathlib.MeasureTheory.Measure.WithDensity |
| 2 | import Mathlib.MeasureTheory.Measure.OpenPos |
| 3 | |
| 4 | /-! # Continuous Density -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.ContinuousDensity.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A continuous strictly positive real density preserves local |
| 11 | finiteness and positivity on open sets. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory _root_.MeasureTheory.Measure |
| 14 | open scoped ENNReal |
| 15 | |
| 16 | theorem isOpenPosMeasure_withDensity_positive |
| 17 | {X : Type*} [TopologicalSpace X] [MeasurableSpace X] [OpensMeasurableSpace X] |
| 18 | (μ : Measure X) [IsOpenPosMeasure μ] (f : X → ℝ≥0∞) |
| 19 | (hf : Measurable f) (hpos : ∀ x, f x ≠ 0) : IsOpenPosMeasure (μ.withDensity f) := by |
| 20 | constructor |
| 21 | intro U hU hUn hz |
| 22 | have hz' := (withDensity_apply_eq_zero hf).mp hz |
| 23 | apply hU.measure_ne_zero μ hUn |
| 24 | have hset : {x | f x ≠ 0} = Set.univ := Set.eq_univ_of_forall hpos |
| 25 | rwa [hset, Set.univ_inter] at hz' |
| 26 | |
| 27 | theorem continuous_positive_density_finite_on_compacts |
| 28 | {X : Type*} [TopologicalSpace X] [MeasurableSpace X] [OpensMeasurableSpace X] |
| 29 | (μ : Measure X) [IsLocallyFiniteMeasure μ] (f : X → ℝ) (hf : Continuous f) : |
| 30 | IsFiniteMeasureOnCompacts (μ.withDensity (fun x => ENNReal.ofReal (f x))) := by |
| 31 | let := IsLocallyFiniteMeasure.withDensity_ofReal (μ := μ) hf |
| 32 | infer_instance |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.ContinuousDensity.Construction |