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.Cech.BaseChangeRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.RefinedTransferTrace |
| 4 | |
| 5 | /-! # Module Trace Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native finite étale top-form transfer is compatible with |
| 12 | the canonical cohomology comparison for a refinement of covers. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 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] |
| 18 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 19 | [IsFinite f.left] [Etale f.left] [IsProper Y.hom] [Smooth Y.hom] |
| 20 | {ι κ : Type u} (U : ι → Y.left.Opens) (V : κ → Y.left.Opens) |
| 21 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) (g : ℕ) |
| 22 | local notation "F" => Opens.map f.left.base |
| 23 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CohomologyNaturality.forgetCoefficients R |
| 24 | local notation "W₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R X Y f U |
| 25 | local notation "W₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R X Y f V |
| 26 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g |
| 27 | local notation "N" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g |
| 28 | local instance opens_finiteLimits : PreservesFiniteLimits (Opens.map f.left.base) := by |
| 29 | change PreservesFiniteLimits (OrderHom.ofClass f.left.base.frameHom).toFunctor |
| 30 | infer_instance |
| 31 | |
| 32 | theorem complex : |
| 33 | ModuleCechTrace.trace R X Y f U g ≫ ModuleCech.CoverRefinement.map R Y U V r N = |
| 34 | ModuleCech.CoverRefinement.map R X W₁ W₂ |
| 35 | (Cech.BaseChangeRefinement.refinement (F) U V r) M ≫ |
| 36 | ModuleCechTrace.trace R X Y f V g := by |
| 37 | rw [ModuleCechTrace.trace_eq, ModuleCechTrace.trace_eq] |
| 38 | exact Cech.BaseChangeRefinement.transfer (F) U V r |
| 39 | (ModuleTracePresheaf.transfer R X Y f g) |
| 40 | |
| 41 | variable [X.left.IsSeparated] [Y.left.IsSeparated] |
| 42 | [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 43 | [SmoothOfRelativeDimension g Y.hom] |
| 44 | (hU : ⨆ i, U i = ⊤) (hV : ⨆ i, V i = ⊤) |
| 45 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) |
| 46 | (hg : 0 < g) |
| 47 | local instance source_qc : (M).IsQuasicoherent := by |
| 48 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 49 | exact IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X g |
| 50 | local instance target_qc : (N).IsQuasicoherent := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R Y g |
| 51 | |
| 52 | include r in |
| 53 | omit [SmoothOfRelativeDimension g Y.hom] in |
| 54 | theorem cohomology : |
| 55 | (G).map (HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f U g) g) ≫ |
| 56 | (ModuleCech.PositiveCover.Comparison.iso R Y U V hU hV haU haV N g hg).hom = |
| 57 | (ModuleCech.PositiveCover.Comparison.iso R X W₁ W₂ |
| 58 | (RefinedTransferTrace.inverseCover_top R X Y f U hU) |
| 59 | (RefinedTransferTrace.inverseCover_top R X Y f V hV) |
| 60 | (RefinedTransferTrace.inverseCover_affine R X Y f U haU) |
| 61 | (RefinedTransferTrace.inverseCover_affine R X Y f V haV) M g hg).hom ≫ |
| 62 | (G).map (HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f V g) g) := by |
| 63 | have h := congrArg (fun z => (G).map (HomologicalComplex.homologyMap z g)) |
| 64 | (complex R X Y f U V r g) |
| 65 | simp only [HomologicalComplex.homologyMap_comp, Functor.map_comp] at h |
| 66 | rw [ModuleCech.TraceRefinement.map_eq_positiveCoverIso R Y U V r hU hV haU haV N g hg, |
| 67 | ModuleCech.TraceRefinement.map_eq_positiveCoverIso R X W₁ W₂ |
| 68 | (Cech.BaseChangeRefinement.refinement (F) U V r) |
| 69 | (RefinedTransferTrace.inverseCover_top R X Y f U hU) |
| 70 | (RefinedTransferTrace.inverseCover_top R X Y f V hV) |
| 71 | (RefinedTransferTrace.inverseCover_affine R X Y f U haU) |
| 72 | (RefinedTransferTrace.inverseCover_affine R X Y f V haV) M g hg] at h |
| 73 | exact h |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceRefinement |