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.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleOpenBaseChange |
| 2 | |
| 3 | /-! # Module Pullback Open -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModulePullbackOpen.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pullback and its adjunction unit commute with open base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def moduleOpenBaseChangeSquare {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 16 | TwoSquare (Scheme.Modules.pushforward f) |
| 17 | (Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι) (Scheme.Modules.restrictFunctor U.ι) |
| 18 | (Scheme.Modules.pushforward (f ∣_ U)) := |
| 19 | TwoSquare.mk _ _ _ _ (ModuleOpenBaseChange.Construction.moduleOpenBaseChangeNatIso f U).hom |
| 20 | |
| 21 | def pushforwardOpenSquareIso {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 22 | Scheme.Modules.pushforward (f ⁻¹ᵁ U).ι ⋙ Scheme.Modules.pushforward f ≅ |
| 23 | Scheme.Modules.pushforward (f ∣_ U) ⋙ Scheme.Modules.pushforward U.ι := |
| 24 | Scheme.Modules.pushforwardComp (f ⁻¹ᵁ U).ι f ≪≫ |
| 25 | Scheme.Modules.pushforwardCongr (morphismRestrict_ι f U).symm ≪≫ |
| 26 | (Scheme.Modules.pushforwardComp (f ∣_ U) U.ι).symm |
| 27 | |
| 28 | theorem isIso_mate_moduleOpenBaseChangeSquare {X Y : Scheme.{u}} |
| 29 | (f : X ⟶ Y) (U : Y.Opens) : |
| 30 | IsIso (mateEquiv (Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι) |
| 31 | (Scheme.Modules.restrictAdjunction U.ι) (moduleOpenBaseChangeSquare f U)).natTrans := by |
| 32 | let a := Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι |
| 33 | let b := Scheme.Modules.restrictAdjunction U.ι |
| 34 | rw [NatTrans.isIso_iff_isIso_app] |
| 35 | intro M |
| 36 | have hη : IsIso (b.unit.app |
| 37 | ((Scheme.Modules.pushforward f).obj ((Scheme.Modules.pushforward (f ⁻¹ᵁ U).ι).obj M))) := |
| 38 | b.isIso_unit_app_of_iso ((pushforwardOpenSquareIso f U).app M) |
| 39 | change IsIso ((mateEquiv a b (moduleOpenBaseChangeSquare f U)).app M) |
| 40 | simp only [mateEquiv_apply, TwoSquare.mk, TwoSquare.natTrans, |
| 41 | NatTrans.comp_app, Functor.rightUnitor_inv_app, Functor.whiskerLeft_app, |
| 42 | Functor.whiskerRight_app, Functor.associator_hom_app, Functor.associator_inv_app, |
| 43 | Functor.leftUnitor_hom_app, Functor.comp_obj, |
| 44 | Functor.comp_map, Category.id_comp] |
| 45 | change IsIso (b.unit.app |
| 46 | ((Scheme.Modules.pushforward f).obj ((Scheme.Modules.pushforward (f ⁻¹ᵁ U).ι).obj M)) ≫ |
| 47 | (Scheme.Modules.pushforward U.ι).map ((ModuleOpenBaseChange.Construction.moduleOpenBaseChangeNatIso f U).hom.app |
| 48 | ((Scheme.Modules.pushforward (f ⁻¹ᵁ U).ι).obj M)) ≫ |
| 49 | (Scheme.Modules.pushforward U.ι).map |
| 50 | ((Scheme.Modules.pushforward (f ∣_ U)).map (a.counit.app M)) ≫ 𝟙 _) |
| 51 | have : IsIso (a.counit.app M) := by dsimp [a]; infer_instance |
| 52 | infer_instance |
| 53 | |
| 54 | def modulePullbackOpenSquare {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 55 | TwoSquare (Scheme.Modules.restrictFunctor U.ι) (Scheme.Modules.pullback f) |
| 56 | (Scheme.Modules.pullback (f ∣_ U)) (Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι) := |
| 57 | (mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 58 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U))).symm (moduleOpenBaseChangeSquare f U) |
| 59 | |
| 60 | theorem isIso_modulePullbackOpenSquare {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 61 | IsIso (modulePullbackOpenSquare f U).natTrans := by |
| 62 | let a := Scheme.Modules.pullbackPushforwardAdjunction f |
| 63 | let b := Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U) |
| 64 | let c := Scheme.Modules.restrictAdjunction U.ι |
| 65 | let d := Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι |
| 66 | have hm : mateEquiv a b (modulePullbackOpenSquare f U) = moduleOpenBaseChangeSquare f U := |
| 67 | (mateEquiv a b).apply_symm_apply _ |
| 68 | have h := iterated_mateEquiv_conjugateEquiv a b c d (modulePullbackOpenSquare f U) |
| 69 | rw [hm] at h |
| 70 | have hi := isIso_mate_moduleOpenBaseChangeSquare f U |
| 71 | have : IsIso (conjugateEquiv (a.comp d) (c.comp b) (modulePullbackOpenSquare f U).natTrans) := |
| 72 | h ▸ hi |
| 73 | exact conjugateEquiv_of_iso (a.comp d) (c.comp b) _ |
| 74 | |
| 75 | def modulePullbackOpenNatIso {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 76 | Scheme.Modules.restrictFunctor U.ι ⋙ Scheme.Modules.pullback (f ∣_ U) ≅ |
| 77 | Scheme.Modules.pullback f ⋙ Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι := by |
| 78 | have := isIso_modulePullbackOpenSquare f U |
| 79 | exact asIso (modulePullbackOpenSquare f U).natTrans |
| 80 | |
| 81 | theorem modulePullbackOpen_unit {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 82 | (U : Y.Opens) (M : Y.Modules) : |
| 83 | (Scheme.Modules.restrictFunctor U.ι).map |
| 84 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) ≫ |
| 85 | (ModuleOpenBaseChange.Construction.moduleOpenBaseChangeNatIso f U).hom.app ((Scheme.Modules.pullback f).obj M) = |
| 86 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)).unit.app (M.restrict U.ι) ≫ |
| 87 | (Scheme.Modules.pushforward (f ∣_ U)).map ((modulePullbackOpenNatIso f U).hom.app M) := |
| 88 | unit_mateEquiv_symm (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 89 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) (moduleOpenBaseChangeSquare f U) M |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModulePullbackOpen.Construction |