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.AbelianScheme.CartierDuality.SheafQuotients |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafBaseChange |
| 3 | import Mathlib.CategoryTheory.Sites.Pullback |
| 4 | |
| 5 | /-! # Annihilator Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AnnihilatorBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # CartierDuality: arbitrary base change of pairings and annihilator subobjects |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u v u' v' |
| 18 | |
| 19 | namespace Construction.BaseChangeKernels |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [HasZeroMorphisms C] [HasKernels C] |
| 22 | {C' : Type u'} [Category.{v'} C'] [HasZeroMorphisms C'] [HasKernels C'] |
| 23 | (F : C ⥤ C') [F.PreservesZeroMorphisms] [F.PreservesMonomorphisms] |
| 24 | [PreservesLimitsOfShape WalkingParallelPair F] |
| 25 | |
| 26 | omit [HasKernels C'] in |
| 27 | /-- A functor preserving kernels carries their actual subobjects to |
| 28 | the kernel subobjects of the mapped morphisms. -/ |
| 29 | theorem map_kernel {X Y : C} (a : X ⟶ Y) : |
| 30 | Subobject.mk (F.map (kernelSubobject a).arrow) = kernelSubobject (F.map a) := by |
| 31 | apply Subobject.mk_eq_mk_of_comm _ _ |
| 32 | (F.mapIso (kernelSubobjectIso a) ≪≫ PreservesKernel.iso F a) |
| 33 | simp only [Iso.trans_hom, Functor.mapIso_hom, Category.assoc, PreservesKernel.iso_hom, |
| 34 | kernelComparison_comp_ι, ← F.map_comp, kernelSubobject_arrow] |
| 35 | |
| 36 | /-- Natural compatibility with a contravariant character functor |
| 37 | identifies the mapped annihilator as the annihilator of the mapped subgroup. -/ |
| 38 | theorem annihilator_map (D : Cᵒᵖ ⥤ C) (D' : C'ᵒᵖ ⥤ C') |
| 39 | (δ : ∀ X : C, F.obj (D.obj (Opposite.op X)) ≅ D'.obj (Opposite.op (F.obj X))) |
| 40 | (hn : ∀ {X Y : C} (a : X ⟶ Y), F.map (D.map a.op) ≫ (δ X).hom = |
| 41 | (δ Y).hom ≫ D'.map (F.map a).op) |
| 42 | {G K : C} (r : K ⟶ D.obj (Opposite.op G)) (H : Subobject G) : |
| 43 | Subobject.mk (F.map (kernelSubobject (r ≫ D.map H.arrow.op)).arrow) = |
| 44 | kernelSubobject ((F.map r ≫ (δ G).hom) ≫ |
| 45 | D'.map (Subobject.mk (F.map H.arrow)).arrow.op) := by |
| 46 | let j := Subobject.underlyingIso (F.map H.arrow) |
| 47 | let p := (δ (H : C)).hom ≫ D'.map j.hom.op |
| 48 | let : IsIso p := inferInstanceAs (IsIso ((δ (H : C)).hom ≫ D'.map j.hom.op)) |
| 49 | have hj : j.hom ≫ F.map H.arrow = (Subobject.mk (F.map H.arrow)).arrow := |
| 50 | Subobject.underlyingIso_hom_comp_eq_mk (F.map H.arrow) |
| 51 | have hf : (F.map r ≫ (δ G).hom) ≫ D'.map (Subobject.mk (F.map H.arrow)).arrow.op = |
| 52 | F.map (r ≫ D.map H.arrow.op) ≫ p := by |
| 53 | rw [← hj, op_comp, D'.map_comp] |
| 54 | dsimp only [p] |
| 55 | rw [Category.assoc, ← Category.assoc (δ G).hom, ← hn H.arrow, |
| 56 | Category.assoc, ← Category.assoc (F.map r), ← F.map_comp] |
| 57 | exact (map_kernel F (r ≫ D.map H.arrow.op)).trans |
| 58 | ((kernelSubobject_comp_mono (F.map (r ≫ D.map H.arrow.op)) p).symm.trans |
| 59 | (congrArg (fun a : F.obj K ⟶ D'.obj (Opposite.op (Subobject.mk (F.map H.arrow) : C')) => |
| 60 | kernelSubobject a) hf.symm)) |
| 61 | |
| 62 | end Construction.BaseChangeKernels |
| 63 | |
| 64 | namespace Construction.Schemes |
| 65 | |
| 66 | /-- Base change of commutative fppf sheaves preserves limits. -/ |
| 67 | instance baseChangeFppfAb_preservesLimits {S T : Scheme.{u}} (f : T ⟶ S) : |
| 68 | PreservesLimits (SheafBaseChange.Construction.Schemes.baseChangeFppfAb f) := by |
| 69 | let : PreservesLimits (SheafBaseChange.Construction.Schemes.baseChangeFppfAb f ⋙ |
| 70 | sheafToPresheaf (Scheme.fppfTopology.over T) CommGrpCat.{u + 1}) := |
| 71 | preservesLimits_of_natIso |
| 72 | ((Over.map f).sheafPushforwardContinuousCompSheafToPresheafIso CommGrpCat.{u + 1} |
| 73 | (Scheme.fppfTopology.over T) (Scheme.fppfTopology.over S)).symm |
| 74 | exact preservesLimits_of_reflects_of_preserves (SheafBaseChange.Construction.Schemes.baseChangeFppfAb f) |
| 75 | (sheafToPresheaf (Scheme.fppfTopology.over T) CommGrpCat.{u + 1}) |
| 76 | |
| 77 | /-- Base change preserves the concrete trivial sheaf morphisms. -/ |
| 78 | instance baseChangeFppfAb_preservesZero {S T : Scheme.{u}} (f : T ⟶ S) : |
| 79 | (SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).PreservesZeroMorphisms where |
| 80 | map_zero _ _ := rfl |
| 81 | |
| 82 | /-- The Cartier base-change comparison is natural in the source sheaf. -/ |
| 83 | theorem sheafDualBaseChangeIso_natural {S T : Scheme.{u}} (f : T ⟶ S) |
| 84 | {G H : CommutativeSheavesAb.Construction.Schemes.FppfAb S} (a : H ⟶ G) : |
| 85 | (SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).map ((CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).map a.op) ≫ |
| 86 | (SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f H).hom = |
| 87 | (SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f G).hom ≫ |
| 88 | (CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor T).map ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).map a).op := by |
| 89 | apply (sheafToPresheaf (Scheme.fppfTopology.over T) CommGrpCat.{u + 1}).map_injective |
| 90 | apply NatTrans.ext |
| 91 | funext U |
| 92 | apply CommGrpCat.hom_ext |
| 93 | apply MonoidHom.ext |
| 94 | intro χ |
| 95 | apply NatTrans.ext |
| 96 | funext V |
| 97 | apply GrpCat.hom_ext |
| 98 | apply MonoidHom.ext |
| 99 | intro x |
| 100 | rfl |
| 101 | |
| 102 | /-- The canonical base-change comparison transports the actual value |
| 103 | of each character through the multiplicative-group base-change map. -/ |
| 104 | theorem sheafDualBaseChangeIso_value {S T : Scheme.{u}} (f : T ⟶ S) |
| 105 | (G : CommutativeSheavesAb.Construction.Schemes.FppfAb S) (U : Over T) |
| 106 | (χ : ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj (CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf G)).obj.obj (Opposite.op U)) |
| 107 | (x : ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj G).obj.obj (Opposite.op U)) : |
| 108 | SheafEvaluation.Construction.Schemes.sheafCharacterValue ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj G) U |
| 109 | ((SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f G).hom.hom.app (Opposite.op U) χ) x = |
| 110 | (SheafBaseChange.Construction.Schemes.multiplicativeFppfAbBaseChangeIso f).hom.hom.app (Opposite.op U) |
| 111 | (SheafEvaluation.Construction.Schemes.sheafCharacterValue G ((Over.map f).obj U) χ x) := rfl |
| 112 | |
| 113 | /-- The actual base change of a subgroup is represented by the |
| 114 | base-changed monomorphism into the base-changed ambient sheaf. -/ |
| 115 | def baseChangeSubobject {S T : Scheme.{u}} (f : T ⟶ S) {G : CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 116 | (H : Subobject G) : Subobject ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj G) := |
| 117 | Subobject.mk ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).map H.arrow) |
| 118 | |
| 119 | /-- Base change of a pairing uses restriction of its character-valued |
| 120 | right adjoint and the canonical Cartier base-change comparison. -/ |
| 121 | def baseChangePairing {S T : Scheme.{u}} (f : T ⟶ S) {G K : CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 122 | (e : SheafEvaluation.Construction.Schemes.BilinearPairing G K) : |
| 123 | SheafEvaluation.Construction.Schemes.BilinearPairing ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj G) ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj K) := |
| 124 | (SheafEvaluation.Construction.Schemes.BilinearPairing.mk ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).map e.rightAdjoint ≫ |
| 125 | (SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f G).hom)).flip |
| 126 | |
| 127 | /-- The right adjoint of the base-changed pairing is the canonical |
| 128 | base change of the original right adjoint. -/ |
| 129 | theorem baseChangePairing_rightAdjoint {S T : Scheme.{u}} (f : T ⟶ S) {G K : CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 130 | (e : SheafEvaluation.Construction.Schemes.BilinearPairing G K) : |
| 131 | (baseChangePairing f e).rightAdjoint = |
| 132 | (SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).map e.rightAdjoint ≫ (SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f G).hom := |
| 133 | congrArg SheafEvaluation.Construction.Schemes.BilinearPairing.leftAdjoint |
| 134 | (SheafEvaluation.Construction.Schemes.BilinearPairing.flip_flip (SheafEvaluation.Construction.Schemes.BilinearPairing.mk ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).map e.rightAdjoint ≫ |
| 135 | (SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f G).hom))) |
| 136 | |
| 137 | /-- The base-changed pairing evaluates to the base change of the |
| 138 | original pairing on every test scheme. -/ |
| 139 | theorem baseChangePairing_value {S T : Scheme.{u}} (f : T ⟶ S) {G K : CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 140 | (e : SheafEvaluation.Construction.Schemes.BilinearPairing G K) (U : Over T) |
| 141 | (x : ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj G).obj.obj (Opposite.op U)) |
| 142 | (y : ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj K).obj.obj (Opposite.op U)) : |
| 143 | SheafEvaluation.Construction.Schemes.sheafCharacterValue ((SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj G) U |
| 144 | ((baseChangePairing f e).rightAdjoint.hom.app (Opposite.op U) y) x = |
| 145 | (SheafBaseChange.Construction.Schemes.multiplicativeFppfAbBaseChangeIso f).hom.hom.app (Opposite.op U) |
| 146 | (SheafEvaluation.Construction.Schemes.sheafCharacterValue G ((Over.map f).obj U) |
| 147 | (e.rightAdjoint.hom.app (Opposite.op ((Over.map f).obj U)) y) x) := by |
| 148 | rw [baseChangePairing_rightAdjoint] |
| 149 | exact sheafDualBaseChangeIso_value f G U |
| 150 | (e.rightAdjoint.hom.app (Opposite.op ((Over.map f).obj U)) y) x |
| 151 | |
| 152 | /-- Taking the annihilator commutes with arbitrary scheme base change, |
| 153 | as an equality of subgroup sheaves in the canonical common ambient sheaf. -/ |
| 154 | theorem sheafAnnihilator_baseChange {S T : Scheme.{u}} (f : T ⟶ S) |
| 155 | {G K : CommutativeSheavesAb.Construction.Schemes.FppfAb S} (e : SheafEvaluation.Construction.Schemes.BilinearPairing G K) (H : Subobject G) : |
| 156 | baseChangeSubobject f (SheafQuotients.Construction.Schemes.sheafAnnihilator e H) = |
| 157 | SheafQuotients.Construction.Schemes.sheafAnnihilator (baseChangePairing f e) (baseChangeSubobject f H) := by |
| 158 | have h := BaseChangeKernels.annihilator_map (SheafBaseChange.Construction.Schemes.baseChangeFppfAb f) |
| 159 | (CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S) (CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor T) (SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f) |
| 160 | (fun a => sheafDualBaseChangeIso_natural f a) e.rightAdjoint H |
| 161 | change _ = kernelSubobject ((baseChangePairing f e).rightAdjoint ≫ |
| 162 | (CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor T).map (baseChangeSubobject f H).arrow.op) |
| 163 | rw [baseChangePairing_rightAdjoint] |
| 164 | exact h |
| 165 | |
| 166 | end Construction.Schemes |
| 167 | |
| 168 | end |
| 169 | |
| 170 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AnnihilatorBaseChange |