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.AlgebraicGeometry.CycleClass.Geometric.ClosedSupportFiltration |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport |
| 3 | |
| 4 | /-! # Support Filtration -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Open.SupportFiltration |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: support-filtration vanishing on every ambient open |
| 12 | |
| 13 | Restrict the actual closed filtration to an arbitrary open subset. The two |
| 14 | orders of taking that open subset and a layer complement are homeomorphic |
| 15 | as pairs. The existing relative-cochain triple sequence then transfers layer |
| 16 | vanishing to the restricted total support. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 20 | open OAI.AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport OAI.AlgebraicGeometry.CycleClass.Geometric.ClosedSupportFiltration.Cycles |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | /-- An actual homeomorphism of pairs induces an isomorphism of relative cochains. -/ |
| 27 | def pairHomeomorphCochainIso {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 28 | {X Y : TopCat.{0}} (e : X ≃ₜ Y) (A : Set X) (B : Set Y) |
| 29 | (he : ∀ x, x ∈ A ↔ e x ∈ B) : |
| 30 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M Y B ≅ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M X A where |
| 31 | hom := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (TopCat.isoOfHomeo e).hom (fun x hx => (he x).mp hx) |
| 32 | inv := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M (TopCat.isoOfHomeo e).inv |
| 33 | (fun y hy => (he (e.symm y)).mpr (by simpa using hy)) |
| 34 | hom_inv_id := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp_eq_id M (TopCat.isoOfHomeo e).inv |
| 35 | (TopCat.isoOfHomeo e).hom (fun y hy => (he (e.symm y)).mpr (by simpa using hy)) |
| 36 | (fun x hx => (he x).mp hx) (TopCat.isoOfHomeo e).inv_hom_id |
| 37 | inv_hom_id := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp_eq_id M (TopCat.isoOfHomeo e).hom |
| 38 | (TopCat.isoOfHomeo e).inv (fun x hx => (he x).mp hx) |
| 39 | (fun y hy => (he (e.symm y)).mpr (by simpa using hy)) (TopCat.isoOfHomeo e).hom_inv_id |
| 40 | |
| 41 | /-- The resulting isomorphism is induced by those genuine pair maps. -/ |
| 42 | def pairHomeomorphCohomologyIso {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 43 | {X Y : TopCat.{0}} (e : X ≃ₜ Y) (A : Set X) (B : Set Y) |
| 44 | (he : ∀ x, x ∈ A ↔ e x ∈ B) (n : ℕ) : |
| 45 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y B n ≅ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n := |
| 46 | HomologicalComplex.homologyMapIso (pairHomeomorphCochainIso M e A B he) n |
| 47 | |
| 48 | variable (X : TopCat.{0}) (U : Opens X) |
| 49 | |
| 50 | /-- Restrict a closed support to the actual open subspace. -/ |
| 51 | def restrictClosedSupport (F : Closeds X) : Closeds U := |
| 52 | ⟨{x | x.val ∈ F}, F.isClosed.preimage continuous_subtype_val⟩ |
| 53 | |
| 54 | /-- The part of the ambient open contained in the complement of the earlier support. -/ |
| 55 | def layerOpen (F : Closeds X) : Opens (TopCat.of ((F : Set X)ᶜ : Set X)) := |
| 56 | ⟨{x | x.val ∈ U}, U.isOpen.preimage continuous_subtype_val⟩ |
| 57 | |
| 58 | /-- Taking an open restriction and a complement in either order gives the same actual pair. -/ |
| 59 | def openLayerSwap (F : Closeds X) : |
| 60 | TopCat.of ((restrictClosedSupport X U F : Set U)ᶜ : Set U) ≃ₜ TopCat.of (layerOpen X U F) where |
| 61 | toFun x := ⟨⟨x.val.val, x.property⟩, x.val.property⟩ |
| 62 | invFun x := ⟨⟨x.val.val, x.property⟩, x.val.property⟩ |
| 63 | left_inv _ := rfl |
| 64 | right_inv _ := rfl |
| 65 | continuous_toFun := |
| 66 | ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _ |
| 67 | continuous_invFun := |
| 68 | ((continuous_subtype_val.comp continuous_subtype_val).subtype_mk _).subtype_mk _ |
| 69 | |
| 70 | /-- Layer support is preserved under the actual exchange of subspaces. -/ |
| 71 | theorem openLayerSwap_mem (F G : Closeds X) |
| 72 | (x : TopCat.of ((restrictClosedSupport X U F : Set U)ᶜ : Set U)) : |
| 73 | x ∈ (CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer (TopCat.of U) (restrictClosedSupport X U F) (restrictClosedSupport X U G))ᶜ ↔ |
| 74 | openLayerSwap X U F x ∈ {y : layerOpen X U F | y.val ∈ CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer X F G}ᶜ := Iff.rfl |
| 75 | |
| 76 | /-- Vanishing on all opens of every actual layer implies vanishing on the |
| 77 | chosen open restriction of the whole finite support. -/ |
| 78 | theorem closedSupportFiltration_open_isZero {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 79 | (N : ℕ) (F : Fin (N + 1) → Closeds X) (hF : Monotone F) (hfirst : F 0 = ⊥) (n : ℕ) |
| 80 | (hLayer : ∀ i : Fin N, ∀ V : Opens (TopCat.of ((F i.castSucc : Set X)ᶜ : Set X)), |
| 81 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of V) |
| 82 | {x : V | x.val ∈ CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer X (F i.castSucc) (F i.succ)}ᶜ n)) : |
| 83 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of U) |
| 84 | {x : U | x.val ∈ (F (Fin.last N) : Set X)}ᶜ n) := by |
| 85 | apply CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportFiltration_isZero M (TopCat.of U) N (fun i => restrictClosedSupport X U (F i)) |
| 86 | (fun i j hij x hx => hF hij hx) n |
| 87 | · have he : restrictClosedSupport X U (F 0) = ⊥ := by |
| 88 | rw [hfirst] |
| 89 | rfl |
| 90 | simpa only [he, Closeds.coe_bot] using CycleClass.Geometric.ClosedSupportFiltration.Cycles.cohomologyWithEmptySupport_isZero M (TopCat.of U) n |
| 91 | · intro i |
| 92 | let e := pairHomeomorphCohomologyIso M (openLayerSwap X U (F i.castSucc)) |
| 93 | (CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer (TopCat.of U) (restrictClosedSupport X U (F i.castSucc)) |
| 94 | (restrictClosedSupport X U (F i.succ)))ᶜ |
| 95 | {x : layerOpen X U (F i.castSucc) | x.val ∈ CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer X (F i.castSucc) (F i.succ)}ᶜ |
| 96 | (openLayerSwap_mem X U (F i.castSucc) (F i.succ)) n |
| 97 | exact (hLayer i (layerOpen X U (F i.castSucc))).of_iso e.symm |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Open.SupportFiltration |