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.NegativeTwistSectionCoordinates |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedCoproductComponents |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductProjectedMap |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistPolynomialMatrix |
| 5 | |
| 6 | /-! # Twisted Coproduct Polynomial Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedCoproductPolynomialMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | /-! Actual twisted coproduct maps are computed by their extracted polynomial matrices. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductProjectedMap |
| 19 | universe u |
| 20 | namespace MvPolynomial |
| 21 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra TwistedCoproductPolynomialSections.MvPolynomial.polynomialCoproductBiproducts |
| 23 | |
| 24 | theorem negativeTwistCoproductPolynomialSectionsIso_map_component |
| 25 | (j : σ) {r s : ℕ} (d : Fin r → ℕ) (e : Fin s → ℕ) |
| 26 | (hde : ∀ i k, d i ≤ e k) (n : ℕ) (hd : ∀ i, d i ≤ n) (he : ∀ k, e k ≤ n) |
| 27 | (f : (∐ fun k => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k)) ⟶ |
| 28 | (∐ fun i => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i))) |
| 29 | (x : (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 30 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj |
| 31 | (∐ fun k => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k)))) (i : Fin r) : |
| 32 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j d n hd).hom |
| 33 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 34 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map f) x)).val i = |
| 35 | ∑ k, (NegativeTwistPolynomialMatrix.MvPolynomial.coordinateNegativeTwistPolynomialMatrix j d e hde f i k).val * |
| 36 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j e n he).hom x).val k := by |
| 37 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 38 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 39 | let : F.Additive := Functor.additive_of_preserves_binary_products F |
| 40 | let : (F ⋙ G).Additive := by dsimp only [G]; infer_instance |
| 41 | let S := fun k : Fin s => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k) |
| 42 | let T := fun l : Fin r => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d l) |
| 43 | let w : (F ⋙ G).obj (T i) →ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 44 | MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤) := |
| 45 | (homogeneousSubmodule σ Γ(Spec (CommRingCat.of R), ⊤) (n - d i)).subtype.comp |
| 46 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistPolynomialSectionEquiv (R := R) j (d i) n (hd i)).toLinearMap |
| 47 | have h := AdditiveCoproductProjectedMap.additiveCoproductMatrix_projected (F ⋙ G) S T f x i w |
| 48 | dsimp +instances only [w, F, G, S, T, Functor.comp_obj, Functor.comp_map, |
| 49 | LinearMap.comp_apply, Submodule.subtype_apply, LinearEquiv.coe_coe] at h |
| 50 | rw [TwistedCoproductComponents.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso_component] |
| 51 | rw [h] |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro k _ |
| 54 | have hk := NegativeTwistSectionCoordinates.MvPolynomial.negativeTwistPolynomialSectionEquiv_map (R := R) j (e k) (d i) n |
| 55 | (hde i k) (he k) (hd i) |
| 56 | (Sigma.ι S k ≫ f ≫ CoproductMatrixComponents.finiteCoproductProjection T i) |
| 57 | ((F ⋙ G).map (CoproductMatrixComponents.finiteCoproductProjection S k) x) |
| 58 | rw [TwistedCoproductComponents.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso_component] |
| 59 | dsimp +instances only [F, G, S, T, Functor.comp_obj, Functor.comp_map] at hk |
| 60 | convert hk using 1 |
| 61 | dsimp +instances only [NegativeTwistPolynomialMatrix.MvPolynomial.coordinateNegativeTwistPolynomialMatrix, CoproductMatrixComponents.finiteCoproductEncodedMatrix] |
| 62 | |
| 63 | end MvPolynomial |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedCoproductPolynomialMap |