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.PresentationGradedModule |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedQuotientDegreeMap |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.SurjectiveLinearCoordinates |
| 4 | |
| 5 | /-! # Presentation Quotient Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | /-! Natural quotient coordinates for the large twisted sections of an actual presentation. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry OAI.AlgebraicGeometry.SheafCohomology.Projective.SurjectiveLinearCoordinates |
| 18 | universe u |
| 19 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation |
| 20 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ R)).Modules} |
| 23 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 24 | |
| 25 | def TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.gradedCokernelProjectionDegree (n : ℕ) : |
| 26 | D.RowDegreeSpace n →ₗ[Γ(Spec (CommRingCat.of R), ⊤)] D.gradedCokernel.grading (n : ℤ) := |
| 27 | GradedModuleMk.GradedModuleQuotient.degreeMap D.generatorModule.grading D.polynomialMap.range (n : ℤ) |
| 28 | |
| 29 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.exists_gradedCokernel_sections_compatible (n : ℕ) |
| 30 | (hr : ∀ i, D.rowDegree i ≤ n) (hc : ∀ k, D.columnDegree k ≤ n) |
| 31 | (hex : Function.Exact |
| 32 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 33 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 34 | D.relations)).hom |
| 35 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 36 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 37 | D.projection)).hom) |
| 38 | (hs : Function.Surjective |
| 39 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 40 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 41 | D.projection)).hom) : |
| 42 | ∃ e : D.gradedCokernel.grading (n : ℤ) ≃ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 43 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 44 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj M), |
| 45 | ∀ x, e (D.gradedCokernelProjectionDegree n |
| 46 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := R) j D.rowDegree n hr).hom x)) = |
| 47 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 48 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 49 | D.projection) x := by |
| 50 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 51 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor |
| 52 | let er := (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := R) j D.rowDegree n hr).toLinearEquiv |
| 53 | let ec := (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := R) j D.columnDegree n hc).toLinearEquiv |
| 54 | let q := D.gradedCokernelProjectionDegree n |
| 55 | let p := (G.map (F.map D.projection)).hom.comp er.symm.toLinearMap |
| 56 | have hq : Function.Surjective q := |
| 57 | GradedQuotientDegreeMap.GradedModuleQuotient.degreeMap_surjective D.generatorModule.grading D.polynomialMap.range (n : ℤ) |
| 58 | have hp : Function.Surjective p := hs.comp er.symm.surjective |
| 59 | have he' := PresentedTargetCoordinates.presentationCoordinateMap_exact (G.map (F.map D.relations)).hom |
| 60 | (G.map (F.map D.projection)).hom hex ec er |
| 61 | have he : Function.Exact (D.sectionDegreeMap n hr hc) p := by |
| 62 | convert he' using 1 |
| 63 | funext x |
| 64 | dsimp only [TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.sectionDegreeMap, PresentedTargetCoordinates.presentationCoordinateMap, LinearMap.comp_apply, |
| 65 | LinearEquiv.coe_coe, er, ec, F, G] |
| 66 | have hk : q.ker = p.ker := by |
| 67 | rw [LinearMap.exact_iff.mp he, D.sectionDegreeMap_eq_polynomialDegreeMap n hr hc] |
| 68 | exact (GradedQuotientDegreeMap.GradedModuleQuotient.degreeMap_kernel D.generatorModule.grading |
| 69 | D.polynomialMap.range (n : ℤ)).trans |
| 70 | (GradedCokernelDegree.homogeneousDegreeMap_range _ _ D.polynomialMap D.polynomialMap_homogeneous (n : ℤ)).symm |
| 71 | refine ⟨SurjectiveLinearCoordinates.surjectiveLinearCoordinates q p hq hp hk, fun x => ?_⟩ |
| 72 | change SurjectiveLinearCoordinates.surjectiveLinearCoordinates q p hq hp hk (q (er x)) = _ |
| 73 | rw [SurjectiveLinearCoordinates.surjectiveLinearCoordinates_apply] |
| 74 | change (G.map (F.map D.projection)).hom (er.symm (er x)) = _ |
| 75 | rw [er.symm_apply_apply] |
| 76 | |
| 77 | theorem TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation.eventually_gradedCokernel_sections_compatible [IsNoetherianRing R] [M.IsQuasicoherent] : |
| 78 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 79 | ∃ (hr : ∀ i, D.rowDegree i ≤ n) |
| 80 | (e : D.gradedCokernel.grading (n : ℤ) ≃ₗ[Γ(Spec (CommRingCat.of R), ⊤)] |
| 81 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 82 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.obj M)), |
| 83 | ∀ x, e (D.gradedCokernelProjectionDegree n |
| 84 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := R) j D.rowDegree n hr).hom x)) = |
| 85 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).map |
| 86 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map |
| 87 | D.projection) x := by |
| 88 | let T := ShortComplex.mk D.relations D.projection D.zero |
| 89 | have : Epi T.g := D.epi |
| 90 | have : T.X₁.IsQuasicoherent := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent j D.columnDegree |
| 91 | have : T.X₁.IsFiniteType := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType j D.columnDegree |
| 92 | have : T.X₂.IsQuasicoherent := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_quasicoherent j D.rowDegree |
| 93 | have : T.X₂.IsFiniteType := TwoStagePresentation.MvPolynomial.negativeTwistCoproduct_finiteType j D.rowDegree |
| 94 | have : T.X₃.IsQuasicoherent := inferInstanceAs M.IsQuasicoherent |
| 95 | obtain ⟨b, hb⟩ := PresentationSections.MvPolynomial.finiteType_exact_eventually_projectiveTwist_sections T D.exact j |
| 96 | let B := max b (max (Finset.univ.sup D.rowDegree) (Finset.univ.sup D.columnDegree)) |
| 97 | refine ⟨B, fun n hn => ?_⟩ |
| 98 | have hr : ∀ i, D.rowDegree i ≤ n := fun i => |
| 99 | (Finset.le_sup (f := D.rowDegree) (Finset.mem_univ i)).trans |
| 100 | ((le_trans (le_max_left _ _) (le_max_right _ _)).trans hn) |
| 101 | have hc : ∀ k, D.columnDegree k ≤ n := fun k => |
| 102 | (Finset.le_sup (f := D.columnDegree) (Finset.mem_univ k)).trans |
| 103 | ((le_trans (le_max_right _ _) (le_max_right _ _)).trans hn) |
| 104 | obtain ⟨hex, hs⟩ := hb n ((le_max_left _ _).trans hn) |
| 105 | obtain ⟨e, he⟩ := D.exists_gradedCokernel_sections_compatible n hr hc hex hs |
| 106 | exact ⟨hr, e, he⟩ |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.SheafCohomology.Projective |