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.TwistedSectionsDetectIso |
| 2 | |
| 3 | /-! # Twisted Sections Detect Exact -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectExact |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.MvPolynomial |
| 10 | |
| 11 | /-! Exactness on all sufficiently positive global sections detects actual sheaf exactness. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | namespace MvPolynomial |
| 17 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | |
| 20 | theorem finiteType_exact_of_eventually_twistedSections_exact [IsNoetherianRing R] |
| 21 | {L M N : (Proj (homogeneousSubmodule σ R)).Modules} |
| 22 | [L.IsQuasicoherent] [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] |
| 23 | (f : L ⟶ M) (g : M ⟶ N) (hfg : f ≫ g = 0) (j : σ) (b : ℕ) |
| 24 | (hb : ∀ n : ℕ, b ≤ n → Function.Exact |
| 25 | (((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map f).app ⊤) |
| 26 | (((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map g).app ⊤)) : |
| 27 | (ShortComplex.mk f g hfg).Exact := by |
| 28 | have : LocallyOfFiniteType (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) := |
| 29 | MvPolynomialClosure.MvPolynomial.homogeneousProjπ_locallyOfFiniteType |
| 30 | have : IsLocallyNoetherian (Proj (homogeneousSubmodule σ R)) := |
| 31 | LocallyOfFiniteType.isLocallyNoetherian (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 32 | have := Quasicoherent.Scheme.Modules.isQuasicoherent_kernel g |
| 33 | have := Quasicoherent.Scheme.Modules.isFiniteType_kernel g |
| 34 | apply (ShortComplex.mk f g hfg).exact_iff_epi_kernel_lift.mpr |
| 35 | apply TwistedSectionsDetectIso.MvPolynomial.finiteType_epi_of_eventually_twistedSections_surjective (kernel.lift g f hfg) j b |
| 36 | intro n hn x |
| 37 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 38 | let k := F.map (kernel.ι g) |
| 39 | have : Mono k := F.map_mono _ |
| 40 | have hcomp : k ≫ F.map g = 0 := by |
| 41 | dsimp only [k] |
| 42 | rw [← F.map_comp, kernel.condition, F.map_zero] |
| 43 | have hzero : (F.map g).app ⊤ (k.app ⊤ x) = 0 := by |
| 44 | change (k ≫ F.map g).app ⊤ x = 0 |
| 45 | rw [hcomp] |
| 46 | rfl |
| 47 | obtain ⟨y, hy⟩ := (hb n hn (k.app ⊤ x)).mp hzero |
| 48 | refine ⟨y, ?_⟩ |
| 49 | apply GlobalSectionsMono.globalSections_injective_of_mono k |
| 50 | change (F.map (kernel.lift g f hfg) ≫ F.map (kernel.ι g)).app ⊤ y = k.app ⊤ x |
| 51 | rw [← F.map_comp, kernel.lift_ι] |
| 52 | exact hy |
| 53 | |
| 54 | end MvPolynomial |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectExact |