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 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.FiniteEtaleProperTrace |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.FiniteEtaleTraceRefinement |
| 4 | |
| 5 | /-! # Finite Etale Cover Trace -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.FiniteEtaleCoverTrace |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The transfer-defined source trace is the genuine Serre trace |
| 12 | transported from the target projective cover. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 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 | [SmoothOfRelativeDimension g Y.hom] [Smooth Y.hom] [IsProper Y.hom] |
| 27 | [X.left.IsSeparated] [Y.left.IsSeparated] |
| 28 | {ι κ : Type u} (U : ι → X.left.Opens) (V : κ → Y.left.Opens) |
| 29 | (hU : ⨆ j, U j = ⊤) (hV : ⨆ j, V j = ⊤) |
| 30 | (haU : ∀ j, IsAffineOpen (U j)) (haV : ∀ j, IsAffineOpen (V j)) (hg : 0 < g) |
| 31 | local notation "U₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTrace.cover X i |
| 32 | local notation "V₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R Y X f (U₀) |
| 33 | local notation "W" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R Y X f U |
| 34 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g |
| 35 | local notation "N" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g |
| 36 | local instance comparison_source_qc : (M).IsQuasicoherent := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R Y g |
| 37 | local instance comparison_target_qc : (N).IsQuasicoherent := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X g |
| 38 | |
| 39 | def targetCoverIso := ModuleCech.PositiveCover.Comparison.iso R X U U₀ hU |
| 40 | (TopFormTrace.cover_top X i) haU (TopFormTrace.cover_affine X i) N g hg |
| 41 | |
| 42 | omit [IsArtinianRing R] [IsLocalRing R] [GeometricallyConnected X.hom] in |
| 43 | theorem transfer (x : IntrinsicDeRham.TopEdge.Intrinsic.source R Y W g) : |
| 44 | TopFormTrace.trace X i B hB g |
| 45 | ((targetCoverIso X i g U hU haU hg).hom (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R Y X f U g x)) = |
| 46 | EtaleCoverTraceBase.IntrinsicFinite.trace X Y f i B hB g W |
| 47 | (RefinedTransferTrace.inverseCover_top R Y X f U hU) |
| 48 | (RefinedTransferTrace.inverseCover_affine R Y X f U haU) hg x := by |
| 49 | have h := ModuleTraceCoverNaturality.trace R Y X f U U₀ g hU |
| 50 | (TopFormTrace.cover_top X i) haU (TopFormTrace.cover_affine X i) hg x |
| 51 | exact (congrArg (TopFormTrace.trace X i B hB g) h).trans |
| 52 | (FiniteEtaleProperTrace.trace_transfer X Y f i B hB g _) |
| 53 | |
| 54 | omit [IsArtinianRing R] [IsLocalRing R] [GeometricallyConnected X.hom] in |
| 55 | theorem pullback_trace [PreconnectedSpace X.left] |
| 56 | (r : κ → ι) (hr : ∀ j, V j ≤ f.left ⁻¹ᵁ U (r j)) |
| 57 | (y : X.left) (x : IntrinsicDeRham.TopEdge.Intrinsic.source R X U g) : |
| 58 | EtaleCoverTraceBase.IntrinsicFinite.trace X Y f i B hB g V hV haV hg |
| 59 | (IntrinsicDeRham.TopEdgeMap.Intrinsic.rowMap R Y X V U g |
| 60 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback.BaseIntrinsicCechCoordinatePullback.sheafMap R f U V r hr) x) = |
| 61 | f.left.finrank y • TopFormTrace.trace X i B hB g |
| 62 | ((targetCoverIso X i g U hU haU hg).hom x) := by |
| 63 | rw [TopFormPullbackRefinement.pullback] |
| 64 | have h := FiniteEtaleTraceRefinement.trace X Y f i B hB g W V |
| 65 | (TopFormPullbackRefinement.refinement R Y X f U V r hr) |
| 66 | (RefinedTransferTrace.inverseCover_top R Y X f U hU) hV |
| 67 | (RefinedTransferTrace.inverseCover_affine R Y X f U haU) haV hg |
| 68 | (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.pullback R Y X f U g x) |
| 69 | apply h.trans |
| 70 | rw [← transfer X Y f i B hB g U hU haU hg] |
| 71 | rw [TopFormTransferDegree.pullback_trace R Y X f U g y x, |
| 72 | map_nsmul, map_nsmul] |
| 73 | |
| 74 | variable (t : IntrinsicDeRham.TopEdge.Intrinsic.source R X U g ≃+ Projective.TopTracePairing.coefficientRing R) |
| 75 | (hb : Function.Bijective (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R Y X f U g)) |
| 76 | (ht : ∀ z, t z = TopFormTrace.trace X i B hB g |
| 77 | ((targetCoverIso X i g U hU haU hg).hom z)) |
| 78 | |
| 79 | attribute [local irreducible] EtaleProperTraceBase.IntrinsicFinite.trace |
| 80 | |
| 81 | include ht in |
| 82 | omit [IsArtinianRing R] [IsLocalRing R] [GeometricallyConnected X.hom] in |
| 83 | theorem refined_eq (x : IntrinsicDeRham.TopEdge.Intrinsic.source R Y V g) : |
| 84 | RefinedTransferTrace.trace R Y X f U V hU hV haU haV g hg t hb x = |
| 85 | EtaleCoverTraceBase.IntrinsicFinite.trace X Y f i B hB g V hV haV hg x := by |
| 86 | let e := RefinedTransferTrace.coverIso R Y X f U V hU hV haU haV g hg |
| 87 | change t (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R Y X f U g (e.inv x)) = _ |
| 88 | rw [ht] |
| 89 | have h := transfer X Y f i B hB g U hU haU hg (e.inv x) |
| 90 | apply h.trans |
| 91 | change EtaleProperTraceBase.IntrinsicFinite.trace X Y f i B hB g |
| 92 | ((EtaleCoverTraceBase.IntrinsicFinite.coverIso X Y f i g W |
| 93 | (RefinedTransferTrace.inverseCover_top R Y X f U hU) |
| 94 | (RefinedTransferTrace.inverseCover_affine R Y X f U haU) hg).hom (e.inv x)) = |
| 95 | EtaleProperTraceBase.IntrinsicFinite.trace X Y f i B hB g ((EtaleCoverTraceBase.IntrinsicFinite.coverIso X Y f i g V hV haV hg).hom x) |
| 96 | apply congrArg (EtaleProperTraceBase.IntrinsicFinite.trace X Y f i B hB g) |
| 97 | exact ConcreteCategory.congr_hom |
| 98 | (ModuleCech.PositiveTransitivity.inv_hom R Y W V V₀ |
| 99 | (RefinedTransferTrace.inverseCover_top R Y X f U hU) hV |
| 100 | (RefinedTransferTrace.inverseCover_top R Y X f U₀ (TopFormTrace.cover_top X i)) |
| 101 | (RefinedTransferTrace.inverseCover_affine R Y X f U haU) haV |
| 102 | (RefinedTransferTrace.inverseCover_affine R Y X f U₀ (TopFormTrace.cover_affine X i)) |
| 103 | M g hg) x |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.FiniteEtaleCoverTrace |