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.Analysis.DifferentialForms.Manifold.ManifoldLocallyFiniteSum |
| 3 | |
| 4 | /-! # Chart Test Differential -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestDifferential.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The global chart test form has exactly the Euclidean test derivative, |
| 11 | and that derivative vanishes away from the original compact support. -/ |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped _root_.Manifold SchwartzMap _root_.Topology LineDeriv |
| 15 | |
| 16 | variable {ι : Type*} [Fintype ι] |
| 17 | |
| 18 | theorem varietyOneFormInChart_zero_at (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 19 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 20 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 21 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 22 | {x : V.analyticSpace} (hx : x ∈ e.source) (hform : form x = 0) : |
| 23 | GlobalLp.CM.Construction.varietyOneFormInChart V b e form x = 0 := by |
| 24 | apply PiLp.ext |
| 25 | intro i |
| 26 | change form (e.symm (e x)) _ = 0 |
| 27 | rw [e.left_inv hx, hform] |
| 28 | rfl |
| 29 | |
| 30 | theorem varietyOneFormField_zero_at (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (C : CompactMetricCover.CM.Construction.CompactMetricChartCover V) |
| 31 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 32 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 33 | {x : V.analyticSpace} (hform : form x = 0) : GlobalLp.CM.Construction.varietyOneFormField V C b form x = 0 := by |
| 34 | obtain ⟨i, hi⟩ := C.exists_piece x |
| 35 | change C.patchField _ x = 0 |
| 36 | rw [C.patchField_eq _ hi] |
| 37 | exact varietyOneFormInChart_zero_at V b (C.chart i) form (C.piece_subset_source i hi) hform |
| 38 | |
| 39 | theorem varietyChartTestForm_d_zero (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 | {x : V.analyticSpace} (hx : x ∉ ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage V e (tsupport g)) : |
| 45 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg) x = 0 := by |
| 46 | have hzero : ChartTestFunction.CM.Construction.varietyChartTestScalar V e g =ᶠ[𝓝 x] 0 := |
| 47 | notMem_tsupport_iff_eventuallyEq.mp (fun h => hx (ChartTestFunction.CM.Construction.varietyChartTestScalar_tsupport V e g hgc hg h)) |
| 48 | have heq : ∀ᶠ y in 𝓝 x, (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg).val y = |
| 49 | (0 : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0).val y := by |
| 50 | filter_upwards [hzero] with y hy |
| 51 | apply ContinuousAlternatingMap.ext |
| 52 | intro v |
| 53 | exact hy |
| 54 | have hd := Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.exteriorDerivative_congr_eventually heq |
| 55 | change Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg) x = |
| 56 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (0 : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 0) x at hd |
| 57 | simpa only [map_zero, Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.zero_apply] using hd |
| 58 | |
| 59 | theorem varietyChartTestForm_derivative (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 60 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 61 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 62 | (b : OrthonormalBasis ι ℝ (EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 63 | (g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hgc : HasCompactSupport (g : EuclideanMetric.CM.Construction.varietyEuclideanModel V → ℂ)) |
| 64 | (hg : tsupport g ⊆ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 65 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) (i : ι) : |
| 66 | GlobalLp.CM.Construction.varietyOneFormInChart V b e (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg)) |
| 67 | (e.symm (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) i = (∂_{b i} g : 𝓢(EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) z := by |
| 68 | rw [ScalarChartLocalization.CM.Construction.varietyScalarChart_differential V e he b _ (e.map_target hz), e.right_inv hz, |
| 69 | ContinuousLinearEquiv.symm_apply_apply, SchwartzMap.lineDerivOp_apply_eq_fderiv] |
| 70 | have heq : ScalarChartLocalization.CM.Construction.varietyScalarChart V e (ChartTestFunction.CM.Construction.varietyChartTestForm V e he g hgc hg) =ᶠ[𝓝 z] g := by |
| 71 | filter_upwards [(EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz] with y hy |
| 72 | exact ChartTestFunction.CM.Construction.varietyChartTestForm_in_chart V e he g hgc hg hy |
| 73 | rw [heq.fderiv_eq] |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartTestDifferential.CM.Construction |