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.Affine.PushforwardSections |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.TildeMate |
| 3 | |
| 4 | /-! # Tilde Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.TildeComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Composition compatibility of the canonical affine tilde 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.Affine.PushforwardSections OAI.AlgebraicGeometry.Picard.PoincareBundle.TildeMate |
| 19 | |
| 20 | variable {R S T : CommRingCat.{u}} |
| 21 | |
| 22 | /-- Composition of restriction of scalars after global sections. -/ |
| 23 | def restrictionCompositionIso (f : R ⟶ S) (g : S ⟶ T) : |
| 24 | (moduleSpecΓFunctor (R := T) ⋙ ModuleCat.restrictScalars g.hom) ⋙ |
| 25 | ModuleCat.restrictScalars f.hom ≅ |
| 26 | moduleSpecΓFunctor (R := T) ⋙ ModuleCat.restrictScalars (f ≫ g).hom := |
| 27 | Functor.associator _ _ _ ≪≫ |
| 28 | Functor.isoWhiskerLeft (moduleSpecΓFunctor (R := T)) |
| 29 | (ModuleCat.restrictScalarsComp f.hom g.hom).symm |
| 30 | |
| 31 | /-- The right-adjoint comparison diagram commutes. -/ |
| 32 | theorem right_composition (f : R ⟶ S) (g : S ⟶ T) : |
| 33 | Functor.isoWhiskerLeft (Scheme.Modules.pushforward (Spec.map g)) |
| 34 | (TildePullback.pushforwardSectionsIso f).symm ≪≫ Affine.PushforwardSections.compositeSectionsIso f g = |
| 35 | (Functor.associator (Scheme.Modules.pushforward (Spec.map g)) |
| 36 | (moduleSpecΓFunctor (R := S)) (ModuleCat.restrictScalars f.hom)).symm ≪≫ |
| 37 | Functor.isoWhiskerRight (TildePullback.pushforwardSectionsIso g) (ModuleCat.restrictScalars f.hom) ≪≫ |
| 38 | restrictionCompositionIso f g := by |
| 39 | rw [Affine.PushforwardSections.sectionsIso_composition] |
| 40 | apply Iso.ext |
| 41 | simp only [Affine.PushforwardSections.iteratedSectionsIso, restrictionCompositionIso, Iso.trans_hom, |
| 42 | Functor.isoWhiskerLeft_hom, Iso.symm_hom] |
| 43 | rw [← Category.assoc, ← Functor.whiskerLeft_comp, Iso.inv_hom_id, |
| 44 | Functor.whiskerLeft_id', Category.id_comp] |
| 45 | |
| 46 | /-- The canonical comparison from two scalar extensions followed by tilde to their composite. -/ |
| 47 | def extensionThenTildeIso (f : R ⟶ S) (g : S ⟶ T) : |
| 48 | ModuleCat.extendScalars f.hom ⋙ ModuleCat.extendScalars g.hom ⋙ tilde.functor T ≅ |
| 49 | ModuleCat.extendScalars (f ≫ g).hom ⋙ tilde.functor T := |
| 50 | Adjunction.leftAdjointCompIso (ModuleCat.extendRestrictScalarsAdj f.hom) |
| 51 | ((ModuleCat.extendRestrictScalarsAdj g.hom).comp (tilde.adjunction (R := T))) |
| 52 | ((ModuleCat.extendRestrictScalarsAdj (f ≫ g).hom).comp (tilde.adjunction (R := T))) |
| 53 | (restrictionCompositionIso f g) |
| 54 | |
| 55 | /-- The canonical comparison from two geometric pullbacks to the composite scalar extension. -/ |
| 56 | def iteratedPullbackToModuleIso (f : R ⟶ S) (g : S ⟶ T) : |
| 57 | (tilde.functor R ⋙ Scheme.Modules.pullback (Spec.map f)) ⋙ |
| 58 | Scheme.Modules.pullback (Spec.map g) ≅ |
| 59 | ModuleCat.extendScalars (f ≫ g).hom ⋙ tilde.functor T := |
| 60 | Adjunction.leftAdjointCompIso |
| 61 | ((tilde.adjunction (R := R)).comp (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map f))) |
| 62 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map g)) |
| 63 | ((ModuleCat.extendRestrictScalarsAdj (f ≫ g).hom).comp (tilde.adjunction (R := T))) |
| 64 | (Affine.PushforwardSections.compositeSectionsIso f g) |
| 65 | |
| 66 | /-- The canonical mates give a coherent comparison along the two affine pullbacks. -/ |
| 67 | theorem tilde_composition (f : R ⟶ S) (g : S ⟶ T) : |
| 68 | Functor.isoWhiskerLeft (ModuleCat.extendScalars f.hom) (TildePullback.tildePullbackIso g) ≪≫ |
| 69 | extensionThenTildeIso f g = |
| 70 | (Functor.associator (ModuleCat.extendScalars f.hom) (tilde.functor S) |
| 71 | (Scheme.Modules.pullback (Spec.map g))).symm ≪≫ |
| 72 | Functor.isoWhiskerRight (TildePullback.tildePullbackIso f).symm (Scheme.Modules.pullback (Spec.map g)) ≪≫ |
| 73 | iteratedPullbackToModuleIso f g := by |
| 74 | have hg : TildePullback.tildePullbackIso g = Adjunction.leftAdjointCompIso (tilde.adjunction (R := S)) |
| 75 | (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map g)) |
| 76 | ((ModuleCat.extendRestrictScalarsAdj g.hom).comp (tilde.adjunction (R := T))) |
| 77 | (TildePullback.pushforwardSectionsIso g) := by |
| 78 | rw [TildeMate.tildePullbackIso_eq_mate] |
| 79 | rfl |
| 80 | have h := Adjunction.leftAdjointCompIso_assoc (ModuleCat.extendRestrictScalarsAdj f.hom) |
| 81 | (tilde.adjunction (R := S)) (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map g)) |
| 82 | ((tilde.adjunction (R := R)).comp (Scheme.Modules.pullbackPushforwardAdjunction (Spec.map f))) |
| 83 | ((ModuleCat.extendRestrictScalarsAdj g.hom).comp (tilde.adjunction (R := T))) |
| 84 | ((ModuleCat.extendRestrictScalarsAdj (f ≫ g).hom).comp (tilde.adjunction (R := T))) |
| 85 | (TildePullback.pushforwardSectionsIso f).symm (TildePullback.pushforwardSectionsIso g) |
| 86 | (restrictionCompositionIso f g) (Affine.PushforwardSections.compositeSectionsIso f g) (right_composition f g) |
| 87 | rw [← hg, ← TildeMate.tildePullbackIso_symm_eq_compIso] at h |
| 88 | exact h |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.TildeComposition |