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.FormalGeometry.Completion.ProEtale.PullbackUnit |
| 2 | |
| 3 | /-! # Pullback Forget Unit -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.PullbackForgetUnit.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: inverse image and the underlying-set comparison preserve units |
| 11 | |
| 12 | The comparison is compatible with the actual adjunction unit. This keeps |
| 13 | the chosen integral generator fixed when identifying pulled-back torsors. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Functor Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 24 | |
| 25 | /-- The constructed comparison preserves the unit, on the underlying presheaves. -/ |
| 26 | theorem proEtConstructedPullbackForgetIso_unit |
| 27 | (P : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}) : |
| 28 | Functor.whiskerRight |
| 29 | ((Functor.sheafPullbackConstruction.sheafAdjunctionContinuous (ProetalePullback.Construction.proEtBaseChange f) |
| 30 | Ab.{u + 1} (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app P).hom |
| 31 | (forget Ab.{u + 1}) ≫ |
| 32 | Functor.whiskerLeft (ProetalePullback.Construction.proEtBaseChange f).op |
| 33 | ((PullbackTypes.Construction.proEtConstructedPullbackForgetIso f).hom.app P).hom = |
| 34 | ((Functor.sheafPullbackConstruction.sheafAdjunctionContinuous (ProetalePullback.Construction.proEtBaseChange f) |
| 35 | (Type (u + 1)) (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app |
| 36 | ((sheafCompose (Scheme.ProEt.topology Y) (forget Ab.{u + 1})).obj P)).hom := by |
| 37 | rw [PullbackUnit.Construction.proEtConstructedPullback_unit, PullbackUnit.Construction.proEtConstructedPullback_unit] |
| 38 | apply NatTrans.ext |
| 39 | funext U |
| 40 | change ((forget Ab.{u + 1}).map |
| 41 | (((ProetalePullback.Construction.proEtBaseChange f).op.leftKanExtensionUnit P.obj).app U) ≫ |
| 42 | (forget Ab.{u + 1}).map |
| 43 | ((toSheafify (Scheme.ProEt.topology X) |
| 44 | ((ProetalePullback.Construction.proEtBaseChange f).op.leftKanExtension P.obj)).app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U))) ≫ |
| 45 | ((sheafifyComposeIso (Scheme.ProEt.topology X) (forget Ab.{u + 1}) |
| 46 | ((ProetalePullback.Construction.proEtBaseChange f).op.leftKanExtension P.obj)).inv.app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U) ≫ |
| 47 | (sheafifyMap (Scheme.ProEt.topology X) |
| 48 | ((forget Ab.{u + 1}).leftKanExtensionCompIsoOfPreserves P.obj |
| 49 | (ProetalePullback.Construction.proEtBaseChange f).op).hom).app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U)) = _ |
| 50 | have hs := NatTrans.congr_app |
| 51 | (sheafComposeIso_inv_fac (Scheme.ProEt.topology X) (forget Ab.{u + 1}) |
| 52 | ((ProetalePullback.Construction.proEtBaseChange f).op.leftKanExtension P.obj)) ((ProetalePullback.Construction.proEtBaseChange f).op.obj U) |
| 53 | have hn := NatTrans.congr_app |
| 54 | (toSheafify_naturality (Scheme.ProEt.topology X) |
| 55 | ((forget Ab.{u + 1}).leftKanExtensionCompIsoOfPreserves P.obj |
| 56 | (ProetalePullback.Construction.proEtBaseChange f).op).hom) ((ProetalePullback.Construction.proEtBaseChange f).op.obj U) |
| 57 | dsimp only [NatTrans.comp_app, Functor.whiskerRight_app] at hs hn |
| 58 | rw [Category.assoc, ← Category.assoc _ _ |
| 59 | ((sheafifyMap (Scheme.ProEt.topology X) _).app _)] |
| 60 | erw [hs, ← hn, ← Category.assoc, |
| 61 | Functor.leftKanExtensionCompIsoOfPreserves_hom_fac_app] |
| 62 | rfl |
| 63 | |
| 64 | /-- The actual inverse-image comparison preserves the adjunction unit. -/ |
| 65 | theorem proEtPullbackForgetIso_unit_hom |
| 66 | (P : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}) : |
| 67 | Functor.whiskerRight |
| 68 | (((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} |
| 69 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app P).hom |
| 70 | (forget Ab.{u + 1}) ≫ |
| 71 | Functor.whiskerLeft (ProetalePullback.Construction.proEtBaseChange f).op |
| 72 | ((PullbackTypes.Construction.proEtPullbackForgetIso f).hom.app P).hom = |
| 73 | (((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous (Type (u + 1)) |
| 74 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app |
| 75 | ((sheafCompose (Scheme.ProEt.topology Y) (forget Ab.{u + 1})).obj P)).hom := by |
| 76 | let Q := (sheafCompose (Scheme.ProEt.topology Y) (forget Ab.{u + 1})).obj P |
| 77 | let a := Functor.sheafPullbackConstruction.sheafPullbackIso (ProetalePullback.Construction.proEtBaseChange f) Ab.{u + 1} |
| 78 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) |
| 79 | let b := Functor.sheafPullbackConstruction.sheafPullbackIso (ProetalePullback.Construction.proEtBaseChange f) (Type (u + 1)) |
| 80 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) |
| 81 | apply NatTrans.ext |
| 82 | funext U |
| 83 | have ha := congrArg ((forget Ab.{u + 1}).map) |
| 84 | (NatTrans.congr_app (PullbackUnit.Construction.proEtPullbackConstructionIso_unit_hom f Ab.{u + 1} P) U) |
| 85 | have hb := NatTrans.congr_app |
| 86 | (PullbackUnit.Construction.proEtPullbackConstructionIso_unit_hom f (Type (u + 1)) Q) U |
| 87 | have hc := NatTrans.congr_app (proEtConstructedPullbackForgetIso_unit f P) U |
| 88 | change (forget Ab.{u + 1}).map |
| 89 | ((((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} |
| 90 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app P).hom.app U) ≫ |
| 91 | (((forget Ab.{u + 1}).map ((a.hom.app P).hom.app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U)) ≫ |
| 92 | ((PullbackTypes.Construction.proEtConstructedPullbackForgetIso f).hom.app P).hom.app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U)) ≫ |
| 93 | (b.inv.app Q).hom.app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U)) = _ |
| 94 | dsimp only [NatTrans.comp_app, Functor.whiskerLeft_app] at ha hb |
| 95 | dsimp only [NatTrans.comp_app, Functor.whiskerLeft_app, Functor.whiskerRight_app] at hc |
| 96 | change (forget Ab.{u + 1}).map |
| 97 | ((((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} |
| 98 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app P).hom.app U) ≫ |
| 99 | (forget Ab.{u + 1}).map ((a.hom.app P).hom.app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U)) = |
| 100 | (forget Ab.{u + 1}).map |
| 101 | (((Functor.sheafPullbackConstruction.sheafAdjunctionContinuous (ProetalePullback.Construction.proEtBaseChange f) |
| 102 | Ab.{u + 1} (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app P).hom.app U) at ha |
| 103 | rw [← Category.assoc, ← Category.assoc] |
| 104 | erw [ha] |
| 105 | erw [hc, ← hb] |
| 106 | rw [Category.assoc] |
| 107 | have hi := NatTrans.congr_app (congrArg (fun k => k.hom) (b.hom_inv_id_app Q)) |
| 108 | ((ProetalePullback.Construction.proEtBaseChange f).op.obj U) |
| 109 | change (b.hom.app Q).hom.app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U) ≫ |
| 110 | (b.inv.app Q).hom.app ((ProetalePullback.Construction.proEtBaseChange f).op.obj U) = 𝟙 _ at hi |
| 111 | rw [hi] |
| 112 | rfl |
| 113 | |
| 114 | /-- Unit compatibility expressed directly as a morphism of sheaves of sets. -/ |
| 115 | theorem proEtPullbackForgetIso_unit |
| 116 | (P : Sheaf (Scheme.ProEt.topology Y) Ab.{u + 1}) : |
| 117 | (sheafCompose (Scheme.ProEt.topology Y) (forget Ab.{u + 1})).map |
| 118 | (((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous Ab.{u + 1} |
| 119 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app P) ≫ |
| 120 | ((ProetalePullback.Construction.proEtBaseChange f).sheafPushforwardContinuous (Type (u + 1)) |
| 121 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).map |
| 122 | ((PullbackTypes.Construction.proEtPullbackForgetIso f).hom.app P) = |
| 123 | ((ProetalePullback.Construction.proEtBaseChange f).sheafAdjunctionContinuous (Type (u + 1)) |
| 124 | (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X)).unit.app |
| 125 | ((sheafCompose (Scheme.ProEt.topology Y) (forget Ab.{u + 1})).obj P) := by |
| 126 | apply (sheafToPresheaf (Scheme.ProEt.topology Y) (Type (u + 1))).map_injective |
| 127 | exact proEtPullbackForgetIso_unit_hom f P |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.PullbackForgetUnit.Construction |