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.Etale.FormSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothRelativeRank |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateRank |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Exterior.PowerVanishing |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.AffineNeighborhood |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates |
| 7 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover |
| 8 | import Mathlib.Topology.Sheaves.Stalks |
| 9 | |
| 10 | /-! # Form Degree Bound -/ |
| 11 | |
| 12 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.FormDegreeBound |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! The original differential-form sheaves of a smooth proper family |
| 17 | vanish above its actual relative dimension, over any commutative base. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable (R : Type u) [CommRing R] |
| 29 | (X : Over (Spec (CommRingCat.of R))) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 30 | |
| 31 | theorem affine_sections (U : X.left.Opens) (hU : IsAffineOpen U) |
| 32 | (σ : Type u) [Fintype σ] [LinearOrder σ] |
| 33 | [Algebra (MvPolynomial σ R) (Intrinsic.SmoothClosedSections.ring R X U)] |
| 34 | [IsScalarTower R (MvPolynomial σ R) (Intrinsic.SmoothClosedSections.ring R X U)] |
| 35 | [Algebra.Etale (MvPolynomial σ R) (Intrinsic.SmoothClosedSections.ring R X U)] |
| 36 | (p : PrimeSpectrum (Intrinsic.SmoothClosedSections.ring R X U)) (n : ℕ) (hn : g < n) : |
| 37 | Subsingleton Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n, U) := by |
| 38 | let b := IntegralComparison.Etale.CoordinateRank.basis R (Intrinsic.SmoothClosedSections.ring R X U) σ p g |
| 39 | (Intrinsic.SmoothRelativeRank.sections R X g U hU p) |
| 40 | let : Subsingleton (⋀[Intrinsic.SmoothClosedSections.ring R X U]^n (KaehlerDifferential R (Intrinsic.SmoothClosedSections.ring R X U))) := |
| 41 | Exterior.PowerVanishing.subsingleton b hn |
| 42 | exact (IntegralComparison.Etale.FormSections.Integral.exteriorIso R X U hU σ n).injective.subsingleton |
| 43 | |
| 44 | variable [IsProper X.hom] |
| 45 | |
| 46 | theorem exists_zero_neighborhood (U : X.left.Opens) (x : X.left) (hx : x ∈ U) |
| 47 | (n : ℕ) (hn : g < n) : |
| 48 | ∃ V : X.left.Opens, V ≤ U ∧ x ∈ V ∧ |
| 49 | Subsingleton Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n, V) := by |
| 50 | classical |
| 51 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 52 | obtain ⟨a, hxa⟩ := AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.covers R X x |
| 53 | let C := AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateRing R X a |
| 54 | let chart := AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap R X a |
| 55 | obtain ⟨V, hV, hxV, hVU, hVC⟩ := |
| 56 | Closed.AffineNeighborhood.exists_subopen (𝟙 X.left) U chart.opensRange x hx hxa |
| 57 | have hVC' : V ≤ chart.opensRange := hVC |
| 58 | let σ := AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateIndex R X a |
| 59 | let : LinearOrder σ := linearOrderOfSTO WellOrderingRel |
| 60 | let := AffineOpen.EtaleCoordinates.polynomialAlgebra R X V hV C chart hVC' σ |
| 61 | let := AffineOpen.EtaleCoordinates.tower R X V hV C chart hVC' σ |
| 62 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap_over R X a) |
| 63 | let := AffineOpen.EtaleCoordinates.etale R X V hV C chart hVC' σ |
| 64 | exact ⟨V, hVU, hxV, affine_sections R X g V hV σ (hV.primeIdealOf ⟨x, hxV⟩) n hn⟩ |
| 65 | |
| 66 | theorem sections_subsingleton (U : X.left.Opens) (n : ℕ) (hn : g < n) : |
| 67 | Subsingleton Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n, U) := by |
| 68 | constructor |
| 69 | intro a b |
| 70 | let F := (SheafOfModules.toSheaf X.left.ringCatSheaf).obj (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n) |
| 71 | change (a : F.obj.obj (op U)) = b |
| 72 | apply TopCat.Presheaf.IsSheaf.section_ext F.property |
| 73 | intro x hx |
| 74 | obtain ⟨V, hVU, hxV, hV⟩ := exists_zero_neighborhood R X g U x hx n hn |
| 75 | exact ⟨V, hVU, hxV, @Subsingleton.elim _ hV _ _⟩ |
| 76 | |
| 77 | theorem sheaf_isZero (n : ℕ) (hn : g < n) : |
| 78 | IsZero (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n) := by |
| 79 | rw [IsZero.iff_id_eq_zero] |
| 80 | apply SheafOfModules.hom_ext |
| 81 | apply PresheafOfModules.hom_ext |
| 82 | intro U |
| 83 | apply ModuleCat.hom_ext |
| 84 | apply LinearMap.ext |
| 85 | intro x |
| 86 | exact @Subsingleton.elim _ (sections_subsingleton R X g U.unop n hn) _ _ |
| 87 | |
| 88 | theorem coefficient_sheaf_isZero (n : ℕ) (hn : g < n) : |
| 89 | IsZero ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X n) := |
| 90 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.coefficientSheafIso R X n).isZero_iff.mp |
| 91 | ((AlgebraSheafScalars.functor R X).map_isZero (sheaf_isZero R X g n hn)) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.FormDegreeBound |