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.Projectivity |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistCechFinite |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseFiniteness |
| 4 | |
| 5 | /-! # Coherent Finiteness -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.CoherentFiniteness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: coherent cohomology finiteness from the actual projective embedding |
| 13 | |
| 14 | The geometric projectivity predicate supplies a finite standard affine |
| 15 | cover. The proved projective Čech finiteness and affine Čech comparison |
| 16 | then give finite generation of actual coherent sheaf cohomology over |
| 17 | the Noetherian coefficient ring. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | |
| 26 | variable (R : Type u) [CommRing R] {X : Scheme.{u}} |
| 27 | (f : X ⟶ Spec (CommRingCat.of R)) |
| 28 | |
| 29 | theorem projectiveSpaceToSpec_eq (n : ℕ) : Projectivity.Construction.projectiveSpaceToSpec R n = |
| 30 | AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 1)) := rfl |
| 31 | |
| 32 | theorem base_cohomology_finite [IsNoetherianRing R] [IsSeparated f] |
| 33 | (hprojective : Projectivity.Construction.ProjectiveOver R f) |
| 34 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (q : ℕ) : |
| 35 | letI := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M q |
| 36 | Module.Finite Γ(Spec (CommRingCat.of R), ⊤) (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M q) := by |
| 37 | obtain ⟨n, i, hi, hπ⟩ := hprojective |
| 38 | change X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (n + 1)) R) at i |
| 39 | let : IsClosedImmersion i := hi |
| 40 | let U := fun j : ULift (Fin (n + 1)) => |
| 41 | i ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) j |
| 42 | have hU : IsOpenCover U := |
| 43 | (IsOpenCover.mk (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top |
| 44 | (R := R) (σ := Fin (n + 1)))).comap i.base.hom |
| 45 | have hUaff (j : ULift (Fin (n + 1))) : IsAffineOpen (U j) := |
| 46 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) j).preimage i |
| 47 | have hfinite := |
| 48 | AlgebraicGeometry.SheafCohomology.Projective.TwistCechFinite.MvPolynomial.closedImmersion_finiteType_orderedBaseCechComplex_homology_module_finite |
| 49 | (R := R) i M q |
| 50 | change i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 1)) = f at hπ |
| 51 | erw [hπ] at hfinite |
| 52 | let : Module.Finite Γ(Spec (CommRingCat.of R), ⊤) |
| 53 | ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f M U).homology q) := hfinite |
| 54 | let : IsNoetherianRing Γ(Spec (CommRingCat.of R), ⊤) := isNoetherianRing_of_ringEquiv R |
| 55 | (Scheme.ΓSpecIso (CommRingCat.of R)).symm.commRingCatIsoToRingEquiv |
| 56 | let : X.IsSeparated := by |
| 57 | constructor |
| 58 | rw [← terminal.comp_from f] |
| 59 | infer_instance |
| 60 | exact AlgebraicGeometry.SheafCohomology.Projective.BaseFiniteness.baseCohomologyFinite_of_orderedBaseCech f M U hU hUaff q |
| 61 | |
| 62 | @[instance_reducible] |
| 63 | def coefficientModule (M : X.Modules) (q : ℕ) : Module R (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M q) := by |
| 64 | letI := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M q |
| 65 | exact Module.compHom _ (Scheme.ΓSpecIso (CommRingCat.of R)).inv.hom |
| 66 | |
| 67 | def baseToCoefficientSemilinear (M : X.Modules) (q : ℕ) : |
| 68 | letI := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M q |
| 69 | letI := coefficientModule R f M q |
| 70 | AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M q →ₛₗ[(Scheme.ΓSpecIso (CommRingCat.of R)).hom.hom] AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M q := by |
| 71 | letI := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M q |
| 72 | letI := coefficientModule R f M q |
| 73 | refine { toFun := id, map_add' := fun _ _ => rfl, map_smul' := ?_ } |
| 74 | intro r x |
| 75 | change r • x = (Scheme.ΓSpecIso (CommRingCat.of R)).inv |
| 76 | ((Scheme.ΓSpecIso (CommRingCat.of R)).hom r) • x |
| 77 | have hr : (Scheme.ΓSpecIso (CommRingCat.of R)).inv |
| 78 | ((Scheme.ΓSpecIso (CommRingCat.of R)).hom r) = r := |
| 79 | ConcreteCategory.congr_hom (Iso.hom_inv_id (Scheme.ΓSpecIso (CommRingCat.of R))) r |
| 80 | rw [hr] |
| 81 | |
| 82 | theorem cohomology_finite [IsNoetherianRing R] [IsSeparated f] |
| 83 | (hprojective : Projectivity.Construction.ProjectiveOver R f) |
| 84 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (q : ℕ) : |
| 85 | letI := coefficientModule R f M q |
| 86 | Module.Finite R (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M q) := by |
| 87 | let := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M q |
| 88 | let := coefficientModule R f M q |
| 89 | let : Module.Finite Γ(Spec (CommRingCat.of R), ⊤) (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M q) := |
| 90 | base_cohomology_finite R f hprojective M q |
| 91 | exact Module.Finite.of_surjective (baseToCoefficientSemilinear R f M q) |
| 92 | Function.surjective_id |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.CoherentFiniteness |