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.Adjunction |
| 2 | |
| 3 | /-! # Square Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.SquareBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Canonical module base change in an arbitrary square of open subschemes |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y X' Y' : Scheme.{u}} (f : X ⟶ Y) (f' : X' ⟶ Y') |
| 18 | (iX : X' ⟶ X) (iY : Y' ⟶ Y) [IsOpenImmersion iX] [IsOpenImmersion iY] |
| 19 | (h : iX ≫ f = f' ≫ iY) |
| 20 | |
| 21 | /-- The equality of composite scheme maps gives the actual direct-image square. -/ |
| 22 | def directImageSquare : |
| 23 | Scheme.Modules.pushforward iX ⋙ Scheme.Modules.pushforward f ≅ |
| 24 | Scheme.Modules.pushforward f' ⋙ Scheme.Modules.pushforward iY := |
| 25 | Scheme.Modules.pushforwardComp iX f ≪≫ Scheme.Modules.pushforwardCongr h ≪≫ |
| 26 | (Scheme.Modules.pushforwardComp f' iY).symm |
| 27 | |
| 28 | /-- The canonical base-change map is the mate across the two open-restriction adjunctions. -/ |
| 29 | def baseChangeMap : |
| 30 | Scheme.Modules.pushforward f ⋙ Scheme.Modules.restrictFunctor iY ⟶ |
| 31 | Scheme.Modules.restrictFunctor iX ⋙ Scheme.Modules.pushforward f' := |
| 32 | ((mateEquiv (Scheme.Modules.restrictAdjunction iX) (Scheme.Modules.restrictAdjunction iY)).symm |
| 33 | (TwoSquare.mk _ _ _ _ (directImageSquare f f' iX iY h).hom)).natTrans |
| 34 | |
| 35 | /-- The open-square mate has an explicit unit, square, and counit formula. -/ |
| 36 | theorem baseChangeMap_app (M : X.Modules) : |
| 37 | (baseChangeMap f f' iX iY h).app M = |
| 38 | (Scheme.Modules.restrictFunctor iY).map ((Scheme.Modules.pushforward f).map |
| 39 | ((Scheme.Modules.restrictAdjunction iX).unit.app M)) ≫ |
| 40 | (Scheme.Modules.restrictFunctor iY).map ((directImageSquare f f' iX iY h).hom.app |
| 41 | ((Scheme.Modules.restrictFunctor iX).obj M)) ≫ |
| 42 | (Scheme.Modules.restrictAdjunction iY).counit.app |
| 43 | ((Scheme.Modules.pushforward f').obj ((Scheme.Modules.restrictFunctor iX).obj M)) := by |
| 44 | dsimp [baseChangeMap, mateEquiv] |
| 45 | simp only [Category.id_comp, Category.comp_id] |
| 46 | erw [(Scheme.Modules.restrictFunctor iY).map_id, |
| 47 | (Scheme.Modules.restrictFunctor iY).map_id, Category.id_comp] |
| 48 | |
| 49 | /-- If the source open contains the inverse image of the target open, the restricted unit is invertible. -/ |
| 50 | theorem restrictedUnit_isIso (hpre : f ⁻¹ᵁ iY.opensRange ≤ iX.opensRange) (M : X.Modules) : |
| 51 | IsIso ((Scheme.Modules.restrictFunctor iY).map ((Scheme.Modules.pushforward f).map |
| 52 | ((Scheme.Modules.restrictAdjunction iX).unit.app M))) := by |
| 53 | apply Scheme.Modules.Hom.isIso_iff_isIso_app.mpr |
| 54 | intro W |
| 55 | rw [Adjunction.restrict_map_app, Scheme.Modules.pushforward_map_app, |
| 56 | Scheme.Modules.restrictAdjunction_unit_app_app] |
| 57 | let O := f ⁻¹ᵁ (iY ''ᵁ W) |
| 58 | have hle : O ≤ iX.opensRange := (f.preimage_mono (iY.image_le_opensRange W)).trans hpre |
| 59 | have he : iX ''ᵁ (iX ⁻¹ᵁ O) = O := |
| 60 | (iX.image_preimage_eq_opensRange_inf O).trans (inf_eq_right.mpr hle) |
| 61 | have hi : IsIso (homOfLE (iX.image_preimage_le O)) := by |
| 62 | rw [show homOfLE (iX.image_preimage_le O) = eqToHom he from Subsingleton.elim _ _] |
| 63 | infer_instance |
| 64 | exact Functor.map_isIso M.presheaf (homOfLE (iX.image_preimage_le O)).op |
| 65 | |
| 66 | /-- The canonical direct-image base-change map is invertible on a cartesian open square. -/ |
| 67 | theorem baseChangeMap_isIso (hpre : f ⁻¹ᵁ iY.opensRange ≤ iX.opensRange) : |
| 68 | IsIso (baseChangeMap f f' iX iY h) := by |
| 69 | have (M : X.Modules) : IsIso ((baseChangeMap f f' iX iY h).app M) := by |
| 70 | rw [baseChangeMap_app] |
| 71 | have := restrictedUnit_isIso f iX iY hpre M |
| 72 | infer_instance |
| 73 | exact NatIso.isIso_of_isIso_app _ |
| 74 | |
| 75 | /-- The left square obtained from the actual direct-image square by conjugation. -/ |
| 76 | def leftSquare : |
| 77 | Scheme.Modules.restrictFunctor iY ⋙ Scheme.Modules.pullback f' ≅ |
| 78 | Scheme.Modules.pullback f ⋙ Scheme.Modules.restrictFunctor iX := |
| 79 | (conjugateIsoEquiv |
| 80 | ((Scheme.Modules.pullbackPushforwardAdjunction f).comp (Scheme.Modules.restrictAdjunction iX)) |
| 81 | ((Scheme.Modules.restrictAdjunction iY).comp (Scheme.Modules.pullbackPushforwardAdjunction f'))).symm |
| 82 | (directImageSquare f f' iX iY h) |
| 83 | |
| 84 | /-- The right mate of this left square is exactly the actual open base-change map. -/ |
| 85 | theorem rightMate_leftSquare : |
| 86 | DescentRestriction.rightMate (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 87 | (Scheme.Modules.pullbackPushforwardAdjunction f') (leftSquare f f' iX iY h) = |
| 88 | baseChangeMap f f' iX iY h := by |
| 89 | let δ := TwoSquare.mk _ _ _ _ (directImageSquare f f' iX iY h).hom |
| 90 | have he := iterated_mateEquiv_conjugateEquiv_symm |
| 91 | (Scheme.Modules.pullbackPushforwardAdjunction f) (Scheme.Modules.pullbackPushforwardAdjunction f') |
| 92 | (Scheme.Modules.restrictAdjunction iY) (Scheme.Modules.restrictAdjunction iX) δ |
| 93 | apply congrArg TwoSquare.natTrans |
| 94 | apply (mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 95 | (Scheme.Modules.pullbackPushforwardAdjunction f')).symm.injective |
| 96 | change (mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 97 | (Scheme.Modules.pullbackPushforwardAdjunction f')).symm |
| 98 | ((mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 99 | (Scheme.Modules.pullbackPushforwardAdjunction f')) |
| 100 | (TwoSquare.mk _ _ _ _ (leftSquare f f' iX iY h).hom)) = _ |
| 101 | rw [Equiv.symm_apply_apply] |
| 102 | exact he.symm |
| 103 | |
| 104 | /-- A cartesian open square has invertible canonical right mate. -/ |
| 105 | theorem rightMate_isIso (hpre : f ⁻¹ᵁ iY.opensRange ≤ iX.opensRange) : |
| 106 | IsIso (DescentRestriction.rightMate (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 107 | (Scheme.Modules.pullbackPushforwardAdjunction f') (leftSquare f f' iX iY h)) := by |
| 108 | rw [rightMate_leftSquare] |
| 109 | exact baseChangeMap_isIso f f' iX iY h hpre |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.SquareBaseChange |