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.Picard.PoincareBundle.Open.BaseChange |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentRestriction |
| 3 | |
| 4 | /-! # Adjunction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.Adjunction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The adjunction base-change map for open subsets in PoincareBundle |
| 12 | |
| 13 | The commutative square of scheme morphisms gives an isomorphism of |
| 14 | composed direct images. Taking its mate across the two open-restriction |
| 15 | adjunctions produces the direct-image base-change map with explicit |
| 16 | formulas on sections. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) |
| 24 | |
| 25 | /-- Direct images along the two equal composite scheme morphisms agree. -/ |
| 26 | def pushforwardSquareIso : |
| 27 | Scheme.Modules.pushforward (f ⁻¹ᵁ U).ι ⋙ Scheme.Modules.pushforward f ≅ |
| 28 | Scheme.Modules.pushforward (f ∣_ U) ⋙ Scheme.Modules.pushforward U.ι := |
| 29 | Scheme.Modules.pushforwardComp (f ⁻¹ᵁ U).ι f ≪≫ |
| 30 | Scheme.Modules.pushforwardCongr (morphismRestrict_ι f U).symm ≪≫ |
| 31 | (Scheme.Modules.pushforwardComp (f ∣_ U) U.ι).symm |
| 32 | |
| 33 | /-- The base-change map as a mate across open-restriction adjunctions. -/ |
| 34 | def openBaseChangeMap : |
| 35 | Scheme.Modules.pushforward f ⋙ Scheme.Modules.restrictFunctor U.ι ⟶ |
| 36 | Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι ⋙ Scheme.Modules.pushforward (f ∣_ U) := |
| 37 | ((mateEquiv (Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι) |
| 38 | (Scheme.Modules.restrictAdjunction U.ι)).symm |
| 39 | (TwoSquare.mk _ _ _ _ (pushforwardSquareIso f U).hom)).natTrans |
| 40 | |
| 41 | /-- The mate is computed using the unit on the inverse-image open and |
| 42 | the counit on the base open. -/ |
| 43 | theorem openBaseChangeMap_app (M : X.Modules) : |
| 44 | (openBaseChangeMap f U).app M = |
| 45 | (Scheme.Modules.restrictFunctor U.ι).map |
| 46 | ((Scheme.Modules.pushforward f).map |
| 47 | ((Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι).unit.app M)) ≫ |
| 48 | (Scheme.Modules.restrictFunctor U.ι).map |
| 49 | ((pushforwardSquareIso f U).hom.app |
| 50 | ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).obj M)) ≫ |
| 51 | (Scheme.Modules.restrictAdjunction U.ι).counit.app |
| 52 | ((Scheme.Modules.pushforward (f ∣_ U)).obj |
| 53 | ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).obj M)) := by |
| 54 | dsimp [openBaseChangeMap, mateEquiv] |
| 55 | simp only [Category.id_comp, Category.comp_id] |
| 56 | erw [(Scheme.Modules.restrictFunctor U.ι).map_id, |
| 57 | (Scheme.Modules.restrictFunctor U.ι).map_id, Category.id_comp, Category.id_comp] |
| 58 | |
| 59 | /-- Restriction does not change the underlying map on the image open. -/ |
| 60 | theorem restrict_map_app {Z W : Scheme.{u}} (i : Z ⟶ W) [IsOpenImmersion i] |
| 61 | {M N : W.Modules} (a : M ⟶ N) (V : Z.Opens) : |
| 62 | ((Scheme.Modules.restrictFunctor i).map a).app V = a.app (i ''ᵁ V) := rfl |
| 63 | |
| 64 | /-- Over the base open, the unit for its inverse-image open is an |
| 65 | isomorphism on direct images. -/ |
| 66 | theorem restrictedUnit_isIso (M : X.Modules) : |
| 67 | IsIso ((Scheme.Modules.restrictFunctor U.ι).map |
| 68 | ((Scheme.Modules.pushforward f).map |
| 69 | ((Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι).unit.app M))) := by |
| 70 | apply Scheme.Modules.Hom.isIso_iff_isIso_app.mpr |
| 71 | intro W |
| 72 | rw [restrict_map_app, Scheme.Modules.pushforward_map_app, |
| 73 | Scheme.Modules.restrictAdjunction_unit_app_app] |
| 74 | let V := f ⁻¹ᵁ U |
| 75 | let O := f ⁻¹ᵁ (U.ι ''ᵁ W) |
| 76 | have hle : O ≤ V := f.preimage_mono (U.ι_image_le W) |
| 77 | have he : V.ι ''ᵁ (V.ι ⁻¹ᵁ O) = O := by |
| 78 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι, |
| 79 | inf_eq_right.mpr hle] |
| 80 | have hi : IsIso (homOfLE (V.ι.image_preimage_le O)) := by |
| 81 | rw [show homOfLE (V.ι.image_preimage_le O) = eqToHom he from Subsingleton.elim _ _] |
| 82 | infer_instance |
| 83 | exact Functor.map_isIso M.presheaf (homOfLE (V.ι.image_preimage_le O)).op |
| 84 | |
| 85 | /-- The canonical open-base-change map is invertible. -/ |
| 86 | theorem openBaseChangeMap_isIso : IsIso (openBaseChangeMap f U) := by |
| 87 | have (M : X.Modules) : IsIso ((openBaseChangeMap f U).app M) := by |
| 88 | rw [openBaseChangeMap_app] |
| 89 | have := restrictedUnit_isIso f U M |
| 90 | infer_instance |
| 91 | exact NatIso.isIso_of_isIso_app _ |
| 92 | |
| 93 | /-- The left-adjoint square obtained from the isomorphism of composed |
| 94 | direct images. -/ |
| 95 | def adjointPullbackSquare : |
| 96 | Scheme.Modules.restrictFunctor U.ι ⋙ Scheme.Modules.pullback (f ∣_ U) ≅ |
| 97 | Scheme.Modules.pullback f ⋙ Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι := |
| 98 | (conjugateIsoEquiv |
| 99 | ((Scheme.Modules.pullbackPushforwardAdjunction f).comp |
| 100 | (Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι)) |
| 101 | ((Scheme.Modules.restrictAdjunction U.ι).comp |
| 102 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)))).symm |
| 103 | (pushforwardSquareIso f U) |
| 104 | |
| 105 | /-- The right mate of the left-adjoint square is the explicit open-base-change map. -/ |
| 106 | theorem rightMate_adjointPullbackSquare : |
| 107 | DescentRestriction.rightMate |
| 108 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 109 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 110 | (adjointPullbackSquare f U) = openBaseChangeMap f U := by |
| 111 | let γ := TwoSquare.mk _ _ _ _ (pushforwardSquareIso f U).hom |
| 112 | have h := iterated_mateEquiv_conjugateEquiv_symm |
| 113 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 114 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 115 | (Scheme.Modules.restrictAdjunction U.ι) |
| 116 | (Scheme.Modules.restrictAdjunction (f ⁻¹ᵁ U).ι) γ |
| 117 | apply congrArg TwoSquare.natTrans |
| 118 | apply (mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 119 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U))).symm.injective |
| 120 | change (mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 121 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U))).symm |
| 122 | ((mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 123 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U))) |
| 124 | (TwoSquare.mk _ _ _ _ (adjointPullbackSquare f U).hom)) = _ |
| 125 | rw [Equiv.symm_apply_apply] |
| 126 | exact h.symm |
| 127 | |
| 128 | /-- The right mate required for restriction of invariant sheaves is invertible. -/ |
| 129 | theorem rightMate_isIso : |
| 130 | IsIso (DescentRestriction.rightMate |
| 131 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 132 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 133 | (adjointPullbackSquare f U)) := by |
| 134 | rw [rightMate_adjointPullbackSquare] |
| 135 | exact openBaseChangeMap_isIso f U |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.Adjunction |