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.FiniteEtaleProperTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceBijective |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.PositiveNaturality |
| 4 | |
| 5 | /-! # Intrinsic Trace Bijective -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.IntrinsicTraceBijective.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite étale transfer is an isomorphism on native top-form |
| 12 | cohomology on any affine cover, using a projective embedding only |
| 13 | for the target. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | private theorem bijective_of_traces {A B C : Type*} [AddCommGroup A] [AddCommGroup B] |
| 20 | [AddCommGroup C] (f : A → B) (a : B ≃+ C) (b : A ≃+ C) |
| 21 | (h : ∀ x, a (f x) = b x) : Function.Bijective f := by |
| 22 | constructor |
| 23 | · intro x y hxy |
| 24 | exact b.injective ((h x).symm.trans ((congrArg a hxy).trans (h y))) |
| 25 | · intro y |
| 26 | exact ⟨b.symm (a y), a.injective ((h _).trans (b.apply_symm_apply _))⟩ |
| 27 | |
| 28 | universe u |
| 29 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 30 | [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] {n : ℕ} |
| 31 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 32 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 33 | [IsFinite f.left] [Etale f.left] |
| 34 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) [IsClosedImmersion i.left] |
| 35 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) |
| 36 | [SmoothOfRelativeDimension g X.hom] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 37 | [SmoothOfRelativeDimension g Y.hom] [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] |
| 38 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 39 | local notation "U₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormTrace.cover X i |
| 40 | |
| 41 | include hs in |
| 42 | omit [IsNoetherianRing R] [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] |
| 43 | [Nonempty X.left] [IsFinite f.left] [Etale f.left] [Smooth X.hom] [IsProper X.hom] |
| 44 | [GeometricallyConnected X.hom] [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] in |
| 45 | theorem section_over : (s ≫ f.left) ≫ X.hom = 𝟙 _ := by |
| 46 | rw [Category.assoc, Over.w f] |
| 47 | exact hs |
| 48 | |
| 49 | include B hB s hs in |
| 50 | omit [SmoothOfRelativeDimension g Y.hom] in |
| 51 | theorem projective_bijective : |
| 52 | Function.Bijective (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R Y X f U₀ g) := by |
| 53 | apply bijective_of_traces (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R Y X f U₀ g) |
| 54 | (Intrinsic.TopFormTrace.traceIso X i B hB g (s ≫ f.left) (section_over X Y f s hs)) |
| 55 | (Intrinsic.EtaleProperTraceBase.IntrinsicFinite.traceIso X Y f i B hB g s hs) |
| 56 | intro x |
| 57 | exact (Intrinsic.TopFormTrace.traceIso_apply X i B hB g (s ≫ f.left) |
| 58 | (section_over X Y f s hs) _).trans |
| 59 | ((Intrinsic.FiniteEtaleProperTrace.trace_transfer X Y f i B hB g x).trans |
| 60 | (Intrinsic.EtaleProperTraceBase.IntrinsicFinite.traceIso_apply X Y f i B hB g s hs x).symm) |
| 61 | |
| 62 | variable [X.left.IsSeparated] {ι : Type u} (U : ι → X.left.Opens) |
| 63 | (hU : ⨆ j, U j = ⊤) (haU : ∀ j, IsAffineOpen (U j)) (hg : 0 < g) |
| 64 | |
| 65 | include i B hB s hs hU haU hg in |
| 66 | omit [SmoothOfRelativeDimension g Y.hom] in |
| 67 | theorem bijective : Function.Bijective (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R Y X f U g) := by |
| 68 | let : (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g).IsQuasicoherent := |
| 69 | IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X g |
| 70 | let : (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g).IsQuasicoherent := |
| 71 | IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R Y g |
| 72 | let : ((Scheme.Modules.pushforward f.left).obj (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g)).IsQuasicoherent := |
| 73 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f.left |
| 74 | have h₀ := (Intrinsic.ModuleTraceBijective.iff R Y X f U₀ g).mp |
| 75 | (projective_bijective X Y f i B hB g s hs) |
| 76 | have h₁ := ModuleCech.PositiveNaturality.bijective R X U₀ U |
| 77 | (Intrinsic.TopFormTrace.cover_top X i) hU (Intrinsic.TopFormTrace.cover_affine X i) haU |
| 78 | (ModuleTrace.trace R Y X f g) g hg h₀ |
| 79 | exact (Intrinsic.ModuleTraceBijective.iff R Y X f U g).mpr h₁ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.IntrinsicTraceBijective.Intrinsic |