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.CompactPatchFields |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricDirichlet |
| 3 | |
| 4 | /-! # Global Metric Coefficient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalMetricCoefficient.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual inverse-metric coefficient on global L2 one-form fields. |
| 11 | The global measure already contains the metric volume density. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Set |
| 14 | open scoped ContDiff _root_.Manifold |
| 15 | |
| 16 | variable {ι : Type*} [Fintype ι] |
| 17 | |
| 18 | def varietyInverseMetricOperator (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 19 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 20 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 21 | EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι := |
| 22 | InverseMetric.CM.Construction.realBilinearOperator (Metric.CM.Construction.complexGradientMetric b (EuclideanMetric.CM.Construction.varietyEuclideanInverseMetric V e z)) |
| 23 | |
| 24 | theorem varietyInverseMetricOperator_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 25 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 26 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 27 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 28 | ContDiffOn ℝ ∞ (varietyInverseMetricOperator V e b) |
| 29 | (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) := by |
| 30 | have hC := (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := (∞ : ℕ∞ω)) |
| 31 | (E := EuclideanMetric.CM.Construction.varietyEuclideanModel V →L[ℝ] EuclideanMetric.CM.Construction.varietyEuclideanModel V →L[ℝ] ℝ) |
| 32 | (F := EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι →L[ℝ] ℝ) |
| 33 | (Metric.CM.Construction.complexGradientMetric b)).comp_contDiffOn (EuclideanMetric.CM.Construction.varietyEuclideanInverseMetric_smooth V e he) |
| 34 | exact (ContinuousLinearMap.contDiff (𝕜 := ℝ) (n := (∞ : ℕ∞ω)) |
| 35 | (E := EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι →L[ℝ] ℝ) |
| 36 | (F := EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 37 | (InverseMetric.CM.Construction.realBilinearOperator (E := EuclideanSpace ℂ ι))).comp_contDiffOn hC |
| 38 | |
| 39 | theorem varietyInverseMetricOperator_continuous_in_chart (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 40 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 41 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 42 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 43 | ContinuousOn (fun x => varietyInverseMetricOperator V e b |
| 44 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x))) e.source := by |
| 45 | apply (varietyInverseMetricOperator_smooth V e he b).continuousOn.comp |
| 46 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm.continuous.comp_continuousOn e.continuousOn) |
| 47 | intro x hx |
| 48 | change EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) ∈ e.target |
| 49 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 50 | exact e.map_source hx |
| 51 | |
| 52 | def varietyGlobalMetricCoefficient (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 53 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 54 | V.analyticSpace → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι := |
| 55 | C.patchField (fun i x => varietyInverseMetricOperator V (C.chart i) b |
| 56 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (C.chart i x))) |
| 57 | |
| 58 | theorem varietyGlobalMetricCoefficient_measurable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 59 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 60 | AEStronglyMeasurable (varietyGlobalMetricCoefficient V C b) (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 61 | C.patchField_aestronglyMeasurable _ (fun i => |
| 62 | (varietyInverseMetricOperator_continuous_in_chart V (C.chart i) (C.chart_mem i) b).mono |
| 63 | (C.subset_source i)) |
| 64 | |
| 65 | theorem varietyGlobalMetricCoefficient_bounded (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 66 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 67 | ∃ B : ℝ, 0 < B ∧ ∀ x, ‖varietyGlobalMetricCoefficient V C b x‖ ≤ B := |
| 68 | C.patchField_bounded _ (fun i => |
| 69 | (varietyInverseMetricOperator_continuous_in_chart V (C.chart i) (C.chart_mem i) b).mono |
| 70 | (C.subset_source i)) |
| 71 | |
| 72 | theorem varietyGlobalMetricCoefficient_lower (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 73 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 74 | ∃ a : ℝ, 0 < a ∧ ∀ x, ∀ w : EuclideanSpace ℂ ι, |
| 75 | a * ‖w‖ * ‖w‖ ≤ inner ℝ (varietyGlobalMetricCoefficient V C b x w) w := by |
| 76 | have hlocal (i : Fin C.size) : ∃ a : ℝ, 0 < a ∧ ∀ x ∈ C.compactSet i, |
| 77 | ∀ w : EuclideanSpace ℂ ι, a * ‖w‖ * ‖w‖ ≤ |
| 78 | inner ℝ (varietyInverseMetricOperator V (C.chart i) b |
| 79 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (C.chart i x)) w) w := by |
| 80 | let K := MetricChartMeasure.CM.Construction.varietyMetricChartCoordinates V (C.chart i) (C.compactSet i) |
| 81 | have hK : IsCompact K := MetricMeasureFinite.CM.Construction.varietyMetricChartCoordinates_isCompact V (C.chart i) |
| 82 | (C.isCompact i) (C.subset_source i) |
| 83 | have hKU : K ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V (C.chart i) := |
| 84 | fun z hz => ((MetricChartMeasure.CM.Construction.mem_varietyMetricChartCoordinates V (C.chart i) (C.compactSet i) z).mp hz).1 |
| 85 | obtain ⟨a, _, ha, _, hlow, _⟩ := EuclideanMetric.CM.Construction.varietyEuclideanInverseMetric_uniform_bounds V |
| 86 | (C.chart i) (C.chart_mem i) hK hKU |
| 87 | refine ⟨a, ha, fun x hx w => ?_⟩ |
| 88 | have hz : (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (C.chart i x) ∈ K := by |
| 89 | dsimp only [K] |
| 90 | rw [MetricMeasureFinite.CM.Construction.varietyMetricChartCoordinates_eq_image V (C.chart i) (C.subset_source i)] |
| 91 | exact mem_image_of_mem _ hx |
| 92 | change _ ≤ inner ℝ (InverseMetric.CM.Construction.realBilinearOperator _ w) w |
| 93 | rw [InverseMetric.CM.Construction.realBilinearOperator_apply] |
| 94 | exact Metric.CM.Construction.complexGradientMetric_lower_bound b _ (hlow _ hz) w |
| 95 | choose a ha hlow using hlocal |
| 96 | obtain ⟨c, hc, hca⟩ := (isCompact_univ : IsCompact (univ : Set (Fin C.size))).exists_forall_le' |
| 97 | (continuous_of_discreteTopology.continuousOn : ContinuousOn a univ) (fun i _ => ha i) |
| 98 | refine ⟨c, hc, fun x w => ?_⟩ |
| 99 | obtain ⟨i, hi⟩ := C.exists_piece x |
| 100 | unfold varietyGlobalMetricCoefficient |
| 101 | rw [C.patchField_eq _ hi] |
| 102 | exact (mul_le_mul_of_nonneg_right |
| 103 | (mul_le_mul_of_nonneg_right (hca i (mem_univ i)) (norm_nonneg w)) (norm_nonneg w)).trans |
| 104 | (hlow i x (C.piece_subset i hi) w) |
| 105 | |
| 106 | theorem varietyGlobalMetricCoefficient_symmetric (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 107 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 108 | (x : V.analyticSpace) (u v : EuclideanSpace ℂ ι) : |
| 109 | inner ℝ (varietyGlobalMetricCoefficient V C b x u) v = |
| 110 | inner ℝ (varietyGlobalMetricCoefficient V C b x v) u := by |
| 111 | obtain ⟨i, hi⟩ := C.exists_piece x |
| 112 | unfold varietyGlobalMetricCoefficient |
| 113 | rw [C.patchField_eq _ hi] |
| 114 | have hz : (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (C.chart i x) ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V (C.chart i) := by |
| 115 | change EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (C.chart i x)) ∈ (C.chart i).target |
| 116 | rw [ContinuousLinearEquiv.apply_symm_apply] |
| 117 | exact (C.chart i).map_source (C.piece_subset_source i hi) |
| 118 | simp only [varietyInverseMetricOperator, InverseMetric.CM.Construction.realBilinearOperator_apply] |
| 119 | exact Metric.CM.Construction.complexGradientMetric_symmetric b _ |
| 120 | (EuclideanMetric.CM.Construction.varietyEuclideanInverseMetric_symmetric V (C.chart i) (C.chart_mem i) hz) u v |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalMetricCoefficient.CM.Construction |