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.MetricMeasureFinite |
| 2 | import Mathlib.MeasureTheory.Measure.OpenPos |
| 3 | |
| 4 | /-! # Chart Measure -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartMeasure.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual projective metric measure is positive on every nonempty open |
| 13 | set. Consequently it detects equality of continuous functions. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory Set |
| 16 | open scoped ENNReal _root_.Manifold |
| 17 | |
| 18 | theorem varietyMetricChartCoordinates_isOpen (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 19 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) {S : Set V.analyticSpace} |
| 20 | (hS : IsOpen S) (hSe : S ⊆ e.source) : IsOpen (MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S) := by |
| 21 | rw [MetricMeasureFinite.CM.Construction.varietyMetricChartCoordinates_eq_image V e hSe] |
| 22 | have h := (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm.toHomeomorph.isOpenMap (e '' S) |
| 23 | (e.isOpen_image_of_subset_source hS hSe) |
| 24 | simpa only [image_image, ContinuousLinearEquiv.coe_toHomeomorph] using h |
| 25 | |
| 26 | theorem varietyMetricChartMeasure_open_pos (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 27 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 28 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 29 | {S : Set V.analyticSpace} (hS : IsOpen S) (hSe : S ⊆ e.source) (hne : S.Nonempty) : |
| 30 | 0 < MetricChartMeasure.CM.Construction.varietyMetricChartMeasure V e S := by |
| 31 | rw [MetricChartMeasure.CM.Construction.varietyMetricChartMeasure_apply V e hS.measurableSet] |
| 32 | let N := MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S |
| 33 | have hN : IsOpen N := varietyMetricChartCoordinates_isOpen V e hS hSe |
| 34 | have hNne : N.Nonempty := by |
| 35 | rw [show N = (fun x => (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) '' S from |
| 36 | MetricMeasureFinite.CM.Construction.varietyMetricChartCoordinates_eq_image V e hSe] |
| 37 | exact hne.image _ |
| 38 | have hNU : N ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e := |
| 39 | fun z hz => ((MetricChartMeasure.CM.Construction.mem_varietyMetricChartCoordinates V e S z).mp hz).1 |
| 40 | have hρ : AEMeasurable (fun z => ENNReal.ofReal (Metric.CM.Construction.varietyMetricDensity V e z)) |
| 41 | ((volume : Measure (EuclideanMetric.CM.Construction.varietyEuclideanModel V)).restrict N) := |
| 42 | ENNReal.measurable_ofReal.comp_aemeasurable |
| 43 | (((Metric.CM.Construction.varietyMetricDensity_smooth V e he).continuousOn.mono hNU).aestronglyMeasurable hN.measurableSet).aemeasurable |
| 44 | apply pos_iff_ne_zero.mpr |
| 45 | intro hzero |
| 46 | have hz := (lintegral_eq_zero_iff' hρ).mp hzero |
| 47 | have hfalse : ∀ᵐ z ∂(volume : Measure (EuclideanMetric.CM.Construction.varietyEuclideanModel V)).restrict N, False := by |
| 48 | filter_upwards [hz, ae_restrict_mem hN.measurableSet] with z hval hmem |
| 49 | exact (ENNReal.ofReal_pos.mpr (Metric.CM.Construction.varietyMetricDensity_pos V e he (hNU hmem))).ne' hval |
| 50 | have hmeasure : (volume : Measure (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) N = 0 := by |
| 51 | simpa only [ae_iff, not_false_eq_true, Set.ofPred_true, |
| 52 | Measure.restrict_apply MeasurableSet.univ, univ_inter] using hfalse |
| 53 | exact (hN.measure_pos volume hNne).ne' hmeasure |
| 54 | |
| 55 | theorem varietyMetricMeasure_open_pos (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 56 | {S : Set V.analyticSpace} (hS : IsOpen S) (hne : S.Nonempty) : 0 < GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V S := by |
| 57 | obtain ⟨x, hx⟩ := hne |
| 58 | let e := chartAt V.analyticModel x |
| 59 | have hT : IsOpen (S ∩ e.source) := hS.inter e.open_source |
| 60 | have hTne : (S ∩ e.source).Nonempty := ⟨x, hx, mem_chart_source V.analyticModel x⟩ |
| 61 | have hpos : 0 < GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V (S ∩ e.source) := by |
| 62 | rw [← Measure.restrict_eq_self (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) inter_subset_right, |
| 63 | GlobalMetricMeasure.CM.Construction.varietyMetricMeasure_restrict_chart V e (chart_mem_atlas V.analyticModel x)] |
| 64 | exact varietyMetricChartMeasure_open_pos V e (chart_mem_atlas V.analyticModel x) |
| 65 | hT inter_subset_right hTne |
| 66 | exact hpos.trans_le (measure_mono inter_subset_left) |
| 67 | |
| 68 | instance varietyMetricMeasure_isOpenPos (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 69 | Measure.IsOpenPosMeasure (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 70 | ⟨fun _ hS hne => (varietyMetricMeasure_open_pos V hS hne).ne'⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | /-! Unweighted Euclidean measure on a compact chart piece is bounded by |
| 75 | a finite multiple of the actual global projective metric measure. -/ |
| 76 | |
| 77 | open _root_.MeasureTheory Set |
| 78 | open scoped ENNReal |
| 79 | |
| 80 | def varietyCompactChartPoint (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 81 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 82 | (K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) (z : K) : V.analyticSpace := |
| 83 | e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z.val) |
| 84 | |
| 85 | theorem varietyCompactChartPoint_continuous (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 86 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 87 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 88 | Continuous (varietyCompactChartPoint V e K) := |
| 89 | e.continuousOn_symm.comp_continuous |
| 90 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).continuous.comp continuous_subtype_val) (fun z => hKU z.property) |
| 91 | |
| 92 | def varietyUnweightedChartMeasure (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 93 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) (K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 94 | Measure V.analyticSpace := |
| 95 | Measure.map (varietyCompactChartPoint V e K) |
| 96 | ((volume : Measure (EuclideanMetric.CM.Construction.varietyEuclideanModel V)).comap (Subtype.val : K → EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 97 | |
| 98 | theorem varietyUnweightedChartMeasure_apply (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 99 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 100 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hK : MeasurableSet K) (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 101 | {S : Set V.analyticSpace} (hS : MeasurableSet S) : |
| 102 | varietyUnweightedChartMeasure V e K S = volume (K ∩ MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S) := by |
| 103 | have hφ := (varietyCompactChartPoint_continuous V e hKU).measurable |
| 104 | rw [varietyUnweightedChartMeasure, Measure.map_apply hφ hS, |
| 105 | Measure.comap_apply _ Subtype.val_injective |
| 106 | (fun s hs => (MeasurableEmbedding.subtype_coe hK).measurableSet_image.mpr hs) _ (hφ hS)] |
| 107 | congr 1 |
| 108 | ext z |
| 109 | constructor |
| 110 | · rintro ⟨w, hw, rfl⟩ |
| 111 | exact ⟨w.property, (MetricChartMeasure.CM.Construction.mem_varietyMetricChartCoordinates V e S w.val).mpr ⟨hKU w.property, hw⟩⟩ |
| 112 | · intro hz |
| 113 | exact ⟨⟨z, hz.1⟩, ((MetricChartMeasure.CM.Construction.mem_varietyMetricChartCoordinates V e S z).mp hz.2).2, rfl⟩ |
| 114 | |
| 115 | theorem varietyUnweightedChartMeasure_le (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 116 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 117 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 118 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hK : IsCompact K) (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 119 | ∃ B : ℝ≥0∞, B ≠ ∞ ∧ varietyUnweightedChartMeasure V e K ≤ B • GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V := by |
| 120 | obtain ⟨c, hc, hρ⟩ := hK.exists_forall_le' |
| 121 | ((Metric.CM.Construction.varietyMetricDensity_smooth V e he).continuousOn.mono hKU) |
| 122 | (fun z hz => Metric.CM.Construction.varietyMetricDensity_pos V e he (hKU hz)) |
| 123 | have hc0 : ENNReal.ofReal c ≠ 0 := ne_of_gt (ENNReal.ofReal_pos.mpr hc) |
| 124 | refine ⟨(ENNReal.ofReal c)⁻¹, ENNReal.inv_ne_top.mpr hc0, ?_⟩ |
| 125 | apply Measure.le_iff.mpr |
| 126 | intro S hS |
| 127 | rw [Measure.smul_apply, smul_eq_mul] |
| 128 | apply (ENNReal.mul_le_iff_le_inv hc0 ENNReal.ofReal_ne_top).mp |
| 129 | rw [varietyUnweightedChartMeasure_apply V e hK.measurableSet hKU hS] |
| 130 | calc |
| 131 | ENNReal.ofReal c * volume (K ∩ MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S) = |
| 132 | ∫⁻ z in K ∩ MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S, ENNReal.ofReal c := by |
| 133 | rw [lintegral_const, Measure.restrict_apply MeasurableSet.univ, univ_inter, mul_comm] |
| 134 | _ ≤ ∫⁻ z in K ∩ MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S, ENNReal.ofReal (Metric.CM.Construction.varietyMetricDensity V e z) := by |
| 135 | apply setLIntegral_mono' (hK.measurableSet.inter (MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates_measurable V e hS)) |
| 136 | intro z hz |
| 137 | exact ENNReal.ofReal_le_ofReal (hρ z hz.1) |
| 138 | _ ≤ ∫⁻ z in MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S, ENNReal.ofReal (Metric.CM.Construction.varietyMetricDensity V e z) := |
| 139 | lintegral_mono_set inter_subset_right |
| 140 | _ = MetricChartMeasure.CM.Construction.varietyMetricChartMeasure V e S := (MetricChartMeasure.CM.Construction.varietyMetricChartMeasure_apply V e hS).symm |
| 141 | _ = (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V).restrict e.source S := by rw [GlobalMetricMeasure.CM.Construction.varietyMetricMeasure_restrict_chart V e he] |
| 142 | _ ≤ GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V S := Measure.restrict_apply_le _ _ |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartMeasure.CM.Construction |