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.IntrinsicPadic.OrdinaryCechUnit |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Module.TotalRegularity |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CohomologyDetection |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralReductionCoordinates |
| 5 | |
| 6 | /-! # Ordinary Cech Regularity -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.OrdinaryCechRegularity.IntrinsicOrdinary |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every degree of the genuine ordinary coordinate Čech total is |
| 13 | p-regular; its coefficient-power reductions detect all cohomology. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) |
| 19 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | |
| 21 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X |
| 22 | local notation "B" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.OrdinaryCechUnit.IntrinsicOrdinary.bicomplex p X |
| 23 | |
| 24 | theorem forms (q : ℕ) (t : Fin (q+1) → GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) (n : ℕ) : |
| 25 | IsSMulRegular ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf ℤ_[p] X n).obj (op (∏ᶜ (U ∘ t)))) |
| 26 | (p : ℤ_[p]) := by |
| 27 | have hI : IsAffineOpen (∏ᶜ (U ∘ t)) := by |
| 28 | rw [AlgebraicGeometry.Crystalline.Cohomology.Affine.OpenFiniteProductPreservation.AffineOpenFiniteProductPreservation.product_iInf] |
| 29 | exact IsAffineOpen.iInf (fun j => GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.affine ℤ_[p] X (t j)) |
| 30 | let I : X.left.affineOpens := ⟨∏ᶜ (U ∘ t), hI⟩ |
| 31 | have hi : I.val ≤ U (t 0) := leOfHom (Pi.π (U ∘ t) 0) |
| 32 | let σ := GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateIndex ℤ_[p] X (t 0) |
| 33 | let : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 34 | let : Algebra (MvPolynomial σ ℤ_[p]) (AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring ℤ_[p] X I.val) := |
| 35 | GeometricComparison.IntrinsicPadic.EtaleCoordinates.IntrinsicPadicEtaleSubchartCoordinates.padicPolynomialAlgebra p X I (t 0) hi |
| 36 | let : IsScalarTower ℤ_[p] (MvPolynomial σ ℤ_[p]) |
| 37 | (AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring ℤ_[p] X I.val) := |
| 38 | GeometricComparison.IntrinsicPadic.EtaleCoordinates.IntrinsicPadicEtaleSubchartCoordinates.padicTower p X I (t 0) hi |
| 39 | let : Algebra.Etale (MvPolynomial σ ℤ_[p]) |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring ℤ_[p] X I.val) := |
| 41 | GeometricComparison.IntrinsicPadic.EtaleCoordinates.IntrinsicPadicEtaleSubchartCoordinates.padicEtale p X I (t 0) hi |
| 42 | exact AlgebraicGeometry.Crystalline.Cohomology.Base.EtaleOrdinaryFormRegularity.BaseEtaleOrdinaryFormRegularity.forms ℤ_[p] |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring ℤ_[p] X I.val) σ n (p : ℤ_[p]) |
| 44 | (mem_nonZeroDivisors_iff_ne_zero.mpr (Nat.cast_ne_zero.mpr (Fact.out : p.Prime).ne_zero)) |
| 45 | |
| 46 | theorem component_regular (n q : ℕ) : IsSMulRegular (((B).X n).X q) (p : ℤ_[p]) := by |
| 47 | change IsSMulRegular (∏ᶜ (fun t : Fin (q+1) → GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X => |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf ℤ_[p] X n).obj (op (∏ᶜ (U ∘ t)))) : ModuleCat ℤ_[p]) (p : ℤ_[p]) |
| 49 | exact GeometricComparison.Module.TotalRegularity.ModuleTotalRegularity.product _ _ (fun t => forms p X q t n) |
| 50 | |
| 51 | theorem total_regular (n : ℕ) : IsSMulRegular (((B).total (.up ℕ)).X n) (p : ℤ_[p]) := |
| 52 | GeometricComparison.Module.TotalRegularity.ModuleTotalRegularity.total B (p : ℤ_[p]) (component_regular p X) n |
| 53 | |
| 54 | theorem eq_zero (i : ℕ) (x : ((B).total (.up ℕ)).homology i) |
| 55 | (hx : ∀ n, GeometricComparison.CochainQuotientCohomology.PrincipalCochainQuotient.reduction ℤ_[p] ((B).total (.up ℕ)) |
| 56 | (p : ℤ_[p]) (n+1) i x = 0) : x = 0 := by |
| 57 | let : IsAdicComplete (Ideal.span {(p : ℤ_[p])}) ℤ_[p] := by |
| 58 | rw [← PadicInt.maximalIdeal_eq_span_p] |
| 59 | infer_instance |
| 60 | let : Module.Finite ℤ_[p] (((B).total (.up ℕ)).homology i) := |
| 61 | OrdinaryCechUnit.IntrinsicOrdinary.finite p X i |
| 62 | exact Principal.CohomologyDetection.finite_eq_zero ℤ_[p] ((B).total (.up ℕ)) |
| 63 | (p : ℤ_[p]) (total_regular p X) i x hx |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.OrdinaryCechRegularity.IntrinsicOrdinary |