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.IntrinsicDeRham.CechScalarCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.EtaleAffineCover |
| 3 | |
| 4 | /-! # Cover Scalar Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.CoverScalarIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original finite integral étale cover gives an isomorphism for |
| 11 | the actual native scalar comparison in every de Rham degree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] [Module.Flat R S] |
| 20 | (X : Over (Spec (CommRingCat.of R))) [IsProper X.hom] [Smooth X.hom] |
| 21 | (Y : Over (Spec (CommRingCat.of S))) (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 23 | |
| 24 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens R X |
| 25 | |
| 26 | local instance schemeSeparated : X.left.IsSeparated := by |
| 27 | constructor |
| 28 | rw [← terminal.comp_from X.hom] |
| 29 | infer_instance |
| 30 | |
| 31 | theorem component_isIso (q : ℕ) (t : Fin (q+1) → GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index R X) |
| 32 | (n : ℕ) : IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicFormsScalarMap.BaseIntrinsicFormsScalarMap.component R S X Y f hp.w (∏ᶜ (U ∘ t)) n) := by |
| 33 | have hI : IsAffineOpen (∏ᶜ (U ∘ t)) := |
| 34 | AlgebraicGeometry.SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.affine R X) q t |
| 35 | let I : X.left.affineOpens := ⟨∏ᶜ (U ∘ t), hI⟩ |
| 36 | let i := t 0 |
| 37 | have hi : I.val ≤ GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens R X i := leOfHom (Pi.π (U ∘ t) 0) |
| 38 | let σ := GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateIndex R X i |
| 39 | let : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 40 | let : Algebra R Γ(X.left, I.val) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X I.val |
| 41 | let : Algebra (MvPolynomial σ R) Γ(X.left, I.val) := |
| 42 | @AffineOpen.EtaleCoordinates.polynomialAlgebra R inferInstance X I.val I.property |
| 43 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateRing R X i) inferInstance |
| 44 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.chartMap R X i) (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.chartMap_open R X i) hi |
| 45 | σ (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.polynomialAlgebra R X i) |
| 46 | let : IsScalarTower R (MvPolynomial σ R) Γ(X.left, I.val) := |
| 47 | @AffineOpen.EtaleCoordinates.tower R inferInstance X I.val I.property |
| 48 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateRing R X i) inferInstance |
| 49 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.chartMap R X i) (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.chartMap_open R X i) hi |
| 50 | σ (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.polynomialAlgebra R X i) |
| 51 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateAlgebra R X i) (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateTower R X i) |
| 52 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.chartMap_over R X i) |
| 53 | let : Algebra.Etale (MvPolynomial σ R) Γ(X.left, I.val) := |
| 54 | @AffineOpen.EtaleCoordinates.etale R inferInstance X I.val I.property |
| 55 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateRing R X i) inferInstance |
| 56 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.chartMap R X i) (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.chartMap_open R X i) hi |
| 57 | σ (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.polynomialAlgebra R X i) |
| 58 | (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.coordinateEtale R X i) |
| 59 | exact AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicFormsScalarMap.BaseIntrinsicFormsScalarMap.component_isIso R S X Y f hp.w I.val σ hp I.property n |
| 60 | |
| 61 | theorem row_isIso (n : ℕ) : IsIso ((AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarBicomplex.BaseIntrinsicCechScalarBicomplex.map R S X Y f U hp.w).f n) := |
| 62 | GeometricComparison.Cech.TermwiseIso.CechTermwiseIso.isIso (FormalCoproduct.mk (GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index R X) U).cech |
| 63 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicFormsScalarMap.BaseIntrinsicFormsScalarMap.map R S X Y f hp.w n) |
| 64 | (fun q t => component_isIso R S X Y f hp q t n) |
| 65 | |
| 66 | theorem projection_isIso : IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarProjection.BaseIntrinsicCechScalarProjection.map R S X Y f hp.w U) := by |
| 67 | let (n : ℕ) : IsIso ((AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarBicomplex.BaseIntrinsicCechScalarBicomplex.map R S X Y f U hp.w).f n) := |
| 68 | row_isIso R S X Y f hp n |
| 69 | let : IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarBicomplex.BaseIntrinsicCechScalarBicomplex.map R S X Y f U hp.w) := |
| 70 | HomologicalComplex.Hom.isIso_of_components _ |
| 71 | dsimp only [AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarProjection.BaseIntrinsicCechScalarProjection.map] |
| 72 | infer_instance |
| 73 | |
| 74 | theorem scalarMap_isIso : IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarTotal.BaseIntrinsicCechScalarTotal.scalarMap R S X Y f hp.w U) := by |
| 75 | let := projection_isIso R S X Y f hp |
| 76 | change IsIso ((AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso (GeometricComparison.FlatScalar.FlatScalarExtension.moduleFunctor R S) |
| 77 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent.CechDescent.bicomplex R X U)).inv ≫ |
| 78 | (HomologicalComplex₂.totalFunctor (ModuleCat S) (.up ℕ) (.up ℕ) (.up ℕ)).map |
| 79 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarProjection.BaseIntrinsicCechScalarProjection.map R S X Y f hp.w U)) |
| 80 | infer_instance |
| 81 | |
| 82 | theorem homologyMap_isIso (n : ℕ) : |
| 83 | IsIso (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarTotal.BaseIntrinsicCechScalarTotal.homologyMap R S X Y f hp.w U n) := by |
| 84 | let := scalarMap_isIso R S X Y f hp |
| 85 | dsimp only [AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechScalarTotal.BaseIntrinsicCechScalarTotal.homologyMap] |
| 86 | infer_instance |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.CoverScalarIso |