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.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeResolution |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenFrames |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Projective |
| 5 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 6 | |
| 7 | /-! # Projective Resolution Terms -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ProjectiveResolutionTerms |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On affine opens inside a projective coordinate chart, the terms of |
| 14 | the genuine negative-twist resolution have projective section modules. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 23 | |
| 24 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 25 | |
| 26 | instance sections_additive : (AffineOpen.InternalHom.sections U hU).Additive where |
| 27 | map_add := rfl |
| 28 | |
| 29 | def trivialSectionIso (L : X.Modules) |
| 30 | (e : L.restrict U.ι ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 31 | (AffineOpen.InternalHom.sections U hU).obj L ≅ ModuleCat.of Γ(X, U) Γ(X, U) := by |
| 32 | let F := Scheme.Modules.restrictFunctor hU.isoSpec.inv |
| 33 | let G := InternalHom.sections (R := Γ(X, U)) |
| 34 | let e' := F.mapIso e ≪≫ Scheme.Modules.restrictUnitIso hU.isoSpec.inv |
| 35 | exact G.mapIso e' ≪≫ G.mapIso (tildeSelf (R := Γ(X, U))).symm ≪≫ |
| 36 | (tilde.isoTop (ModuleCat.of Γ(X, U) Γ(X, U))).symm |
| 37 | |
| 38 | theorem trivial_projective (L : X.Modules) |
| 39 | (e : L.restrict U.ι ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 40 | Projective ((AffineOpen.InternalHom.sections U hU).obj L) := |
| 41 | Projective.of_iso (trivialSectionIso U hU L e).symm inferInstance |
| 42 | |
| 43 | theorem coproduct_projective {I : Type} [Fintype I] (L : I → X.Modules) |
| 44 | (hL : ∀ i, Projective ((AffineOpen.InternalHom.sections U hU).obj (L i))) : |
| 45 | Projective ((AffineOpen.InternalHom.sections U hU).obj (∐ L)) := by |
| 46 | let (i : I) := hL i |
| 47 | have hP : Projective (∐ fun i => (AffineOpen.InternalHom.sections U hU).obj (L i)) := |
| 48 | { factors := fun f e _ => ⟨Sigma.desc (fun i => |
| 49 | Projective.factorThru (Sigma.ι (fun i => (AffineOpen.InternalHom.sections U hU).obj (L i)) i ≫ f) e), by |
| 50 | apply Sigma.hom_ext |
| 51 | intro i |
| 52 | simp⟩ } |
| 53 | exact Projective.of_iso (PreservesCoproduct.iso (AffineOpen.InternalHom.sections U hU) L).symm hP |
| 54 | |
| 55 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 56 | |
| 57 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 58 | |
| 59 | variable (V : (Proj (homogeneousSubmodule σ R)).Opens) (hV : IsAffineOpen V) |
| 60 | (i : σ) (hVi : V ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 61 | |
| 62 | include i hVi |
| 63 | |
| 64 | omit [Fintype σ] [LinearOrder σ] in |
| 65 | theorem negative_projective (j : σ) (a : ℕ) : |
| 66 | Projective ((AffineOpen.InternalHom.sections V hV).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j a)) := |
| 67 | trivial_projective V hV _ (AlgebraicGeometry.SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hVi |
| 68 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) i j a)) |
| 69 | |
| 70 | variable [IsNoetherianRing R] |
| 71 | |
| 72 | omit [LinearOrder σ] in |
| 73 | theorem term_projective (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 74 | [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B n : ℕ) : |
| 75 | Projective ((AffineOpen.InternalHom.sections V hV).obj ((IntegralComparison.Projective.NegativeResolution.complex M j B).X n)) := by |
| 76 | let Q := IntegralComparison.Projective.NegativeResolution.presentation |
| 77 | (IntegralComparison.Projective.NegativeResolution.state M j B n).module j B |
| 78 | exact coproduct_projective V hV |
| 79 | (fun t => AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (Q.degree t)) |
| 80 | (fun t => negative_projective V hV i hVi j (Q.degree t)) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ProjectiveResolutionTerms |