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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Site |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.Frobenius |
| 6 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms |
| 7 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.CoefficientAdapter |
| 8 | import OAI.AlgebraicGeometry.Betti.Scheme |
| 9 | import Mathlib.NumberTheory.Padics.RingHoms |
| 10 | |
| 11 | /-! # Geometry -/ |
| 12 | |
| 13 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | /-! The input of GeometricComparison consists of actual abelian schemes and a generic-fiber |
| 18 | identification. Cohomology spaces are constructed from those schemes; no |
| 19 | cohomological comparison, finiteness, weights, or admissibility is stored. -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | abbrev ringBase (R : Type) [CommRing R] := Spec (CommRingCat.of R) |
| 24 | |
| 25 | def scalarBaseMap {R S : Type} [CommRing R] [CommRing S] (f : R →+* S) : |
| 26 | ringBase S ⟶ ringBase R := Spec.map (CommRingCat.ofHom f) |
| 27 | |
| 28 | structure AbelianH1Model (K : Type) [Field K] [NumberField K] |
| 29 | (q : ℕ) [Fact q.Prime] (jq : K →+* ℚ_[q]) where |
| 30 | dimension : ℕ |
| 31 | variety : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme dimension (ringBase K) |
| 32 | integral : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme dimension (ringBase ℤ_[q]) |
| 33 | genericIso : |
| 34 | (integral.pullback (scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).scheme ≅ |
| 35 | (variety.pullback (scalarBaseMap jq)).scheme |
| 36 | genericIso_group : IsMonHom genericIso.hom |
| 37 | |
| 38 | namespace AbelianH1Model |
| 39 | |
| 40 | variable {K : Type} [Field K] [NumberField K] |
| 41 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} |
| 42 | (A : AbelianH1Model K q jq) |
| 43 | |
| 44 | def complexFiber (j : K →+* ℂ) := A.variety.pullback (scalarBaseMap j) |
| 45 | |
| 46 | def localFiber := A.integral.pullback (scalarBaseMap (algebraMap ℤ_[q] ℚ_[q])) |
| 47 | |
| 48 | def specialFiber := A.integral.pullback (scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q)) |
| 49 | |
| 50 | /-- An endomorphism over K together with an actual extension over ℤ_q. -/ |
| 51 | structure ExtendingEndomorphism where |
| 52 | generic : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.variety.scheme |
| 53 | integral : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.integral.scheme |
| 54 | compatible : |
| 55 | (Over.pullback (scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).map |
| 56 | integral.toMul.hom.hom ≫ A.genericIso.hom = |
| 57 | A.genericIso.hom ≫ |
| 58 | (Over.pullback (scalarBaseMap jq)).map generic.toMul.hom.hom |
| 59 | |
| 60 | def complexEndomorphism (j : K →+* ℂ) (f : A.ExtendingEndomorphism) : |
| 61 | (A.complexFiber j).scheme ⟶ (A.complexFiber j).scheme := |
| 62 | (Over.pullback (scalarBaseMap j)).map f.generic.toMul.hom.hom |
| 63 | |
| 64 | def localEndomorphism (f : A.ExtendingEndomorphism) : |
| 65 | A.localFiber.scheme ⟶ A.localFiber.scheme := |
| 66 | (Over.pullback (scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]))).map f.integral.toMul.hom.hom |
| 67 | |
| 68 | def specialEndomorphism (f : A.ExtendingEndomorphism) : |
| 69 | A.specialFiber.scheme ⟶ A.specialFiber.scheme := |
| 70 | (Over.pullback (scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))).map |
| 71 | f.integral.toMul.hom.hom |
| 72 | |
| 73 | /-- Ordinary singular H¹ of the fixed complex fiber, with rational coefficients. -/ |
| 74 | abbrev Betti (j : K →+* ℂ) := |
| 75 | AlgebraicGeometry.Betti.Scheme.schemeBetti (ModuleCat.of ℚ ℚ) (A.complexFiber j).scheme 1 |
| 76 | |
| 77 | def bettiPullback (j : K →+* ℂ) (f : A.ExtendingEndomorphism) : |
| 78 | A.Betti j →ₗ[ℚ] A.Betti j := |
| 79 | (AlgebraicGeometry.Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 (A.complexEndomorphism j f)).hom |
| 80 | |
| 81 | /-- Algebraic de Rham hypercohomology over the number field. -/ |
| 82 | abbrev AlgebraicDeRham := |
| 83 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology K A.variety.scheme 1 |
| 84 | |
| 85 | /-- Algebraic de Rham hypercohomology of the actual local generic fiber. -/ |
| 86 | abbrev DeRham := |
| 87 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology ℚ_[q] A.localFiber.scheme 1 |
| 88 | |
| 89 | def Fil (i : ℤ) : Submodule ℚ_[q] A.DeRham := |
| 90 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration ℚ_[q] A.localFiber.scheme 1 i |
| 91 | |
| 92 | theorem Fil_antitone : Antitone A.Fil := |
| 93 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration_antitone ℚ_[q] A.localFiber.scheme 1 |
| 94 | |
| 95 | /-- Cohomology's separate small-site construction, retained for the prerequisite adapter. -/ |
| 96 | abbrev SmallCrystalline := |
| 97 | AlgebraicGeometry.Crystalline.Cohomology.Site.rationalCohomology q (ZMod q) A.specialFiber.scheme 1 |
| 98 | |
| 99 | /-- Rational crystalline H¹ on IntegralComparison's actual big Witt-vector crystalline site. -/ |
| 100 | abbrev Crystalline := GeometricComparison.Crystalline.CoefficientAdapter.RationalH1 q A.specialFiber.scheme |
| 101 | |
| 102 | def crystallinePullback (f : A.ExtendingEndomorphism) : |
| 103 | Module.End ℚ_[q] A.Crystalline := |
| 104 | GeometricComparison.Crystalline.CoefficientAdapter.rationalPullback q (A.specialEndomorphism f) |
| 105 | |
| 106 | /-- Pullback by the actual q-power Frobenius of the special fiber. -/ |
| 107 | def crystallineFrobenius : Module.End ℚ_[q] A.Crystalline := |
| 108 | GeometricComparison.Crystalline.CoefficientAdapter.rationalPullback q |
| 109 | (AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldSchemeFrobenius (ZMod q) A.specialFiber.scheme) |
| 110 | |
| 111 | /-- Independently constructed rational pro-étale H¹ of the geometric special fiber. -/ |
| 112 | abbrev Etale (ℓ : ℕ) [Fact ℓ.Prime] := |
| 113 | IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ |
| 114 | (IntegralComparison.Frobenius.Geometry.geometricFiber (L := AlgebraicClosure (ZMod q)) |
| 115 | A.specialFiber.scheme.hom) 1 |
| 116 | |
| 117 | def etaleFrobenius (ℓ : ℕ) [Fact ℓ.Prime] : A.Etale ℓ ≃ₗ[ℚ_[ℓ]] A.Etale ℓ := |
| 118 | IntegralComparison.Etale.Frobenius.geometricFrobeniusLinear ℓ q 1 (ZMod q) |
| 119 | (by simp) A.specialFiber.scheme.hom 1 |
| 120 | |
| 121 | /-- The ℓ-adic characteristic polynomial is independent of crystalline |
| 122 | cohomology. Geometric finite-dimensionality is not bundled into the model. -/ |
| 123 | def ellAdicFrobeniusPolynomial (ℓ : ℕ) [Fact ℓ.Prime] |
| 124 | [FiniteDimensional ℚ_[ℓ] (A.Etale ℓ)] : Polynomial ℚ_[ℓ] := |
| 125 | LinearMap.charpoly (A.etaleFrobenius ℓ).toLinearMap |
| 126 | |
| 127 | /-- Independent specification of an integral Weil polynomial, using only |
| 128 | the geometric special fiber's ℓ-adic cohomology and Frobenius. Existence |
| 129 | and finite-dimensionality are mathematical conclusions, not model fields. -/ |
| 130 | def IsWeilPolynomial (ℓ : ℕ) [Fact ℓ.Prime] (P : Polynomial ℤ) : Prop := |
| 131 | ∃ hfinite : FiniteDimensional ℚ_[ℓ] (A.Etale ℓ), |
| 132 | letI := hfinite |
| 133 | A.ellAdicFrobeniusPolynomial ℓ = P.map (Int.castRingHom ℚ_[ℓ]) |
| 134 | |
| 135 | end AbelianH1Model |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry |