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