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.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterNeighborhood |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionCompositeEvaluation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateRank |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothRelativeRank |
| 5 | |
| 6 | /-! # Point Parameter Geometry -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterGeometry |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The number of point parameters comes from the actual relative |
| 13 | dimension, and their concatenated ideal is the original ideal sheaf |
| 14 | of the composite section in the ambient scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | universe u |
| 23 | variable (R : Type u) [CommRing R] |
| 24 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) [IsClosedImmersion f.left] |
| 25 | (s : Spec (CommRingCat.of R) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 26 | (U : Y.left.Opens) (hU : IsAffineOpen U) (hsU : ⊤ ≤ s ⁻¹ᵁ (f.left ⁻¹ᵁ U)) |
| 27 | (σ : Type u) [Fintype σ] [Algebra (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 28 | [IsScalarTower R (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 29 | [Algebra.Etale (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 30 | {c m : ℕ} (a : Fin c → Γ(Y.left, U)) (e : Fin m ≃ σ) |
| 31 | (r : Γ(Y.left, U)) |
| 32 | (D : PointParameterNeighborhood.Data R X Y f s hs U hsU σ a e r) |
| 33 | |
| 34 | omit [IsClosedImmersion (Over.Hom.left f)] [Fintype σ] [IsScalarTower R (MvPolynomial σ R) ↑(SmoothClosedSections.ring R X (Over.Hom.left f ⁻¹ᵁ U))] [Algebra.Etale (MvPolynomial σ R) ↑(SmoothClosedSections.ring R X (Over.Hom.left f ⁻¹ᵁ U))] in |
| 35 | theorem generates [IsClosedImmersion (s ≫ f.left)] : |
| 36 | Ideal.span (Set.range (Fin.append (IdealSheafPrincipalEquations.sequence U r a) D.parameter)) = |
| 37 | (s ≫ f.left).ker.ideal ⟨Y.left.basicOpen r, hU.basicOpen r⟩ := |
| 38 | D.kernel.trans ((SectionCompositeEvaluation.kernel R X Y f s hs |
| 39 | (Y.left.basicOpen r) D.contains).trans |
| 40 | (SectionEvaluation.kernel R Y (s ≫ f.left) |
| 41 | (SectionCompositeEvaluation.over_base R X Y f s hs) |
| 42 | (Y.left.basicOpen r) D.contains (hU.basicOpen r))) |
| 43 | |
| 44 | variable (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 45 | (x : X.left) (hx : f.left x ∈ U) |
| 46 | |
| 47 | include hU hx in |
| 48 | theorem exists_principal |
| 49 | (ha : Ideal.span (Set.range a) = f.left.ker.ideal ⟨U, hU⟩) |
| 50 | (hareg : RingTheory.Sequence.IsWeaklyRegular Γ(Y.left, U) (List.ofFn a)) : |
| 51 | ∃ (e : Fin g ≃ σ) (r : Γ(Y.left, U)), |
| 52 | Nonempty (PointParameterNeighborhood.Data R X Y f s hs U hsU σ a e r) := by |
| 53 | let p := (hU.preimage f.left).primeIdealOf ⟨x, hx⟩ |
| 54 | have hc := IntegralComparison.Etale.CoordinateRank.card R (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U)) σ p g |
| 55 | (SmoothRelativeRank.sections R X g (f.left ⁻¹ᵁ U) (hU.preimage f.left) p) |
| 56 | let e' : Fin g ≃ σ := (finCongr hc.symm).trans (Fintype.equivFin σ).symm |
| 57 | obtain ⟨r', h⟩ := PointParameterNeighborhood.exists_principal R X Y f s hs U hU hsU σ a e' ha hareg |
| 58 | exact ⟨e', r', h⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterGeometry |