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.TwistedSectionsDetectMono |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoherentQuotientFiniteType |
| 3 | |
| 4 | /-! # Twisted Sections Detect Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.MvPolynomial |
| 11 | |
| 12 | /-! Eventual surjectivity and bijectivity on positive-twist sections detect sheaf maps. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry MonoidalCategory |
| 16 | universe u |
| 17 | namespace MvPolynomial |
| 18 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | |
| 21 | noncomputable local instance twistedIsoDetectionMonoidal (X : Scheme.{u}) : |
| 22 | MonoidalCategory X.Modules := Monoidal.Scheme.Modules.monoidalCategory X |
| 23 | |
| 24 | theorem finiteType_epi_of_eventually_twistedSections_surjective [IsNoetherianRing R] |
| 25 | {M N : (Proj (homogeneousSubmodule σ R)).Modules} |
| 26 | [M.IsQuasicoherent] [N.IsQuasicoherent] [N.IsFiniteType] |
| 27 | (f : M ⟶ N) (j : σ) (b : ℕ) |
| 28 | (hb : ∀ n : ℕ, b ≤ n → Function.Surjective |
| 29 | (((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map f).app ⊤)) : |
| 30 | Epi f := by |
| 31 | have := Quasicoherent.Scheme.Modules.isQuasicoherent_cokernel f |
| 32 | have := CoherentQuotientFiniteType.Scheme.Modules.isFiniteType_cokernel f |
| 33 | obtain ⟨c, hc⟩ := GlobalSectionsSurjective.MvPolynomial.finiteType_epi_eventually_projectiveTwist_sections_surjective (cokernel.π f) j |
| 34 | apply Preadditive.epi_of_isZero_cokernel f |
| 35 | apply TwistedSectionsDetectZero.MvPolynomial.finiteType_isZero_of_eventually_twistedSections_subsingleton (cokernel f) j (max b c) |
| 36 | intro n hn |
| 37 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 38 | have hcomp : F.map f ≫ F.map (cokernel.π f) = 0 := by |
| 39 | rw [← F.map_comp, cokernel.condition, F.map_zero] |
| 40 | have hzero (z : Γ(F.obj (cokernel f), ⊤)) : z = 0 := by |
| 41 | obtain ⟨y, rfl⟩ := hc n ((le_max_right b c).trans hn) z |
| 42 | obtain ⟨x, rfl⟩ := hb n ((le_max_left b c).trans hn) y |
| 43 | change (F.map f ≫ F.map (cokernel.π f)).app ⊤ x = 0 |
| 44 | rw [hcomp] |
| 45 | rfl |
| 46 | exact ⟨fun x y => (hzero x).trans (hzero y).symm⟩ |
| 47 | |
| 48 | theorem finiteType_isIso_of_eventually_twistedSections_bijective [IsNoetherianRing R] |
| 49 | {M N : (Proj (homogeneousSubmodule σ R)).Modules} |
| 50 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 51 | (f : M ⟶ N) (j : σ) (b : ℕ) |
| 52 | (hb : ∀ n : ℕ, b ≤ n → Function.Bijective |
| 53 | (((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map f).app ⊤)) : |
| 54 | IsIso f := by |
| 55 | have := TwistedSectionsDetectMono.MvPolynomial.finiteType_mono_of_eventually_twistedSections_injective f j b (fun n hn => (hb n hn).1) |
| 56 | have := finiteType_epi_of_eventually_twistedSections_surjective f j b (fun n hn => (hb n hn).2) |
| 57 | exact isIso_of_mono_of_epi f |
| 58 | |
| 59 | end MvPolynomial |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectIso |