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.AlgebraicTopology.FundamentalClass.IntegrationOrientation |
| 2 | import OAI.Analysis.HodgeTheory.Integration |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.Algebra |
| 4 | import Mathlib.MeasureTheory.Constructions.Pi |
| 5 | |
| 6 | /-! # Integration -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicTopology.FundamentalClass.Integration |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Integration: independently defined oriented integration of arbitrary top forms. |
| 13 | Each chart contributes its signed top-form coefficient, multiplied by a |
| 14 | subordinate smooth cutoff and integrated against ordinary Lebesgue measure. |
| 15 | Only the local chart signs enter; the homology class and pairing are absent |
| 16 | from this construction. -/ |
| 17 | |
| 18 | open Set _root_.MeasureTheory |
| 19 | open OAI.Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing |
| 20 | open scoped _root_.Manifold ContDiff _root_.Topology BigOperators |
| 21 | |
| 22 | variable {d : ℕ} {M : Type} [TopologicalSpace M] [ChartedSpace (Fin d → ℝ) M] |
| 23 | [T2Space M] [IsManifold 𝓘(ℝ, Fin d → ℝ) ∞ M] [CompactSpace M] |
| 24 | |
| 25 | def chartSignInCoordinates (o : IntegrationOrientation.Orientation d M) (center : M) (y : Fin d → ℝ) : ℂ := by |
| 26 | classical |
| 27 | exact if hy : y ∈ (chartAt (Fin d → ℝ) center).target then |
| 28 | ((o.chartSign center |
| 29 | ⟨(chartAt (Fin d → ℝ) center).symm y, (chartAt (Fin d → ℝ) center).map_target hy⟩ : ℤ) : ℂ) |
| 30 | else 0 |
| 31 | |
| 32 | omit [CompactSpace M] in |
| 33 | theorem chartSignInCoordinates_continuousOn (o : IntegrationOrientation.Orientation d M) (center : M) : |
| 34 | ContinuousOn (chartSignInCoordinates o center) (chartAt (Fin d → ℝ) center).target := by |
| 35 | rw [continuousOn_iff_continuous_domRestrict] |
| 36 | let e := chartAt (Fin d → ℝ) center |
| 37 | have h := (LocallyConstant.map (fun s : ℤˣ => ((s : ℤ) : ℂ)) |
| 38 | (o.chartSign center)).continuous.comp e.toHomeomorphSourceTarget.symm.continuous |
| 39 | convert h using 1 |
| 40 | funext y |
| 41 | simp only [Set.domRestrict_apply, chartSignInCoordinates, dite_eq_left y.property] |
| 42 | rfl |
| 43 | |
| 44 | def topFormIntegrand (o : IntegrationOrientation.Orientation d M) (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) |
| 45 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (i : D.centers) : (Fin d → ℝ) → ℂ := |
| 46 | Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff (chartAt (Fin d → ℝ) i.val) (D.partition i) |
| 47 | (fun y => chartSignInCoordinates o i.val y * |
| 48 | form.val.inChart (chartAt (Fin d → ℝ) i.val) y (Pi.basisFun ℝ (Fin d))) |
| 49 | |
| 50 | omit [T2Space M] [IsManifold 𝓘(ℝ, Fin d → ℝ) ∞ M] [CompactSpace M] in |
| 51 | theorem topFormCoefficient_continuousOn |
| 52 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (center : M) : |
| 53 | ContinuousOn (fun y => form.val.inChart (chartAt (Fin d → ℝ) center) y |
| 54 | (Pi.basisFun ℝ (Fin d))) (chartAt (Fin d → ℝ) center).target := by |
| 55 | have h : ContinuousOn (form.val.inChart (chartAt (Fin d → ℝ) center)) |
| 56 | (chartAt (Fin d → ℝ) center).target := by |
| 57 | simpa [Analysis.DifferentialForms.Manifold.Algebra.manifoldFormChartDomain] using |
| 58 | (form.smooth (chartAt (Fin d → ℝ) center) (chart_mem_atlas (Fin d → ℝ) center)).continuousOn |
| 59 | exact (continuous_eval_const (Pi.basisFun ℝ (Fin d) : Fin d → (Fin d → ℝ))).comp_continuousOn h |
| 60 | |
| 61 | theorem topFormIntegrand_continuous (o : IntegrationOrientation.Orientation d M) |
| 62 | (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) |
| 63 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (i : D.centers) : |
| 64 | Continuous (topFormIntegrand o D form i) := |
| 65 | Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff_continuous _ _ (D.partition i).contMDiff.continuous (D.subordinate i) _ |
| 66 | ((chartSignInCoordinates_continuousOn o i.val).mul |
| 67 | (topFormCoefficient_continuousOn form i.val)) |
| 68 | |
| 69 | theorem topFormIntegrand_hasCompactSupport (o : IntegrationOrientation.Orientation d M) |
| 70 | (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) |
| 71 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (i : D.centers) : |
| 72 | HasCompactSupport (topFormIntegrand o D form i) := |
| 73 | Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff_hasCompactSupport _ _ (D.subordinate i) _ |
| 74 | |
| 75 | theorem topFormIntegrand_integrable (o : IntegrationOrientation.Orientation d M) |
| 76 | (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) |
| 77 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (i : D.centers) : |
| 78 | Integrable (topFormIntegrand o D form i) := |
| 79 | (topFormIntegrand_continuous o D form i).integrable_of_hasCompactSupport |
| 80 | (topFormIntegrand_hasCompactSupport o D form i) |
| 81 | |
| 82 | omit [CompactSpace M] in |
| 83 | theorem topFormIntegrand_add (o : IntegrationOrientation.Orientation d M) |
| 84 | (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) |
| 85 | (form other : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (i : D.centers) : |
| 86 | topFormIntegrand o D (form + other) i = |
| 87 | topFormIntegrand o D form i + topFormIntegrand o D other i := by |
| 88 | ext y |
| 89 | by_cases hy : y ∈ (chartAt (Fin d → ℝ) i.val).target |
| 90 | · simp [topFormIntegrand, Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff, hy, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart, mul_add, smul_add] |
| 91 | · simp [topFormIntegrand, Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff, hy] |
| 92 | |
| 93 | omit [CompactSpace M] in |
| 94 | theorem topFormIntegrand_smul (o : IntegrationOrientation.Orientation d M) |
| 95 | (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) (c : ℂ) |
| 96 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) (i : D.centers) : |
| 97 | topFormIntegrand o D (c • form) i = c • topFormIntegrand o D form i := by |
| 98 | ext y |
| 99 | by_cases hy : y ∈ (chartAt (Fin d → ℝ) i.val).target |
| 100 | · simp [topFormIntegrand, Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff, hy, Analysis.DifferentialForms.Manifold.Algebra.RawManifoldForm.inChart, |
| 101 | smul_eq_mul, mul_left_comm, Algebra.smul_def] |
| 102 | · simp [topFormIntegrand, Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.chartCutoff, hy] |
| 103 | |
| 104 | /-- Integration using a specified finite subordinate smooth partition. -/ |
| 105 | def topFormIntegralWith (o : IntegrationOrientation.Orientation d M) (D : Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.FiniteChartPartition (Fin d → ℝ) M) : |
| 106 | Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d →ₗ[ℂ] ℂ where |
| 107 | toFun form := ∑ i : D.centers, ∫ y, topFormIntegrand o D form i y |
| 108 | map_add' form other := by |
| 109 | simp only [topFormIntegrand_add, Pi.add_apply] |
| 110 | rw [← Finset.sum_add_distrib] |
| 111 | apply Finset.sum_congr rfl |
| 112 | intro i _ |
| 113 | exact integral_add (topFormIntegrand_integrable o D form i) |
| 114 | (topFormIntegrand_integrable o D other i) |
| 115 | map_smul' c form := by |
| 116 | simp only [topFormIntegrand_smul, Pi.smul_apply, integral_smul, RingHom.id_apply, |
| 117 | Finset.smul_sum] |
| 118 | |
| 119 | /-- Oriented top-form integration, constructed from Lebesgue integrals in charts. -/ |
| 120 | def topFormIntegral (o : IntegrationOrientation.Orientation d M) : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d →ₗ[ℂ] ℂ := |
| 121 | topFormIntegralWith o (Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.canonicalChartPartition (Fin d → ℝ) M) |
| 122 | |
| 123 | theorem topFormIntegral_eq_chart_sum (o : IntegrationOrientation.Orientation d M) |
| 124 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm (Fin d → ℝ) M d) : |
| 125 | topFormIntegral o form = |
| 126 | ∑ i : (Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.canonicalChartPartition (Fin d → ℝ) M).centers, |
| 127 | ∫ y, topFormIntegrand o (Analysis.HodgeTheory.Integration.Constructions.PolarizedPairing.canonicalChartPartition (Fin d → ℝ) M) form i y := rfl |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicTopology.FundamentalClass.Integration |