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.ModuleTraceRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.PositiveTransitivity |
| 3 | |
| 4 | /-! # Module Trace Cover Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceCoverNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original top-form transfer respects arbitrary affine-cover |
| 11 | comparisons, via the common intersection refinement. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | private theorem square {C : Type*} [Category C] {A₁ A₂ A₃ B₁ B₂ B₃ : C} |
| 17 | (s₁₂ : A₁ ⟶ A₂) (s₂₃ : A₂ ⟶ A₃) (s₁₃ : A₁ ⟶ A₃) |
| 18 | (t₁₂ : B₁ ⟶ B₂) (t₂₃ : B₂ ⟶ B₃) (t₁₃ : B₁ ⟶ B₃) [Mono t₂₃] |
| 19 | (a₁ : A₁ ⟶ B₁) (a₂ : A₂ ⟶ B₂) (a₃ : A₃ ⟶ B₃) |
| 20 | (hs : s₁₂ ≫ s₂₃ = s₁₃) (ht : t₁₂ ≫ t₂₃ = t₁₃) |
| 21 | (h₁ : a₁ ≫ t₁₃ = s₁₃ ≫ a₃) (h₂ : a₂ ≫ t₂₃ = s₂₃ ≫ a₃) : |
| 22 | a₁ ≫ t₁₂ = s₁₂ ≫ a₂ := by |
| 23 | apply (cancel_mono t₂₃).mp |
| 24 | rw [Category.assoc, ht, h₁, ← hs, Category.assoc, ← h₂, ← Category.assoc] |
| 25 | |
| 26 | universe u |
| 27 | variable (R : Type u) [CommRing R] |
| 28 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 29 | [IsFinite f.left] [Etale f.left] [IsProper Y.hom] [Smooth Y.hom] |
| 30 | [X.left.IsSeparated] [Y.left.IsSeparated] |
| 31 | {ι κ : Type u} (U : ι → Y.left.Opens) (V : κ → Y.left.Opens) |
| 32 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 33 | [SmoothOfRelativeDimension g Y.hom] |
| 34 | (hU : ⨆ i, U i = ⊤) (hV : ⨆ i, V i = ⊤) |
| 35 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) |
| 36 | (hg : 0 < g) |
| 37 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CohomologyNaturality.forgetCoefficients R |
| 38 | local notation "W₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R X Y f U |
| 39 | local notation "W₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R X Y f V |
| 40 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g |
| 41 | local notation "N" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g |
| 42 | local instance source_qc : (M).IsQuasicoherent := by |
| 43 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 44 | exact IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R X g |
| 45 | local instance target_qc : (N).IsQuasicoherent := IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R Y g |
| 46 | |
| 47 | def sourceIso := ModuleCech.PositiveCover.Comparison.iso R X W₁ W₂ |
| 48 | (RefinedTransferTrace.inverseCover_top R X Y f U hU) |
| 49 | (RefinedTransferTrace.inverseCover_top R X Y f V hV) |
| 50 | (RefinedTransferTrace.inverseCover_affine R X Y f U haU) |
| 51 | (RefinedTransferTrace.inverseCover_affine R X Y f V haV) M g hg |
| 52 | |
| 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 | (sourceIso R X Y f U V g hU hV haU haV hg).hom ≫ |
| 58 | (G).map (HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f V g) g) := by |
| 59 | let W : ι × κ → Y.left.Opens := fun a => U a.1 ⊓ V a.2 |
| 60 | have hW : ⨆ i, W i = ⊤ := by |
| 61 | apply top_unique |
| 62 | intro y _ |
| 63 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp (show y ∈ ⨆ i, U i by rw [hU]; trivial) |
| 64 | obtain ⟨j, hj⟩ := Opens.mem_iSup.mp (show y ∈ ⨆ j, V j by rw [hV]; trivial) |
| 65 | exact Opens.mem_iSup.mpr ⟨(i,j), hi, hj⟩ |
| 66 | have haW (a : ι × κ) : IsAffineOpen (W a) := (haU a.1).inf (haV a.2) |
| 67 | let r₁ : FormalCoproduct.mk (ι × κ) W ⟶ FormalCoproduct.mk ι U := |
| 68 | ⟨Prod.fst, fun _ => homOfLE inf_le_left⟩ |
| 69 | let r₂ : FormalCoproduct.mk (ι × κ) W ⟶ FormalCoproduct.mk κ V := |
| 70 | ⟨Prod.snd, fun _ => homOfLE inf_le_right⟩ |
| 71 | let W₃ := IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R X Y f W |
| 72 | exact square |
| 73 | (sourceIso R X Y f U V g hU hV haU haV hg).hom |
| 74 | (sourceIso R X Y f V W g hV hW haV haW hg).hom |
| 75 | (sourceIso R X Y f U W g hU hW haU haW hg).hom |
| 76 | (ModuleCech.PositiveCover.Comparison.iso R Y U V hU hV haU haV N g hg).hom |
| 77 | (ModuleCech.PositiveCover.Comparison.iso R Y V W hV hW haV haW N g hg).hom |
| 78 | (ModuleCech.PositiveCover.Comparison.iso R Y U W hU hW haU haW N g hg).hom |
| 79 | ((G).map (HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f U g) g)) |
| 80 | ((G).map (HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f V g) g)) |
| 81 | ((G).map (HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f W g) g)) |
| 82 | (ModuleCech.PositiveTransitivity.hom_comp R X W₁ W₂ W₃ _ _ _ _ _ _ M g hg) |
| 83 | (ModuleCech.PositiveTransitivity.hom_comp R Y U V W hU hV hW haU haV haW N g hg) |
| 84 | (ModuleTraceRefinement.cohomology R X Y f U W r₁ g hU hW haU haW hg) |
| 85 | (ModuleTraceRefinement.cohomology R X Y f V W r₂ g hV hW haV haW hg) |
| 86 | |
| 87 | theorem trace (x : IntrinsicDeRham.TopEdge.Intrinsic.source R X W₁ g) : |
| 88 | (ModuleCech.PositiveCover.Comparison.iso R Y U V hU hV haU haV N g hg).hom |
| 89 | (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R X Y f U g x) = |
| 90 | IntrinsicDeRham.TopEdgeTransfer.Intrinsic.trace R X Y f V g |
| 91 | ((sourceIso R X Y f U V g hU hV haU haV hg).hom x) := by |
| 92 | have h := ConcreteCategory.congr_hom (cohomology R X Y f U V g hU hV haU haV hg) x |
| 93 | change (ModuleCech.PositiveCover.Comparison.iso R Y U V hU hV haU haV N g hg).hom |
| 94 | (HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f U g) g x) = |
| 95 | HomologicalComplex.homologyMap (ModuleCechTrace.trace R X Y f V g) g _ at h |
| 96 | rw [ModuleTraceHomology.top_trace, ModuleTraceHomology.top_trace] at h |
| 97 | exact h |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ModuleTraceCoverNaturality |