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.GradedPolynomialMap |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistedCoproductComponents |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductProjectedMap |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PolynomialMatrixComponents |
| 5 | |
| 6 | /-! # Graded Polynomial Map Sections -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialMapSections |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | /-! The realized sheaf map acts on actual twisted sections by the original graded map. -/ |
| 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 |
| 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 coordinateGradedPolynomialSheafMap_sections (j : σ) {r s : ℕ} |
| 25 | (d : Fin r → ℕ) (e : Fin s → ℕ) |
| 26 | (f : (Fin s →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)) →ₗ[ |
| 27 | MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤)] |
| 28 | (Fin r →₀ MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤))) |
| 29 | (hf : ∀ q x, x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading Γ(Spec (CommRingCat.of R), ⊤) (fun k => (e k : ℤ)) q → |
| 30 | f x ∈ HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading Γ(Spec (CommRingCat.of R), ⊤) (fun i => (d i : ℤ)) q) |
| 31 | (n : ℕ) (hd : ∀ i, d i ≤ n) (he : ∀ k, e k ≤ n) |
| 32 | (x : (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 33 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj |
| 34 | (∐ fun k => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k)))) : |
| 35 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j d n hd).hom |
| 36 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 37 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 38 | (GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j d e f hf)) x)).val = |
| 39 | f ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j e n he).hom x).val := by |
| 40 | apply Finsupp.ext |
| 41 | intro i |
| 42 | have hrow := PolynomialMatrixComponents.homogeneousPolynomialMatrixMap_apply d e (WeightedFreeMapMatrix.weightedFreeMapPolynomial d e f hf) |
| 43 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j e n he).hom x).val i |
| 44 | rw [WeightedFreeMapMatrix.homogeneousPolynomialMatrixMap_weightedFreeMapPolynomial] at hrow |
| 45 | simp only [WeightedFreeMapMatrix.weightedFreeMapPolynomial_val] at hrow |
| 46 | rw [hrow] |
| 47 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 48 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 49 | let : F.Additive := Functor.additive_of_preserves_binary_products F |
| 50 | let : (F ⋙ G).Additive := by dsimp only [G]; infer_instance |
| 51 | let S := fun k : Fin s => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (e k) |
| 52 | let T := fun l : Fin r => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d l) |
| 53 | let w : (F ⋙ G).obj (T i) →ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 54 | MvPolynomial σ Γ(Spec (CommRingCat.of R), ⊤) := |
| 55 | (homogeneousSubmodule σ Γ(Spec (CommRingCat.of R), ⊤) (n - d i)).subtype.comp |
| 56 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistPolynomialSectionEquiv (R := R) j (d i) n (hd i)).toLinearMap |
| 57 | have h := AdditiveCoproductProjectedMap.additiveCoproductMatrix_projected (F ⋙ G) S T |
| 58 | (GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap j d e f hf) x i w |
| 59 | dsimp +instances only [w, F, G, S, T, Functor.comp_obj, Functor.comp_map, |
| 60 | LinearMap.comp_apply, Submodule.subtype_apply, LinearEquiv.coe_coe] at h |
| 61 | simp_rw [GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialSheafMap_component] at h |
| 62 | rw [TwistedCoproductComponents.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso_component, h] |
| 63 | apply Finset.sum_congr rfl |
| 64 | intro k _ |
| 65 | have hk := GradedPolynomialMap.MvPolynomial.coordinateGradedPolynomialEntry_sections j d e f hf i k n (hd i) (he k) |
| 66 | ((F ⋙ G).map (CoproductMatrixComponents.finiteCoproductProjection S k) x) |
| 67 | rw [TwistedCoproductComponents.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso_component] |
| 68 | dsimp +instances only [F, G, S, Functor.comp_obj, Functor.comp_map] at hk |
| 69 | convert hk using 1 |
| 70 | |
| 71 | end MvPolynomial |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedPolynomialMapSections |