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.KernelTowerResolution |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativePresentation |
| 3 | |
| 4 | /-! # Negative Resolution -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeResolution |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual coherent sheaves on projective space admit augmented resolutions |
| 11 | by finite sums of negative twists above any prescribed bound. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 18 | {σ : Type} [Fintype σ] |
| 19 | |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | structure State where |
| 23 | module : (Proj (homogeneousSubmodule σ R)).Modules |
| 24 | quasicoherent : module.IsQuasicoherent |
| 25 | finiteType : module.IsFiniteType |
| 26 | |
| 27 | attribute [instance] State.quasicoherent State.finiteType |
| 28 | |
| 29 | structure Presentation (M : (Proj (homogeneousSubmodule σ R)).Modules) (j : σ) (B : ℕ) where |
| 30 | count : ℕ |
| 31 | degree : Fin count → ℕ |
| 32 | degree_bound : ∀ i, B ≤ degree i |
| 33 | projection : (∐ fun i : Fin count => AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (degree i)) ⟶ M |
| 34 | epi : Epi projection |
| 35 | |
| 36 | attribute [instance] Presentation.epi |
| 37 | |
| 38 | namespace Presentation |
| 39 | |
| 40 | variable {M : (Proj (homogeneousSubmodule σ R)).Modules} {j : σ} {B : ℕ} (Q : Presentation M j B) |
| 41 | |
| 42 | abbrev source := ∐ fun i : Fin Q.count => AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (Q.degree i) |
| 43 | |
| 44 | instance : Q.source.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent j Q.degree |
| 45 | |
| 46 | instance : Q.source.IsFiniteType := AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType j Q.degree |
| 47 | |
| 48 | end Presentation |
| 49 | |
| 50 | def presentation (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B : ℕ) : |
| 51 | Presentation M j B := Classical.choice <| by |
| 52 | obtain ⟨r, d, f, hd, hf⟩ := AlgebraicGeometry.SheafCohomology.Projective.BoundedNegativeQuotient.MvPolynomial.exists_fin_fixedCoordinateNegativeTwist_quotient_above M j B |
| 53 | exact ⟨⟨r, d, hd, f, hf⟩⟩ |
| 54 | |
| 55 | local instance : LocallyOfFiniteType (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) := |
| 56 | AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ_locallyOfFiniteType |
| 57 | |
| 58 | local instance : IsLocallyNoetherian (Proj (homogeneousSubmodule σ R)) := |
| 59 | LocallyOfFiniteType.isLocallyNoetherian (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 60 | |
| 61 | def next (j : σ) (B : ℕ) (s : State (R := R) (σ := σ)) : State (R := R) (σ := σ) where |
| 62 | module := kernel (presentation s.module j B).projection |
| 63 | quasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_kernel (presentation s.module j B).projection |
| 64 | finiteType := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isFiniteType_kernel (presentation s.module j B).projection |
| 65 | |
| 66 | def state (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B : ℕ) : |
| 67 | ℕ → State (R := R) (σ := σ) |
| 68 | | 0 => ⟨M, inferInstance, inferInstance⟩ |
| 69 | | n + 1 => next j B (state M j B n) |
| 70 | |
| 71 | def tower (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B : ℕ) : |
| 72 | KernelTowerResolution.Tower (C := (Proj (homogeneousSubmodule σ R)).Modules) where |
| 73 | object n := (NegativeResolution.state M j B n).module |
| 74 | term n := (presentation (NegativeResolution.state M j B n).module j B).source |
| 75 | projection n := (presentation (NegativeResolution.state M j B n).module j B).projection |
| 76 | epi n := (presentation (NegativeResolution.state M j B n).module j B).epi |
| 77 | kernelIso _n := Iso.refl _ |
| 78 | |
| 79 | abbrev complex (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B : ℕ) := |
| 80 | (tower M j B).complex |
| 81 | |
| 82 | def augmentation (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B : ℕ) : |
| 83 | NegativeResolution.complex M j B ⟶ (ChainComplex.single₀ (Proj (homogeneousSubmodule σ R)).Modules).obj M := |
| 84 | (tower M j B).augmentation |
| 85 | |
| 86 | instance (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B : ℕ) : |
| 87 | QuasiIso (NegativeResolution.augmentation M j B) := |
| 88 | inferInstanceAs (QuasiIso (tower M j B).augmentation) |
| 89 | |
| 90 | def termIso (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B n : ℕ) : |
| 91 | (NegativeResolution.complex M j B).X n ≅ |
| 92 | ∐ fun i : Fin (presentation (NegativeResolution.state M j B n).module j B).count => |
| 93 | AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j |
| 94 | ((presentation (NegativeResolution.state M j B n).module j B).degree i) := Iso.refl _ |
| 95 | |
| 96 | theorem degree_bound (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B n : ℕ) |
| 97 | (i : Fin (presentation (NegativeResolution.state M j B n).module j B).count) : |
| 98 | B ≤ (presentation (NegativeResolution.state M j B n).module j B).degree i := |
| 99 | (presentation (NegativeResolution.state M j B n).module j B).degree_bound i |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeResolution |