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.ChartTestFunction |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricBochnerIntegration |
| 3 | |
| 4 | /-! # Chart Forcing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartForcing.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth global forcing gives a genuine compact Schwartz forcing in a |
| 11 | metric chart, and the corresponding test pairings agree exactly. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Set Filter |
| 14 | open scoped SchwartzMap ContDiff _root_.Topology |
| 15 | |
| 16 | theorem varietyChartForcing_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 17 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 18 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 19 | (χ : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hχU : tsupport χ ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 20 | (F : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : |
| 21 | ContDiff ℝ ∞ (fun z => χ z * (Metric.CM.Construction.varietyMetricDensity V e z • ScalarChartLocalization.CM.Construction.varietyScalarChart V e F z)) := by |
| 22 | apply contDiff_iff_contDiffAt.mpr |
| 23 | intro z |
| 24 | by_cases hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e |
| 25 | · exact (χ.smooth ⊤).contDiffAt.mul |
| 26 | (((Metric.CM.Construction.varietyMetricDensity_smooth V e he).contDiffAt ((EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).smul |
| 27 | ((ScalarChartLocalization.CM.Construction.varietyScalarChart_smooth V e he F).contDiffAt ((EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz))) |
| 28 | · have hzero : (χ : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ) =ᶠ[𝓝 z] 0 := |
| 29 | notMem_tsupport_iff_eventuallyEq.mp (fun h => hz (hχU h)) |
| 30 | apply (contDiffAt_const (c := (0 : ℂ))).congr_of_eventuallyEq |
| 31 | filter_upwards [hzero] with y hy |
| 32 | simp only [hy, Pi.zero_apply, zero_mul] |
| 33 | |
| 34 | def varietyChartForcing (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 35 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 36 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 37 | (χ : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hχc : HasCompactSupport (χ : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 38 | (hχU : tsupport χ ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 39 | (F : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ) := |
| 40 | (hχc.mul_right (f' := fun z => Metric.CM.Construction.varietyMetricDensity V e z • ScalarChartLocalization.CM.Construction.varietyScalarChart V e F z)).toSchwartzMap |
| 41 | (varietyChartForcing_smooth V e he χ hχU F) |
| 42 | |
| 43 | theorem varietyChartForcing_apply (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 44 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 45 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 46 | (χ : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hχc : HasCompactSupport (χ : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 47 | (hχU : tsupport χ ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 48 | (F : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 49 | varietyChartForcing V e he χ hχc hχU F z = χ z * (Metric.CM.Construction.varietyMetricDensity V e z • ScalarChartLocalization.CM.Construction.varietyScalarChart V e F z) := rfl |
| 50 | |
| 51 | theorem varietyChartForcing_pairing (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 52 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 53 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 54 | (F : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) |
| 55 | (g χ : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) |
| 56 | (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 57 | (hgU : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 58 | (hχc : HasCompactSupport (χ : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 59 | (hχU : tsupport χ ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 60 | (hχ : ∀ z ∈ tsupport g, χ z = 1) : |
| 61 | inner ℝ (GlobalLp.CM.Construction.varietySmoothScalarL2 V F) |
| 62 | (GlobalLp.CM.Construction.varietySmoothScalarL2 V (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hgU)) = |
| 63 | inner ℝ ((varietyChartForcing V e he χ hχc hχU F).toLp 2) (g.toLp 2) := by |
| 64 | let T := ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hgU |
| 65 | let f := fun x => inner ℝ (HolomorphicPrimitive.CM.Construction.zeroFormScalar F x) (HolomorphicPrimitive.CM.Construction.zeroFormScalar T x) |
| 66 | have hm : AEStronglyMeasurable f (GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V) := |
| 67 | (innerSL ℝ).aestronglyMeasurable_comp₂ |
| 68 | (Intersection.CM.Construction.zeroFormScalar_continuous F).aestronglyMeasurable (Intersection.CM.Construction.zeroFormScalar_continuous T).aestronglyMeasurable |
| 69 | have hzero : ∀ x, x ∉ e.source → f x = 0 := by |
| 70 | intro x hx |
| 71 | change inner ℝ (HolomorphicPrimitive.CM.Construction.zeroFormScalar F x) (ChartTestFunction.CM.Construction.varietyChartTestScalar V e g x) = 0 |
| 72 | rw [ChartTestFunction.CM.Construction.varietyChartTestScalar, indicator_of_notMem hx, inner_zero_right] |
| 73 | calc |
| 74 | _ = ∫ x, f x ∂ GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V := by |
| 75 | rw [L2.inner_def] |
| 76 | apply integral_congr_ae |
| 77 | filter_upwards [GlobalLp.CM.Construction.varietySmoothScalarL2_coe V F, GlobalLp.CM.Construction.varietySmoothScalarL2_coe V T] with x hF hT |
| 78 | change inner ℝ (GlobalLp.CM.Construction.varietySmoothScalarL2 V F x) (GlobalLp.CM.Construction.varietySmoothScalarL2 V T x) = f x |
| 79 | rw [hF, hT] |
| 80 | _ = ∫ x in e.source, f x ∂ GlobalMetricMeasure.CM.Construction.varietyMetricMeasure V := |
| 81 | (setIntegral_eq_integral_of_forall_compl_eq_zero hzero).symm |
| 82 | _ = ∫ z in (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), |
| 83 | Metric.CM.Construction.varietyMetricDensity V e z • f (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) := |
| 84 | MetricBochnerIntegration.CM.Construction.varietyMetricMeasure_integral_chart V e he f hm |
| 85 | _ = ∫ z in (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set (EuclideanMetric.CM.Construction.varietyEuclideanModel V)), |
| 86 | inner ℝ (varietyChartForcing V e he χ hχc hχU F z) (g z) := by |
| 87 | apply setIntegral_congr_fun (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.measurableSet |
| 88 | intro z hz |
| 89 | change Metric.CM.Construction.varietyMetricDensity V e z • inner ℝ (ScalarChartLocalization.CM.Construction.varietyScalarChart V e F z) |
| 90 | (ScalarChartLocalization.CM.Construction.varietyScalarChart V e T z) = _ |
| 91 | dsimp only |
| 92 | rw [ChartTestFunction.CM.Construction.varietyChartTestForm_in_chart V e he g hgc hgU hz, varietyChartForcing_apply] |
| 93 | by_cases hzg : z ∈ tsupport g |
| 94 | · rw [hχ z hzg, one_mul, real_inner_smul_left, smul_eq_mul] |
| 95 | · rw [image_eq_zero_of_notMem_tsupport hzg, inner_zero_right, inner_zero_right, smul_zero] |
| 96 | _ = ∫ z, inner ℝ (varietyChartForcing V e he χ hχc hχU F z) (g z) := |
| 97 | setIntegral_eq_integral_of_forall_compl_eq_zero (fun z hz => by |
| 98 | rw [image_eq_zero_of_notMem_tsupport (fun h => hz (hgU h)), inner_zero_right]) |
| 99 | _ = _ := by |
| 100 | rw [L2.inner_def] |
| 101 | apply integral_congr_ae |
| 102 | filter_upwards [(varietyChartForcing V e he χ hχc hχU F).coeFn_toLp 2, g.coeFn_toLp 2] with z hF hg |
| 103 | rw [hF, hg] |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartForcing.CM.Construction |