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.TwistedCoproductPolynomialMap |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ProjectiveSectionDegreeCokernel |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentationDegreeMap |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentationCoordinateMapEquality |
| 5 | |
| 6 | /-! # Section Polynomial Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | /-! Identification of the actual section presentation with its polynomial degree 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 OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentationCoordinateMapEquality |
| 19 | universe u |
| 20 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra TwistedCoproductPolynomialSections.MvPolynomial.polynomialCoproductBiproducts |
| 22 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation |
| 23 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ R)).Modules} |
| 24 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 25 | |
| 26 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.sectionDegreeMap_eq_polynomialDegreeMap (n : ℕ) |
| 27 | (hr : ∀ i, D.rowDegree i ≤ n) (hc : ∀ k, D.columnDegree k ≤ n) : |
| 28 | D.sectionDegreeMap n hr hc = D.polynomialDegreeMap n := by |
| 29 | dsimp only [TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.sectionDegreeMap] |
| 30 | apply PresentationCoordinateMapEquality.presentationCoordinateMap_eq_of |
| 31 | intro x |
| 32 | apply Subtype.ext |
| 33 | apply Finsupp.ext |
| 34 | intro i |
| 35 | rw [CategoryTheory.Iso.toLinearEquiv_apply, CategoryTheory.Iso.toLinearEquiv_apply, |
| 36 | TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.polynomialDegreeMap_apply] |
| 37 | have h := TwistedCoproductPolynomialMap.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso_map_component (R := R) |
| 38 | j D.rowDegree D.columnDegree D.degree_order n hr hc D.relations x i |
| 39 | convert h using 1 |
| 40 | dsimp only [TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.polynomialMatrix] |
| 41 | |
| 42 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.sectionDegreeCokernelEquivDegreeCokernel (n : ℕ) |
| 43 | (hr : ∀ i, D.rowDegree i ≤ n) (hc : ∀ k, D.columnDegree k ≤ n) : |
| 44 | D.SectionDegreeCokernel n hr hc ≃ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 45 | D.DegreeCokernel (n : ℤ) := |
| 46 | (Submodule.quotEquivOfEq _ _ (congrArg LinearMap.range |
| 47 | (D.sectionDegreeMap_eq_polynomialDegreeMap n hr hc))).trans |
| 48 | (D.polynomialDegreeCokernelEquiv n) |
| 49 | |
| 50 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.eventually_degreeCokernel_sections [IsNoetherianRing R] [M.IsQuasicoherent] : |
| 51 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 52 | Nonempty (D.DegreeCokernel (n : ℤ) ≃ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 53 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 54 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj M)) := by |
| 55 | obtain ⟨b, hb⟩ := D.eventually_sectionDegreeCokernel |
| 56 | refine ⟨b, fun n hn => ?_⟩ |
| 57 | obtain ⟨hr, hc, ⟨e⟩⟩ := hb n hn |
| 58 | exact ⟨(D.sectionDegreeCokernelEquivDegreeCokernel n hr hc).symm.trans e⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.SheafCohomology.Projective |