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.TildeComposition |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointComposition |
| 3 | |
| 4 | /-! # Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.Composition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Standard maps in the affine pullback composition comparison |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.TildePullback OAI.AlgebraicGeometry.Picard.PoincareBundle.TildeComposition OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.PushforwardSections OAI.AlgebraicGeometry.Picard.PoincareBundle.TildeMate |
| 19 | |
| 20 | /-- Equality transport for geometric pullbacks has the corresponding direct-image mate. -/ |
| 21 | theorem pullbackCongr_mate {X Y : Scheme.{u}} {f g : X ⟶ Y} (h : f = g) : |
| 22 | conjugateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 23 | (Scheme.Modules.pullbackPushforwardAdjunction g) (Scheme.Modules.pullbackCongr h).inv = |
| 24 | (Scheme.Modules.pushforwardCongr h).hom := by |
| 25 | subst g |
| 26 | change conjugateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 27 | (Scheme.Modules.pullbackPushforwardAdjunction f) (𝟙 _) = _ |
| 28 | rw [conjugateEquiv_id] |
| 29 | ext M U x |
| 30 | simp |
| 31 | |
| 32 | variable {R S T : CommRingCat.{u}} |
| 33 | |
| 34 | /-- The canonical scalar-extension comparison is the usual scalar-extension composition map. -/ |
| 35 | theorem extensionThenTildeIso_standard (f : R ⟶ S) (g : S ⟶ T) : |
| 36 | TildeComposition.extensionThenTildeIso f g = |
| 37 | (Functor.associator (ModuleCat.extendScalars f.hom) |
| 38 | (ModuleCat.extendScalars g.hom) (tilde.functor T)).symm ≪≫ |
| 39 | Functor.isoWhiskerRight (ModuleCat.extendScalarsComp f.hom g.hom).symm |
| 40 | (tilde.functor T) := by |
| 41 | exact AdjointComposition.postcompose |
| 42 | (ModuleCat.extendRestrictScalarsAdj f.hom) (ModuleCat.extendRestrictScalarsAdj g.hom) |
| 43 | (ModuleCat.extendRestrictScalarsAdj (f ≫ g).hom) (tilde.adjunction (R := T)) |
| 44 | (ModuleCat.restrictScalarsComp f.hom g.hom).symm |
| 45 | |
| 46 | /-- Geometric pullback composition, including the contravariant composition equation for Spec. -/ |
| 47 | def geometricCompositionIso (f : R ⟶ S) (g : S ⟶ T) : |
| 48 | Scheme.Modules.pullback (Spec.map f) ⋙ Scheme.Modules.pullback (Spec.map g) ≅ |
| 49 | Scheme.Modules.pullback (Spec.map (f ≫ g)) := |
| 50 | Scheme.Modules.pullbackComp (Spec.map g) (Spec.map f) ≪≫ |
| 51 | Scheme.Modules.pullbackCongr (Spec.map_comp f g).symm |
| 52 | |
| 53 | /-- This geometric map is the canonical mate of direct-image composition. -/ |
| 54 | theorem geometricCompositionIso_mate (f : R ⟶ S) (g : S ⟶ T) : |
| 55 | Adjunction.leftAdjointCompIso |
| 56 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map f)) |
| 57 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map g)) |
| 58 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map (f ≫ g))) |
| 59 | (Scheme.Modules.pushforwardComp (Spec.map g) (Spec.map f) ≪≫ |
| 60 | Scheme.Modules.pushforwardCongr (Spec.map_comp f g).symm) = |
| 61 | geometricCompositionIso f g := by |
| 62 | apply Iso.ext_inv |
| 63 | apply (conjugateEquiv |
| 64 | ((Scheme.Modules.pullbackPushforwardAdjunction (Spec.map f)).comp |
| 65 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map g))) |
| 66 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map (f ≫ g)))).injective |
| 67 | change _ = conjugateEquiv _ _ |
| 68 | ((Scheme.Modules.pullbackCongr (Spec.map_comp f g).symm).inv ≫ |
| 69 | (Scheme.Modules.pullbackComp (Spec.map g) (Spec.map f)).inv) |
| 70 | rw [← conjugateEquiv_comp _ (Scheme.Modules.pullbackPushforwardAdjunction |
| 71 | (Spec.map g ≫ Spec.map f)), Scheme.Modules.conjugateEquiv_pullbackComp_inv, |
| 72 | pullbackCongr_mate, Adjunction.conjugateEquiv_leftAdjointCompIso_inv] |
| 73 | rfl |
| 74 | |
| 75 | /-- The iterated geometric comparison uses the standard pullback composition and tilde map. -/ |
| 76 | theorem iteratedPullbackToModuleIso_standard (f : R ⟶ S) (g : S ⟶ T) : |
| 77 | TildeComposition.iteratedPullbackToModuleIso f g = |
| 78 | Functor.associator (tilde.functor R) (Scheme.Modules.pullback (Spec.map f)) |
| 79 | (Scheme.Modules.pullback (Spec.map g)) ≪≫ |
| 80 | Functor.isoWhiskerLeft (tilde.functor R) (geometricCompositionIso f g) ≪≫ |
| 81 | TildePullback.tildePullbackIso (f ≫ g) := by |
| 82 | have h := AdjointComposition.paste (tilde.adjunction (R := R)) |
| 83 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map f)) |
| 84 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map g)) |
| 85 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map (f ≫ g))) |
| 86 | ((ModuleCat.extendRestrictScalarsAdj (f ≫ g).hom).comp (tilde.adjunction (R := T))) |
| 87 | (Scheme.Modules.pushforwardComp (Spec.map g) (Spec.map f) ≪≫ |
| 88 | Scheme.Modules.pushforwardCongr (Spec.map_comp f g).symm) |
| 89 | (TildePullback.pushforwardSectionsIso (f ≫ g)) |
| 90 | rw [geometricCompositionIso_mate] at h |
| 91 | have ht : Adjunction.leftAdjointCompIso (tilde.adjunction (R := R)) |
| 92 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map (f ≫ g))) |
| 93 | ((ModuleCat.extendRestrictScalarsAdj (f ≫ g).hom).comp (tilde.adjunction (R := T))) |
| 94 | (TildePullback.pushforwardSectionsIso (f ≫ g)) = TildePullback.tildePullbackIso (f ≫ g) := by |
| 95 | rw [TildeMate.tildePullbackIso_eq_mate] |
| 96 | rfl |
| 97 | rw [ht] at h |
| 98 | exact h |
| 99 | |
| 100 | /-- The affine comparison carries the standard scalar-extension composition to geometric pullback |
| 101 | composition, on each actual module. -/ |
| 102 | theorem tilde_composition_app (f : R ⟶ S) (g : S ⟶ T) (M : ModuleCat.{u} R) : |
| 103 | (Scheme.Modules.pullback (Spec.map g)).map ((TildePullback.tildePullbackIso f).hom.app M) ≫ |
| 104 | (TildePullback.tildePullbackIso g).hom.app ((ModuleCat.extendScalars f.hom).obj M) ≫ |
| 105 | (tilde.functor T).map ((ModuleCat.extendScalarsComp f.hom g.hom).inv.app M) = |
| 106 | (geometricCompositionIso f g).hom.app ((tilde.functor R).obj M) ≫ |
| 107 | (TildePullback.tildePullbackIso (f ≫ g)).hom.app M := by |
| 108 | have h := TildeComposition.tilde_composition f g |
| 109 | rw [extensionThenTildeIso_standard, iteratedPullbackToModuleIso_standard] at h |
| 110 | have hm := congrArg (fun e => e.hom.app M) h |
| 111 | simp only [Iso.trans_hom, NatTrans.comp_app, Functor.isoWhiskerLeft_hom, |
| 112 | Functor.isoWhiskerRight_hom, Functor.whiskerLeft_app, Functor.whiskerRight_app, |
| 113 | Iso.symm_hom, Functor.associator_inv_app, Functor.associator_hom_app, |
| 114 | Category.id_comp] at hm |
| 115 | rw [hm, ← Category.assoc] |
| 116 | rw [← Functor.map_comp, Iso.hom_inv_id_app, |
| 117 | (Scheme.Modules.pullback (Spec.map g)).map_id, Category.id_comp] |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.Composition |