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.Affine.ProjectiveResolutionTerms |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ChartSections |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Products |
| 4 | import Mathlib.LinearAlgebra.DirectSum.Basis |
| 5 | import Mathlib.LinearAlgebra.DirectSum.Finite |
| 6 | |
| 7 | /-! # Projective Resolution Free -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ProjectiveResolutionFree |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original finite negative-twist resolution has finite free |
| 14 | section modules on every affine subopen of a projective coordinate chart. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ProjectiveResolutionTerms |
| 24 | |
| 25 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 26 | |
| 27 | theorem trivial_free (L : X.Modules) |
| 28 | (e : L.restrict U.ι ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 29 | Module.Free Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj L) := |
| 30 | Module.Free.of_equiv (ProjectiveResolutionTerms.trivialSectionIso U hU L e).toLinearEquiv.symm |
| 31 | |
| 32 | theorem trivial_finite (L : X.Modules) |
| 33 | (e : L.restrict U.ι ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj U.toScheme) : |
| 34 | Module.Finite Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj L) := |
| 35 | Module.Finite.equiv (ProjectiveResolutionTerms.trivialSectionIso U hU L e).toLinearEquiv.symm |
| 36 | |
| 37 | theorem coproduct_free {I : Type} [Fintype I] (L : I → X.Modules) |
| 38 | (hL : ∀ i, Module.Free Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj (L i))) : |
| 39 | Module.Free Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj (∐ L)) := by |
| 40 | classical |
| 41 | let (i : I) := hL i |
| 42 | let e := PreservesCoproduct.iso (AffineOpen.InternalHom.sections U hU) L ≪≫ |
| 43 | ModuleCat.coprodIsoDirectSum (fun i => (AffineOpen.InternalHom.sections U hU).obj (L i)) |
| 44 | exact Module.Free.of_equiv e.toLinearEquiv.symm |
| 45 | |
| 46 | theorem coproduct_finite {I : Type} [Fintype I] (L : I → X.Modules) |
| 47 | (hL : ∀ i, Module.Finite Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj (L i))) : |
| 48 | Module.Finite Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj (∐ L)) := by |
| 49 | classical |
| 50 | let (i : I) := hL i |
| 51 | let e := PreservesCoproduct.iso (AffineOpen.InternalHom.sections U hU) L ≪≫ |
| 52 | ModuleCat.coprodIsoDirectSum (fun i => (AffineOpen.InternalHom.sections U hU).obj (L i)) |
| 53 | exact Module.Finite.equiv e.toLinearEquiv.symm |
| 54 | |
| 55 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 56 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 57 | |
| 58 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 59 | |
| 60 | variable (V : (Proj (homogeneousSubmodule σ R)).Opens) (hV : IsAffineOpen V) |
| 61 | (i : σ) (hVi : V ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 62 | |
| 63 | include i hVi |
| 64 | |
| 65 | omit [IsNoetherianRing R] [Fintype σ] [LinearOrder σ] in |
| 66 | theorem negative_free (j : σ) (a : ℕ) : |
| 67 | Module.Free Γ(Proj (homogeneousSubmodule σ R), V) |
| 68 | ((AffineOpen.InternalHom.sections V hV).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j a)) := |
| 69 | trivial_free V hV _ (AlgebraicGeometry.SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hVi |
| 70 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) i j a)) |
| 71 | |
| 72 | omit [IsNoetherianRing R] [Fintype σ] [LinearOrder σ] in |
| 73 | theorem negative_finite (j : σ) (a : ℕ) : |
| 74 | Module.Finite Γ(Proj (homogeneousSubmodule σ R), V) |
| 75 | ((AffineOpen.InternalHom.sections V hV).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j a)) := |
| 76 | trivial_finite V hV _ (AlgebraicGeometry.SheafCohomology.Projective.OpenFrames.Scheme.Modules.restrictOpenTrivialization hVi |
| 77 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePowerTrivialization (R := R) i j a)) |
| 78 | |
| 79 | variable (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 80 | [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B q : ℕ) |
| 81 | |
| 82 | omit [LinearOrder σ] in |
| 83 | theorem term_free : Module.Free Γ(Proj (homogeneousSubmodule σ R), V) |
| 84 | ((AffineOpen.InternalHom.sections V hV).obj ((Projective.NegativeResolution.complex M j B).X q)) := by |
| 85 | let Q := Projective.NegativeResolution.presentation |
| 86 | (Projective.NegativeResolution.state M j B q).module j B |
| 87 | exact coproduct_free V hV |
| 88 | (fun t => AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (Q.degree t)) |
| 89 | (fun t => negative_free V hV i hVi j (Q.degree t)) |
| 90 | |
| 91 | omit [LinearOrder σ] in |
| 92 | theorem term_finite : Module.Finite Γ(Proj (homogeneousSubmodule σ R), V) |
| 93 | ((AffineOpen.InternalHom.sections V hV).obj ((Projective.NegativeResolution.complex M j B).X q)) := by |
| 94 | let Q := Projective.NegativeResolution.presentation |
| 95 | (Projective.NegativeResolution.state M j B q).module j B |
| 96 | exact coproduct_finite V hV |
| 97 | (fun t => AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (Q.degree t)) |
| 98 | (fun t => negative_finite V hV i hVi j (Q.degree t)) |
| 99 | |
| 100 | include hV in |
| 101 | omit [LinearOrder σ] in |
| 102 | theorem actual_term_free : Module.Free Γ(Proj (homogeneousSubmodule σ R), V) |
| 103 | (((Projective.NegativeResolution.complex M j B).X q).val.obj (.op V)) := by |
| 104 | let := term_free V hV i hVi M j B q |
| 105 | exact Module.Free.of_equiv |
| 106 | (ChartSections.iso V hV ((Projective.NegativeResolution.complex M j B).X q)).toLinearEquiv.symm |
| 107 | |
| 108 | include hV in |
| 109 | omit [LinearOrder σ] in |
| 110 | theorem actual_term_finite : Module.Finite Γ(Proj (homogeneousSubmodule σ R), V) |
| 111 | (((Projective.NegativeResolution.complex M j B).X q).val.obj (.op V)) := by |
| 112 | let := term_finite V hV i hVi M j B q |
| 113 | exact Module.Finite.equiv |
| 114 | (ChartSections.iso V hV ((Projective.NegativeResolution.complex M j B).X q)).toLinearEquiv.symm |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ProjectiveResolutionFree |