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.TwistedCoproductPolynomialSections |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentedTargetCoordinates |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentationSections |
| 4 | |
| 5 | /-! # Projective Section Degree Cokernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! An actual coherent sheaf's large twists are presented by maps on polynomial degree spaces. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentedTargetCoordinates |
| 17 | universe u |
| 18 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | |
| 21 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ R)).Modules} |
| 22 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 23 | |
| 24 | abbrev TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.RowDegreeSpace (n : ℕ) : Type u := |
| 25 | ↥(HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 26 | (fun i => (D.rowDegree i : ℤ)) (n : ℤ)) |
| 27 | |
| 28 | abbrev TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.ColumnDegreeSpace (n : ℕ) : Type u := |
| 29 | ↥(HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) Γ(Spec (CommRingCat.of R), ⊤) |
| 30 | (fun k => (D.columnDegree k : ℤ)) (n : ℤ)) |
| 31 | |
| 32 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.sectionDegreeMap (n : ℕ) (hr : ∀ i, D.rowDegree i ≤ n) |
| 33 | (hc : ∀ k, D.columnDegree k ≤ n) : |
| 34 | D.ColumnDegreeSpace n →ₗ[Γ(Spec (CommRingCat.of R), ⊤)] D.RowDegreeSpace n := |
| 35 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 36 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 37 | PresentedTargetCoordinates.presentationCoordinateMap (G.map (F.map D.relations)).hom |
| 38 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j D.columnDegree n hc).toLinearEquiv |
| 39 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j D.rowDegree n hr).toLinearEquiv |
| 40 | |
| 41 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.sectionDegreeRange (n : ℕ) (hr : ∀ i, D.rowDegree i ≤ n) |
| 42 | (hc : ∀ k, D.columnDegree k ≤ n) : |
| 43 | Submodule Γ(Spec (CommRingCat.of R), ⊤) (D.RowDegreeSpace n) := |
| 44 | (D.sectionDegreeMap n hr hc).range |
| 45 | |
| 46 | abbrev TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.SectionDegreeCokernel (n : ℕ) (hr : ∀ i, D.rowDegree i ≤ n) |
| 47 | (hc : ∀ k, D.columnDegree k ≤ n) := |
| 48 | PresentedTargetCoordinates.LinearCokernel (R := Γ(Spec (CommRingCat.of R), ⊤)) |
| 49 | (M := D.ColumnDegreeSpace n) (N := D.RowDegreeSpace n) (D.sectionDegreeMap n hr hc) |
| 50 | |
| 51 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.eventually_sectionDegreeCokernel [IsNoetherianRing R] [M.IsQuasicoherent] : |
| 52 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 53 | ∃ (hr : ∀ i, D.rowDegree i ≤ n) (hc : ∀ k, D.columnDegree k ≤ n), |
| 54 | Nonempty ((D.SectionDegreeCokernel n hr hc) ≃ₗ[ |
| 55 | Γ(Spec (CommRingCat.of R), ⊤)] |
| 56 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 57 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj M)) := by |
| 58 | let T := ShortComplex.mk D.relations D.projection D.zero |
| 59 | have : Epi T.g := D.epi |
| 60 | have : T.X₁.IsQuasicoherent := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent j D.columnDegree |
| 61 | have : T.X₁.IsFiniteType := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType j D.columnDegree |
| 62 | have : T.X₂.IsQuasicoherent := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent j D.rowDegree |
| 63 | have : T.X₂.IsFiniteType := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType j D.rowDegree |
| 64 | have : T.X₃.IsQuasicoherent := inferInstanceAs M.IsQuasicoherent |
| 65 | obtain ⟨b, hb⟩ := PresentationSections.MvPolynomial.finiteType_exact_eventually_projectiveTwist_sections T D.exact j |
| 66 | let B := max b (max (Finset.univ.sup D.rowDegree) (Finset.univ.sup D.columnDegree)) |
| 67 | refine ⟨B, fun n hn => ?_⟩ |
| 68 | have hr : ∀ i, D.rowDegree i ≤ n := fun i => |
| 69 | (Finset.le_sup (f := D.rowDegree) (Finset.mem_univ i)).trans |
| 70 | ((le_trans (le_max_left _ _) (le_max_right _ _)).trans hn) |
| 71 | have hc : ∀ k, D.columnDegree k ≤ n := fun k => |
| 72 | (Finset.le_sup (f := D.columnDegree) (Finset.mem_univ k)).trans |
| 73 | ((le_trans (le_max_right _ _) (le_max_right _ _)).trans hn) |
| 74 | obtain ⟨hex, hs⟩ := hb n ((le_max_left _ _).trans hn) |
| 75 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 76 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 77 | exact ⟨hr, hc, ⟨PresentedTargetCoordinates.presentedTargetCoordinatesEquiv |
| 78 | (G.map (F.map D.relations)).hom (G.map (F.map D.projection)).hom hex hs |
| 79 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j D.columnDegree n hc).toLinearEquiv |
| 80 | (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso j D.rowDegree n hr).toLinearEquiv⟩⟩ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.SheafCohomology.Projective |