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.NegativeTwistMapCoefficients |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CoproductSectionImages |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorFunctorSectionEvaluation |
| 4 | |
| 5 | /-! # Negative Twist Presentation Range -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistPresentationRange.Dimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A negative-twist presentation describes the exact image of normalized global sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry MonoidalCategory _root_.MvPolynomial |
| 14 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorFunctorSectionEvaluation |
| 15 | |
| 16 | open OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CoproductSectionImages.Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem linearMap_range_comp_equiv {K M N P : Type*} [Ring K] |
| 21 | [AddCommGroup M] [Module K M] [AddCommGroup N] [Module K N] |
| 22 | [AddCommGroup P] [Module K P] (f : M →ₗ[K] N) (e : P ≃ₗ[K] M) : |
| 23 | (f.comp e.toLinearMap).range = f.range := by |
| 24 | ext y |
| 25 | constructor |
| 26 | · rintro ⟨x, rfl⟩ |
| 27 | exact ⟨e x, rfl⟩ |
| 28 | · rintro ⟨x, rfl⟩ |
| 29 | exact ⟨e.symm x, congrArg f (e.apply_symm_apply x)⟩ |
| 30 | |
| 31 | local instance negativeTwistPresentationRangeMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 32 | Monoidal.Scheme.Modules.monoidalCategory X |
| 33 | local instance negativeTwistPresentationRangeBiproducts (X : Scheme.{u}) : HasFiniteBiproducts X.Modules := |
| 34 | HasFiniteBiproducts.of_hasFiniteProducts |
| 35 | |
| 36 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 37 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 38 | |
| 39 | theorem negativeTwist_presentation_normalized_range |
| 40 | {N : (Proj (homogeneousSubmodule σ R)).Modules} (j : σ) {r : ℕ} (d : Fin r → ℕ) |
| 41 | (q : (∐ fun i => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i)) ⟶ N) |
| 42 | (n : ℕ) (hd : ∀ i, d i ≤ n) |
| 43 | (hq : Function.Surjective |
| 44 | (((PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n).functor.map q).app ⊤)) : |
| 45 | (ArithmeticGeometry.OrdinaryLocus.Openness.BaseOpenSections.Construction.tensorSectionGlobalCoefficientLinear MvPolynomialClosure.MvPolynomial.homogeneousProjπ N |
| 46 | (UnitSection.Dimension.projectiveTwistUnitSection j n) (MvPolynomialClosure.MvPolynomial.coordinateOpen j)).range = |
| 47 | ⨆ i, ((ArithmeticGeometry.OrdinaryLocus.Openness.BaseOpenSections.Construction.tensorSectionGlobalCoefficientLinear MvPolynomialClosure.MvPolynomial.homogeneousProjπ N |
| 48 | (UnitSection.Dimension.projectiveTwistUnitSection j n) (MvPolynomialClosure.MvPolynomial.coordinateOpen j)).comp |
| 49 | (NegativeTwistMapCoefficients.Dimension.negativeTwistPolynomialColumn j (d i) n (hd i) |
| 50 | (Sigma.ι (fun k : Fin r => |
| 51 | TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d k)) i ≫ q))).range := by |
| 52 | let G := AdditiveCoproductSections.baseGlobalSectionsFunctor (MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 53 | let E := PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := R) j n |
| 54 | let F := E.functor ⋙ G |
| 55 | let M := fun i : Fin r => TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (d i) |
| 56 | have : E.functor.Additive := Functor.additive_of_preserves_binary_products E.functor |
| 57 | have : F.Additive := inferInstanceAs (E.functor ⋙ G).Additive |
| 58 | let c := ArithmeticGeometry.OrdinaryLocus.Openness.BaseOpenSections.Construction.tensorSectionGlobalCoefficientLinear MvPolynomialClosure.MvPolynomial.homogeneousProjπ N |
| 59 | (UnitSection.Dimension.projectiveTwistUnitSection j n) (MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 60 | have hr := ArithmeticGeometry.OrdinaryLocus.Openness.CoproductSectionImages.Construction.coproduct_observed_range_of_surjective F M q hq c |
| 61 | refine hr.trans ?_ |
| 62 | apply iSup_congr |
| 63 | intro i |
| 64 | let e := TwistedCoproductPolynomialSections.MvPolynomial.negativeTwistPolynomialSectionEquiv (R := R) j (d i) n (hd i) |
| 65 | have ht : E.functor.map (Sigma.ι M i ≫ q) = |
| 66 | (Sigma.ι M i ≫ q) ⊗ₘ 𝟙 (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) := |
| 67 | TensorFunctorSectionEvaluation.invertibleRightTensorEquivalence_map_tensor _ _ _ |
| 68 | change (c.comp (G.map (E.functor.map (Sigma.ι M i ≫ q))).hom).range = _ |
| 69 | rw [ht] |
| 70 | exact (linearMap_range_comp_equiv |
| 71 | (c.comp (G.map ((Sigma.ι M i ≫ q) ⊗ₘ |
| 72 | 𝟙 (TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n))).hom) e.symm).symm |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.NegativeTwistPresentationRange.Dimension |