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.GlobalLp |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SobolevIs |
| 3 | |
| 4 | /-! # Scalar Chart Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ScalarChartLocalization.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A compact cutoff of an actual global smooth scalar function gives a |
| 11 | Schwartz function in each Euclidean chart, with the actual differential. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory Set Filter |
| 14 | open scoped _root_.Manifold ContDiff SchwartzMap _root_.Topology |
| 15 | |
| 16 | def varietyScalarChart (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 17 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 18 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ := |
| 19 | HolomorphicPrimitive.CM.Construction.zeroFormScalar f ∘ e.symm ∘ EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V |
| 20 | |
| 21 | theorem varietyScalarChart_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 22 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 23 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 24 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : |
| 25 | ContDiffOn ℝ ∞ (varietyScalarChart V e f) (EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) := by |
| 26 | intro z hz |
| 27 | exact ((HolomorphicPrimitive.CM.Construction.zeroFormScalar_contDiffAt_inChart f e he hz).comp z |
| 28 | (((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ).contDiff.contDiffAt)).contDiffWithinAt |
| 29 | |
| 30 | theorem varietyScalarChart_differential (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 31 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 32 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 33 | {ι : Type*} [Fintype ι] (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 34 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) |
| 35 | {x : V.analyticSpace} (hx : x ∈ e.source) (i : ι) : |
| 36 | GlobalLp.CM.Construction.varietyOneFormInChart V b e (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f) x i = |
| 37 | fderiv ℝ (varietyScalarChart V e f) ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) (b i) := by |
| 38 | have hd := ((HolomorphicPrimitive.CM.Construction.zeroFormScalar_contDiffAt_inChart f e he (e.map_source hx)).differentiableAt (by simp)).hasFDerivAt |
| 39 | have hL : HasFDerivAt (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V) |
| 40 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ) |
| 41 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) := |
| 42 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ).hasFDerivAt |
| 43 | have hd' : HasFDerivAt (varietyScalarChart V e f) |
| 44 | ((fderiv ℝ (HolomorphicPrimitive.CM.Construction.zeroFormScalar f ∘ e.symm) (e x)).comp |
| 45 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap.restrictScalars ℝ)) |
| 46 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) := by |
| 47 | have hdL : HasFDerivAt (HolomorphicPrimitive.CM.Construction.zeroFormScalar f ∘ e.symm) |
| 48 | (fderiv ℝ (HolomorphicPrimitive.CM.Construction.zeroFormScalar f ∘ e.symm) (e x)) |
| 49 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x))) := by |
| 50 | simpa only [ContinuousLinearEquiv.apply_symm_apply] using hd |
| 51 | exact hdL.comp _ hL |
| 52 | rw [hd'.fderiv] |
| 53 | change ((Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d f).val.inChart e (e x)) |
| 54 | (fun _ => EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V (b i)) = _ |
| 55 | rw [Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d_inChart f e he (e.map_source hx), HolomorphicPrimitive.CM.Construction.zeroFormScalar_reconstruct, |
| 56 | extDeriv_constOfIsEmpty] |
| 57 | rfl |
| 58 | |
| 59 | theorem varietyScalarChart_cutoff_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 60 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 61 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 62 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 63 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : |
| 64 | ContDiff ℝ ∞ (fun z => g z * varietyScalarChart V e f z) := by |
| 65 | apply contDiff_iff_contDiffAt.mpr |
| 66 | intro z |
| 67 | by_cases hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e |
| 68 | · exact (g.smooth ⊤).contDiffAt.mul ((varietyScalarChart_smooth V e he f).contDiffAt |
| 69 | ((EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)) |
| 70 | · have hzero : (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ) =ᶠ[𝓝 z] 0 := |
| 71 | notMem_tsupport_iff_eventuallyEq.mp (fun h => hz (hg h)) |
| 72 | apply (contDiffAt_const (c := (0 : ℂ))).congr_of_eventuallyEq |
| 73 | filter_upwards [hzero] with y hy |
| 74 | simp only [hy, Pi.zero_apply, zero_mul] |
| 75 | |
| 76 | def varietyScalarChartCutoff (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 77 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 78 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 79 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 80 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 81 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ) := |
| 82 | (hgc.mul_right (f' := varietyScalarChart V e f)).toSchwartzMap |
| 83 | (varietyScalarChart_cutoff_smooth V e he g hg f) |
| 84 | |
| 85 | theorem varietyScalarChartCutoff_apply (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 86 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 87 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 88 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 89 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 90 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) (z : EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 91 | varietyScalarChartCutoff V e he g hgc hg f z = g z * varietyScalarChart V e f z := rfl |
| 92 | |
| 93 | theorem varietyScalarChartCutoff_support (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 94 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 95 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 96 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 97 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 98 | (f : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) : |
| 99 | varietyScalarChartCutoff V e he g hgc hg f ∈ SobolevIs.CM.Construction.supportedSchwartzSubmodule (tsupport g) := by |
| 100 | intro z hz |
| 101 | rw [varietyScalarChartCutoff_apply, image_eq_zero_of_notMem_tsupport hz, zero_mul] |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ScalarChartLocalization.CM.Construction |