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.ComplexPresentationAugmentation |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentationQuotientCoordinates |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedMinimalCoverDegree |
| 4 | |
| 5 | /-! # Complex Presentation Augmentation Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.ComplexPresentationAugmentationSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The original sheaf augmentation agrees with the minimal graded cover on twisted sections. -/ |
| 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 |
| 18 | open _root_.MvPolynomial |
| 19 | namespace ComplexResolution |
| 20 | variable {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra ComplexMinimalResolution.ComplexResolution.complexResolutionField |
| 22 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ ℂ)).Modules} |
| 23 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 24 | |
| 25 | theorem presentationLift_sections (n : ℕ) |
| 26 | (hr : ∀ i, D.rowDegree i ≤ n) |
| 27 | (hm : ∀ i, GradedMinimalFiniteCover.augmentationFinWeight D.gradedCokernel i ≤ n) |
| 28 | (x : (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).obj |
| 29 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.obj |
| 30 | (ComplexMinimalResolution.ComplexResolution.freeSheaf j D.gradedCokernel))) : |
| 31 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j D.rowDegree n hr).hom |
| 32 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).map |
| 33 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.map |
| 34 | (ComplexPresentationAugmentation.ComplexResolution.presentationLift D)) x)).val = |
| 35 | ComplexPresentationAugmentation.ComplexResolution.presentationLiftPolynomial D |
| 36 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j |
| 37 | (GradedMinimalFiniteCover.augmentationFinWeight D.gradedCokernel) n hm).hom x).val := by |
| 38 | dsimp only [ComplexMinimalResolution.ComplexResolution.freeSheaf] at x |
| 39 | unfold ComplexPresentationAugmentation.ComplexResolution.presentationLift |
| 40 | convert GradedPolynomialMapSections.MvPolynomial.coordinateGradedPolynomialSheafMap_sections (R := ℂ) j D.rowDegree |
| 41 | (GradedMinimalFiniteCover.augmentationFinWeight D.gradedCokernel) (ComplexPresentationAugmentation.ComplexResolution.presentationLiftPolynomial D) |
| 42 | (ComplexPresentationAugmentation.ComplexResolution.presentationLiftPolynomial_homogeneous D) n hr hm x using 1 |
| 43 | |
| 44 | theorem presentationAugmentation_sections (n : ℕ) |
| 45 | (hr : ∀ i, D.rowDegree i ≤ n) |
| 46 | (hm : ∀ i, GradedMinimalFiniteCover.augmentationFinWeight D.gradedCokernel i ≤ n) |
| 47 | (e : D.gradedCokernel.grading (n : ℤ) ≃ₗ[Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤)] |
| 48 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).obj |
| 49 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.obj M)) |
| 50 | (he : ∀ x, e (D.gradedCokernelProjectionDegree n |
| 51 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j D.rowDegree n hr).hom x)) = |
| 52 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).map |
| 53 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.map |
| 54 | D.projection) x) |
| 55 | (x : (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).obj |
| 56 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.obj |
| 57 | (ComplexMinimalResolution.ComplexResolution.freeSheaf j D.gradedCokernel))) : |
| 58 | e (GradedMinimalCoverDegree.augmentationFinProjectionDegree D.gradedCokernel D.gradedCokernel_nonnegative (n : ℤ) |
| 59 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j |
| 60 | (GradedMinimalFiniteCover.augmentationFinWeight D.gradedCokernel) n hm).hom x)) = |
| 61 | (AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).map |
| 62 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.map |
| 63 | (ComplexPresentationAugmentation.ComplexResolution.presentationAugmentation D)) x := by |
| 64 | dsimp only [ComplexMinimalResolution.ComplexResolution.freeSheaf] at x |
| 65 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ)) |
| 66 | let F := (PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor |
| 67 | let y := G.map (F.map (ComplexPresentationAugmentation.ComplexResolution.presentationLift D)) x |
| 68 | have hl := presentationLift_sections D n hr hm x |
| 69 | change e _ = G.map (F.map (ComplexPresentationAugmentation.ComplexResolution.presentationLift D ≫ D.projection)) x |
| 70 | rw [F.map_comp, G.map_comp, ModuleCat.comp_apply] |
| 71 | change e _ = G.map (F.map D.projection) y |
| 72 | rw [← he y] |
| 73 | congr 1 |
| 74 | apply Subtype.ext |
| 75 | change GradedMinimalFiniteCover.augmentationFinProjection D.gradedCokernel |
| 76 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j |
| 77 | (GradedMinimalFiniteCover.augmentationFinWeight D.gradedCokernel) n hm).hom x).val = |
| 78 | D.polynomialMap.range.mkQ |
| 79 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j D.rowDegree n hr).hom y).val |
| 80 | dsimp only [y, F, G] |
| 81 | have hq := congrArg D.polynomialMap.range.mkQ hl |
| 82 | have hp := LinearMap.congr_fun (ComplexPresentationAugmentation.ComplexResolution.presentationLiftPolynomial_projection D) |
| 83 | ((TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j |
| 84 | (GradedMinimalFiniteCover.augmentationFinWeight D.gradedCokernel) n hm).hom x).val |
| 85 | dsimp only [LinearMap.comp_apply] at hp |
| 86 | refine hp.symm.trans ?_ |
| 87 | convert hq.symm using 1 |
| 88 | |
| 89 | end ComplexResolution |
| 90 | |
| 91 | end |
| 92 | |
| 93 | /-! The minimal sheaf resolution presents the original sheaf on all sufficiently large twists. -/ |
| 94 | |
| 95 | set_option backward.isDefEq.respectTransparency false |
| 96 | set_option backward.isDefEq.respectTransparency.types false |
| 97 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 98 | open _root_.MvPolynomial |
| 99 | namespace ComplexResolution |
| 100 | variable {σ : Type} [Fintype σ] [LinearOrder σ] |
| 101 | attribute [local instance] MvPolynomial.gradedAlgebra ComplexMinimalResolution.ComplexResolution.complexResolutionField |
| 102 | variable {j : σ} {M : (Proj (homogeneousSubmodule σ ℂ)).Modules} |
| 103 | (D : TwoStagePresentation.MvPolynomial.CoordinateNegativeTwistPresentation j M) |
| 104 | |
| 105 | theorem presentationAugmentation_eventually_sections [M.IsQuasicoherent] : |
| 106 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 107 | Function.Exact |
| 108 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).map |
| 109 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.map |
| 110 | (ComplexMinimalResolution.ComplexResolution.differential j D.gradedCokernel D.gradedCokernel_nonnegative 0))).hom |
| 111 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).map |
| 112 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.map |
| 113 | (ComplexPresentationAugmentation.ComplexResolution.presentationAugmentation D))).hom ∧ |
| 114 | Function.Surjective |
| 115 | ((AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := ℂ) (σ := σ))).map |
| 116 | ((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := ℂ) j n).functor.map |
| 117 | (ComplexPresentationAugmentation.ComplexResolution.presentationAugmentation D))).hom := by |
| 118 | obtain ⟨b, hb⟩ := D.eventually_gradedCokernel_sections_compatible |
| 119 | let Q := D.gradedCokernel |
| 120 | let w := GradedMinimalFiniteCover.augmentationFinWeight Q |
| 121 | let v := GradedMinimalFiniteCover.augmentationFinWeight (GradedMinimalSyzygy.minimalGradedSyzygy Q) |
| 122 | refine ⟨b + Finset.univ.sup w + Finset.univ.sup v, fun n hn => ?_⟩ |
| 123 | have hn' : b ≤ n := by omega |
| 124 | obtain ⟨hr, e, he⟩ := hb n hn' |
| 125 | have hw (i : Fin (GradedMinimalFiniteCover.augmentationRank Q)) : w i ≤ n := by |
| 126 | have := Finset.le_sup (f := w) (Finset.mem_univ i) |
| 127 | omega |
| 128 | have hv (i : Fin (GradedMinimalFiniteCover.augmentationRank (GradedMinimalSyzygy.minimalGradedSyzygy Q))) : v i ≤ n := by |
| 129 | have := Finset.le_sup (f := v) (Finset.mem_univ i) |
| 130 | omega |
| 131 | let E := (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j w n hw).toLinearEquiv |
| 132 | let V := (TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistCoproductPolynomialSectionsIso (R := ℂ) j v n hv).toLinearEquiv |
| 133 | have ha := presentationAugmentation_sections D n hr hw e he |
| 134 | constructor |
| 135 | · apply ExactLinearCoordinates.exact_of_linearEquiv_coordinates V E e.symm _ _ |
| 136 | (GradedMinimalCoverDegree.minimalGradedResolutionStepDegree Q D.gradedCokernel_nonnegative (n : ℤ)) |
| 137 | (GradedMinimalCoverDegree.augmentationFinProjectionDegree Q D.gradedCokernel_nonnegative (n : ℤ)) |
| 138 | · intro x |
| 139 | apply Subtype.ext |
| 140 | rw [Iso.toLinearEquiv_apply, Iso.toLinearEquiv_apply] |
| 141 | convert GradedPolynomialMapSections.MvPolynomial.coordinateGradedPolynomialSheafMap_sections (R := ℂ) j w v |
| 142 | (GradedMinimalResolutionStep.minimalGradedResolutionStep Q) |
| 143 | (GradedMinimalResolutionStep.minimalGradedResolutionStep_homogeneous Q D.gradedCokernel_nonnegative) n hw hv x using 1 |
| 144 | dsimp +instances only [Q, w, v, ComplexMinimalResolution.ComplexResolution.differential, ComplexMinimalResolution.ComplexResolution.term, ComplexMinimalResolution.ComplexResolution.freeSheaf, |
| 145 | GradedMinimalCoverDegree.minimalGradedResolutionStepDegree, HilbertScheme.Presentations.Graded.Exactness.GradedModules.degreeMap, LinearMap.codRestrict_apply, |
| 146 | LinearMap.comp_apply, Submodule.subtype_apply, LinearMap.restrictScalars_apply] |
| 147 | rfl |
| 148 | · intro x |
| 149 | dsimp only [w, Q] at x |
| 150 | apply e.injective |
| 151 | rw [e.apply_symm_apply] |
| 152 | convert (ha x).symm using 1 |
| 153 | dsimp +instances only [E, Q, w, Iso.toLinearEquiv_apply, ComplexMinimalResolution.ComplexResolution.term, ComplexMinimalResolution.ComplexResolution.freeSheaf] |
| 154 | rw [Iso.toLinearEquiv_apply] |
| 155 | · exact GradedMinimalCoverDegree.minimalGradedResolutionStepDegree_exact Q D.gradedCokernel_nonnegative (n : ℤ) |
| 156 | · intro y |
| 157 | obtain ⟨z, hz⟩ := GradedMinimalCoverDegree.augmentationFinProjectionDegree_surjective Q D.gradedCokernel_nonnegative |
| 158 | (n : ℤ) (e.symm y) |
| 159 | obtain ⟨x, hx⟩ := E.surjective z |
| 160 | dsimp only [w, Q] at x |
| 161 | refine ⟨x, ?_⟩ |
| 162 | rw [← ha x] |
| 163 | dsimp only [E, w, Q] at hx |
| 164 | rw [Iso.toLinearEquiv_apply] at hx |
| 165 | rw [hx, hz, e.apply_symm_apply] |
| 166 | |
| 167 | end ComplexResolution |
| 168 | |
| 169 | end |
| 170 | |
| 171 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.ComplexPresentationAugmentationSections |