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.SmoothScalarConstruction |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ScalarChartLocalization |
| 4 | |
| 5 | /-! # Chart Test Function -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compactly supported Euclidean test functions extend to actual global |
| 12 | smooth zero-forms, with their prescribed values in the original chart. -/ |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped _root_.Manifold ContDiff SchwartzMap _root_.Topology |
| 16 | |
| 17 | def varietyChartTestScalar (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 18 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 19 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) : V.analyticSpace → ℂ := |
| 20 | e.source.indicator (fun x => g ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x))) |
| 21 | |
| 22 | theorem varietyChartTestScalar_tsupport (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 23 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 24 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 25 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 26 | tsupport (varietyChartTestScalar V e g) ⊆ ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage V e (tsupport g) := by |
| 27 | apply closure_minimal ?_ (ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_isCompact V e hgc hg).isClosed |
| 28 | intro x hx |
| 29 | have hxs : x ∈ e.source := by |
| 30 | by_contra h |
| 31 | exact hx (indicator_of_notMem h _) |
| 32 | have hval : g ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x)) ≠ 0 := by |
| 33 | change varietyChartTestScalar V e g x ≠ 0 at hx |
| 34 | simpa only [varietyChartTestScalar, indicator_of_mem hxs] using hx |
| 35 | refine ⟨(EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e x), subset_closure hval, ?_⟩ |
| 36 | dsimp only |
| 37 | rw [ContinuousLinearEquiv.apply_symm_apply, e.left_inv hxs] |
| 38 | |
| 39 | theorem varietyChartTestScalar_smooth (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 40 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 41 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 42 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 43 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 44 | ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, ℂ) ∞ (varietyChartTestScalar V e g) := by |
| 45 | intro x |
| 46 | by_cases hx : x ∈ e.source |
| 47 | · have heSmooth := (contMDiffOn_of_mem_maximalAtlas (n := ∞) |
| 48 | (IsManifold.subset_maximalAtlas (I := 𝓘(ℝ, V.analyticModel)) he)).contMDiffAt (e.open_source.mem_nhds hx) |
| 49 | have hL : ContMDiff 𝓘(ℝ, V.analyticModel) 𝓘(ℝ, EuclideanMetric.CM.Construction.varietyEuclideanModel V) ∞ |
| 50 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm := |
| 51 | ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm.toContinuousLinearMap.restrictScalars ℝ).contDiff.contMDiff |
| 52 | have hcomp := (g.smooth ⊤).contMDiff.contMDiffAt.comp x (hL.contMDiffAt.comp x heSmooth) |
| 53 | apply hcomp.congr_of_eventuallyEq |
| 54 | filter_upwards [e.open_source.mem_nhds hx] with y hy |
| 55 | change e.source.indicator (fun y => g ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm (e y))) y = _ |
| 56 | exact indicator_of_mem hy _ |
| 57 | · have hnot : x ∉ tsupport (varietyChartTestScalar V e g) := by |
| 58 | intro hs |
| 59 | exact hx (ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hg (varietyChartTestScalar_tsupport V e g hgc hg hs)) |
| 60 | exact contMDiffAt_const.congr_of_eventuallyEq (notMem_tsupport_iff_eventuallyEq.mp hnot) |
| 61 | |
| 62 | def varietyChartTestForm (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 63 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 64 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 65 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 66 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0 := |
| 67 | SmoothScalarConstruction.CM.Construction.scalarManifoldForm (varietyChartTestScalar V e g) (varietyChartTestScalar_smooth V e he g hgc hg) |
| 68 | |
| 69 | theorem varietyChartTestForm_scalar (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 70 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 71 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 72 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 73 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 74 | HolomorphicPrimitive.CM.Construction.zeroFormScalar (varietyChartTestForm V e he g hgc hg) = varietyChartTestScalar V e g := rfl |
| 75 | |
| 76 | theorem varietyChartTestForm_in_chart (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 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 82 | ScalarChartLocalization.CM.Construction.varietyScalarChart V e (varietyChartTestForm V e he g hgc hg) z = g z := by |
| 83 | change varietyChartTestScalar V e g (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) = _ |
| 84 | rw [varietyChartTestScalar, indicator_of_mem (e.map_target hz), e.right_inv hz, |
| 85 | ContinuousLinearEquiv.symm_apply_apply] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestFunction.CM.Construction |