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.GradedPolynomialMapSections |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectMorphism |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation |
| 4 | |
| 5 | /-! # Graded Polynomial Complex -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! Compositions vanishing in a homogeneous polynomial sequence vanish in its actual sheaf realization. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | universe u |
| 19 | namespace MvPolynomial |
| 20 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra TwistedCoproductPolynomialSections.MvPolynomial.polynomialCoproductBiproducts |
| 22 | variable (j : σ) {r s t : ℕ} (d : Fin r → ℕ) (e : Fin s → ℕ) (w : Fin t → ℕ) |
| 23 | variable (f : (Fin s →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)) →ₗ[ |
| 24 | MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)] (Fin r →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤))) |
| 25 | variable (g : (Fin t →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)) →ₗ[ |
| 26 | MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)] (Fin s →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤))) |
| 27 | variable (hf : ∀ q x, x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading Γ(Spec (CommRingCat.of R), ⊤) (fun k => (e k : ℤ)) q → |
| 28 | f x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading Γ(Spec (CommRingCat.of R), ⊤) (fun i => (d i : ℤ)) q) |
| 29 | variable (hg : ∀ q x, x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading Γ(Spec (CommRingCat.of R), ⊤) (fun k => (w k : ℤ)) q → |
| 30 | g x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading Γ(Spec (CommRingCat.of R), ⊤) (fun i => (e i : ℤ)) q) |
| 31 | |
| 32 | theorem coordinateGradedPolynomialSheafMap_comp_sections_zero (hfg : f.comp g = 0) |
| 33 | (n : ℕ) (hd : ∀ i, d i ≤ n) (he : ∀ k, e k ≤ n) (hw : ∀ k, w k ≤ n) |
| 34 | (x : (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 35 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj |
| 36 | (∐ fun k => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (w k)))) : |
| 37 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 38 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 39 | (GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j e w g hg ≫ GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j d e f hf)) x = 0 := by |
| 40 | apply (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j d n hd).toLinearEquiv.injective |
| 41 | rw [map_zero] |
| 42 | apply Subtype.ext |
| 43 | rw [Iso.toLinearEquiv_apply] |
| 44 | rw [Functor.map_comp, Functor.map_comp, ModuleCat.comp_apply, |
| 45 | GradedPolynomialMapSections.MvPolynomial.coordinateGradedPolynomialSheafMap_sections j d e f hf n hd he, |
| 46 | GradedPolynomialMapSections.MvPolynomial.coordinateGradedPolynomialSheafMap_sections j e w g hg n he hw] |
| 47 | exact LinearMap.congr_fun hfg ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j w n hw).hom x).val |
| 48 | |
| 49 | theorem coordinateGradedPolynomialSheafMap_comp_zero [IsNoetherianRing R] (hfg : f.comp g = 0) : |
| 50 | GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j e w g hg ≫ GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j d e f hf = 0 := by |
| 51 | have := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent (R := R) j w |
| 52 | have := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType (R := R) j w |
| 53 | have := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent (R := R) j d |
| 54 | let b := Finset.univ.sup d + Finset.univ.sup e + Finset.univ.sup w |
| 55 | apply TwistedSectionsDetectMorphism.MvPolynomial.finiteType_hom_eq_zero_of_eventually_twistedSections_eq_zero _ j b |
| 56 | intro n hn x |
| 57 | have hd (i : Fin r) : d i ≤ n := by |
| 58 | have := Finset.le_sup (f := d) (Finset.mem_univ i) |
| 59 | dsimp only [b] at hn |
| 60 | omega |
| 61 | have he (i : Fin s) : e i ≤ n := by |
| 62 | have := Finset.le_sup (f := e) (Finset.mem_univ i) |
| 63 | dsimp only [b] at hn |
| 64 | omega |
| 65 | have hw (i : Fin t) : w i ≤ n := by |
| 66 | have := Finset.le_sup (f := w) (Finset.mem_univ i) |
| 67 | dsimp only [b] at hn |
| 68 | omega |
| 69 | exact coordinateGradedPolynomialSheafMap_comp_sections_zero j d e w f g hf hg hfg n hd he hw x |
| 70 | |
| 71 | end MvPolynomial |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialComplex |