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.TildePullback |
| 2 | |
| 3 | /-! # Pushforward Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.PushforwardSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Global-section formulas for the actual affine direct-image comparison |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R S : CommRingCat.{u}} |
| 18 | |
| 19 | /-- The affine direct-image comparison retains the underlying global section. -/ |
| 20 | theorem pushforwardSectionsIso_hom_apply (f : R ⟶ S) (M : (Spec S).Modules) |
| 21 | (m : (moduleSpecΓFunctor (R := S)).obj M) : |
| 22 | (TildePullback.pushforwardSectionsIso f).hom.app M |
| 23 | (show (moduleSpecΓFunctor (R := R)).obj |
| 24 | ((Scheme.Modules.pushforward (Spec.map f)).obj M) from m) = |
| 25 | (show (ModuleCat.restrictScalars f.hom).obj ((moduleSpecΓFunctor (R := S)).obj M) from m) := by |
| 26 | rfl |
| 27 | |
| 28 | /-- The inverse direct-image comparison likewise retains the underlying global section. -/ |
| 29 | theorem pushforwardSectionsIso_inv_apply (f : R ⟶ S) (M : (Spec S).Modules) |
| 30 | (m : (moduleSpecΓFunctor (R := S)).obj M) : |
| 31 | (TildePullback.pushforwardSectionsIso f).inv.app M |
| 32 | (show (ModuleCat.restrictScalars f.hom).obj ((moduleSpecΓFunctor (R := S)).obj M) from m) = |
| 33 | (show (moduleSpecΓFunctor (R := R)).obj |
| 34 | ((Scheme.Modules.pushforward (Spec.map f)).obj M) from m) := by |
| 35 | rfl |
| 36 | |
| 37 | variable {T : CommRingCat.{u}} |
| 38 | |
| 39 | /-- Compare sections after two direct images, using the two affine comparison maps in succession. -/ |
| 40 | def iteratedSectionsIso (f : R ⟶ S) (g : S ⟶ T) : |
| 41 | Scheme.Modules.pushforward (Spec.map g) ⋙ Scheme.Modules.pushforward (Spec.map f) ⋙ |
| 42 | moduleSpecΓFunctor (R := R) ≅ |
| 43 | moduleSpecΓFunctor (R := T) ⋙ ModuleCat.restrictScalars (f ≫ g).hom := |
| 44 | Functor.isoWhiskerLeft (Scheme.Modules.pushforward (Spec.map g)) |
| 45 | (TildePullback.pushforwardSectionsIso f) ≪≫ |
| 46 | (Functor.associator _ _ _).symm ≪≫ |
| 47 | Functor.isoWhiskerRight (TildePullback.pushforwardSectionsIso g) |
| 48 | (ModuleCat.restrictScalars f.hom) ≪≫ |
| 49 | Functor.associator _ _ _ ≪≫ |
| 50 | Functor.isoWhiskerLeft (moduleSpecΓFunctor (R := T)) |
| 51 | (ModuleCat.restrictScalarsComp f.hom g.hom).symm |
| 52 | |
| 53 | /-- Compare the same sections using the geometric composite morphism and one affine comparison. -/ |
| 54 | def compositeSectionsIso (f : R ⟶ S) (g : S ⟶ T) : |
| 55 | Scheme.Modules.pushforward (Spec.map g) ⋙ Scheme.Modules.pushforward (Spec.map f) ⋙ |
| 56 | moduleSpecΓFunctor (R := R) ≅ |
| 57 | moduleSpecΓFunctor (R := T) ⋙ ModuleCat.restrictScalars (f ≫ g).hom := |
| 58 | (Functor.associator _ _ _).symm ≪≫ |
| 59 | Functor.isoWhiskerRight |
| 60 | (Scheme.Modules.pushforwardComp (Spec.map g) (Spec.map f) ≪≫ |
| 61 | Scheme.Modules.pushforwardCongr (Spec.map_comp f g).symm) |
| 62 | (moduleSpecΓFunctor (R := R)) ≪≫ |
| 63 | TildePullback.pushforwardSectionsIso (f ≫ g) |
| 64 | |
| 65 | /-- The iterated comparison retains the actual global section. -/ |
| 66 | theorem iteratedSectionsIso_hom_apply (f : R ⟶ S) (g : S ⟶ T) (M : (Spec T).Modules) |
| 67 | (m : (moduleSpecΓFunctor (R := T)).obj M) : |
| 68 | (iteratedSectionsIso f g).hom.app M |
| 69 | (show ((Scheme.Modules.pushforward (Spec.map g) ⋙ Scheme.Modules.pushforward (Spec.map f) ⋙ |
| 70 | moduleSpecΓFunctor (R := R)).obj M) from m) = |
| 71 | (show (ModuleCat.restrictScalars (f ≫ g).hom).obj |
| 72 | ((moduleSpecΓFunctor (R := T)).obj M) from m) := rfl |
| 73 | |
| 74 | /-- The composite comparison retains the same actual global section. -/ |
| 75 | theorem compositeSectionsIso_hom_apply (f : R ⟶ S) (g : S ⟶ T) (M : (Spec T).Modules) |
| 76 | (m : (moduleSpecΓFunctor (R := T)).obj M) : |
| 77 | (compositeSectionsIso f g).hom.app M |
| 78 | (show ((Scheme.Modules.pushforward (Spec.map g) ⋙ Scheme.Modules.pushforward (Spec.map f) ⋙ |
| 79 | moduleSpecΓFunctor (R := R)).obj M) from m) = |
| 80 | (show (ModuleCat.restrictScalars (f ≫ g).hom).obj |
| 81 | ((moduleSpecΓFunctor (R := T)).obj M) from m) := by |
| 82 | change M.presheaf.map (𝟙 (op ⊤)) m = m |
| 83 | rw [M.presheaf.map_id] |
| 84 | rfl |
| 85 | |
| 86 | /-- The affine direct-image/global-sections isomorphism is compatible with composition. -/ |
| 87 | theorem sectionsIso_composition (f : R ⟶ S) (g : S ⟶ T) : |
| 88 | compositeSectionsIso f g = iteratedSectionsIso f g := by |
| 89 | apply Iso.ext |
| 90 | apply NatTrans.ext |
| 91 | funext M |
| 92 | apply ModuleCat.hom_ext |
| 93 | apply LinearMap.ext |
| 94 | intro m |
| 95 | exact (compositeSectionsIso_hom_apply f g M m).trans (iteratedSectionsIso_hom_apply f g M m).symm |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.PushforwardSections |