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.ChartMeasure |
| 2 | |
| 3 | /-! # Chart Almost Everywhere -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The metric measure on a compact chart image is bounded above by its |
| 12 | unweighted Euclidean pushforward, allowing bounded reconstruction in L2. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory Set |
| 15 | open scoped ENNReal |
| 16 | |
| 17 | def varietyCompactChartImage (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 18 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) (K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 19 | Set V.analyticSpace := (fun z => e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) '' K |
| 20 | |
| 21 | theorem varietyCompactChartImage_isCompact (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 22 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 23 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hK : IsCompact K) (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 24 | IsCompact (varietyCompactChartImage V e K) := |
| 25 | hK.image_of_continuousOn |
| 26 | (e.continuousOn_symm.comp (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).continuous.continuousOn hKU) |
| 27 | |
| 28 | theorem varietyCompactChartImage_subset_source (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 29 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 30 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 31 | varietyCompactChartImage V e K ⊆ e.source := by |
| 32 | rintro x ⟨z, hz, rfl⟩ |
| 33 | exact e.map_target (hKU hz) |
| 34 | |
| 35 | theorem varietyChartPoint_injOn (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 36 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) : |
| 37 | InjOn (fun z => e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) := by |
| 38 | intro z hz w hw hzw |
| 39 | apply (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).injective |
| 40 | have h := congrArg e hzw |
| 41 | rwa [e.right_inv hz, e.right_inv hw] at h |
| 42 | |
| 43 | theorem varietyMetricChartCoordinates_image_inter (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 44 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 45 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) (S : Set V.analyticSpace) : |
| 46 | MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e (varietyCompactChartImage V e K ∩ S) = |
| 47 | K ∩ MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S := by |
| 48 | ext z |
| 49 | simp only [MetricChartMeasure.CM.Construction.mem_varietyMetricChartCoordinates, mem_inter_iff] |
| 50 | constructor |
| 51 | · rintro ⟨hz, ⟨⟨w, hw, heq⟩, hS⟩⟩ |
| 52 | have hzw := varietyChartPoint_injOn V e (hKU hw) hz heq |
| 53 | exact ⟨hzw ▸ hw, hz, hS⟩ |
| 54 | · rintro ⟨hzK, hzU, hzS⟩ |
| 55 | exact ⟨hzU, ⟨z, hzK, rfl⟩, hzS⟩ |
| 56 | |
| 57 | theorem varietyMetricMeasure_restrict_image_apply (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 58 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 59 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 60 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hK : IsCompact K) (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 61 | {S : Set V.analyticSpace} (hS : MeasurableSet S) : |
| 62 | (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V).restrict (varietyCompactChartImage V e K) S = |
| 63 | ∫⁻ z in K ∩ MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S, ENNReal.ofReal (Metric.CM.Construction.varietyMetricDensity V e z) := by |
| 64 | have hIm := (varietyCompactChartImage_isCompact V e hK hKU).measurableSet |
| 65 | rw [Measure.restrict_apply hS, inter_comm S, |
| 66 | ← Measure.restrict_eq_self (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) |
| 67 | (inter_subset_left.trans (varietyCompactChartImage_subset_source V e hKU)), |
| 68 | GlobalMetricMeasure.CM.Construction.varietyMetricMeasure_restrict_chart V e he, |
| 69 | MetricChartMeasure.CM.Construction.varietyMetricChartMeasure_apply V e (hIm.inter hS), varietyMetricChartCoordinates_image_inter V e hKU] |
| 70 | |
| 71 | theorem varietyMetricMeasure_restrict_image_le (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 72 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 73 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 74 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hK : IsCompact K) (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 75 | ∃ B : ℝ≥0∞, B ≠ ∞ ∧ (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V).restrict (varietyCompactChartImage V e K) ≤ |
| 76 | B • ChartMeasure.CM.Construction.varietyUnweightedChartMeasure V e K := by |
| 77 | obtain ⟨B, hB⟩ := hK.exists_bound_of_continuousOn |
| 78 | ((Metric.CM.Construction.varietyMetricDensity_smooth V e he).continuousOn.mono hKU) |
| 79 | refine ⟨ENNReal.ofReal B, ENNReal.ofReal_ne_top, Measure.le_iff.mpr (fun S hS => ?_)⟩ |
| 80 | rw [varietyMetricMeasure_restrict_image_apply V e he hK hKU hS, Measure.smul_apply, smul_eq_mul, |
| 81 | ChartMeasure.CM.Construction.varietyUnweightedChartMeasure_apply V e hK.measurableSet hKU hS] |
| 82 | calc |
| 83 | _ ≤ ∫⁻ z in K ∩ MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V e S, ENNReal.ofReal B := by |
| 84 | apply setLIntegral_mono' (hK.measurableSet.inter (MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates_measurable V e hS)) |
| 85 | intro z hz |
| 86 | exact ENNReal.ofReal_le_ofReal ((le_abs_self _).trans (by simpa only [Real.norm_eq_abs] using hB z hz.1)) |
| 87 | _ = _ := by rw [lintegral_const, Measure.restrict_apply MeasurableSet.univ, univ_inter, mul_comm] |
| 88 | |
| 89 | theorem varietyCompactChartPoint_measurableEmbedding (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 90 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 91 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hK : IsCompact K) (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 92 | MeasurableEmbedding (ChartMeasure.CM.Construction.varietyCompactChartPoint V e K) := by |
| 93 | let : CompactSpace K := isCompact_iff_compactSpace.mp hK |
| 94 | apply ((ChartMeasure.CM.Construction.varietyCompactChartPoint_continuous V e hKU).isClosedEmbedding ?_).measurableEmbedding |
| 95 | intro z w h |
| 96 | apply Subtype.ext |
| 97 | exact varietyChartPoint_injOn V e (hKU z.property) (hKU w.property) h |
| 98 | |
| 99 | end |
| 100 | |
| 101 | /-! Euclidean almost-everywhere identities on compact chart pieces |
| 102 | transport to the actual global metric measure on their chart images. -/ |
| 103 | |
| 104 | open _root_.MeasureTheory Set Filter |
| 105 | |
| 106 | theorem varietyChartImage_ae_of_ae (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 107 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 108 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 109 | {K : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)} (hK : IsCompact K) (hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 110 | {P : EuclideanMetric.CM.Construction.varietyEuclideanModel V → Prop} (hP : ∀ᵐ z ∂(volume : Measure (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), P z) : |
| 111 | ∀ᵐ x ∂(GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V).restrict (varietyCompactChartImage V e K), |
| 112 | P ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) := by |
| 113 | let ν := (volume : Measure (EuclideanMetric.CM.Construction.varietyEuclideanModel V)).comap (Subtype.val : K → EuclideanMetric.CM.Construction.varietyEuclideanModel V) |
| 114 | let φ := ChartMeasure.CM.Construction.varietyCompactChartPoint V e K |
| 115 | have hφ := varietyCompactChartPoint_measurableEmbedding V e hK hKU |
| 116 | have hpK : ∀ᵐ z ∂ν, P z.val := |
| 117 | (ae_restrict_iff_subtype hK.measurableSet).mp (ae_restrict_of_ae hP) |
| 118 | have hpX : ∀ᵐ x ∂ ChartMeasure.CM.Construction.varietyUnweightedChartMeasure V e K, |
| 119 | P ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) := by |
| 120 | apply hφ.ae_map_iff.mpr |
| 121 | filter_upwards [hpK] with z hz |
| 122 | change P ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z.val)))) |
| 123 | rw [e.right_inv (hKU z.property), ContinuousLinearEquiv.symm_apply_apply] |
| 124 | exact hz |
| 125 | have hac : (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V).restrict (varietyCompactChartImage V e K) ≪ |
| 126 | ChartMeasure.CM.Construction.varietyUnweightedChartMeasure V e K := |
| 127 | Measure.absolutelyContinuous_of_le_smul (varietyMetricMeasure_restrict_image_le V e he hK hKU).choose_spec.2 |
| 128 | exact hac.ae_le hpX |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction |