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.Bilinear.Sheaves |
| 2 | |
| 3 | /-! # Bilinear Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bilinear |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction and direct image of bilinear sheaf maps, with their adjunction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | /-- Direct image of a bilinear map, with coordinate-ring scalars restricted. -/ |
| 18 | def Sheaves.SheafBilinearMap.pushforward {M N P : X.Modules} (β : Sheaves.SheafBilinearMap M N P) (f : X ⟶ Y) : |
| 19 | Sheaves.SheafBilinearMap ((Scheme.Modules.pushforward f).obj M) |
| 20 | ((Scheme.Modules.pushforward f).obj N) ((Scheme.Modules.pushforward f).obj P) where |
| 21 | app U := { |
| 22 | toFun x := { |
| 23 | toFun y := β.app (f ⁻¹ᵁ U) x y |
| 24 | map_add' y z := (β.app (f ⁻¹ᵁ U) x).map_add y z |
| 25 | map_smul' r y := (β.app (f ⁻¹ᵁ U) x).map_smul (f.app U r) y } |
| 26 | map_add' x y := LinearMap.ext fun z => |
| 27 | LinearMap.congr_fun ((β.app (f ⁻¹ᵁ U)).map_add x y) z |
| 28 | map_smul' r x := LinearMap.ext fun z => |
| 29 | LinearMap.congr_fun ((β.app (f ⁻¹ᵁ U)).map_smul (f.app U r) x) z } |
| 30 | naturality h x y := β.naturality ((TopologicalSpace.Opens.map f.base).map h) x y |
| 31 | |
| 32 | /-- Restriction of a bilinear map to an open subscheme. -/ |
| 33 | def Sheaves.SheafBilinearMap.restrict {M N P : Y.Modules} (β : Sheaves.SheafBilinearMap M N P) (f : X ⟶ Y) |
| 34 | [IsOpenImmersion f] : Sheaves.SheafBilinearMap (M.restrict f) (N.restrict f) (P.restrict f) where |
| 35 | app U := { |
| 36 | toFun x := { |
| 37 | toFun y := β.app (f ''ᵁ U) x y |
| 38 | map_add' y z := (β.app (f ''ᵁ U) x).map_add y z |
| 39 | map_smul' r y := (β.app (f ''ᵁ U) x).map_smul ((f.appIso U).inv r) y } |
| 40 | map_add' x y := LinearMap.ext fun z => |
| 41 | LinearMap.congr_fun ((β.app (f ''ᵁ U)).map_add x y) z |
| 42 | map_smul' r x := LinearMap.ext fun z => |
| 43 | LinearMap.congr_fun ((β.app (f ''ᵁ U)).map_smul ((f.appIso U).inv r) x) z } |
| 44 | naturality h x y := β.naturality (f.opensFunctor.map h) x y |
| 45 | |
| 46 | theorem Sheaves.SheafBilinearMap.precomp_comp {M M' M'' N N' N'' P : X.Modules} (β : Sheaves.SheafBilinearMap M N P) |
| 47 | (f : M' ⟶ M) (g : N' ⟶ N) (f' : M'' ⟶ M') (g' : N'' ⟶ N') : |
| 48 | (β.precomp f g).precomp f' g' = β.precomp (f' ≫ f) (g' ≫ g) := by |
| 49 | ext U x y |
| 50 | rfl |
| 51 | |
| 52 | theorem Sheaves.SheafBilinearMap.pushforward_postcomp {M N P Q : X.Modules} (β : Sheaves.SheafBilinearMap M N P) |
| 53 | (f : X ⟶ Y) (h : P ⟶ Q) : |
| 54 | (β.postcomp h).pushforward f = |
| 55 | (β.pushforward f).postcomp ((Scheme.Modules.pushforward f).map h) := by |
| 56 | ext U x y |
| 57 | rfl |
| 58 | |
| 59 | theorem Sheaves.SheafBilinearMap.restrict_postcomp {M N P Q : Y.Modules} (β : Sheaves.SheafBilinearMap M N P) |
| 60 | (f : X ⟶ Y) [IsOpenImmersion f] (h : P ⟶ Q) : |
| 61 | (β.postcomp h).restrict f = |
| 62 | (β.restrict f).postcomp ((Scheme.Modules.restrictFunctor f).map h) := by |
| 63 | ext U x y |
| 64 | rfl |
| 65 | |
| 66 | theorem Sheaves.SheafBilinearMap.restrict_precomp {M M' N N' P : Y.Modules} (β : Sheaves.SheafBilinearMap M N P) |
| 67 | (f : X ⟶ Y) [IsOpenImmersion f] (a : M' ⟶ M) (b : N' ⟶ N) : |
| 68 | (β.precomp a b).restrict f = (β.restrict f).precomp |
| 69 | ((Scheme.Modules.restrictFunctor f).map a) ((Scheme.Modules.restrictFunctor f).map b) := by |
| 70 | ext U x y |
| 71 | rfl |
| 72 | |
| 73 | theorem Sheaves.SheafBilinearMap.restrict_unit_naturality {M N P : Y.Modules} (β : Sheaves.SheafBilinearMap M N P) |
| 74 | (f : X ⟶ Y) [IsOpenImmersion f] : |
| 75 | ((β.restrict f).pushforward f).precomp |
| 76 | ((Scheme.Modules.restrictAdjunction f).unit.app M) |
| 77 | ((Scheme.Modules.restrictAdjunction f).unit.app N) = |
| 78 | β.postcomp ((Scheme.Modules.restrictAdjunction f).unit.app P) := by |
| 79 | ext U x y |
| 80 | exact (β.naturality (f.isOpenEmbedding.isOpenMap.adjunction.counit.app U) x y).symm |
| 81 | |
| 82 | theorem Sheaves.SheafBilinearMap.restrict_counit_naturality {M N P : X.Modules} (β : Sheaves.SheafBilinearMap M N P) |
| 83 | (f : X ⟶ Y) [IsOpenImmersion f] : |
| 84 | ((β.pushforward f).restrict f).postcomp ((Scheme.Modules.restrictAdjunction f).counit.app P) = |
| 85 | β.precomp ((Scheme.Modules.restrictAdjunction f).counit.app M) |
| 86 | ((Scheme.Modules.restrictAdjunction f).counit.app N) := by |
| 87 | ext U x y |
| 88 | exact β.naturality (f.isOpenEmbedding.isOpenMap.adjunction.unit.app U) x y |
| 89 | |
| 90 | /-- The restriction/direct-image adjunction for bilinear maps. -/ |
| 91 | def Sheaves.SheafBilinearMap.restrictHomEquiv (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) (P : X.Modules) : |
| 92 | Sheaves.SheafBilinearMap (M.restrict f) (N.restrict f) P ≃ |
| 93 | Sheaves.SheafBilinearMap M N ((Scheme.Modules.pushforward f).obj P) where |
| 94 | toFun β := (β.pushforward f).precomp ((Scheme.Modules.restrictAdjunction f).unit.app M) |
| 95 | ((Scheme.Modules.restrictAdjunction f).unit.app N) |
| 96 | invFun β := (β.restrict f).postcomp ((Scheme.Modules.restrictAdjunction f).counit.app P) |
| 97 | left_inv β := by |
| 98 | change (((β.pushforward f).precomp ((Scheme.Modules.restrictAdjunction f).unit.app M) |
| 99 | ((Scheme.Modules.restrictAdjunction f).unit.app N)).restrict f).postcomp |
| 100 | ((Scheme.Modules.restrictAdjunction f).counit.app P) = β |
| 101 | rw [Sheaves.SheafBilinearMap.restrict_precomp, ← Sheaves.SheafBilinearMap.precomp_postcomp, Sheaves.SheafBilinearMap.restrict_counit_naturality, Sheaves.SheafBilinearMap.precomp_comp] |
| 102 | exact (congrArg₂ (fun a b => β.precomp a b) |
| 103 | ((Scheme.Modules.restrictAdjunction f).left_triangle_components M) |
| 104 | ((Scheme.Modules.restrictAdjunction f).left_triangle_components N)).trans β.precomp_id |
| 105 | right_inv β := by |
| 106 | change (((β.restrict f).postcomp ((Scheme.Modules.restrictAdjunction f).counit.app P)).pushforward f).precomp |
| 107 | ((Scheme.Modules.restrictAdjunction f).unit.app M) |
| 108 | ((Scheme.Modules.restrictAdjunction f).unit.app N) = β |
| 109 | rw [Sheaves.SheafBilinearMap.pushforward_postcomp, Sheaves.SheafBilinearMap.precomp_postcomp, Sheaves.SheafBilinearMap.restrict_unit_naturality, ← Sheaves.SheafBilinearMap.postcomp_comp] |
| 110 | exact (congrArg (fun h => β.postcomp h) |
| 111 | ((Scheme.Modules.restrictAdjunction f).right_triangle_components P)).trans β.postcomp_id |
| 112 | |
| 113 | /-- Naturality of the bilinear adjunction in its output sheaf. -/ |
| 114 | theorem Sheaves.SheafBilinearMap.restrictHomEquiv_postcomp (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 115 | {P Q : X.Modules} (β : Sheaves.SheafBilinearMap (M.restrict f) (N.restrict f) P) (h : P ⟶ Q) : |
| 116 | Sheaves.SheafBilinearMap.restrictHomEquiv f M N Q (β.postcomp h) = |
| 117 | (Sheaves.SheafBilinearMap.restrictHomEquiv f M N P β).postcomp ((Scheme.Modules.pushforward f).map h) := by |
| 118 | change ((β.postcomp h).pushforward f).precomp _ _ = _ |
| 119 | rw [Sheaves.SheafBilinearMap.pushforward_postcomp, Sheaves.SheafBilinearMap.precomp_postcomp] |
| 120 | rfl |
| 121 | |
| 122 | /-- Naturality of the inverse bilinear adjunction in its output sheaf. -/ |
| 123 | theorem Sheaves.SheafBilinearMap.restrictHomEquiv_symm_postcomp (f : X ⟶ Y) [IsOpenImmersion f] (M N : Y.Modules) |
| 124 | {P Q : X.Modules} (β : Sheaves.SheafBilinearMap M N ((Scheme.Modules.pushforward f).obj P)) |
| 125 | (h : P ⟶ Q) : |
| 126 | (Sheaves.SheafBilinearMap.restrictHomEquiv f M N Q).symm (β.postcomp ((Scheme.Modules.pushforward f).map h)) = |
| 127 | ((Sheaves.SheafBilinearMap.restrictHomEquiv f M N P).symm β).postcomp h := by |
| 128 | apply (Sheaves.SheafBilinearMap.restrictHomEquiv f M N Q).injective |
| 129 | rw [Equiv.apply_symm_apply, Sheaves.SheafBilinearMap.restrictHomEquiv_postcomp, Equiv.apply_symm_apply] |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bilinear |