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.TensorPower.Maps |
| 2 | |
| 3 | /-! # Restriction Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical restriction comparison for tensor powers, compatible with maps of module sheaves. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 16 | (L : Y.Modules) (n : ℕ) |
| 17 | |
| 18 | /-- The restricted tensor-power sheaf has the universal multilinear correspondence. -/ |
| 19 | def tensorPowerRestrictHomEquiv (P : X.Modules) : |
| 20 | ((PowerSheaf.tensorPowerModule L n).restrict f ⟶ P) ≃ Tensor.Powers.SheafMultilinearMap (L.restrict f) n P := |
| 21 | ((Scheme.Modules.restrictAdjunction f).homEquiv (PowerSheaf.tensorPowerModule L n) P).trans |
| 22 | ((PowerSheaf.tensorPowerHomEquiv L ((Scheme.Modules.pushforward f).obj P) n).trans |
| 23 | (Tensor.Powers.SheafMultilinearMap.restrictHomEquiv f L n P).symm) |
| 24 | |
| 25 | theorem tensorPowerRestrictMultilinear_postcomp {P : X.Modules} |
| 26 | (h : (PowerSheaf.tensorPowerModule L n).restrict f ⟶ P) : |
| 27 | ((Maps.tensorPowerMultilinear L n).restrict f).postcomp h = |
| 28 | tensorPowerRestrictHomEquiv f L n P h := by |
| 29 | apply (Tensor.Powers.SheafMultilinearMap.restrictHomEquiv f L n P).injective |
| 30 | exact (Tensor.Powers.SheafMultilinearMap.restrictHomEquiv_postcomp _ f h).trans |
| 31 | ((Maps.tensorPowerMultilinear_postcomp _).trans |
| 32 | ((Tensor.Powers.SheafMultilinearMap.restrictHomEquiv f L n P).apply_symm_apply _).symm) |
| 33 | |
| 34 | theorem tensorPowerRestrict_hom_ext {P : X.Modules} |
| 35 | {a b : (PowerSheaf.tensorPowerModule L n).restrict f ⟶ P} |
| 36 | (h : ((Maps.tensorPowerMultilinear L n).restrict f).postcomp a = |
| 37 | ((Maps.tensorPowerMultilinear L n).restrict f).postcomp b) : a = b := |
| 38 | (tensorPowerRestrictHomEquiv f L n P).injective |
| 39 | ((tensorPowerRestrictMultilinear_postcomp f L n a).symm.trans |
| 40 | (h.trans (tensorPowerRestrictMultilinear_postcomp f L n b))) |
| 41 | |
| 42 | /-- The canonical comparison from the power of the restriction to the restricted power. -/ |
| 43 | def tensorPowerRestrictHom : PowerSheaf.tensorPowerModule (L.restrict f) n ⟶ (PowerSheaf.tensorPowerModule L n).restrict f := |
| 44 | (PowerSheaf.tensorPowerHomEquiv (L.restrict f) ((PowerSheaf.tensorPowerModule L n).restrict f) n).symm |
| 45 | ((Maps.tensorPowerMultilinear L n).restrict f) |
| 46 | |
| 47 | /-- The inverse comparison, obtained from the restricted universal property. -/ |
| 48 | def tensorPowerRestrictInv : (PowerSheaf.tensorPowerModule L n).restrict f ⟶ PowerSheaf.tensorPowerModule (L.restrict f) n := |
| 49 | (tensorPowerRestrictHomEquiv f L n (PowerSheaf.tensorPowerModule (L.restrict f) n)).symm |
| 50 | (Maps.tensorPowerMultilinear (L.restrict f) n) |
| 51 | |
| 52 | theorem tensorPowerRestrictHom_spec : |
| 53 | (Maps.tensorPowerMultilinear (L.restrict f) n).postcomp (tensorPowerRestrictHom f L n) = |
| 54 | (Maps.tensorPowerMultilinear L n).restrict f := |
| 55 | (Maps.tensorPowerMultilinear_postcomp _).trans |
| 56 | ((PowerSheaf.tensorPowerHomEquiv (L.restrict f) ((PowerSheaf.tensorPowerModule L n).restrict f) n).apply_symm_apply _) |
| 57 | |
| 58 | theorem tensorPowerRestrictInv_spec : |
| 59 | ((Maps.tensorPowerMultilinear L n).restrict f).postcomp (tensorPowerRestrictInv f L n) = |
| 60 | Maps.tensorPowerMultilinear (L.restrict f) n := |
| 61 | (tensorPowerRestrictMultilinear_postcomp f L n _).trans |
| 62 | ((tensorPowerRestrictHomEquiv f L n (PowerSheaf.tensorPowerModule (L.restrict f) n)).apply_symm_apply _) |
| 63 | |
| 64 | /-- Tensor powers commute canonically with restriction to an open subscheme. -/ |
| 65 | def tensorPowerRestrictIso : PowerSheaf.tensorPowerModule (L.restrict f) n ≅ (PowerSheaf.tensorPowerModule L n).restrict f where |
| 66 | hom := tensorPowerRestrictHom f L n |
| 67 | inv := tensorPowerRestrictInv f L n |
| 68 | hom_inv_id := by |
| 69 | apply Maps.tensorPower_hom_ext |
| 70 | exact (Tensor.Powers.SheafMultilinearMap.postcomp_comp _ _ _).trans |
| 71 | ((congrArg (fun β : Tensor.Powers.SheafMultilinearMap (L.restrict f) n ((PowerSheaf.tensorPowerModule L n).restrict f) => |
| 72 | β.postcomp (tensorPowerRestrictInv f L n)) (tensorPowerRestrictHom_spec f L n)).trans |
| 73 | ((tensorPowerRestrictInv_spec f L n).trans (Tensor.Powers.SheafMultilinearMap.postcomp_id _).symm)) |
| 74 | inv_hom_id := by |
| 75 | apply tensorPowerRestrict_hom_ext f L n |
| 76 | exact (Tensor.Powers.SheafMultilinearMap.postcomp_comp _ _ _).trans |
| 77 | ((congrArg (fun β : Tensor.Powers.SheafMultilinearMap (L.restrict f) n (PowerSheaf.tensorPowerModule (L.restrict f) n) => |
| 78 | β.postcomp (tensorPowerRestrictHom f L n)) (tensorPowerRestrictInv_spec f L n)).trans |
| 79 | ((tensorPowerRestrictHom_spec f L n).trans (Tensor.Powers.SheafMultilinearMap.postcomp_id _).symm)) |
| 80 | |
| 81 | variable {L n} |
| 82 | |
| 83 | /-- The canonical restriction comparison commutes with maps of all tensor factors. -/ |
| 84 | theorem tensorPowerRestrictIso_naturality {M : Y.Modules} (a : L ⟶ M) : |
| 85 | Maps.tensorPowerMap ((Scheme.Modules.restrictFunctor f).map a) n ≫ (tensorPowerRestrictIso f M n).hom = |
| 86 | (tensorPowerRestrictIso f L n).hom ≫ (Scheme.Modules.restrictFunctor f).map (Maps.tensorPowerMap a n) := by |
| 87 | apply Maps.tensorPower_hom_ext |
| 88 | calc |
| 89 | (Maps.tensorPowerMultilinear (L.restrict f) n).postcomp |
| 90 | (Maps.tensorPowerMap ((Scheme.Modules.restrictFunctor f).map a) n ≫ |
| 91 | (tensorPowerRestrictIso f M n).hom) = |
| 92 | ((Maps.tensorPowerMultilinear (L.restrict f) n).postcomp |
| 93 | (Maps.tensorPowerMap ((Scheme.Modules.restrictFunctor f).map a) n)).postcomp |
| 94 | (tensorPowerRestrictIso f M n).hom := Tensor.Powers.SheafMultilinearMap.postcomp_comp _ _ _ |
| 95 | _ = ((Maps.tensorPowerMultilinear (M.restrict f) n).precomp |
| 96 | ((Scheme.Modules.restrictFunctor f).map a)).postcomp (tensorPowerRestrictIso f M n).hom := |
| 97 | congrArg (fun β : Tensor.Powers.SheafMultilinearMap (L.restrict f) n (PowerSheaf.tensorPowerModule (M.restrict f) n) => |
| 98 | β.postcomp (tensorPowerRestrictIso f M n).hom) (Maps.tensorPowerMap_spec _ _) |
| 99 | _ = ((Maps.tensorPowerMultilinear M n).restrict f).precomp ((Scheme.Modules.restrictFunctor f).map a) := |
| 100 | (Tensor.Powers.SheafMultilinearMap.precomp_postcomp _ _ _).symm.trans |
| 101 | (congrArg (fun β : Tensor.Powers.SheafMultilinearMap (M.restrict f) n ((PowerSheaf.tensorPowerModule M n).restrict f) => |
| 102 | β.precomp ((Scheme.Modules.restrictFunctor f).map a)) (tensorPowerRestrictHom_spec f M n)) |
| 103 | _ = ((Maps.tensorPowerMultilinear M n).precomp a).restrict f := |
| 104 | (Tensor.Powers.SheafMultilinearMap.restrict_precomp _ f a).symm |
| 105 | _ = ((Maps.tensorPowerMultilinear L n).postcomp (Maps.tensorPowerMap a n)).restrict f := |
| 106 | congrArg (fun β : Tensor.Powers.SheafMultilinearMap L n (PowerSheaf.tensorPowerModule M n) => β.restrict f) |
| 107 | (Maps.tensorPowerMap_spec a n).symm |
| 108 | _ = ((Maps.tensorPowerMultilinear L n).restrict f).postcomp |
| 109 | ((Scheme.Modules.restrictFunctor f).map (Maps.tensorPowerMap a n)) := |
| 110 | Tensor.Powers.SheafMultilinearMap.restrict_postcomp _ f _ |
| 111 | _ = (Maps.tensorPowerMultilinear (L.restrict f) n).postcomp |
| 112 | ((tensorPowerRestrictIso f L n).hom ≫ (Scheme.Modules.restrictFunctor f).map (Maps.tensorPowerMap a n)) := |
| 113 | (congrArg (fun β : Tensor.Powers.SheafMultilinearMap (L.restrict f) n ((PowerSheaf.tensorPowerModule L n).restrict f) => |
| 114 | β.postcomp ((Scheme.Modules.restrictFunctor f).map (Maps.tensorPowerMap a n))) |
| 115 | (tensorPowerRestrictHom_spec f L n).symm).trans |
| 116 | (Tensor.Powers.SheafMultilinearMap.postcomp_comp _ _ _).symm |
| 117 | |
| 118 | /-- A map that is invertible on an open stays invertible there after taking tensor powers. -/ |
| 119 | theorem tensorPowerMap_restrict_isIso {M : Y.Modules} (a : L ⟶ M) |
| 120 | [IsIso ((Scheme.Modules.restrictFunctor f).map a)] : |
| 121 | IsIso ((Scheme.Modules.restrictFunctor f).map (Maps.tensorPowerMap a n)) := by |
| 122 | have : IsIso (Maps.tensorPowerMap ((Scheme.Modules.restrictFunctor f).map a) n) := |
| 123 | (Maps.tensorPowerFunctor X n).map_isIso _ |
| 124 | have he := tensorPowerRestrictIso_naturality (n := n) f a |
| 125 | have : IsIso ((tensorPowerRestrictIso f L n).hom ≫ |
| 126 | (Scheme.Modules.restrictFunctor f).map (Maps.tensorPowerMap a n)) := he ▸ inferInstance |
| 127 | exact (isIso_comp_left_iff _ _).mp this |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps |