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.Projective.PureTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSerre |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IteratedCechStructureUnit |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PushforwardCoherence |
| 5 | |
| 6 | /-! # Map Pure Trace -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.MapPureTrace |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Pullback of functions along a finite map induces a map between the |
| 13 | actual dual resolutions. Evaluation on the actual unit commutes with |
| 14 | that map. Purity of the finite coefficient module is kept explicit here. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.StructurePullbackUnit OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | section Coherence |
| 26 | |
| 27 | variable {Y X Z : Scheme.{u}} (f : Y ⟶ X) [IsFinite f] (i : X ⟶ Z) [IsFinite i] |
| 28 | |
| 29 | theorem coefficients_quasicoherent : (Cech.StructurePullbackUnit.coefficients f i).IsQuasicoherent := by |
| 30 | let : (SheafOfModules.unit Y.ringCatSheaf).IsQuasicoherent := |
| 31 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 32 | let : ((Scheme.Modules.pushforward f).obj (SheafOfModules.unit Y.ringCatSheaf)).IsQuasicoherent := |
| 33 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 34 | exact AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom i |
| 35 | |
| 36 | theorem coefficients_finiteType : (Cech.StructurePullbackUnit.coefficients f i).IsFiniteType := by |
| 37 | let : (SheafOfModules.unit Y.ringCatSheaf).IsQuasicoherent := |
| 38 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 39 | let : (SheafOfModules.unit Y.ringCatSheaf).IsFiniteType := by |
| 40 | have : (SheafOfModules.unit Y.ringCatSheaf).IsFinitePresentation := |
| 41 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_finitePresentation AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 42 | obtain ⟨q, hq⟩ := SheafOfModules.IsFinitePresentation.exists_quasicoherentData (SheafOfModules.unit Y.ringCatSheaf) |
| 43 | refine { exists_localGeneratorsData := ⟨q.localGeneratorsData, ?_⟩ } |
| 44 | constructor |
| 45 | intro j |
| 46 | exact (hq.isFinite_presentation j).isFiniteType_generators |
| 47 | let : ((Scheme.Modules.pushforward f).obj (SheafOfModules.unit Y.ringCatSheaf)).IsQuasicoherent := |
| 48 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 49 | let : ((Scheme.Modules.pushforward f).obj (SheafOfModules.unit Y.ringCatSheaf)).IsFiniteType := |
| 50 | PushforwardCoherence.finiteType f (SheafOfModules.unit Y.ringCatSheaf) |
| 51 | exact PushforwardCoherence.finiteType i _ |
| 52 | |
| 53 | end Coherence |
| 54 | |
| 55 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 56 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 57 | |
| 58 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 59 | |
| 60 | variable {Y X : Scheme.{u}} [Nonempty X] |
| 61 | (f : Y ⟶ X) [IsFinite f] |
| 62 | (i : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion i] |
| 63 | (B n : ℕ) (hn : Fintype.card σ = n + 2) (hB : n + 2 ≤ B) |
| 64 | (g : ℕ) [SmoothOfRelativeDimension g (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 65 | |
| 66 | local instance : (Cech.StructurePullbackUnit.coefficients f i).IsQuasicoherent := coefficients_quasicoherent f i |
| 67 | local instance : (Cech.StructurePullbackUnit.coefficients f i).IsFiniteType := coefficients_finiteType f i |
| 68 | |
| 69 | variable (hPure : ∀ q, q ≠ n + 1 - g → |
| 70 | (ProjectiveRefinement.Serre.fixedDual (Cech.StructurePullbackUnit.coefficients f i) B n hn).ExactAt q) |
| 71 | |
| 72 | theorem naturality : |
| 73 | let M := Projective.ClosedImmersionPurity.directImage i; |
| 74 | let C := Cech.StructurePullbackUnit.coefficients f i; |
| 75 | let hM := Smooth.ProjectiveSerre.exactAt i B n hn hB g; |
| 76 | let hdim : g + (n + 1 - g) = n + 1 := by |
| 77 | have h := Smooth.ClosedDimension.projective i g |
| 78 | omega; |
| 79 | let vM := Cech.StructureUnit.unit i (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 80 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ)); |
| 81 | let vC := Cech.StructurePullbackUnit.unit f i (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 82 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ)); |
| 83 | let a := Projective.NegativeRefinement.leftHom M C (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (Cech.StructurePullbackUnit.sheafMap f i); |
| 84 | let b := Projective.NegativeRefinement.rightHom M C (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (Cech.StructurePullbackUnit.sheafMap f i); |
| 85 | let : QuasiIso ((Affine.LocalDualInvariance.functor (Projective.TopTracePairing.canonicalTwist (R := R) n hn)).map |
| 86 | a.chainMap.op) := ProjectiveRefinement.DualMap.left_quasiIso M C |
| 87 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B (n + 2) hB (Cech.StructurePullbackUnit.sheafMap f i); |
| 88 | let : IsIso (HomologicalComplex.homologyMap |
| 89 | ((Affine.LocalDualInvariance.functor (Projective.TopTracePairing.canonicalTwist (R := R) n hn)).map a.chainMap.op) (n + 1 - g)) := |
| 90 | (isoOfQuasiIsoAt |
| 91 | ((Affine.LocalDualInvariance.functor (Projective.TopTracePairing.canonicalTwist (R := R) n hn)).map a.chainMap.op) (n + 1 - g)).isIso_hom; |
| 92 | (Trace.PureFunctorNaturality.cohomologyFunctor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 93 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) g).map |
| 94 | (Trace.PureRefinement.map (Projective.TopTracePairing.canonicalTwist (R := R) n hn) a.chainMap b.chainMap (n + 1 - g)) ≫ |
| 95 | Projective.PureTrace.trace M B n hn hB (n + 1 - g) hM g hdim vM = |
| 96 | Projective.PureTrace.trace C B n hn hB (n + 1 - g) hPure g hdim vC := by |
| 97 | exact Projective.PureTrace.naturality |
| 98 | (Projective.ClosedImmersionPurity.directImage i) B n hn hB (n + 1 - g) |
| 99 | (Smooth.ProjectiveSerre.exactAt i B n hn hB g) |
| 100 | (Cech.StructurePullbackUnit.coefficients f i) hPure (Cech.StructurePullbackUnit.sheafMap f i) g |
| 101 | (by |
| 102 | have h := Smooth.ClosedDimension.projective i g |
| 103 | omega) |
| 104 | (Cech.StructureUnit.unit i (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 105 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 106 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ))) |
| 107 | (Cech.StructurePullbackUnit.unit f i (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 108 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 109 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ))) |
| 110 | (Cech.StructurePullbackUnit.preserves_unit f i (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ)) |
| 111 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := σ)) |
| 112 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := σ))) |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.MapPureTrace |