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.ComplexMultiplication.HodgeComparison.CompactMetricCover |
| 2 | import Mathlib.MeasureTheory.Function.LpSpace.ContinuousFunctions |
| 3 | |
| 4 | /-! # Compact Patch Fields -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual measurable fields in a finite compact coordinate refinement. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory Set |
| 13 | open scoped ENNReal |
| 14 | |
| 15 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 16 | {F : Type*} [NormedAddCommGroup F] |
| 17 | |
| 18 | def CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField (f : Fin C.size → V.analyticSpace → F) (x : V.analyticSpace) : F := |
| 19 | ∑ i, (C.piece i).indicator (f i) x |
| 20 | |
| 21 | theorem CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField_eq (f : Fin C.size → V.analyticSpace → F) |
| 22 | {i : Fin C.size} {x : V.analyticSpace} (hx : x ∈ C.piece i) : C.patchField f x = f i x := by |
| 23 | classical |
| 24 | rw [CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField, Finset.sum_eq_single i] |
| 25 | · exact indicator_of_mem hx _ |
| 26 | · intro j _ hji |
| 27 | exact indicator_of_notMem (fun hj => Set.disjoint_left.mp (C.pieces_disjoint hji) hj hx) _ |
| 28 | · simp |
| 29 | |
| 30 | theorem CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField_aestronglyMeasurable (f : Fin C.size → V.analyticSpace → F) |
| 31 | (hf : ∀ i, ContinuousOn (f i) (C.compactSet i)) : |
| 32 | AEStronglyMeasurable (C.patchField f) (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 33 | have h (i : Fin C.size) : AEStronglyMeasurable ((C.piece i).indicator (f i)) |
| 34 | (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 35 | (aestronglyMeasurable_indicator_iff (C.piece_measurable i)).mpr |
| 36 | ((hf i).aestronglyMeasurable_of_subset_isCompact |
| 37 | (C.isCompact i) (C.piece_measurable i) (C.piece_subset i)) |
| 38 | have heq : C.patchField f = ∑ i, (C.piece i).indicator (f i) := by |
| 39 | funext x |
| 40 | simp only [CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField, Finset.sum_apply] |
| 41 | rw [heq] |
| 42 | exact Finset.aestronglyMeasurable_sum Finset.univ (fun i _ => h i) |
| 43 | |
| 44 | theorem CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField_bounded (f : Fin C.size → V.analyticSpace → F) |
| 45 | (hf : ∀ i, ContinuousOn (f i) (C.compactSet i)) : |
| 46 | ∃ B : ℝ, 0 < B ∧ ∀ x, ‖C.patchField f x‖ ≤ B := by |
| 47 | classical |
| 48 | choose B hB using fun i => (C.isCompact i).exists_bound_of_continuousOn (hf i) |
| 49 | refine ⟨1 + ∑ i, max (B i) 0, by positivity, ?_⟩ |
| 50 | intro x |
| 51 | obtain ⟨i, hi⟩ := C.exists_piece x |
| 52 | rw [C.patchField_eq f hi] |
| 53 | calc |
| 54 | ‖f i x‖ ≤ B i := hB i x (C.piece_subset i hi) |
| 55 | _ ≤ max (B i) 0 := le_max_left _ _ |
| 56 | _ ≤ ∑ j, max (B j) 0 := Finset.single_le_sum (fun j _ => le_max_right _ _) (Finset.mem_univ i) |
| 57 | _ ≤ _ := by linarith |
| 58 | |
| 59 | theorem CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField_memLp (f : Fin C.size → V.analyticSpace → F) |
| 60 | (hf : ∀ i, ContinuousOn (f i) (C.compactSet i)) (p : ℝ≥0∞) : |
| 61 | MemLp (C.patchField f) p (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 62 | obtain ⟨B, _, hB⟩ := C.patchField_bounded f hf |
| 63 | exact MemLp.of_bound (C.patchField_aestronglyMeasurable f hf) B |
| 64 | (Filter.Eventually.of_forall hB) |
| 65 | |
| 66 | theorem CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField_add (f g : Fin C.size → V.analyticSpace → F) : |
| 67 | C.patchField (fun i x => f i x + g i x) = C.patchField f + C.patchField g := by |
| 68 | funext x |
| 69 | obtain ⟨i, hi⟩ := C.exists_piece x |
| 70 | simp only [Pi.add_apply, C.patchField_eq _ hi] |
| 71 | |
| 72 | variable {𝕜 : Type*} [NormedField 𝕜] [NormedSpace 𝕜 F] |
| 73 | |
| 74 | theorem CompactMetricCover.CM.Construction.CompactMetricChartCover.patchField_smul (a : 𝕜) (f : Fin C.size → V.analyticSpace → F) : |
| 75 | C.patchField (fun i x => a • f i x) = a • C.patchField f := by |
| 76 | funext x |
| 77 | obtain ⟨i, hi⟩ := C.exists_piece x |
| 78 | simp only [Pi.smul_apply, C.patchField_eq _ hi] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison |