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.AdditiveCoproductCoordinates |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.WeightedFreeDegreeComponents |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistShiftIso |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PositiveTwistEquivalence |
| 6 | |
| 7 | /-! # Twisted Coproduct Polynomial Sections -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedCoproductPolynomialSections |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | /-! Actual sections of sufficiently twisted negative-twist sums are weighted polynomial pieces. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 20 | universe u |
| 21 | namespace MvPolynomial |
| 22 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | local instance polynomialCoproductBiproducts (X : Scheme.{u}) : |
| 25 | HasFiniteBiproducts X.Modules := HasFiniteBiproducts.of_hasFiniteProducts |
| 26 | |
| 27 | def negativeTwistCoproductTensorIso (j : σ) {r : ℕ} (d : Fin r → ℕ) |
| 28 | (n : ℕ) (hd : ∀ i, d i ≤ n) : |
| 29 | (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj |
| 30 | (∐ fun i => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i)) ≅ |
| 31 | (∐ fun i => TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j (n - d i)) := |
| 32 | PreservesCoproduct.iso |
| 33 | (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor _ ≪≫ |
| 34 | Sigma.mapIso (fun i => |
| 35 | TwistShiftIso.MvPolynomial.coordinateHyperplaneIdealModulePowerTensorPoleSheafPowerIsoOfLE (R := R) j (d i) n (hd i)) |
| 36 | |
| 37 | def negativeTwistPolynomialSectionEquiv (j : σ) (a N : ℕ) (ha : a ≤ N) : |
| 38 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 39 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j N).functor.obj |
| 40 | (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j a)) ≃ₗ[ |
| 41 | Γ(Spec (CommRingCat.of R), ⊤)] |
| 42 | homogeneousSubmodule σ Γ(Spec (CommRingCat.of R), ⊤) (N - a) := |
| 43 | (((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).mapIso |
| 44 | (TwistShiftIso.MvPolynomial.coordinateHyperplaneIdealModulePowerTensorPoleSheafPowerIsoOfLE (R := R) j a N ha)).toLinearEquiv).trans |
| 45 | (DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j (N - a)) |
| 46 | |
| 47 | theorem negativeTwistPolynomialSectionEquiv_apply (j : σ) (a N : ℕ) (ha : a ≤ N) |
| 48 | (x : (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 49 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j N).functor.obj |
| 50 | (TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j a))) : |
| 51 | negativeTwistPolynomialSectionEquiv j a N ha x = |
| 52 | DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j (N - a) |
| 53 | ((TwistShiftIso.MvPolynomial.coordinateHyperplaneIdealModulePowerTensorPoleSheafPowerIsoOfLE (R := R) j a N ha).hom.val.app |
| 54 | (op ⊤) x) := by |
| 55 | unfold negativeTwistPolynomialSectionEquiv |
| 56 | simp only [LinearEquiv.trans_apply] |
| 57 | congr 1 |
| 58 | |
| 59 | def negativeTwistCoproductPolynomialSectionsIso (j : σ) {r : ℕ} (d : Fin r → ℕ) |
| 60 | (n : ℕ) (hd : ∀ i, d i ≤ n) : |
| 61 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 62 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj |
| 63 | (∐ fun i => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i))) ≅ |
| 64 | ModuleCat.of Γ(Spec (CommRingCat.of R), ⊤) |
| 65 | (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 66 | (fun i => (d i : ℤ)) (n : ℤ)) := by |
| 67 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 68 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 69 | letI : F.Additive := Functor.additive_of_preserves_binary_products F |
| 70 | letI : (F ⋙ G).Additive := by |
| 71 | dsimp only [G] |
| 72 | infer_instance |
| 73 | let M := fun i : Fin r => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i) |
| 74 | let V := fun i : Fin r => ModuleCat.of Γ(Spec (CommRingCat.of R), ⊤) |
| 75 | (homogeneousSubmodule σ Γ(Spec (CommRingCat.of R), ⊤) (n - d i)) |
| 76 | exact ((AdditiveCoproductCoordinates.additiveCoproductCoordinates (F ⋙ G) M V |
| 77 | (fun i => negativeTwistPolynomialSectionEquiv j (d i) n (hd i))).trans |
| 78 | (WeightedFreeDegreeComponents.weightedFreeDegreeComponentsEquiv d n hd).symm).toModuleIso |
| 79 | |
| 80 | end MvPolynomial |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedCoproductPolynomialSections |