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.Intrinsic.EtaleProperTraceBase |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceCoverNaturality |
| 3 | |
| 4 | /-! # Etale Cover Trace Base -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleCoverTraceBase.IntrinsicFinite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The genuine finite-coefficient Serre trace transported to any |
| 11 | affine cover of the finite étale source. Only the target is embedded. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 18 | [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] {n : ℕ} |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 21 | [IsFinite f.left] [Etale f.left] |
| 22 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) [IsClosedImmersion i.left] |
| 23 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) |
| 24 | [SmoothOfRelativeDimension g X.hom] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 25 | [SmoothOfRelativeDimension g Y.hom] [Smooth Y.hom] [IsProper Y.hom] [Y.left.IsSeparated] |
| 26 | {κ : Type u} (V : κ → Y.left.Opens) |
| 27 | (hV : ⨆ j, V j = ⊤) (haV : ∀ j, IsAffineOpen (V j)) (hg : 0 < g) |
| 28 | local notation "U₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTrace.cover X i |
| 29 | local notation "V₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R Y X f (U₀) |
| 30 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g |
| 31 | local instance source_qc : (M).IsQuasicoherent := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R Y g |
| 32 | |
| 33 | def coverIso : AddCommGrpCat.of (IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g) ≅ |
| 34 | AddCommGrpCat.of (EtaleProperTraceBase.IntrinsicFinite.cohomology X Y f i g) := |
| 35 | ModuleCech.PositiveCover.Comparison.iso R Y V V₀ hV |
| 36 | (RefinedTransferTrace.inverseCover_top R Y X f U₀ (TopFormTrace.cover_top X i)) |
| 37 | haV (RefinedTransferTrace.inverseCover_affine R Y X f U₀ |
| 38 | (TopFormTrace.cover_affine X i)) M g hg |
| 39 | |
| 40 | def trace : IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g →+ Projective.TopTracePairing.coefficientRing R := |
| 41 | (EtaleProperTraceBase.IntrinsicFinite.trace X Y f i B hB g).comp (coverIso X Y f i g V hV haV hg).hom.hom |
| 42 | |
| 43 | def serreIso : AddCommGrpCat.of (IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g) ≅ |
| 44 | FiniteEtale.ProperTraceBase.cohomology X Y f i g := |
| 45 | coverIso X Y f i g V hV haV hg ≪≫ EtaleProperTraceBase.IntrinsicFinite.serreIso X Y f i g |
| 46 | |
| 47 | omit [IsArtinianRing R] [IsLocalRing R] [Smooth X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g Y.hom] in |
| 48 | theorem trace_serre (x : IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g) : |
| 49 | trace X Y f i B hB g V hV haV hg x = |
| 50 | FiniteEtale.ProperTraceBase.trace X Y f i B hB g |
| 51 | ((serreIso X Y f i g V hV haV hg).hom x) := rfl |
| 52 | |
| 53 | variable [GeometricallyConnected Y.hom] |
| 54 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 55 | |
| 56 | def traceIso : IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g ≃+ Projective.TopTracePairing.coefficientRing R := |
| 57 | (coverIso X Y f i g V hV haV hg).addCommGroupIsoToAddEquiv.trans |
| 58 | (EtaleProperTraceBase.IntrinsicFinite.traceIso X Y f i B hB g s hs) |
| 59 | |
| 60 | omit [Smooth X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g Y.hom] in |
| 61 | theorem traceIso_apply (x : IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g) : |
| 62 | traceIso X Y f i B hB g V hV haV hg s hs x = trace X Y f i B hB g V hV haV hg x := by |
| 63 | exact EtaleProperTraceBase.IntrinsicFinite.traceIso_apply X Y f i B hB g s hs _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleCoverTraceBase.IntrinsicFinite |