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.Quotients.FiniteDescent.OpenPullbackIs |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.StructurePullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ModuleIsomorphisms |
| 4 | |
| 5 | /-! # Open Counit -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCounit |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A module locally trivial over opens of the base descends along a |
| 12 | morphism whose structure sheaf has constant direct image. The adjunction |
| 13 | counit gives the global descent isomorphism. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ModuleIsomorphisms |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.OpenCounitDescent |
| 22 | |
| 23 | variable {X S : Scheme.{u}} (f : X ⟶ S) |
| 24 | |
| 25 | theorem structure_counit |
| 26 | [IsIso (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom)] : |
| 27 | IsIso ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) := by |
| 28 | have : (SheafOfModules.pushforward f.toRingCatSheafHom).IsRightAdjoint := |
| 29 | inferInstanceAs (Scheme.Modules.pushforward f).IsRightAdjoint |
| 30 | have ht : ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _) |
| 31 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom = |
| 32 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom := |
| 33 | SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit _ |
| 34 | have he := congrArg ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).symm ht |
| 35 | rw [Equiv.symm_apply_apply, Adjunction.homEquiv_counit] at he |
| 36 | have : IsIso ((Scheme.Modules.pullback f).map |
| 37 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) ≫ |
| 38 | (Scheme.Modules.pullbackPushforwardAdjunction f).counit.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) := by |
| 39 | rw [← he] |
| 40 | infer_instance |
| 41 | exact IsIso.of_isIso_comp_left |
| 42 | ((Scheme.Modules.pullback f).map (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom)) |
| 43 | ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) |
| 44 | |
| 45 | theorem trivial_counit |
| 46 | [IsIso (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom)] |
| 47 | (M : X.Modules) (e : M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : |
| 48 | IsIso ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M) := by |
| 49 | have := structure_counit f |
| 50 | have he := (Scheme.Modules.pullbackPushforwardAdjunction f).counit.naturality e.hom |
| 51 | change (Scheme.Modules.pullback f).map ((Scheme.Modules.pushforward f).map e.hom) ≫ |
| 52 | (Scheme.Modules.pullbackPushforwardAdjunction f).counit.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) = |
| 53 | (Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M ≫ e.hom at he |
| 54 | have : IsIso ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M ≫ e.hom) := by |
| 55 | rw [← he] |
| 56 | infer_instance |
| 57 | exact IsIso.of_isIso_comp_right |
| 58 | ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M) e.hom |
| 59 | |
| 60 | theorem counit_square (U : S.Opens) (M : X.Modules) : |
| 61 | (Scheme.Modules.pullback (f ∣_ U)).map ((OpenPullbackIs.Construction.OpenPullbackSquare.openBaseChangeMap f U).app M) ≫ |
| 62 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)).counit.app |
| 63 | ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).obj M) = |
| 64 | (OpenPullbackIs.Construction.OpenPullbackSquare.adjointPullbackSquare f U).hom.app ((Scheme.Modules.pushforward f).obj M) ≫ |
| 65 | (Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).map |
| 66 | ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M) := by |
| 67 | have h := mateEquiv_counit (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 68 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 69 | (TwoSquare.mk _ _ _ _ (OpenPullbackIs.Construction.OpenPullbackSquare.adjointPullbackSquare f U).hom) M |
| 70 | change (Scheme.Modules.pullback (f ∣_ U)).map ((mateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 71 | (Scheme.Modules.pullbackPushforwardAdjunction (f ∣_ U)) |
| 72 | (TwoSquare.mk _ _ _ _ (OpenPullbackIs.Construction.OpenPullbackSquare.adjointPullbackSquare f U).hom)).natTrans.app M) ≫ _ = _ at h |
| 73 | rw [OpenPullbackIs.Construction.OpenPullbackSquare.rightMate] at h |
| 74 | exact h |
| 75 | |
| 76 | theorem restricted_counit (U : S.Opens) |
| 77 | [IsIso (SheafOfModules.unitToPushforwardObjUnit (f ∣_ U).toRingCatSheafHom)] |
| 78 | (M : X.Modules) |
| 79 | (e : (Scheme.Modules.pullback (f ⁻¹ᵁ U).ι).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (f ⁻¹ᵁ U).toScheme) : |
| 80 | IsIso ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).map |
| 81 | ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M)) := by |
| 82 | have := trivial_counit (f ∣_ U) ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).obj M) |
| 83 | ((Scheme.Modules.restrictFunctorIsoPullback (f ⁻¹ᵁ U).ι).app M ≪≫ e) |
| 84 | have := OpenPullbackIs.Construction.OpenPullbackSquare.openBaseChangeMap_isIso f U |
| 85 | have : IsIso ((OpenPullbackIs.Construction.OpenPullbackSquare.adjointPullbackSquare f U).hom.app |
| 86 | ((Scheme.Modules.pushforward f).obj M) ≫ |
| 87 | (Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).map |
| 88 | ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M)) := by |
| 89 | rw [← counit_square] |
| 90 | infer_instance |
| 91 | exact IsIso.of_isIso_comp_left |
| 92 | ((OpenPullbackIs.Construction.OpenPullbackSquare.adjointPullbackSquare f U).hom.app ((Scheme.Modules.pushforward f).obj M)) |
| 93 | ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).map |
| 94 | ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M)) |
| 95 | |
| 96 | theorem counit (M : X.Modules) |
| 97 | (hO : ∀ U : S.Opens, |
| 98 | IsIso (SheafOfModules.unitToPushforwardObjUnit (f ∣_ U).toRingCatSheafHom)) |
| 99 | (hn : ∀ s : S, ∃ U : S.Opens, s ∈ U ∧ Nonempty |
| 100 | ((Scheme.Modules.pullback (f ⁻¹ᵁ U).ι).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (f ⁻¹ᵁ U).toScheme)) : |
| 101 | IsIso ((Scheme.Modules.pullbackPushforwardAdjunction f).counit.app M) := by |
| 102 | apply AbelianModuli.HilbertConstruction.Local.ModuleIsomorphisms.moduleMap_isIso_of_locally |
| 103 | intro x |
| 104 | obtain ⟨U, hx, ⟨e⟩⟩ := hn (f x) |
| 105 | have := hO U |
| 106 | have hi := restricted_counit f U M e |
| 107 | exact ⟨f ⁻¹ᵁ U, hx, (AbelianModuli.HilbertConstruction.Power.Nonvanishing.isIso_restrict_map_iff (f ⁻¹ᵁ U).ι _).mp hi⟩ |
| 108 | |
| 109 | end Construction.OpenCounitDescent |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCounit |