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.WeightedFreeMapMatrix |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoproductMatrixConstruction |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistSectionCoordinates |
| 4 | |
| 5 | /-! # Graded Polynomial Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! Realizing homogeneous polynomial maps as actual maps between negative-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 |
| 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 : ℕ} (d : Fin r → ℕ) (e : Fin s → ℕ) |
| 23 | variable (f : (Fin s →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)) →ₗ[ |
| 24 | MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)] |
| 25 | (Fin r →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤))) |
| 26 | variable (hf : ∀ n x, x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading |
| 27 | Γ(Spec (CommRingCat.of R), ⊤) (fun k => (e k : ℤ)) n → |
| 28 | f x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading |
| 29 | Γ(Spec (CommRingCat.of R), ⊤) (fun i => (d i : ℤ)) n) |
| 30 | |
| 31 | def coordinateGradedPolynomialEntry (i : Fin r) (k : Fin s) : |
| 32 | TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k) ⟶ |
| 33 | TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i) := |
| 34 | if h : d i ≤ e k then |
| 35 | (NegativeTwistHomPolynomials.MvPolynomial.coordinateNegativeTwistHomEquivPolynomials (R := R) j (e k) (d i) h).symm |
| 36 | (WeightedFreeMapMatrix.weightedFreeMapPolynomial d e f hf i k) |
| 37 | else 0 |
| 38 | |
| 39 | def coordinateGradedPolynomialSheafMap : |
| 40 | (∐ fun k => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k)) ⟶ |
| 41 | (∐ fun i => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i)) := |
| 42 | CoproductMatrixConstruction.finiteCoproductMatrixHom |
| 43 | (fun k => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k)) |
| 44 | (fun i => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i)) |
| 45 | (coordinateGradedPolynomialEntry j d e f hf) |
| 46 | |
| 47 | theorem coordinateGradedPolynomialSheafMap_component (i : Fin r) (k : Fin s) : |
| 48 | Sigma.ι (fun k => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k)) k ≫ |
| 49 | coordinateGradedPolynomialSheafMap j d e f hf ≫ |
| 50 | CoproductMatrixComponents.finiteCoproductProjection (fun i => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i)) i = |
| 51 | coordinateGradedPolynomialEntry j d e f hf i k := |
| 52 | CoproductMatrixConstruction.finiteCoproductMatrixHom_component _ _ _ i k |
| 53 | |
| 54 | theorem coordinateGradedPolynomialEntry_sections (i : Fin r) (k : Fin s) (n : ℕ) |
| 55 | (hd : d i ≤ n) (he : e k ≤ n) |
| 56 | (x : (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 57 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj |
| 58 | (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k)))) : |
| 59 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistPolynomialSectionEquiv j (d i) n hd |
| 60 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 61 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 62 | (coordinateGradedPolynomialEntry j d e f hf i k)) x)).val = |
| 63 | f (Finsupp.single k 1) i * (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistPolynomialSectionEquiv j (e k) n he x).val := by |
| 64 | by_cases h : d i ≤ e k |
| 65 | · rw [coordinateGradedPolynomialEntry, dite_eq_left h] |
| 66 | rw [NegativeTwistSectionCoordinates.MvPolynomial.negativeTwistPolynomialSectionEquiv_map j (e k) (d i) n h he hd, |
| 67 | Equiv.apply_symm_apply, WeightedFreeMapMatrix.weightedFreeMapPolynomial_val] |
| 68 | · rw [coordinateGradedPolynomialEntry, dite_eq_right h, |
| 69 | WeightedFreeMapMatrix.weightedFreeMapCoefficient_zero d e f hf i k (lt_of_not_ge h)] |
| 70 | simp |
| 71 | |
| 72 | end MvPolynomial |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialMap |