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.SmoothEnergyChart |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartGradientIdentity |
| 3 | |
| 4 | /-! # Smooth Energy Cutoff -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothEnergyCutoff.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Inserting a cutoff equal to one near a test function changes neither |
| 11 | the actual global energy nor its Euclidean gradient expression. -/ |
| 12 | |
| 13 | open Set _root_.MeasureTheory Filter |
| 14 | open scoped SchwartzMap _root_.Topology |
| 15 | |
| 16 | variable {ι : Type*} [Fintype ι] |
| 17 | |
| 18 | theorem varietySmoothEnergy_cutoff_gradient (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 19 | (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 20 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 21 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 22 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) |
| 23 | (g η : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) |
| 24 | (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 25 | (hgU : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 26 | (hηc : HasCompactSupport (η : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 27 | (hηU : tsupport η ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 28 | (hη : ∀ z ∈ tsupport g, (η : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ) =ᶠ[𝓝 z] 1) |
| 29 | (A : EuclideanMetric.CM.Construction.varietyEuclideanModel V → EuclideanSpace ℂ ι →L[ℝ] EuclideanSpace ℂ ι) |
| 30 | (hA : ∀ z ∈ tsupport g, A z = MetricDirichlet.CM.Construction.varietyComplexDirichletOperator V e b z) : |
| 31 | (∫ x, inner ℝ (GlobalMetricCoefficient.CM.Construction.varietyGlobalMetricCoefficient V C b x |
| 32 | (GlobalLp.CM.Construction.varietyOneFormField V C b (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f) x)) |
| 33 | (GlobalLp.CM.Construction.varietyOneFormField V C b (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hgU)) x) |
| 34 | ∂ GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) = |
| 35 | ∫ z, inner ℝ (A z (SchwartzGradient.CM.Construction.schwartzOrdinaryGradient b (ScalarChartLocalization.CM.Construction.varietyScalarChartCutoff V e he η hηc hηU f) z)) |
| 36 | (SchwartzGradient.CM.Construction.schwartzOrdinaryGradient b g z) := by |
| 37 | rw [SmoothEnergyChart.CM.Construction.varietySmoothEnergy_chart_test V C b e he (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f) g hgc hgU] |
| 38 | calc |
| 39 | _ = ∫ z in (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), |
| 40 | inner ℝ (A z (SchwartzGradient.CM.Construction.schwartzOrdinaryGradient b (ScalarChartLocalization.CM.Construction.varietyScalarChartCutoff V e he η hηc hηU f) z)) |
| 41 | (SchwartzGradient.CM.Construction.schwartzOrdinaryGradient b g z) := by |
| 42 | apply setIntegral_congr_fun (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.measurableSet |
| 43 | intro z hz |
| 44 | dsimp only |
| 45 | rw [ChartGradientIdentity.CM.Construction.varietyChartTestForm_gradient V e he b g hgc hgU hz] |
| 46 | by_cases hzg : z ∈ tsupport g |
| 47 | · rw [hA z hzg, ChartGradientIdentity.CM.Construction.varietyScalarChartCutoff_gradient_locally_one V e he b η hηc hηU f hz (hη z hzg)] |
| 48 | · rw [SchwartzGradient.CM.Construction.schwartzOrdinaryGradient_zero b g hzg, inner_zero_right, inner_zero_right] |
| 49 | _ = _ := setIntegral_eq_integral_of_forall_compl_eq_zero (fun z hz => by |
| 50 | rw [SchwartzGradient.CM.Construction.schwartzOrdinaryGradient_zero b g (fun h => hz (hgU h)), inner_zero_right]) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SmoothEnergyCutoff.CM.Construction |