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.Restrict |
| 2 | import Mathlib.Order.Disjointed |
| 3 | |
| 4 | /-! # Measure Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MeasureGluing.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible local Borel measures glue along a countable ordered cover. |
| 11 | The construction uses its actual measurable disjoint refinement. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Set |
| 14 | |
| 15 | variable {X ι : Type*} [MeasurableSpace X] [Countable ι] |
| 16 | [LinearOrder ι] [LocallyFiniteOrderBot ι] |
| 17 | |
| 18 | def gluedChartMeasure (U : ι → Set X) (μ : ι → Measure X) : Measure X := |
| 19 | Measure.sum (fun i => (μ i).restrict (disjointed U i)) |
| 20 | |
| 21 | theorem disjointed_cover_measurable (U : ι → Set X) (hU : ∀ i, MeasurableSet (U i)) (i : ι) : |
| 22 | MeasurableSet (disjointed U i) := by |
| 23 | rw [disjointed_eq_inter_compl] |
| 24 | exact (hU i).inter (MeasurableSet.iInter (fun j => MeasurableSet.iInter (fun _ => (hU j).compl))) |
| 25 | |
| 26 | theorem gluedChartMeasure_restrict (U : ι → Set X) (μ : ι → Measure X) |
| 27 | (hU : ∀ i, MeasurableSet (U i)) (hcover : ⋃ i, U i = univ) |
| 28 | (hcompat : ∀ i j, (μ i).restrict (U i ∩ U j) = (μ j).restrict (U i ∩ U j)) |
| 29 | (j : ι) : (gluedChartMeasure U μ).restrict (U j) = (μ j).restrict (U j) := by |
| 30 | have hpiece (i : ι) : ((μ i).restrict (disjointed U i)).restrict (U j) = |
| 31 | ((μ j).restrict (disjointed U i)).restrict (U j) := by |
| 32 | rw [Measure.restrict_restrict (hU j), Measure.restrict_restrict (hU j)] |
| 33 | apply Measure.restrict_congr_mono _ (hcompat i j) |
| 34 | exact fun x hx => ⟨disjointed_subset U i hx.2, hx.1⟩ |
| 35 | have hsum : Measure.sum (fun i => (μ j).restrict (disjointed U i)) = μ j := by |
| 36 | rw [← Measure.restrict_iUnion (disjoint_disjointed U) (disjointed_cover_measurable U hU), |
| 37 | iUnion_disjointed, hcover, Measure.restrict_univ] |
| 38 | rw [gluedChartMeasure, Measure.restrict_sum _ (hU j)] |
| 39 | have heq : (fun i => ((μ i).restrict (disjointed U i)).restrict (U j)) = |
| 40 | (fun i => ((μ j).restrict (disjointed U i)).restrict (U j)) := funext hpiece |
| 41 | rw [heq, ← Measure.restrict_sum _ (hU j), hsum] |
| 42 | |
| 43 | /-- Local measures supported in the members of a cover, and agreeing on |
| 44 | overlaps, determine one and only one global measure. -/ |
| 45 | theorem compatible_measures_existsUnique (U : ι → Set X) (μ : ι → Measure X) |
| 46 | (hU : ∀ i, MeasurableSet (U i)) (hcover : ⋃ i, U i = univ) |
| 47 | (hsupport : ∀ i, (μ i).restrict (U i) = μ i) |
| 48 | (hcompat : ∀ i j, (μ i).restrict (U i ∩ U j) = (μ j).restrict (U i ∩ U j)) : |
| 49 | ∃! ν : Measure X, ∀ i, ν.restrict (U i) = μ i := by |
| 50 | refine ⟨gluedChartMeasure U μ, ?_, ?_⟩ |
| 51 | · intro i |
| 52 | rw [gluedChartMeasure_restrict U μ hU hcover hcompat i, hsupport i] |
| 53 | · intro ν hν |
| 54 | apply Measure.ext_of_iUnion_eq_univ hcover |
| 55 | intro i |
| 56 | rw [hν i, gluedChartMeasure_restrict U μ hU hcover hcompat i, hsupport i] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MeasureGluing.CM.Construction |