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.FiniteEtale.ProperTraceBase |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTrace |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceHomology |
| 4 | |
| 5 | /-! # Etale Proper Trace Base -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleProperTraceBase.IntrinsicFinite |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The proper finite étale source trace on the actual inverse-image |
| 12 | Čech cover uses only the target projective embedding. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 19 | [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] {n : ℕ} |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 22 | [IsFinite f.left] [Etale f.left] |
| 23 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) [IsClosedImmersion i.left] |
| 24 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) |
| 25 | [SmoothOfRelativeDimension g X.hom] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 26 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTrace.cover X i |
| 27 | local notation "V" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R Y X f (U) |
| 28 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g |
| 29 | local notation "N" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g |
| 30 | local notation "T" => CategoryTheory.Functor.obj (Scheme.Modules.pushforward f.left) (M) |
| 31 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CohomologyNaturality.forgetCoefficients R |
| 32 | |
| 33 | abbrev cohomology := IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g |
| 34 | |
| 35 | def serreIso : AddCommGrpCat.of (cohomology X Y f i g) ≅ |
| 36 | FiniteEtale.ProperTraceBase.cohomology X Y f i g := |
| 37 | ModuleTraceHomology.pushforwardIso R Y X f U g g ≪≫ |
| 38 | ModuleCech.Pushforward.Comparison.cohomologyIso R X (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) i T |
| 39 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R)) g |
| 40 | |
| 41 | def trace : cohomology X Y f i g →+ Projective.TopTracePairing.coefficientRing R := |
| 42 | ((serreIso X Y f i g).hom ≫ FiniteEtale.ProperTraceBase.trace X Y f i B hB g).hom |
| 43 | |
| 44 | omit [IsNoetherianRing R] [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] [Nonempty ↥X.left] [IsClosedImmersion (Over.Hom.left i)] [GeometricallyConnected X.hom] in |
| 45 | theorem transfer_square : |
| 46 | (G).map (HomologicalComplex.homologyMap (ModuleCechTrace.trace R Y X f U g) g) ≫ |
| 47 | (TopFormTrace.serreIso X i g).hom = |
| 48 | (serreIso X Y f i g).hom ≫ |
| 49 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n + 2)) g).map |
| 50 | (FiniteEtale.AdjunctionTrace.trace X Y f i g) := by |
| 51 | have h₁ := ModuleTraceHomology.comparison R Y X f U g g |
| 52 | have h₂ := ModuleCech.PushforwardNaturality.cohomology_naturality R X (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) i |
| 53 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R)) (FiniteEtale.ModuleTrace.trace R Y X f g) g |
| 54 | exact (congrArg (fun z => z ≫ (TopFormTrace.serreIso X i g).hom) h₁).trans |
| 55 | ((Category.assoc _ _ _).trans |
| 56 | ((congrArg (fun z => (ModuleTraceHomology.pushforwardIso R Y X f U g g).hom ≫ z) h₂).trans |
| 57 | (Category.assoc _ _ _).symm)) |
| 58 | |
| 59 | variable [SmoothOfRelativeDimension g Y.hom] [Smooth Y.hom] [IsProper Y.hom] |
| 60 | |
| 61 | variable [GeometricallyConnected Y.hom] |
| 62 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 63 | |
| 64 | def traceIso : cohomology X Y f i g ≃+ Projective.TopTracePairing.coefficientRing R := |
| 65 | ((serreIso X Y f i g) ≪≫ FiniteEtale.ProperTraceBase.traceIso X Y f i B hB g s hs).addCommGroupIsoToAddEquiv |
| 66 | |
| 67 | omit [Smooth X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g Y.hom] in |
| 68 | theorem traceIso_apply (x : cohomology X Y f i g) : |
| 69 | traceIso X Y f i B hB g s hs x = trace X Y f i B hB g x := by |
| 70 | change ((serreIso X Y f i g).hom ≫ (FiniteEtale.ProperTraceBase.traceIso X Y f i B hB g s hs).hom) x = _ |
| 71 | rw [FiniteEtale.ProperTraceBase.traceIso_hom] |
| 72 | rfl |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleProperTraceBase.IntrinsicFinite |