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.FaithfulPullback |
| 2 | |
| 3 | /-! # Descent Uniqueness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.DescentUniqueness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Effective and unique geometric line-bundle descent for PoincareBundle |
| 11 | |
| 12 | The canonical invariant construction recovers the full supplied coaction. |
| 13 | Its adjunction unit is an isomorphism on line bundles, giving uniqueness |
| 14 | with the geometric descent datum retained. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.Comonad |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 23 | [IsAffineHom f] [Flat f] [Surjective f] [IsLocallyNoetherian Y] |
| 24 | |
| 25 | /-- The canonical recovery isomorphism respects the entire geometric coaction. -/ |
| 26 | def descendedDatumIso (D : BeckDescent.SheafDatum f) (hD : Bundles.IsLine D.A) : |
| 27 | (Comonad.comparison (Scheme.Modules.pullbackPushforwardAdjunction f)).obj |
| 28 | (GlobalLineDescent.descendedLineBundle f D hD).sheaf ≅ D := by |
| 29 | let a := BeckDescent.invariantComparison f D |
| 30 | have ha : IsIso a.f := GlobalLineDescent.invariantComparison_isIso f D hD |
| 31 | have hm : IsIso ((Comonad.forget |
| 32 | (Scheme.Modules.pullbackPushforwardAdjunction f).toComonad).map a) := ha |
| 33 | have hi : IsIso a := isIso_of_reflects_iso a |
| 34 | (Comonad.forget (Scheme.Modules.pullbackPushforwardAdjunction f).toComonad) |
| 35 | exact @asIso _ _ _ _ a hi |
| 36 | |
| 37 | /-- The adjunction unit recovers a line bundle from its canonical pullback datum. -/ |
| 38 | theorem unit_isIso (M : Y.Modules) (hM : Bundles.IsLine M) : |
| 39 | IsIso ((ComonadicityInternal.comparisonAdjunction |
| 40 | (Scheme.Modules.pullbackPushforwardAdjunction f)).unit.app M) := by |
| 41 | let adj := Scheme.Modules.pullbackPushforwardAdjunction f |
| 42 | let cadj := ComonadicityInternal.comparisonAdjunction adj |
| 43 | let D := (Comonad.comparison adj).obj M |
| 44 | have hD : Bundles.IsLine D.A := hM.pullback f |
| 45 | have hc : IsIso (cadj.counit.app D).f := |
| 46 | GlobalLineDescent.invariantComparison_isIso f D hD |
| 47 | have htri : (Scheme.Modules.pullback f).map (cadj.unit.app M) ≫ |
| 48 | (cadj.counit.app D).f = 𝟙 _ := |
| 49 | congrArg (fun a => a.f) (cadj.left_triangle_components M) |
| 50 | have hcomp : IsIso ((Scheme.Modules.pullback f).map (cadj.unit.app M) ≫ |
| 51 | (cadj.counit.app D).f) := by |
| 52 | rw [htri] |
| 53 | exact (Iso.refl ((Scheme.Modules.pullback f).obj M)).isIso_hom |
| 54 | have hp : IsIso ((Scheme.Modules.pullback f).map (cadj.unit.app M)) := |
| 55 | (@isIso_comp_right_iff _ _ _ _ _ _ _ hc).mp hcomp |
| 56 | exact FaithfulPullback.isIso_of_pullback f (cadj.unit.app M) hM |
| 57 | (GlobalLineDescent.invariantSheaf_isLine f D hD) hp |
| 58 | |
| 59 | /-- The original line bundle agrees with the invariants of its canonical datum. -/ |
| 60 | def unitIso (M : Y.Modules) (hM : Bundles.IsLine M) : |
| 61 | M ≅ BeckDescent.invariantSheaf f |
| 62 | ((Comonad.comparison (Scheme.Modules.pullbackPushforwardAdjunction f)).obj M) := by |
| 63 | let a := (ComonadicityInternal.comparisonAdjunction |
| 64 | (Scheme.Modules.pullbackPushforwardAdjunction f)).unit.app M |
| 65 | have ha : IsIso a := unit_isIso f M hM |
| 66 | exact @asIso _ _ _ _ a ha |
| 67 | |
| 68 | /-- A line bundle descending the supplied full geometric datum is uniquely |
| 69 | isomorphic to the canonical invariant line bundle. -/ |
| 70 | def descendedLineBundleUniqueIso |
| 71 | (D : BeckDescent.SheafDatum f) (hD : Bundles.IsLine D.A) |
| 72 | (M : Bundles.LineBundle Y) |
| 73 | (e : (Comonad.comparison (Scheme.Modules.pullbackPushforwardAdjunction f)).obj M.sheaf ≅ D) : |
| 74 | M.sheaf ≅ (GlobalLineDescent.descendedLineBundle f D hD).sheaf := |
| 75 | unitIso f M.sheaf M.isLine ≪≫ |
| 76 | (ComonadicityInternal.rightAdjointComparison |
| 77 | (Scheme.Modules.pullbackPushforwardAdjunction f)).mapIso e |
| 78 | |
| 79 | /-- A morphism compatible with the pullback coactions comes from exactly |
| 80 | one morphism of the descended line bundles. -/ |
| 81 | theorem existsUnique_compatibleHom (M N : Bundles.LineBundle Y) |
| 82 | (b : (Comonad.comparison (Scheme.Modules.pullbackPushforwardAdjunction f)).obj M.sheaf ⟶ |
| 83 | (Comonad.comparison (Scheme.Modules.pullbackPushforwardAdjunction f)).obj N.sheaf) : |
| 84 | ∃! a : M.sheaf ⟶ N.sheaf, |
| 85 | (Comonad.comparison (Scheme.Modules.pullbackPushforwardAdjunction f)).map a = b := by |
| 86 | let adj := Scheme.Modules.pullbackPushforwardAdjunction f |
| 87 | let cadj := ComonadicityInternal.comparisonAdjunction adj |
| 88 | let η := cadj.unit.app N.sheaf |
| 89 | have hη : IsIso η := unit_isIso f N.sheaf N.isLine |
| 90 | let a : M.sheaf ⟶ N.sheaf := |
| 91 | (cadj.homEquiv _ _) b ≫ inv η |
| 92 | have hmap (c : M.sheaf ⟶ N.sheaf) : |
| 93 | (cadj.homEquiv _ _) ((Comonad.comparison adj).map c) = c ≫ η := by |
| 94 | rw [Adjunction.homEquiv_unit] |
| 95 | exact (cadj.unit.naturality c).symm |
| 96 | have ha : (Comonad.comparison adj).map a = b := by |
| 97 | apply (cadj.homEquiv _ _).injective |
| 98 | rw [hmap] |
| 99 | dsimp [a] |
| 100 | simp |
| 101 | rfl |
| 102 | refine ⟨a, ha, ?_⟩ |
| 103 | intro c hc |
| 104 | apply (cancel_mono η).mp |
| 105 | rw [← hmap, hc, ← hmap, ha] |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.DescentUniqueness |