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.Intersection |
| 3 | |
| 4 | /-! # Global Lp -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalLp.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual scalar functions of smooth zero-forms embed faithfully in |
| 13 | the global metric L2 space. -/ |
| 14 | |
| 15 | open _root_.MeasureTheory |
| 16 | |
| 17 | def varietySmoothScalar (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 18 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0 →ₗ[ℂ] C(V.analyticSpace, ℂ) where |
| 19 | toFun f := ⟨HolomorphicPrimitive.CM.Construction.zeroFormScalar f, Intersection.CM.Construction.zeroFormScalar_continuous f⟩ |
| 20 | map_add' f g := by ext x; rfl |
| 21 | map_smul' a f := by ext x; rfl |
| 22 | |
| 23 | def varietySmoothScalarL2 (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 24 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0 →ₗ[ℂ] |
| 25 | Lp ℂ 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 26 | (ContinuousMap.toLp 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) ℂ).toLinearMap.comp (varietySmoothScalar V) |
| 27 | |
| 28 | theorem varietySmoothScalarL2_coe (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 29 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : |
| 30 | varietySmoothScalarL2 V f =ᵐ[GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V] HolomorphicPrimitive.CM.Construction.zeroFormScalar f := |
| 31 | ContinuousMap.coeFn_toLp (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) (varietySmoothScalar V f) |
| 32 | |
| 33 | theorem varietySmoothScalarL2_injective (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 34 | Function.Injective (varietySmoothScalarL2 V) := by |
| 35 | intro f g hfg |
| 36 | have h : varietySmoothScalar V f = varietySmoothScalar V g := |
| 37 | ContinuousMap.toLp_injective (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) hfg |
| 38 | apply Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.ext |
| 39 | intro x |
| 40 | ext v |
| 41 | have hv : v = 0 := Subsingleton.elim _ _ |
| 42 | rw [hv] |
| 43 | exact congrArg (fun q : C(V.analyticSpace, ℂ) => q x) h |
| 44 | |
| 45 | end |
| 46 | |
| 47 | section |
| 48 | |
| 49 | /-! Actual one-form components, measured in a finite compact coordinate |
| 50 | refinement, give the global L2 target for the exterior derivative. -/ |
| 51 | |
| 52 | open _root_.MeasureTheory Set |
| 53 | open scoped ContDiff _root_.Manifold |
| 54 | |
| 55 | variable {ι : Type*} [Fintype ι] |
| 56 | |
| 57 | def varietyOneFormComponents (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 58 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 59 | Analysis.DifferentialForms.Manifold.Basic.FormValue V.analyticModel 1 →L[ℝ] EuclideanSpace ℂ ι := |
| 60 | ((PiLp.continuousLinearEquiv 2 ℂ (fun _ : ι => ℂ)).symm.toContinuousLinearMap.restrictScalars ℝ).comp |
| 61 | (ContinuousLinearMap.pi (fun i => |
| 62 | (ContinuousLinearMap.apply ℝ ℂ (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V (b i))).comp |
| 63 | (ContinuousAlternatingMap.ofSubsingletonLIE (𝕜 := ℝ) (E := V.analyticModel) |
| 64 | (F := ℂ) (0 : Fin 1)).symm.toContinuousLinearEquiv.toContinuousLinearMap)) |
| 65 | |
| 66 | theorem varietyOneFormComponents_apply (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 67 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 68 | (form : Analysis.DifferentialForms.Manifold.Basic.FormValue V.analyticModel 1) (i : ι) : |
| 69 | varietyOneFormComponents V b form i = form (fun _ => EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V (b i)) := rfl |
| 70 | |
| 71 | def varietyOneFormInChart (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 72 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 73 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 74 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) (x : V.analyticSpace) : |
| 75 | EuclideanSpace ℂ ι := varietyOneFormComponents V b (form.val.inChart e (e x)) |
| 76 | |
| 77 | theorem varietyOneFormInChart_continuousOn (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 78 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 79 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 80 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 81 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) : |
| 82 | ContinuousOn (varietyOneFormInChart V b e form) e.source := by |
| 83 | have hform : ContinuousOn (form.val.inChart e) e.target := by |
| 84 | simpa only [Analysis.DifferentialForms.Manifold.Algebra.manifoldFormChartDomain, preimage_univ, inter_univ] using |
| 85 | (form.smooth e he).continuousOn |
| 86 | exact (varietyOneFormComponents V b).continuous.comp_continuousOn |
| 87 | (hform.comp e.continuousOn e.mapsTo) |
| 88 | |
| 89 | def varietyOneFormField (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 90 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 91 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) : |
| 92 | V.analyticSpace → EuclideanSpace ℂ ι := |
| 93 | C.patchField (fun i => varietyOneFormInChart V b (C.chart i) form) |
| 94 | |
| 95 | theorem varietyOneFormField_memLp (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 96 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 97 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) : |
| 98 | MemLp (varietyOneFormField V C b form) 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 99 | C.patchField_memLp _ (fun i => (varietyOneFormInChart_continuousOn V b (C.chart i) |
| 100 | (C.chart_mem i) form).mono (C.subset_source i)) 2 |
| 101 | |
| 102 | theorem varietyOneFormField_add (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 103 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 104 | (form η : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) : |
| 105 | varietyOneFormField V C b (form + η) = varietyOneFormField V C b form + varietyOneFormField V C b η := by |
| 106 | have h (i : Fin C.size) (x : V.analyticSpace) : |
| 107 | varietyOneFormInChart V b (C.chart i) (form + η) x = |
| 108 | varietyOneFormInChart V b (C.chart i) form x + varietyOneFormInChart V b (C.chart i) η x := by |
| 109 | change varietyOneFormComponents V b ((form.val + η.val).inChart (C.chart i) (C.chart i x)) = _ |
| 110 | rw [Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart_add, Pi.add_apply, map_add] |
| 111 | rfl |
| 112 | unfold varietyOneFormField |
| 113 | simp_rw [show (fun i => varietyOneFormInChart V b (C.chart i) (form + η)) = |
| 114 | (fun i x => varietyOneFormInChart V b (C.chart i) form x + |
| 115 | varietyOneFormInChart V b (C.chart i) η x) from funext fun i => funext (h i)] |
| 116 | exact C.patchField_add _ _ |
| 117 | |
| 118 | theorem varietyOneFormField_smul (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 119 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) (a : ℂ) |
| 120 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) : |
| 121 | varietyOneFormField V C b (a • form) = a • varietyOneFormField V C b form := by |
| 122 | have h (i : Fin C.size) (x : V.analyticSpace) : |
| 123 | varietyOneFormInChart V b (C.chart i) (a • form) x = |
| 124 | a • varietyOneFormInChart V b (C.chart i) form x := by |
| 125 | apply PiLp.ext |
| 126 | intro j |
| 127 | rfl |
| 128 | unfold varietyOneFormField |
| 129 | rw [show (fun i => varietyOneFormInChart V b (C.chart i) (a • form)) = |
| 130 | (fun i x => a • varietyOneFormInChart V b (C.chart i) form x) from funext fun i => funext (h i)] |
| 131 | exact C.patchField_smul a _ |
| 132 | |
| 133 | def varietyOneFormL2 (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 134 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 135 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1 →ₗ[ℂ] |
| 136 | Lp (EuclideanSpace ℂ ι) 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) where |
| 137 | toFun form := (varietyOneFormField_memLp V C b form).toLp (varietyOneFormField V C b form) |
| 138 | map_add' form η := by |
| 139 | apply Lp.ext |
| 140 | filter_upwards [(varietyOneFormField_memLp V C b (form + η)).coeFn_toLp, |
| 141 | (varietyOneFormField_memLp V C b form).coeFn_toLp, |
| 142 | (varietyOneFormField_memLp V C b η).coeFn_toLp, |
| 143 | Lp.coeFn_add ((varietyOneFormField_memLp V C b form).toLp _) |
| 144 | ((varietyOneFormField_memLp V C b η).toLp _)] with x hl hform hη hr |
| 145 | rw [hl, hr] |
| 146 | simp only [Pi.add_apply, hform, hη] |
| 147 | exact congrFun (varietyOneFormField_add V C b form η) x |
| 148 | map_smul' a form := by |
| 149 | apply Lp.ext |
| 150 | filter_upwards [(varietyOneFormField_memLp V C b (a • form)).coeFn_toLp, |
| 151 | (varietyOneFormField_memLp V C b form).coeFn_toLp, |
| 152 | Lp.coeFn_smul a ((varietyOneFormField_memLp V C b form).toLp _)] with x hl hform hr |
| 153 | simp only [RingHom.id_apply] |
| 154 | rw [hl, hr] |
| 155 | simp only [Pi.smul_apply, hform] |
| 156 | exact congrFun (varietyOneFormField_smul V C b a form) x |
| 157 | |
| 158 | theorem varietyOneFormL2_coe (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 159 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 160 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) : |
| 161 | varietyOneFormL2 V C b form =ᵐ[GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V] varietyOneFormField V C b form := |
| 162 | (varietyOneFormField_memLp V C b form).coeFn_toLp |
| 163 | |
| 164 | def varietySmoothDifferentialL2 (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 165 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) : |
| 166 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0 →ₗ[ℂ] |
| 167 | Lp (EuclideanSpace ℂ ι) 2 (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 168 | (varietyOneFormL2 V C b).comp Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d |
| 169 | |
| 170 | end |
| 171 | |
| 172 | /-! Real-linear complex covectors are reconstructed exactly from their |
| 173 | components in a real orthonormal basis. -/ |
| 174 | |
| 175 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [Fintype ι] |
| 176 | |
| 177 | def complexCovectorComponents (b : OrthonormalBasis ι ℝ E) : |
| 178 | (E →L[ℝ] ℂ) →L[ℝ] EuclideanSpace ℂ ι := |
| 179 | ((PiLp.continuousLinearEquiv 2 ℂ (fun _ : ι => ℂ)).symm.toContinuousLinearMap.restrictScalars ℝ).comp |
| 180 | (ContinuousLinearMap.pi (fun i => ContinuousLinearMap.apply ℝ ℂ (b i))) |
| 181 | |
| 182 | theorem complexCovectorComponents_apply (b : OrthonormalBasis ι ℝ E) |
| 183 | (q : E →L[ℝ] ℂ) (i : ι) : complexCovectorComponents b q i = q (b i) := rfl |
| 184 | |
| 185 | def complexCovectorSynthesis (b : OrthonormalBasis ι ℝ E) : |
| 186 | EuclideanSpace ℂ ι →L[ℝ] (E →L[ℝ] ℂ) := |
| 187 | ∑ i, (ContinuousLinearMap.smulRightL ℝ E ℂ (innerSL ℝ (b i))).comp |
| 188 | ((((ContinuousLinearMap.proj i).comp |
| 189 | (PiLp.continuousLinearEquiv 2 ℂ (fun _ : ι => ℂ)).toContinuousLinearMap)).restrictScalars ℝ) |
| 190 | |
| 191 | theorem complexCovectorSynthesis_apply (b : OrthonormalBasis ι ℝ E) |
| 192 | (z : EuclideanSpace ℂ ι) (u : E) : |
| 193 | complexCovectorSynthesis b z u = ∑ i, inner ℝ (b i) u • z i := by |
| 194 | simp only [complexCovectorSynthesis, sum_apply] |
| 195 | rfl |
| 196 | |
| 197 | theorem complexCovectorSynthesis_components (b : OrthonormalBasis ι ℝ E) (q : E →L[ℝ] ℂ) : |
| 198 | complexCovectorSynthesis b (complexCovectorComponents b q) = q := by |
| 199 | apply ContinuousLinearMap.ext |
| 200 | intro u |
| 201 | rw [complexCovectorSynthesis_apply] |
| 202 | simp only [complexCovectorComponents_apply, ← map_smul, ← map_sum, b.sum_repr'] |
| 203 | |
| 204 | theorem complexCovectorComponents_synthesis (b : OrthonormalBasis ι ℝ E) (z : EuclideanSpace ℂ ι) : |
| 205 | complexCovectorComponents b (complexCovectorSynthesis b z) = z := by |
| 206 | classical |
| 207 | apply PiLp.ext |
| 208 | intro j |
| 209 | rw [complexCovectorComponents_apply, complexCovectorSynthesis_apply] |
| 210 | simp only [b.inner_eq_ite, ite_smul, one_smul, zero_smul, Finset.sum_ite_eq', Finset.mem_univ, ite_true] |
| 211 | |
| 212 | theorem complexCovectorComponents_injective (b : OrthonormalBasis ι ℝ E) : |
| 213 | Function.Injective (complexCovectorComponents b) := |
| 214 | Function.LeftInverse.injective (complexCovectorSynthesis_components b) |
| 215 | |
| 216 | def complexCovectorPullback (b : OrthonormalBasis ι ℝ E) (T : E →L[ℝ] E) : |
| 217 | EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι := |
| 218 | (complexCovectorComponents b).comp |
| 219 | (((ContinuousLinearMap.compL ℝ E E ℂ).flip T).comp (complexCovectorSynthesis b)) |
| 220 | |
| 221 | theorem complexCovectorPullback_components (b : OrthonormalBasis ι ℝ E) |
| 222 | (T : E →L[ℝ] E) (q : E →L[ℝ] ℂ) : |
| 223 | complexCovectorPullback b T (complexCovectorComponents b q) = |
| 224 | complexCovectorComponents b (q.comp T) := by |
| 225 | change complexCovectorComponents b ((complexCovectorSynthesis b (complexCovectorComponents b q)).comp T) = _ |
| 226 | rw [complexCovectorSynthesis_components] |
| 227 | |
| 228 | theorem complexCovectorPullback_continuous (b : OrthonormalBasis ι ℝ E) : |
| 229 | Continuous (complexCovectorPullback b) := by |
| 230 | apply Continuous.clm_comp continuous_const |
| 231 | apply Continuous.clm_comp _ continuous_const |
| 232 | exact (ContinuousLinearMap.compL ℝ E E ℂ).flip.continuous |
| 233 | |
| 234 | end |
| 235 | |
| 236 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.GlobalLp.CM.Construction |