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.BaseAffine.OpenFormRegularity |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ProperDeRhamCechFiniteness |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Module.TotalRegularity |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.Cochains |
| 5 | |
| 6 | /-! # Smooth Proper Cech Regularity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperCechRegularity.BaseSmoothProperCechRegularity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # The original smooth proper de Rham Cech total is termwise regular over its base -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 19 | [IsProper X.hom] [Smooth X.hom] |
| 20 | |
| 21 | local notation "I" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X |
| 22 | local notation "U" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X |
| 23 | |
| 24 | theorem affine_subopen (i : I) (W : X.left.Opens) (hW : IsAffineOpen W) (h : W ≤ U i) |
| 25 | (n : ℕ) (r : R) (hr : r ∈ nonZeroDivisors R) : |
| 26 | IsSMulRegular (((DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X n).obj.obj (op W)) r := by |
| 27 | let C := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateRing R X i |
| 28 | let σ := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateIndex R X i |
| 29 | let : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 30 | let : Algebra R C := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateAlgebra R X i |
| 31 | let : Algebra (MvPolynomial σ R) C := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.polynomialAlgebra R X i |
| 32 | let : Algebra.Etale (MvPolynomial σ R) C := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateEtale R X i |
| 33 | let : IsScalarTower R (MvPolynomial σ R) C := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateTower R X i |
| 34 | let g : Spec (CommRingCat.of C) ⟶ X.left := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap R X i |
| 35 | let : IsOpenImmersion g := SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap_open R X i |
| 36 | let : Algebra (MvPolynomial σ R) (BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring R X W) := |
| 37 | NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates.polynomialAlgebra R X W hW C g h σ |
| 38 | let : Algebra.Etale (MvPolynomial σ R) (BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring R X W) := |
| 39 | NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates.etale R X W hW C g h σ |
| 40 | let : IsScalarTower R (MvPolynomial σ R) (BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.ring R X W) := |
| 41 | NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates.tower R X W hW C g h σ |
| 42 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap_over R X i) |
| 43 | exact BaseAffine.OpenFormRegularity.BaseAffineOpenFormRegularity.regular R X W hW σ n r hr |
| 44 | |
| 45 | theorem intersection (n p : ℕ) (t : Fin (p + 1) → I) (r : R) (hr : r ∈ nonZeroDivisors R) : |
| 46 | IsSMulRegular (((DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X n).obj.obj (op (∏ᶜ (U ∘ t)))) r := by |
| 47 | let : X.left.IsSeparated := by |
| 48 | constructor |
| 49 | rw [← terminal.comp_from X.hom] |
| 50 | infer_instance |
| 51 | exact affine_subopen R X (t 0) (∏ᶜ (U ∘ t)) |
| 52 | (SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U (ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.affine R X) p t) |
| 53 | (leOfHom (Pi.π (U ∘ t) 0)) n r hr |
| 54 | |
| 55 | theorem bidegree (n p : ℕ) (r : R) (hr : r ∈ nonZeroDivisors R) : |
| 56 | IsSMulRegular (((ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.bicomplex R X).X n).X p) r := by |
| 57 | change IsSMulRegular (∏ᶜ (fun t : Fin (p + 1) → I => |
| 58 | ((DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X n).obj.obj (op (∏ᶜ (U ∘ t)))) : ModuleCat.{u} R) r |
| 59 | exact NumberTheory.PadicHodge.GeometricComparison.Module.TotalRegularity.ModuleTotalRegularity.product _ r (fun t => intersection R X n p t r hr) |
| 60 | |
| 61 | theorem total (n : ℕ) (r : R) (hr : r ∈ nonZeroDivisors R) : |
| 62 | IsSMulRegular ((ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.total R X).X n) r := |
| 63 | NumberTheory.PadicHodge.GeometricComparison.Module.TotalRegularity.ModuleTotalRegularity.total (ProperDeRhamCechFiniteness.BaseSmoothProperDeRhamCechFiniteness.bicomplex R X) r |
| 64 | (fun q p => bidegree R X q p r hr) n |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperCechRegularity.BaseSmoothProperCechRegularity |