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.GradedPolynomialComplex |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ExactLinearCoordinates |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedSectionsDetectExact |
| 4 | |
| 5 | /-! # Graded Polynomial Exact -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialExact |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! Exact homogeneous polynomial sequences give exact sequences of actual twist sheaves. -/ |
| 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 OAI.AlgebraicGeometry.SheafCohomology.Projective.ExactLinearCoordinates |
| 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_sections_exact (hex : Function.Exact g f) |
| 33 | (n : ℕ) (hd : ∀ i, d i ≤ n) (he : ∀ k, e k ≤ n) (hw : ∀ k, w k ≤ n) : |
| 34 | Function.Exact |
| 35 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 36 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 37 | (GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j e w g hg))).hom |
| 38 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 39 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 40 | (GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j d e f hf))).hom := by |
| 41 | apply ExactLinearCoordinates.exact_of_linearEquiv_coordinates |
| 42 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := R) j w n hw).toLinearEquiv |
| 43 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := R) j e n he).toLinearEquiv |
| 44 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := R) j d n hd).toLinearEquiv |
| 45 | _ _ |
| 46 | (HilbertScheme.Presentations.Graded.Exactness.GradedModules.degreeMap _ _ (g.restrictScalars Γ(Spec (CommRingCat.of R), ⊤)) hg (n : ℤ)) |
| 47 | (HilbertScheme.Presentations.Graded.Exactness.GradedModules.degreeMap _ _ (f.restrictScalars Γ(Spec (CommRingCat.of R), ⊤)) hf (n : ℤ)) |
| 48 | · intro x |
| 49 | apply Subtype.ext |
| 50 | rw [Iso.toLinearEquiv_apply, Iso.toLinearEquiv_apply] |
| 51 | convert GradedPolynomialMapSections.MvPolynomial.coordinateGradedPolynomialSheafMap_sections (R := R) j e w g hg n he hw x using 1 |
| 52 | rfl |
| 53 | · intro x |
| 54 | apply Subtype.ext |
| 55 | rw [Iso.toLinearEquiv_apply, Iso.toLinearEquiv_apply] |
| 56 | convert GradedPolynomialMapSections.MvPolynomial.coordinateGradedPolynomialSheafMap_sections (R := R) j d e f hf n hd he x using 1 |
| 57 | rfl |
| 58 | · exact HilbertScheme.Presentations.Graded.Exactness.GradedModules.degreeMap_exact _ _ _ |
| 59 | (g.restrictScalars Γ(Spec (CommRingCat.of R), ⊤)) |
| 60 | (f.restrictScalars Γ(Spec (CommRingCat.of R), ⊤)) hg hf hex (n : ℤ) |
| 61 | |
| 62 | def coordinateGradedPolynomialShortComplex [IsNoetherianRing R] (hfg : f.comp g = 0) : |
| 63 | ShortComplex (Proj (homogeneousSubmodule σ R)).Modules := |
| 64 | ShortComplex.mk (GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j e w g hg) |
| 65 | (GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j d e f hf) |
| 66 | (GradedPolynomialComplex.MvPolynomial.coordinateGradedPolynomialSheafMap_comp_zero j d e w f g hf hg hfg) |
| 67 | |
| 68 | theorem coordinateGradedPolynomialShortComplex_exact [IsNoetherianRing R] |
| 69 | (hfg : f.comp g = 0) (hex : Function.Exact g f) : |
| 70 | (coordinateGradedPolynomialShortComplex j d e w f g hf hg hfg).Exact := by |
| 71 | have := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent (R := R) j w |
| 72 | have := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent (R := R) j e |
| 73 | have := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType (R := R) j e |
| 74 | have := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent (R := R) j d |
| 75 | let b := Finset.univ.sup d + Finset.univ.sup e + Finset.univ.sup w |
| 76 | apply TwistedSectionsDetectExact.MvPolynomial.finiteType_exact_of_eventually_twistedSections_exact _ _ _ j b |
| 77 | intro n hn |
| 78 | have hd (i : Fin r) : d i ≤ n := by |
| 79 | have := Finset.le_sup (f := d) (Finset.mem_univ i) |
| 80 | dsimp only [b] at hn |
| 81 | omega |
| 82 | have he (i : Fin s) : e i ≤ n := by |
| 83 | have := Finset.le_sup (f := e) (Finset.mem_univ i) |
| 84 | dsimp only [b] at hn |
| 85 | omega |
| 86 | have hw (i : Fin t) : w i ≤ n := by |
| 87 | have := Finset.le_sup (f := w) (Finset.mem_univ i) |
| 88 | dsimp only [b] at hn |
| 89 | omega |
| 90 | exact coordinateGradedPolynomialSheafMap_sections_exact j d e w f g hf hg hex n hd he hw |
| 91 | |
| 92 | end MvPolynomial |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialExact |