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.EtaleCoverTraceBase |
| 2 | |
| 3 | /-! # Finite Etale Trace Refinement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.FiniteEtaleTraceRefinement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The genuine source Serre trace commutes with actual refinements |
| 10 | of its affine Čech cover. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 17 | [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] {n : ℕ} |
| 18 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 19 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 20 | [IsFinite f.left] [Etale f.left] |
| 21 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) [IsClosedImmersion i.left] |
| 22 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) |
| 23 | [SmoothOfRelativeDimension g X.hom] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 24 | [SmoothOfRelativeDimension g Y.hom] [Smooth Y.hom] [IsProper Y.hom] [Y.left.IsSeparated] |
| 25 | {κ τ : Type u} (V : κ → Y.left.Opens) (W : τ → Y.left.Opens) |
| 26 | (r : FormalCoproduct.mk τ W ⟶ FormalCoproduct.mk κ V) |
| 27 | (hV : ⨆ j, V j = ⊤) (hW : ⨆ j, W j = ⊤) |
| 28 | (haV : ∀ j, IsAffineOpen (V j)) (haW : ∀ j, IsAffineOpen (W j)) (hg : 0 < g) |
| 29 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g |
| 30 | local notation "V₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R Y X f (OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTrace.cover X i) |
| 31 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CohomologyNaturality.forgetCoefficients R |
| 32 | local instance source_qc : (M).IsQuasicoherent := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R Y g |
| 33 | attribute [local irreducible] EtaleProperTraceBase.IntrinsicFinite.trace |
| 34 | |
| 35 | omit [IsArtinianRing R] [IsLocalRing R] [Smooth X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g Y.hom] in |
| 36 | theorem trace (x : IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g) : |
| 37 | EtaleCoverTraceBase.IntrinsicFinite.trace X Y f i B hB g W hW haW hg |
| 38 | (HomologicalComplex.homologyMap (ModuleCech.CoverRefinement.map R Y V W r M) g x) = |
| 39 | EtaleCoverTraceBase.IntrinsicFinite.trace X Y f i B hB g V hV haV hg x := by |
| 40 | have he := ModuleCech.TraceRefinement.map_eq_positiveCoverIso R Y V W r hV hW haV haW M g hg |
| 41 | have ht := ModuleCech.PositiveTransitivity.hom_comp R Y V W V₀ hV hW |
| 42 | (RefinedTransferTrace.inverseCover_top R Y X f (TopFormTrace.cover X i) |
| 43 | (TopFormTrace.cover_top X i)) haV haW |
| 44 | (RefinedTransferTrace.inverseCover_affine R Y X f (TopFormTrace.cover X i) |
| 45 | (TopFormTrace.cover_affine X i)) M g hg |
| 46 | have hs : (G).map (HomologicalComplex.homologyMap (ModuleCech.CoverRefinement.map R Y V W r M) g) ≫ |
| 47 | (EtaleCoverTraceBase.IntrinsicFinite.coverIso X Y f i g W hW haW hg).hom = |
| 48 | (EtaleCoverTraceBase.IntrinsicFinite.coverIso X Y f i g V hV haV hg).hom := by |
| 49 | rw [he] |
| 50 | exact ht |
| 51 | change EtaleProperTraceBase.IntrinsicFinite.trace X Y f i B hB g |
| 52 | ((EtaleCoverTraceBase.IntrinsicFinite.coverIso X Y f i g W hW haW hg).hom |
| 53 | (HomologicalComplex.homologyMap (ModuleCech.CoverRefinement.map R Y V W r M) g x)) = |
| 54 | EtaleProperTraceBase.IntrinsicFinite.trace X Y f i B hB g |
| 55 | ((EtaleCoverTraceBase.IntrinsicFinite.coverIso X Y f i g V hV haV hg).hom x) |
| 56 | exact congrArg (EtaleProperTraceBase.IntrinsicFinite.trace X Y f i B hB g) |
| 57 | (ConcreteCategory.congr_hom hs x) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.FiniteEtaleTraceRefinement |