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.Analysis.HodgeTheory.Decomposition.ChartTestForms |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.CoefficientLinearity |
| 3 | |
| 4 | /-! # Chart Coefficient Faithful -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.ChartCoefficientFaithful.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual tangent-covector fields supported in one chart are determined |
| 13 | by their Euclidean coefficients; the constructed chart test lift is unique. -/ |
| 14 | |
| 15 | open scoped SchwartzMap |
| 16 | |
| 17 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 18 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 19 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (n : ℕ) |
| 20 | |
| 21 | include he in |
| 22 | theorem euclideanChartCoefficients_eq_at |
| 23 | (a b : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) |
| 24 | (x : V.analyticSpace) (hx : x ∈ e.source) |
| 25 | (h : EuclideanForms.Constructions.euclideanChartCoefficients V e n a (MeasureVolume.Constructions.chartCoordinateForward V e x) = |
| 26 | EuclideanForms.Constructions.euclideanChartCoefficients V e n b (MeasureVolume.Constructions.chartCoordinateForward V e x)) : a x = b x := by |
| 27 | have hsub : EuclideanForms.Constructions.euclideanChartCoefficients V e n (a - b) (MeasureVolume.Constructions.chartCoordinateForward V e x) = 0 := by |
| 28 | have heq := congrFun ((CoefficientLinearity.Constructions.euclideanChartCoefficientLinear V e n).map_sub a b) (MeasureVolume.Constructions.chartCoordinateForward V e x) |
| 29 | change EuclideanForms.Constructions.euclideanChartCoefficients V e n (a - b) (MeasureVolume.Constructions.chartCoordinateForward V e x) = |
| 30 | EuclideanForms.Constructions.euclideanChartCoefficients V e n a (MeasureVolume.Constructions.chartCoordinateForward V e x) - |
| 31 | EuclideanForms.Constructions.euclideanChartCoefficients V e n b (MeasureVolume.Constructions.chartCoordinateForward V e x) at heq |
| 32 | rw [heq, h, sub_self] |
| 33 | have hz := (CodifferentialSupport.Constructions.euclideanChartCoefficients_zero_iff_at V e he n (a - b) x hx).mp hsub |
| 34 | exact sub_eq_zero.mp hz |
| 35 | |
| 36 | include he in |
| 37 | theorem supportedCoefficients_faithful |
| 38 | (a b : DifferentialForms.Manifold.Algebra.RawManifoldForm V.analyticModel V.analyticSpace n) |
| 39 | (ha : ∀ x, x ∉ e.source → a x = 0) (hb : ∀ x, x ∉ e.source → b x = 0) |
| 40 | (h : ∀ z, SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n a z = SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n b z) : a = b := by |
| 41 | funext x |
| 42 | by_cases hx : x ∈ e.source |
| 43 | · apply euclideanChartCoefficients_eq_at V e he n a b x hx |
| 44 | have heq := h (MeasureVolume.Constructions.chartCoordinateForward V e x) |
| 45 | rw [SupportedCoordinates.Constructions.supportedEuclideanCoefficients_eq V e n a (MeasureVolume.Constructions.chartCoordinateForward_mem V e x hx), |
| 46 | SupportedCoordinates.Constructions.supportedEuclideanCoefficients_eq V e n b (MeasureVolume.Constructions.chartCoordinateForward_mem V e x hx)] at heq |
| 47 | exact heq |
| 48 | · rw [ha x hx, hb x hx] |
| 49 | |
| 50 | theorem projectiveChartTestLift_unique |
| 51 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 52 | (hc : HasCompactSupport c) (hs : tsupport c ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 53 | (a : DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n) |
| 54 | (ha : ∀ x, x ∉ e.source → a x = 0) |
| 55 | (hcoeff : ∀ z, SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n a.val z = c z) : |
| 56 | a = ChartTestForms.Constructions.projectiveChartTestLift V e he n c hc hs := by |
| 57 | apply Subtype.ext |
| 58 | apply supportedCoefficients_faithful V e he n a.val _ ha |
| 59 | · intro x hx |
| 60 | exact ChartTestForms.Constructions.projectiveChartTestLift_zero V e he n c hc hs x |
| 61 | (fun h => hx (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs h)) |
| 62 | · intro z |
| 63 | rw [hcoeff, ChartTestForms.Constructions.projectiveChartTestLift_coefficients] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! A fixed chart cutoff gives a genuine complex-linear extension of |
| 68 | arbitrary Euclidean Schwartz form coefficients to global smooth forms. -/ |
| 69 | |
| 70 | open scoped SchwartzMap |
| 71 | |
| 72 | section Support |
| 73 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 74 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 75 | |
| 76 | theorem schwartz_cutoff_tsupport (g : 𝓢(E, ℂ)) (c : 𝓢(E, F)) : |
| 77 | tsupport (SchwartzMap.smulLeftCLM F g c) ⊆ tsupport g := by |
| 78 | apply closure_minimal _ (isClosed_tsupport g) |
| 79 | intro x hx |
| 80 | by_contra h |
| 81 | apply hx |
| 82 | rw [SchwartzMap.smulLeftCLM_apply_apply g.hasTemperateGrowth, |
| 83 | image_eq_zero_of_notMem_tsupport h, zero_smul] |
| 84 | |
| 85 | theorem schwartz_cutoff_compact (g : 𝓢(E, ℂ)) (hg : HasCompactSupport g) (c : 𝓢(E, F)) : |
| 86 | HasCompactSupport (SchwartzMap.smulLeftCLM F g c) := |
| 87 | hg.of_isClosed_subset (isClosed_tsupport _) (schwartz_cutoff_tsupport g c) |
| 88 | |
| 89 | end Support |
| 90 | |
| 91 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 92 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 93 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (n : ℕ) |
| 94 | (g : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, ℂ)) (hg : HasCompactSupport g) |
| 95 | (hs : tsupport g ⊆ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 96 | |
| 97 | def projectiveSchwartzTestLocalized |
| 98 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) : |
| 99 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n := |
| 100 | ChartTestForms.Constructions.projectiveChartTestLift V e he n (SchwartzMap.smulLeftCLM _ g c) |
| 101 | (schwartz_cutoff_compact g hg c) ((schwartz_cutoff_tsupport g c).trans hs) |
| 102 | |
| 103 | theorem projectiveSchwartzTestLocalized_coefficients |
| 104 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 105 | (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 106 | SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n (projectiveSchwartzTestLocalized V e he n g hg hs c).val z = |
| 107 | g z • c z := by |
| 108 | rw [projectiveSchwartzTestLocalized, ChartTestForms.Constructions.projectiveChartTestLift_coefficients, |
| 109 | SchwartzMap.smulLeftCLM_apply_apply g.hasTemperateGrowth] |
| 110 | |
| 111 | theorem projectiveSchwartzTestLocalized_zero |
| 112 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 113 | (x : V.analyticSpace) (hx : x ∉ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage V e (tsupport g)) : |
| 114 | projectiveSchwartzTestLocalized V e he n g hg hs c x = 0 := by |
| 115 | apply ChartTestForms.Constructions.projectiveChartTestLift_zero |
| 116 | intro h |
| 117 | apply hx |
| 118 | rcases h with ⟨z, hz, rfl⟩ |
| 119 | exact ⟨z, schwartz_cutoff_tsupport g c hz, rfl⟩ |
| 120 | |
| 121 | theorem projectiveSchwartzTestLocalized_zero_off_source |
| 122 | (c : 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n)) |
| 123 | (x : V.analyticSpace) (hx : x ∉ e.source) : |
| 124 | projectiveSchwartzTestLocalized V e he n g hg hs c x = 0 := |
| 125 | projectiveSchwartzTestLocalized_zero V e he n g hg hs c x |
| 126 | (fun h => hx (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ChartAlmostEverywhere.CM.Construction.varietyCompactChartImage_subset_source V e hs h)) |
| 127 | |
| 128 | def projectiveSchwartzTestLinear : |
| 129 | 𝓢(AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V, SymbolDifferential.Constructions.ExteriorCoordinates (AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n) →ₗ[ℂ] |
| 130 | DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace n where |
| 131 | toFun := projectiveSchwartzTestLocalized V e he n g hg hs |
| 132 | map_add' c d := by |
| 133 | apply Subtype.ext |
| 134 | apply supportedCoefficients_faithful V e he n |
| 135 | · exact projectiveSchwartzTestLocalized_zero_off_source V e he n g hg hs (c + d) |
| 136 | · intro x hx |
| 137 | change projectiveSchwartzTestLocalized V e he n g hg hs c x + |
| 138 | projectiveSchwartzTestLocalized V e he n g hg hs d x = 0 |
| 139 | rw [projectiveSchwartzTestLocalized_zero_off_source V e he n g hg hs c x hx, |
| 140 | projectiveSchwartzTestLocalized_zero_off_source V e he n g hg hs d x hx, add_zero] |
| 141 | · intro z |
| 142 | have hadd := congrFun ((CoefficientLinearity.Constructions.supportedCoefficientLinear V e n).map_add |
| 143 | (projectiveSchwartzTestLocalized V e he n g hg hs c).val |
| 144 | (projectiveSchwartzTestLocalized V e he n g hg hs d).val) z |
| 145 | change SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 146 | (projectiveSchwartzTestLocalized V e he n g hg hs c + |
| 147 | projectiveSchwartzTestLocalized V e he n g hg hs d).val z = |
| 148 | SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 149 | (projectiveSchwartzTestLocalized V e he n g hg hs c).val z + |
| 150 | SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 151 | (projectiveSchwartzTestLocalized V e he n g hg hs d).val z at hadd |
| 152 | change SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 153 | (projectiveSchwartzTestLocalized V e he n g hg hs (c + d)).val z = _ |
| 154 | rw [projectiveSchwartzTestLocalized_coefficients, hadd, |
| 155 | projectiveSchwartzTestLocalized_coefficients, projectiveSchwartzTestLocalized_coefficients] |
| 156 | exact smul_add _ _ _ |
| 157 | map_smul' r c := by |
| 158 | simp only [RingHom.id_apply] |
| 159 | apply Subtype.ext |
| 160 | apply supportedCoefficients_faithful V e he n |
| 161 | · exact projectiveSchwartzTestLocalized_zero_off_source V e he n g hg hs (r • c) |
| 162 | · intro x hx |
| 163 | change r • projectiveSchwartzTestLocalized V e he n g hg hs c x = 0 |
| 164 | rw [projectiveSchwartzTestLocalized_zero_off_source V e he n g hg hs c x hx] |
| 165 | ext v |
| 166 | simp |
| 167 | · intro z |
| 168 | have hsmul := congrFun ((CoefficientLinearity.Constructions.supportedCoefficientLinear V e n).map_smul r |
| 169 | (projectiveSchwartzTestLocalized V e he n g hg hs c).val) z |
| 170 | change SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 171 | (r • projectiveSchwartzTestLocalized V e he n g hg hs c).val z = |
| 172 | r • SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 173 | (projectiveSchwartzTestLocalized V e he n g hg hs c).val z at hsmul |
| 174 | change SupportedCoordinates.Constructions.supportedEuclideanCoefficients V e n |
| 175 | (projectiveSchwartzTestLocalized V e he n g hg hs (r • c)).val z = _ |
| 176 | rw [projectiveSchwartzTestLocalized_coefficients, hsmul, |
| 177 | projectiveSchwartzTestLocalized_coefficients] |
| 178 | change g z • (r • c z) = r • (g z • c z) |
| 179 | exact smul_comm (g z) r (c z) |
| 180 | |
| 181 | end |
| 182 | |
| 183 | end OAI.Analysis.HodgeTheory.Decomposition.ChartCoefficientFaithful.Constructions |