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.MetricEnergyInvariant |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricBochnerIntegration |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricNormalization |
| 4 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestDifferential |
| 5 | |
| 6 | /-! # Smooth Energy Chart -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothEnergyChart.CM.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A global metric energy with a chart-supported smooth test form is |
| 13 | exactly the actual density-weighted Euclidean energy in that chart. -/ |
| 14 | |
| 15 | open Set _root_.MeasureTheory |
| 16 | open scoped SchwartzMap |
| 17 | |
| 18 | variable {ι : Type*} [Fintype ι] |
| 19 | |
| 20 | theorem varietySmoothEnergy_aestronglyMeasurable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 21 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 22 | (form other : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) : |
| 23 | AEStronglyMeasurable (fun x => inner ℝ |
| 24 | (GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient V C b x (GlobalLp.CM.Construction.varietyOneFormField V C b form x)) |
| 25 | (GlobalLp.CM.Construction.varietyOneFormField V C b other x)) (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := by |
| 26 | have hA := GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient_measurable V C b |
| 27 | have hF := (GlobalLp.CM.Construction.varietyOneFormField_memLp V C b form).aestronglyMeasurable |
| 28 | have hG := (GlobalLp.CM.Construction.varietyOneFormField_memLp V C b other).aestronglyMeasurable |
| 29 | have hAF := (ContinuousLinearMap.id ℝ (EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι)).aestronglyMeasurable_comp₂ hA hF |
| 30 | exact (innerSL ℝ).aestronglyMeasurable_comp₂ hAF hG |
| 31 | |
| 32 | theorem varietySmoothEnergy_integral_chart (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 33 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 34 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 35 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 36 | (form other : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 37 | (hother : ∀ x, x ∉ e.source → other x = 0) : |
| 38 | (∫ x, inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient V C b x (GlobalLp.CM.Construction.varietyOneFormField V C b form x)) |
| 39 | (GlobalLp.CM.Construction.varietyOneFormField V C b other x) ∂ GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) = |
| 40 | ∫ z in (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), |
| 41 | inner ℝ (MetricDirichlet.CM.Construction.varietyComplexDirichletOperator V e b z |
| 42 | (GlobalLp.CM.Construction.varietyOneFormInChart V b e form (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)))) |
| 43 | (GlobalLp.CM.Construction.varietyOneFormInChart V b e other (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z))) := by |
| 44 | let f := fun x => inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient V C b x (GlobalLp.CM.Construction.varietyOneFormField V C b form x)) |
| 45 | (GlobalLp.CM.Construction.varietyOneFormField V C b other x) |
| 46 | have hzero : ∀ x, x ∉ e.source → f x = 0 := by |
| 47 | intro x hx |
| 48 | dsimp only [f] |
| 49 | rw [ChartTestDifferential.CM.Construction.varietyOneFormField_zero_at V C b other (hother x hx), inner_zero_right] |
| 50 | calc |
| 51 | _ = ∫ x in e.source, f x ∂ GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V := |
| 52 | (setIntegral_eq_integral_of_forall_compl_eq_zero hzero).symm |
| 53 | _ = ∫ z in (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), |
| 54 | Metric.CM.Construction.varietyMetricDensity V e z • f (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) := |
| 55 | MetricBochnerIntegration.CM.Construction.varietyMetricMeasure_integral_chart V e he f (varietySmoothEnergy_aestronglyMeasurable V C b form other) |
| 56 | _ = _ := by |
| 57 | apply setIntegral_congr_fun (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.measurableSet |
| 58 | intro z hz |
| 59 | dsimp only [f] |
| 60 | rw [MetricEnergyInvariant.CM.Construction.varietyGlobalMetricCoefficient_form_energy V C b e he form other (e.map_target hz), |
| 61 | e.right_inv hz, ContinuousLinearEquiv.symm_apply_apply, MetricNormalization.CM.Construction.varietyComplexDirichletOperator_density, |
| 62 | smul_apply, real_inner_smul_left, smul_eq_mul] |
| 63 | |
| 64 | theorem varietySmoothEnergy_chart_test (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 65 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 66 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 67 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 68 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 69 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 70 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 71 | (∫ x, inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient V C b x (GlobalLp.CM.Construction.varietyOneFormField V C b form x)) |
| 72 | (GlobalLp.CM.Construction.varietyOneFormField V C b (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg)) x) |
| 73 | ∂ GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) = |
| 74 | ∫ z in (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), |
| 75 | inner ℝ (MetricDirichlet.CM.Construction.varietyComplexDirichletOperator V e b z |
| 76 | (GlobalLp.CM.Construction.varietyOneFormInChart V b e form (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)))) |
| 77 | (GlobalLp.CM.Construction.varietyOneFormInChart V b e (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg)) |
| 78 | (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z))) := by |
| 79 | apply varietySmoothEnergy_integral_chart V C b e he |
| 80 | intro x hx |
| 81 | exact ChartTestDifferential.CM.Construction.varietyChartTestForm_d_zero V e he g hgc hg |
| 82 | (fun h => hx (ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hg h)) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothEnergyChart.CM.Construction |