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.Crystalline.Cohomology.NonemptyCechAdditive |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.BaseAffine.OpenOrdinaryFormUnit |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.EtaleSubchartCoordinates |
| 5 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.OpenFiniteProductPreservation |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex |
| 7 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TermwiseIso |
| 8 | |
| 9 | /-! # Small De Rham Cech Unit -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit.BaseSmallDeRhamCechUnit |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! On the small coordinate cover the actual ordinary de Rham Cech total equals the sheafified total in all degrees. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Simplicial |
| 18 | |
| 19 | universe u |
| 20 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 21 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 22 | |
| 23 | local notation "U" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.opens R X |
| 24 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 25 | |
| 26 | def unit : DeRhamGlobalId.DeRhamGlobal.presheafComplex R X ⟶ ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.presheafComplex R X := |
| 27 | NumberTheory.PadicHodge.GeometricComparison.SheafificationComplex.SheafificationComplexUnit.unit (Opens.grothendieckTopology X.left) (DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 28 | |
| 29 | theorem forms (q : ℕ) (t : Fin (q + 1) → SmallEtaleCover.BaseSmallEtaleCover.Index R X) (n : ℕ) : |
| 30 | IsIso (((unit R X).f n).app (op (∏ᶜ (U ∘ t)))) := by |
| 31 | have hI : IsAffineOpen (∏ᶜ (U ∘ t)) := by |
| 32 | rw [Affine.OpenFiniteProductPreservation.AffineOpenFiniteProductPreservation.product_iInf] |
| 33 | exact IsAffineOpen.iInf (fun j => (SmallEtaleCover.BaseSmallEtaleCover.opens R X (t j)).property) |
| 34 | let I : X.left.affineOpens := ⟨∏ᶜ (U ∘ t), hI⟩ |
| 35 | let i := SmallEtaleCover.BaseSmallEtaleCover.originalIndex R X (t 0) |
| 36 | have hi : I.val ≤ ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X i := leOfHom (Pi.π (U ∘ t) 0) |
| 37 | let σ := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateIndex R X i |
| 38 | let : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 39 | let : Algebra (MvPolynomial σ R) (BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring R X I.val) := |
| 40 | EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.polynomialAlgebra R X I i hi |
| 41 | let : IsScalarTower R (MvPolynomial σ R) (BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring R X I.val) := |
| 42 | EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.tower R X I i hi |
| 43 | let : Algebra.Etale (MvPolynomial σ R) (BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring R X I.val) := |
| 44 | EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.etale R X I i hi |
| 45 | exact BaseAffine.OpenOrdinaryFormUnit.BaseAffineOpenOrdinaryFormUnit.forms R X I.val I.property σ n |
| 46 | |
| 47 | def bicomplex : HomologicalComplex₂ (ModuleCat.{u} R) (.up ℕ) (.up ℕ) := |
| 48 | ((NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor U).mapHomologicalComplex (.up ℕ)).obj |
| 49 | (DeRhamGlobalId.DeRhamGlobal.presheafComplex R X) |
| 50 | |
| 51 | def map : bicomplex R X ⟶ SmallDeRhamCech.BaseSmallDeRhamCech.bicomplex R X := |
| 52 | ((NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.complexFunctor U).mapHomologicalComplex (.up ℕ)).map (unit R X) |
| 53 | |
| 54 | theorem row_isIso (n : ℕ) : IsIso ((BaseSmallDeRhamCechUnit.map R X).f n) := |
| 55 | NumberTheory.PadicHodge.GeometricComparison.Cech.TermwiseIso.CechTermwiseIso.isIso N ((unit R X).f n) (fun q t => forms R X q t n) |
| 56 | |
| 57 | def iso : bicomplex R X ≅ SmallDeRhamCech.BaseSmallDeRhamCech.bicomplex R X := by |
| 58 | let (n : ℕ) : IsIso ((BaseSmallDeRhamCechUnit.map R X).f n) := row_isIso R X n |
| 59 | let : IsIso (BaseSmallDeRhamCechUnit.map R X) := HomologicalComplex.Hom.isIso_of_components _ |
| 60 | exact asIso (BaseSmallDeRhamCechUnit.map R X) |
| 61 | |
| 62 | def totalIso : (bicomplex R X).total (.up ℕ) ≅ SmallDeRhamCech.BaseSmallDeRhamCech.total R X := |
| 63 | HomologicalComplex₂.total.mapIso (iso R X) (.up ℕ) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCechUnit.BaseSmallDeRhamCechUnit |