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.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph |
| 2 | import Mathlib.RingTheory.Nullstellensatz |
| 3 | import Mathlib.RingTheory.Localization.Submodule |
| 4 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt |
| 5 | |
| 6 | /-! # Graph Regular -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.GraphVanishingIdeal |
| 13 | |
| 14 | /-! # RiemannProjectivity: the actual vanishing ideal has a smooth neighborhood along a regular graph -/ |
| 15 | |
| 16 | open Set Filter _root_.Polynomial |
| 17 | open scoped _root_.Topology |
| 18 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt.Constructions.SmoothEquationPoint OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphGermsOn.Constructions.GraphGerms OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph.Constructions.LocalizedGraphGerms |
| 19 | |
| 20 | variable {n m : ℕ} |
| 21 | |
| 22 | def polynomialMap (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) : |
| 23 | MvPolynomial (Fin n ⊕ Fin m) ℂ →+* LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F := |
| 24 | (algebraMap (JacobianLocalizationAt.Constructions.SmoothEquationPoint.equationRing F) (LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F)).comp (Ideal.Quotient.mk _) |
| 25 | |
| 26 | def vanishingIdeal (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 27 | (S : Set (Fin n ⊕ Fin m → ℂ)) : Ideal (LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) := |
| 28 | (MvPolynomial.vanishingIdeal ℂ S).map (polynomialMap F) |
| 29 | |
| 30 | theorem branchMap_polynomial (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 31 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 32 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 33 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 34 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) |
| 35 | (p : MvPolynomial (Fin n ⊕ Fin m) ℂ) : |
| 36 | LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x ψ hU hx hψ hzero hderiv (polynomialMap F p) = |
| 37 | GraphGermsOn.Constructions.GraphGerms.polynomialMap x ψ hU hx hψ p := by |
| 38 | change IsLocalization.Away.lift (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian |
| 39 | (LocalizedGraph.Constructions.LocalizedGraphGerms.jacobian_unit F x ψ hU hx hψ hzero hderiv) |
| 40 | (algebraMap (JacobianLocalizationAt.Constructions.SmoothEquationPoint.equationRing F) (LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) (Ideal.Quotient.mk _ p)) = _ |
| 41 | rw [IsLocalization.Away.lift_eq] |
| 42 | rfl |
| 43 | |
| 44 | theorem vanishingIdeal_le_kernel |
| 45 | (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 46 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 47 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 48 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 49 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) |
| 50 | (S : Set (Fin n ⊕ Fin m → ℂ)) (hS : ∀ y ∈ U, GraphGermsOn.Constructions.GraphGerms.graph ψ y ∈ S) : |
| 51 | GraphVanishingIdeal.vanishingIdeal F S ≤ RingHom.ker (LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x ψ hU hx hψ hzero hderiv).toRingHom := by |
| 52 | apply Ideal.map_le_iff_le_comap.mpr |
| 53 | intro p hp |
| 54 | change LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x ψ hU hx hψ hzero hderiv (polynomialMap F p) = 0 |
| 55 | rw [branchMap_polynomial] |
| 56 | apply (PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.pullback_eq_zero x (GraphGermsOn.Constructions.GraphGerms.graph ψ) hU hx |
| 57 | (GraphGermsOn.Constructions.GraphGerms.differentiableOn_graph ψ hψ) p).mpr |
| 58 | filter_upwards [hU.mem_nhds hx] with y hy |
| 59 | exact hp (GraphGermsOn.Constructions.GraphGerms.graph ψ y) (hS y hy) |
| 60 | |
| 61 | theorem exists_smooth_neighborhood |
| 62 | (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) (hF : ∀ j, F j ≠ 0) |
| 63 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 64 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 65 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 66 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) |
| 67 | (S : Set (Fin n ⊕ Fin m → ℂ)) (hS : ∀ y ∈ U, GraphGermsOn.Constructions.GraphGerms.graph ψ y ∈ S) : |
| 68 | ∃ s : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F, |
| 69 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x ψ hU hx hψ hzero hderiv s) ≠ 0 ∧ |
| 70 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (GraphVanishingIdeal.vanishingIdeal F S) s)) := by |
| 71 | have hfg : (GraphVanishingIdeal.vanishingIdeal F S).FG := IsNoetherian.noetherian _ |
| 72 | exact LocalizedGraph.Constructions.LocalizedGraphGerms.exists_smooth_quotient_neighborhood F hF x ψ hU hx hψ hzero hderiv _ hfg |
| 73 | (vanishingIdeal_le_kernel F x ψ hU hx hψ hzero hderiv S hS) |
| 74 | |
| 75 | theorem exists_smooth_point_neighborhood |
| 76 | (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) (hF : ∀ j, F j ≠ 0) |
| 77 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 78 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 79 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 80 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) |
| 81 | (S : Set (Fin n ⊕ Fin m → ℂ)) (hS : ∀ y ∈ U, GraphGermsOn.Constructions.GraphGerms.graph ψ y ∈ S) : |
| 82 | ∃ (s : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) (q : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F →ₐ[ℂ] ℂ), |
| 83 | (∀ p, q (polynomialMap F p) = MvPolynomial.eval (GraphGermsOn.Constructions.GraphGerms.graph ψ x) p) ∧ |
| 84 | q s ≠ 0 ∧ Algebra.Smooth ℂ |
| 85 | (Localization.Away (Ideal.Quotient.mk (GraphVanishingIdeal.vanishingIdeal F S) s)) := by |
| 86 | obtain ⟨s, hs, hsm⟩ := exists_smooth_neighborhood F hF x ψ hU hx hψ hzero hderiv S hS |
| 87 | refine ⟨s, LocalizedGraph.Constructions.LocalizedGraphGerms.branchPoint F x ψ hU hx hψ hzero hderiv, ?_, hs, hsm⟩ |
| 88 | intro p |
| 89 | change AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (LocalizedGraph.Constructions.LocalizedGraphGerms.branchMap F x ψ hU hx hψ hzero hderiv (polynomialMap F p)) = _ |
| 90 | rw [branchMap_polynomial] |
| 91 | exact PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.pullback_value x (GraphGermsOn.Constructions.GraphGerms.graph ψ) hU hx |
| 92 | (GraphGermsOn.Constructions.GraphGerms.differentiableOn_graph ψ hψ) p |
| 93 | |
| 94 | end Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.GraphVanishingIdeal |
| 95 | |
| 96 | namespace Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.RegularConeNeighborhood |
| 97 | |
| 98 | /-! # RiemannProjectivity: smooth algebraic neighborhoods at the actual normalized cone points -/ |
| 99 | |
| 100 | open Set _root_.Polynomial |
| 101 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent OAI.Geometry.ComplexTorus.RiemannProjectivity.SeparatingLinearCoordinates.Constructions.SeparatingFiberCoordinates OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph.Constructions.LocalizedGraphGerms |
| 102 | |
| 103 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] {a b : ℕ} |
| 104 | |
| 105 | def splitPoint (e : V ≃L[ℂ] ((Fin a → ℂ) × (Fin b → ℂ))) (w : V) : |
| 106 | Fin a ⊕ Fin b → ℂ := Sum.elim (e w).1 (e w).2 |
| 107 | |
| 108 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 109 | {n : ℕ} |
| 110 | |
| 111 | theorem exists_at_parameter (Φ : AlgebraicGeometry.ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E) |
| 112 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) (hf : Topology.IsClosedEmbedding f) |
| 113 | (hd : ∀ (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) (i : Fin (n + 1)), |
| 114 | f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 115 | DifferentiableAt ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z ∧ |
| 116 | Function.Injective (fderiv ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z)) |
| 117 | (i : Fin (n + 1)) (z : AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) |
| 118 | (hi : f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source) |
| 119 | (v : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)) |
| 120 | (hv : v.val = ConeTangentF.Constructions.ConeTangent.parameterization i (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) (z, 1)) : |
| 121 | ∃ (m : ℕ) (e : (Fin (n + 1) → ℂ) ≃L[ℂ] |
| 122 | ((Fin (Module.finrank ℂ (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1) → ℂ) × (Fin m → ℂ))) |
| 123 | (F : Fin m → Polynomial (MvPolynomial (Fin (Module.finrank ℂ (AlgebraicGeometry.ComplexMultiplication.CM.PeriodSpace.CMPeriodSpace E) + 1)) ℂ)) |
| 124 | (s : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F) (q : LocalizedGraph.Constructions.LocalizedGraphGerms.smoothRing F →ₐ[ℂ] ℂ), |
| 125 | (∀ w ∈ AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f), ∀ j, |
| 126 | MvPolynomial.eval (splitPoint e w) (JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j)) = 0) ∧ |
| 127 | (∀ p, q (GraphVanishingIdeal.polynomialMap F p) = MvPolynomial.eval (splitPoint e v.val) p) ∧ |
| 128 | q s ≠ 0 ∧ Algebra.Smooth ℂ |
| 129 | (Localization.Away (Ideal.Quotient.mk |
| 130 | (GraphVanishingIdeal.vanishingIdeal F (splitPoint e '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))) s)) := by |
| 131 | obtain ⟨L, m, e, F, he, hInv, hF, hder, hzero⟩ := |
| 132 | JacobianLocalizationAt.Constructions.RegularConeEquations.exists_at_parameter Φ f hf hd i z hi v hv |
| 133 | obtain ⟨r, hvr, hr, hdr⟩ := hInv |
| 134 | have hx : L v ∈ r.target := by |
| 135 | rw [← congrFun hr v] |
| 136 | exact r.map_source hvr |
| 137 | have hinv : r.symm (L v) = v := by |
| 138 | rw [← congrFun hr v] |
| 139 | exact r.left_inv hvr |
| 140 | let ψ := fun y => (e (r.symm y).val).2 |
| 141 | have hψ : DifferentiableOn ℂ ψ r.target := |
| 142 | (e.differentiable.comp_differentiableOn hdr).snd |
| 143 | have hbase (y) (hy : y ∈ r.target) : (e (r.symm y).val).1 = y := by |
| 144 | rw [he, ← congrFun hr (r.symm y)] |
| 145 | exact r.right_inv hy |
| 146 | have hz (y) (hy : y ∈ r.target) (j : Fin m) : |
| 147 | (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0 := by |
| 148 | have h := hzero j (r.symm y).val (r.symm y).property |
| 149 | rw [← he, hbase y hy, SeparatingLinearCoordinates.Constructions.SeparatingFiberCoordinates.coordinate_apply] at h |
| 150 | exact h |
| 151 | have hdψ (j : Fin m) : ((F j).map (MvPolynomial.eval (L v))).derivative.eval (ψ (L v) j) ≠ 0 := by |
| 152 | simpa only [ψ, hinv, SeparatingLinearCoordinates.Constructions.SeparatingFiberCoordinates.coordinate_apply] using hder j |
| 153 | have hS (y) (hy : y ∈ r.target) : GraphGermsOn.Constructions.GraphGerms.graph ψ y ∈ |
| 154 | splitPoint e '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := by |
| 155 | refine ⟨(r.symm y).val, (r.symm y).property, ?_⟩ |
| 156 | funext j |
| 157 | cases j with |
| 158 | | inl j => exact congrFun (hbase y hy) j |
| 159 | | inr j => rfl |
| 160 | obtain ⟨s, q, hq, hs, hsm⟩ := GraphVanishingIdeal.exists_smooth_point_neighborhood |
| 161 | F hF (L v) ψ r.open_target hx hψ hz hdψ _ hS |
| 162 | refine ⟨m, e, F, s, q, ?_, ?_, hs, hsm⟩ |
| 163 | · intro w hw j |
| 164 | change MvPolynomial.eval (Sum.elim (e w).1 (e w).2) |
| 165 | (JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j)) = 0 |
| 166 | rw [JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.eval_equation, he] |
| 167 | exact hzero j w hw |
| 168 | intro p |
| 169 | rw [hq] |
| 170 | have hg : GraphGermsOn.Constructions.GraphGerms.graph ψ (L v) = splitPoint e v.val := by |
| 171 | funext j |
| 172 | cases j with |
| 173 | | inl j => exact congrFun (he v.val).symm j |
| 174 | | inr j => change (e (r.symm (L v)).val).2 j = (e v.val).2 j; rw [hinv] |
| 175 | rw [hg] |
| 176 | |
| 177 | end Geometry.ComplexTorus.RiemannProjectivity.GraphRegular.Constructions.RegularConeNeighborhood |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI |