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.AbelianModuli.HilbertConstruction.Tensor.Isomorphisms |
| 2 | |
| 3 | /-! # Multilinear Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction of multilinear maps of module sheaves to an open subscheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} {L M N : Y.Modules} {n : ℕ} |
| 16 | |
| 17 | /-- Direct image of a multilinear map, with scalars restricted along the |
| 18 | map on coordinate rings. -/ |
| 19 | def Tensor.Powers.SheafMultilinearMap.pushforward {P Q : X.Modules} (β : Tensor.Powers.SheafMultilinearMap P n Q) (f : X ⟶ Y) : |
| 20 | Tensor.Powers.SheafMultilinearMap ((Scheme.Modules.pushforward f).obj P) n |
| 21 | ((Scheme.Modules.pushforward f).obj Q) where |
| 22 | app U := { |
| 23 | toFun := (β.app (f ⁻¹ᵁ U)).toFun |
| 24 | map_update_add' s i x y := (β.app (f ⁻¹ᵁ U)).map_update_add s i x y |
| 25 | map_update_smul' s i r x := (β.app (f ⁻¹ᵁ U)).map_update_smul s i (f.app U r) x } |
| 26 | naturality h s := β.naturality ((TopologicalSpace.Opens.map f.base).map h) s |
| 27 | |
| 28 | theorem Tensor.Powers.SheafMultilinearMap.pushforward_postcomp {P Q R : X.Modules} (β : Tensor.Powers.SheafMultilinearMap P n Q) |
| 29 | (f : X ⟶ Y) (h : Q ⟶ R) : |
| 30 | (β.postcomp h).pushforward f = |
| 31 | (β.pushforward f).postcomp ((Scheme.Modules.pushforward f).map h) := by |
| 32 | ext U s |
| 33 | rfl |
| 34 | |
| 35 | theorem Tensor.Powers.SheafMultilinearMap.pushforward_precomp {P Q R : X.Modules} (β : Tensor.Powers.SheafMultilinearMap P n Q) |
| 36 | (f : X ⟶ Y) (h : R ⟶ P) : |
| 37 | (β.precomp h).pushforward f = |
| 38 | (β.pushforward f).precomp ((Scheme.Modules.pushforward f).map h) := by |
| 39 | ext U s |
| 40 | rfl |
| 41 | |
| 42 | /-- Restrict a multilinear map along an open immersion. The section formula |
| 43 | uses the corresponding image open and the isomorphism of its coordinate rings. -/ |
| 44 | def Tensor.Powers.SheafMultilinearMap.restrict (β : Tensor.Powers.SheafMultilinearMap L n M) (f : X ⟶ Y) [IsOpenImmersion f] : |
| 45 | Tensor.Powers.SheafMultilinearMap (L.restrict f) n (M.restrict f) where |
| 46 | app U := { |
| 47 | toFun := (β.app (f ''ᵁ U)).toFun |
| 48 | map_update_add' s i x y := (β.app (f ''ᵁ U)).map_update_add s i x y |
| 49 | map_update_smul' s i r x := (β.app (f ''ᵁ U)).map_update_smul s i ((f.appIso U).inv r) x } |
| 50 | naturality h s := β.naturality (f.opensFunctor.map h) s |
| 51 | |
| 52 | /-- Restriction commutes with postcomposition by a morphism of module sheaves. -/ |
| 53 | theorem Tensor.Powers.SheafMultilinearMap.restrict_postcomp (β : Tensor.Powers.SheafMultilinearMap L n M) (f : X ⟶ Y) [IsOpenImmersion f] |
| 54 | (h : M ⟶ N) : |
| 55 | (β.postcomp h).restrict f = (β.restrict f).postcomp ((Scheme.Modules.restrictFunctor f).map h) := by |
| 56 | ext U s |
| 57 | rfl |
| 58 | |
| 59 | /-- Restriction commutes with precomposition in all the multilinear arguments. -/ |
| 60 | theorem Tensor.Powers.SheafMultilinearMap.restrict_precomp (β : Tensor.Powers.SheafMultilinearMap L n M) (f : X ⟶ Y) [IsOpenImmersion f] |
| 61 | (h : N ⟶ L) : |
| 62 | (β.precomp h).restrict f = (β.restrict f).precomp ((Scheme.Modules.restrictFunctor f).map h) := by |
| 63 | ext U s |
| 64 | rfl |
| 65 | |
| 66 | /-- The unit of restriction/direct image is compatible with multilinear maps. -/ |
| 67 | theorem Tensor.Powers.SheafMultilinearMap.restrict_unit_naturality (β : Tensor.Powers.SheafMultilinearMap L n M) |
| 68 | (f : X ⟶ Y) [IsOpenImmersion f] : |
| 69 | ((β.restrict f).pushforward f).precomp ((Scheme.Modules.restrictAdjunction f).unit.app L) = |
| 70 | β.postcomp ((Scheme.Modules.restrictAdjunction f).unit.app M) := by |
| 71 | ext U s |
| 72 | exact (β.naturality (f.isOpenEmbedding.isOpenMap.adjunction.counit.app U) s).symm |
| 73 | |
| 74 | /-- The counit of restriction/direct image is compatible with multilinear maps. -/ |
| 75 | theorem Tensor.Powers.SheafMultilinearMap.restrict_counit_naturality {P Q : X.Modules} (β : Tensor.Powers.SheafMultilinearMap P n Q) |
| 76 | (f : X ⟶ Y) [IsOpenImmersion f] : |
| 77 | ((β.pushforward f).restrict f).postcomp ((Scheme.Modules.restrictAdjunction f).counit.app Q) = |
| 78 | β.precomp ((Scheme.Modules.restrictAdjunction f).counit.app P) := by |
| 79 | ext U s |
| 80 | exact β.naturality (f.isOpenEmbedding.isOpenMap.adjunction.unit.app U) s |
| 81 | |
| 82 | /-- The restriction/direct-image adjunction also holds for multilinear maps. -/ |
| 83 | def Tensor.Powers.SheafMultilinearMap.restrictHomEquiv (f : X ⟶ Y) [IsOpenImmersion f] (L : Y.Modules) (n : ℕ) (Q : X.Modules) : |
| 84 | Tensor.Powers.SheafMultilinearMap (L.restrict f) n Q ≃ |
| 85 | Tensor.Powers.SheafMultilinearMap L n ((Scheme.Modules.pushforward f).obj Q) where |
| 86 | toFun β := (β.pushforward f).precomp ((Scheme.Modules.restrictAdjunction f).unit.app L) |
| 87 | invFun β := (β.restrict f).postcomp ((Scheme.Modules.restrictAdjunction f).counit.app Q) |
| 88 | left_inv β := by |
| 89 | change (((β.pushforward f).precomp |
| 90 | ((Scheme.Modules.restrictAdjunction f).unit.app L)).restrict f).postcomp |
| 91 | ((Scheme.Modules.restrictAdjunction f).counit.app Q) = β |
| 92 | rw [Tensor.Powers.SheafMultilinearMap.restrict_precomp, ← Tensor.Powers.SheafMultilinearMap.precomp_postcomp, Tensor.Powers.SheafMultilinearMap.restrict_counit_naturality, Tensor.Powers.SheafMultilinearMap.precomp_comp] |
| 93 | exact (congrArg (fun h => β.precomp h) |
| 94 | ((Scheme.Modules.restrictAdjunction f).left_triangle_components L)).trans β.precomp_id |
| 95 | right_inv β := by |
| 96 | change (((β.restrict f).postcomp |
| 97 | ((Scheme.Modules.restrictAdjunction f).counit.app Q)).pushforward f).precomp |
| 98 | ((Scheme.Modules.restrictAdjunction f).unit.app L) = β |
| 99 | rw [Tensor.Powers.SheafMultilinearMap.pushforward_postcomp, Tensor.Powers.SheafMultilinearMap.precomp_postcomp, Tensor.Powers.SheafMultilinearMap.restrict_unit_naturality, ← Tensor.Powers.SheafMultilinearMap.postcomp_comp] |
| 100 | exact (congrArg (fun h => β.postcomp h) |
| 101 | ((Scheme.Modules.restrictAdjunction f).right_triangle_components Q)).trans β.postcomp_id |
| 102 | |
| 103 | /-- The multilinear adjunction respects postcomposition by a restricted sheaf map. -/ |
| 104 | theorem Tensor.Powers.SheafMultilinearMap.restrictHomEquiv_postcomp (β : Tensor.Powers.SheafMultilinearMap L n M) |
| 105 | (f : X ⟶ Y) [IsOpenImmersion f] {Q : X.Modules} (h : M.restrict f ⟶ Q) : |
| 106 | Tensor.Powers.SheafMultilinearMap.restrictHomEquiv f L n Q ((β.restrict f).postcomp h) = |
| 107 | β.postcomp ((Scheme.Modules.restrictAdjunction f).homEquiv M Q h) := by |
| 108 | change (((β.restrict f).postcomp h).pushforward f).precomp |
| 109 | ((Scheme.Modules.restrictAdjunction f).unit.app L) = _ |
| 110 | rw [Tensor.Powers.SheafMultilinearMap.pushforward_postcomp, Tensor.Powers.SheafMultilinearMap.precomp_postcomp, Tensor.Powers.SheafMultilinearMap.restrict_unit_naturality, ← Tensor.Powers.SheafMultilinearMap.postcomp_comp] |
| 111 | rfl |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |