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.SheafCohomology.Projective.TwoStagePresentation |
| 2 | |
| 3 | /-! # Negative Presentation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativePresentation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual coherent sheaves admit two-stage negative-twist presentations |
| 10 | whose exponents all exceed any prescribed bound. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 19 | {σ : Type} [Fintype σ] |
| 20 | |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | |
| 23 | theorem exists_presentation_above |
| 24 | (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 25 | (j : σ) (B : ℕ) : |
| 26 | ∃ P : AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M, |
| 27 | (∀ k, B ≤ P.rowDegree k) ∧ (∀ l, B ≤ P.columnDegree l) := by |
| 28 | classical |
| 29 | obtain ⟨r, d, f, hd, hf⟩ := AlgebraicGeometry.SheafCohomology.Projective.BoundedNegativeQuotient.MvPolynomial.exists_fin_fixedCoordinateNegativeTwist_quotient_above M j B |
| 30 | let Q := ∐ fun k : Fin r => AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d k) |
| 31 | have : Q.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent j d |
| 32 | have : Q.IsFiniteType := AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType j d |
| 33 | have : LocallyOfFiniteType (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) := |
| 34 | AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ_locallyOfFiniteType |
| 35 | have : IsLocallyNoetherian (Proj (homogeneousSubmodule σ R)) := |
| 36 | LocallyOfFiniteType.isLocallyNoetherian (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 37 | have : (kernel f).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_kernel f |
| 38 | have : (kernel f).IsFiniteType := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isFiniteType_kernel f |
| 39 | let D := max B (Finset.univ.sup d) |
| 40 | obtain ⟨s, e, p, he, hp⟩ := AlgebraicGeometry.SheafCohomology.Projective.BoundedNegativeQuotient.MvPolynomial.exists_fin_fixedCoordinateNegativeTwist_quotient_above (kernel f) j D |
| 41 | have : Epi p := hp |
| 42 | let g := p ≫ kernel.ι f |
| 43 | have hg : g ≫ f = 0 := by simp [g] |
| 44 | have hex : (ShortComplex.mk g f hg).Exact := by |
| 45 | rw [ShortComplex.exact_iff_epi_kernel_lift] |
| 46 | have heq : kernel.lift f g hg = p := by |
| 47 | apply (cancel_mono (kernel.ι f)).mp |
| 48 | simp [g] |
| 49 | rw [heq] |
| 50 | infer_instance |
| 51 | refine ⟨{ rows := r |
| 52 | columns := s |
| 53 | rowDegree := d |
| 54 | columnDegree := e |
| 55 | projection := f |
| 56 | relations := g |
| 57 | epi := hf |
| 58 | zero := hg |
| 59 | exact := hex |
| 60 | degree_order := ?_ }, hd, ?_⟩ |
| 61 | · intro k l |
| 62 | exact (Finset.le_sup (f := d) (Finset.mem_univ k)).trans ((le_max_right B _).trans (he l)) |
| 63 | · intro l |
| 64 | exact (le_max_left B _).trans (he l) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativePresentation |