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.AbelianModuli.HilbertConstruction.RigidifiedFamilyPullback |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.PullHom |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.PullbackFiberComposition |
| 4 | |
| 5 | /-! # Rigidified Heterogeneous Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RigidifiedHeterogeneousPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native pullback of a normalized comparison between line objects |
| 12 | on different parameter schemes, retaining both original zero frames. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | universe u |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.PullbackFiberComposition |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareNormalization |
| 20 | |
| 21 | private def heterogeneousCompositeIso {X₁ X₂ Y Z : Scheme.{u}} |
| 22 | (f₁ : Y ⟶ X₁) (f₂ : Y ⟶ X₂) (j : Z ⟶ Y) (M₁ : X₁.Modules) (M₂ : X₂.Modules) |
| 23 | (e : (Scheme.Modules.pullback f₁).obj M₁ ≅ (Scheme.Modules.pullback f₂).obj M₂) : |
| 24 | (Scheme.Modules.pullback (j ≫ f₁)).obj M₁ ≅ (Scheme.Modules.pullback (j ≫ f₂)).obj M₂ := |
| 25 | (Scheme.Modules.pullbackComp j f₁).symm.app M₁ ≪≫ |
| 26 | (Scheme.Modules.pullback j).mapIso e ≪≫ (Scheme.Modules.pullbackComp j f₂).app M₂ |
| 27 | |
| 28 | private theorem heterogeneousCompositeIso_normalized |
| 29 | {X₁ X₂ Y Z S₁ S₂ T U : Scheme.{u}} (f₁ : Y ⟶ X₁) (f₂ : Y ⟶ X₂) (j : Z ⟶ Y) |
| 30 | (s₁ : S₁ ⟶ X₁) (s₂ : S₂ ⟶ X₂) (b : T ⟶ Y) (g₁ : T ⟶ S₁) (g₂ : T ⟶ S₂) |
| 31 | (c : U ⟶ Z) (t : U ⟶ T) |
| 32 | (h : c ≫ j = t ≫ b) (h₁ : b ≫ f₁ = g₁ ≫ s₁) (h₂ : b ≫ f₂ = g₂ ≫ s₂) |
| 33 | (h₁' : c ≫ (j ≫ f₁) = (t ≫ g₁) ≫ s₁) (h₂' : c ≫ (j ≫ f₂) = (t ≫ g₂) ≫ s₂) |
| 34 | (M₁ : X₁.Modules) (M₂ : X₂.Modules) |
| 35 | (r₁ : (Scheme.Modules.pullback s₁).obj M₁ ≅ Line.Bundles.structureModule S₁) |
| 36 | (r₂ : (Scheme.Modules.pullback s₂).obj M₂ ≅ Line.Bundles.structureModule S₂) |
| 37 | (e : (Scheme.Modules.pullback f₁).obj M₁ ≅ (Scheme.Modules.pullback f₂).obj M₂) |
| 38 | (he : (Scheme.Modules.pullback b).map e.hom ≫ |
| 39 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso f₂ b g₂ s₂ h₂ M₂ r₂).hom = |
| 40 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso f₁ b g₁ s₁ h₁ M₁ r₁).hom) : |
| 41 | (Scheme.Modules.pullback c).map (heterogeneousCompositeIso f₁ f₂ j M₁ M₂ e).hom ≫ |
| 42 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso (j ≫ f₂) c (t ≫ g₂) s₂ h₂' M₂ r₂).hom = |
| 43 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso (j ≫ f₁) c (t ≫ g₁) s₁ h₁' M₁ r₁).hom := by |
| 44 | apply (cancel_epi ((Scheme.Modules.pullback c).map ((Scheme.Modules.pullbackComp j f₁).hom.app M₁))).mp |
| 45 | simp only [heterogeneousCompositeIso, Iso.trans_hom, Iso.symm_hom, Iso.app_hom, |
| 46 | Functor.mapIso_hom, Functor.map_comp, Category.assoc] |
| 47 | rw [← Functor.map_comp_assoc, Iso.hom_inv_id_app, (Scheme.Modules.pullback c).map_id, Category.id_comp] |
| 48 | rw [FormalGeometry.Completion.RigidificationComparisonPasting.Construction.rigidificationBaseChangeIso_paste f₂ j s₂ b g₂ c t h h₂ h₂' M₂ r₂, |
| 49 | FormalGeometry.Completion.RigidificationComparisonPasting.Construction.rigidificationBaseChangeIso_paste f₁ j s₁ b g₁ c t h h₁ h₁' M₁ r₁, |
| 50 | FormalGeometry.Completion.Rigidified.IsoPullback.Construction.pullbackSquare_naturality_assoc] |
| 51 | rw [← Functor.map_comp_assoc, he] |
| 52 | |
| 53 | private theorem heterogeneousPullback_normalized |
| 54 | {X₁ X₂ Y Z S₁ S₂ T U : Scheme.{u}} (f₁ : Y ⟶ X₁) (f₂ : Y ⟶ X₂) (j : Z ⟶ Y) |
| 55 | (f₁' : Z ⟶ X₁) (f₂' : Z ⟶ X₂) (hj₁ : j ≫ f₁ = f₁') (hj₂ : j ≫ f₂ = f₂') |
| 56 | (s₁ : S₁ ⟶ X₁) (s₂ : S₂ ⟶ X₂) (b : T ⟶ Y) (g₁ : T ⟶ S₁) (g₂ : T ⟶ S₂) |
| 57 | (c : U ⟶ Z) (t : U ⟶ T) |
| 58 | (h : c ≫ j = t ≫ b) (h₁ : b ≫ f₁ = g₁ ≫ s₁) (h₂ : b ≫ f₂ = g₂ ≫ s₂) |
| 59 | (h₁' : c ≫ f₁' = (t ≫ g₁) ≫ s₁) (h₂' : c ≫ f₂' = (t ≫ g₂) ≫ s₂) |
| 60 | (M₁ : X₁.Modules) (M₂ : X₂.Modules) |
| 61 | (r₁ : (Scheme.Modules.pullback s₁).obj M₁ ≅ Line.Bundles.structureModule S₁) |
| 62 | (r₂ : (Scheme.Modules.pullback s₂).obj M₂ ≅ Line.Bundles.structureModule S₂) |
| 63 | (e : (Scheme.Modules.pullback f₁).obj M₁ ≅ (Scheme.Modules.pullback f₂).obj M₂) |
| 64 | (he : (Scheme.Modules.pullback b).map e.hom ≫ |
| 65 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso f₂ b g₂ s₂ h₂ M₂ r₂).hom = |
| 66 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso f₁ b g₁ s₁ h₁ M₁ r₁).hom) : |
| 67 | (Scheme.Modules.pullback c).map |
| 68 | (Picard.PoincareBundle.PullbackFiberComposition.pullIso Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks e j f₁' f₂' hj₁ hj₂).hom ≫ |
| 69 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso f₂' c (t ≫ g₂) s₂ h₂' M₂ r₂).hom = |
| 70 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso f₁' c (t ≫ g₁) s₁ h₁' M₁ r₁).hom := by |
| 71 | change (Scheme.Modules.pullback c).map |
| 72 | (Pseudofunctor.LocallyDiscreteOpToCat.pullHom (F := Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks) e.hom j f₁' f₂' hj₁ hj₂) ≫ _ = _ |
| 73 | rw [Picard.PoincareBundle.Geometric.PullHom.pullHom_eq] |
| 74 | subst f₁' |
| 75 | subst f₂' |
| 76 | have hn := heterogeneousCompositeIso_normalized |
| 77 | f₁ f₂ j s₁ s₂ b g₁ g₂ c t h h₁ h₂ h₁' h₂' M₁ M₂ r₁ r₂ e he |
| 78 | change (Scheme.Modules.pullback c).map |
| 79 | ((Scheme.Modules.pullbackComp j f₁).inv.app M₁ ≫ |
| 80 | (Scheme.Modules.pullback j).map e.hom ≫ (Scheme.Modules.pullbackComp j f₂).hom.app M₂) ≫ |
| 81 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso (j ≫ f₂) c (t ≫ g₂) s₂ h₂' M₂ r₂).hom = |
| 82 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso (j ≫ f₁) c (t ≫ g₁) s₁ h₁' M₁ r₁).hom at hn |
| 83 | simp only [Scheme.Modules.pullbackCongr, eqToIso_refl, Iso.trans_refl] |
| 84 | change (Scheme.Modules.pullback c).map |
| 85 | ((Scheme.Modules.pullbackComp j f₁).inv.app M₁ ≫ |
| 86 | (Scheme.Modules.pullback j).map e.hom ≫ (Scheme.Modules.pullbackComp j f₂).hom.app M₂) ≫ |
| 87 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso (j ≫ f₂) c (t ≫ g₂) s₂ h₂' M₂ r₂).hom = |
| 88 | (FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso (j ≫ f₁) c (t ≫ g₁) s₁ h₁' M₁ r₁).hom |
| 89 | exact hn |
| 90 | |
| 91 | private theorem modulePullIso_hom |
| 92 | {X₁ X₂ Y Z : Scheme.{u}} {M₁ : X₁.Modules} {M₂ : X₂.Modules} |
| 93 | {f₁ : Y ⟶ X₁} {f₂ : Y ⟶ X₂} |
| 94 | (e : (Scheme.Modules.pullback f₁).obj M₁ ≅ (Scheme.Modules.pullback f₂).obj M₂) |
| 95 | (j : Z ⟶ Y) (f₁' : Z ⟶ X₁) (f₂' : Z ⟶ X₂) |
| 96 | (h₁ : j ≫ f₁ = f₁') (h₂ : j ≫ f₂ = f₂') : |
| 97 | (Picard.PoincareBundle.PullbackFiberComposition.pullIso Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks (A := X₁) (B := X₂) (T := Y) (T' := Z) |
| 98 | (M := M₁) (N := M₂) (x := f₁) (y := f₂) e j f₁' f₂' h₁ h₂).hom = |
| 99 | Pseudofunctor.LocallyDiscreteOpToCat.pullHom (F := Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks) |
| 100 | (X₁ := X₁) (X₂ := X₂) (M₁ := M₁) (M₂ := M₂) |
| 101 | (Y := Y) (Y' := Z) (f₁ := f₁) (f₂ := f₂) e.hom j f₁' f₂' h₁ h₂ := rfl |
| 102 | |
| 103 | private theorem iso_hom_congr {C : Type*} [Category* C] {X Y : C} |
| 104 | {e f : X ≅ Y} (h : e = f) : e.hom = f.hom := |
| 105 | congrArg (fun q : X ≅ Y => q.hom) h |
| 106 | |
| 107 | namespace RigidifiedLineBundleIso |
| 108 | variable {S : Scheme.{u}} {g : ℕ} (A : Abelian.Schemes.AbelianScheme g S) {T U V W : Over S} |
| 109 | |
| 110 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RigidifiedLineBundles.RigidifiedLineBundleIso.nativeFamilyPullbackTo |
| 111 | {L : RigidifiedLineBundles.RigidifiedLineBundle (Isogenies.NeighborCounting.PoincareNormalization.familyZero A V).left} |
| 112 | {M : RigidifiedLineBundles.RigidifiedLineBundle (Isogenies.NeighborCounting.PoincareNormalization.familyZero A W).left} |
| 113 | (a : T ⟶ V) (b : T ⟶ W) |
| 114 | (e : RigidifiedLineBundles.RigidifiedLineBundleIso (L.familyPullback A a) (M.familyPullback A b)) |
| 115 | (t : U ⟶ T) (a' : U ⟶ V) (b' : U ⟶ W) |
| 116 | (ha : t ≫ a = a') (hb : t ≫ b = b') : |
| 117 | RigidifiedLineBundles.RigidifiedLineBundleIso (L.familyPullback A a') (M.familyPullback A b') where |
| 118 | underlying := Picard.PoincareBundle.PullbackFiberComposition.pullIso Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks e.underlying (t ▷ A.scheme).left |
| 119 | (a' ▷ A.scheme).left (b' ▷ A.scheme).left |
| 120 | (congrArg Over.Hom.left ((comp_whiskerRight t a A.scheme).symm.trans |
| 121 | (congrArg (fun x => x ▷ A.scheme) ha))) |
| 122 | (congrArg Over.Hom.left ((comp_whiskerRight t b A.scheme).symm.trans |
| 123 | (congrArg (fun x => x ▷ A.scheme) hb))) |
| 124 | normalized := by |
| 125 | subst a' |
| 126 | subst b' |
| 127 | exact heterogeneousPullback_normalized (a ▷ A.scheme).left (b ▷ A.scheme).left |
| 128 | (t ▷ A.scheme).left ((t ≫ a) ▷ A.scheme).left ((t ≫ b) ▷ A.scheme).left _ _ |
| 129 | (Isogenies.NeighborCounting.PoincareNormalization.familyZero A V).left (Isogenies.NeighborCounting.PoincareNormalization.familyZero A W).left (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left a.left b.left |
| 130 | (Isogenies.NeighborCounting.PoincareNormalization.familyZero A U).left t.left |
| 131 | (congrArg Over.Hom.left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_naturality A t)) |
| 132 | (congrArg Over.Hom.left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_naturality A a)) |
| 133 | (congrArg Over.Hom.left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_naturality A b)) |
| 134 | (congrArg Over.Hom.left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_naturality A (t ≫ a))) |
| 135 | (congrArg Over.Hom.left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_naturality A (t ≫ b))) |
| 136 | L.lineBundle.sheaf M.lineBundle.sheaf L.rigidification M.rigidification e.underlying e.normalized |
| 137 | |
| 138 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RigidifiedLineBundles.RigidifiedLineBundleIso.nativeFamilyPullbackTo_underlying |
| 139 | {L : RigidifiedLineBundles.RigidifiedLineBundle (Isogenies.NeighborCounting.PoincareNormalization.familyZero A V).left} |
| 140 | {M : RigidifiedLineBundles.RigidifiedLineBundle (Isogenies.NeighborCounting.PoincareNormalization.familyZero A W).left} |
| 141 | (a : T ⟶ V) (b : T ⟶ W) |
| 142 | (e : RigidifiedLineBundles.RigidifiedLineBundleIso (L.familyPullback A a) (M.familyPullback A b)) |
| 143 | (t : U ⟶ T) (a' : U ⟶ V) (b' : U ⟶ W) |
| 144 | (ha : t ≫ a = a') (hb : t ≫ b = b') : |
| 145 | (RigidifiedLineBundles.RigidifiedLineBundleIso.nativeFamilyPullbackTo A a b e t a' b' ha hb).underlying = |
| 146 | Picard.PoincareBundle.PullbackFiberComposition.pullIso Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks |
| 147 | (A := (V ⊗ A.scheme).left) (B := (W ⊗ A.scheme).left) |
| 148 | (T := (T ⊗ A.scheme).left) (T' := (U ⊗ A.scheme).left) |
| 149 | (M := L.lineBundle.sheaf) (N := M.lineBundle.sheaf) |
| 150 | (x := (a ▷ A.scheme).left) (y := (b ▷ A.scheme).left) e.underlying |
| 151 | (t ▷ A.scheme).left (a' ▷ A.scheme).left (b' ▷ A.scheme).left |
| 152 | (congrArg Over.Hom.left ((comp_whiskerRight t a A.scheme).symm.trans |
| 153 | (congrArg (fun f => f ▷ A.scheme) ha))) |
| 154 | (congrArg Over.Hom.left ((comp_whiskerRight t b A.scheme).symm.trans |
| 155 | (congrArg (fun f => f ▷ A.scheme) hb))) := rfl |
| 156 | |
| 157 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RigidifiedLineBundles.RigidifiedLineBundleIso.nativeFamilyPullbackTo_hom |
| 158 | {L : RigidifiedLineBundles.RigidifiedLineBundle (Isogenies.NeighborCounting.PoincareNormalization.familyZero A V).left} |
| 159 | {M : RigidifiedLineBundles.RigidifiedLineBundle (Isogenies.NeighborCounting.PoincareNormalization.familyZero A W).left} |
| 160 | (a : T ⟶ V) (b : T ⟶ W) |
| 161 | (e : RigidifiedLineBundles.RigidifiedLineBundleIso (L.familyPullback A a) (M.familyPullback A b)) |
| 162 | (t : U ⟶ T) (a' : U ⟶ V) (b' : U ⟶ W) |
| 163 | (ha : t ≫ a = a') (hb : t ≫ b = b') : |
| 164 | (RigidifiedLineBundles.RigidifiedLineBundleIso.nativeFamilyPullbackTo A a b e t a' b' ha hb).underlying.hom = |
| 165 | Pseudofunctor.LocallyDiscreteOpToCat.pullHom (F := Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks) |
| 166 | (X₁ := (V ⊗ A.scheme).left) (X₂ := (W ⊗ A.scheme).left) |
| 167 | (M₁ := L.lineBundle.sheaf) (M₂ := M.lineBundle.sheaf) |
| 168 | (f₁ := (a ▷ A.scheme).left) (f₂ := (b ▷ A.scheme).left) e.underlying.hom |
| 169 | (t ▷ A.scheme).left (a' ▷ A.scheme).left (b' ▷ A.scheme).left |
| 170 | (congrArg Over.Hom.left ((comp_whiskerRight t a A.scheme).symm.trans |
| 171 | (congrArg (fun f => f ▷ A.scheme) ha))) |
| 172 | (congrArg Over.Hom.left ((comp_whiskerRight t b A.scheme).symm.trans |
| 173 | (congrArg (fun f => f ▷ A.scheme) hb))) := by |
| 174 | have h₁ := RigidifiedLineBundles.RigidifiedLineBundleIso.nativeFamilyPullbackTo_underlying A a b e t a' b' ha hb |
| 175 | have h₂ := modulePullIso_hom |
| 176 | (X₁ := (V ⊗ A.scheme).left) (X₂ := (W ⊗ A.scheme).left) |
| 177 | (Y := (T ⊗ A.scheme).left) (Z := (U ⊗ A.scheme).left) |
| 178 | (M₁ := L.lineBundle.sheaf) (M₂ := M.lineBundle.sheaf) |
| 179 | (f₁ := (a ▷ A.scheme).left) (f₂ := (b ▷ A.scheme).left) e.underlying |
| 180 | (t ▷ A.scheme).left (a' ▷ A.scheme).left (b' ▷ A.scheme).left |
| 181 | (congrArg Over.Hom.left ((comp_whiskerRight t a A.scheme).symm.trans |
| 182 | (congrArg (fun f => f ▷ A.scheme) ha))) |
| 183 | (congrArg Over.Hom.left ((comp_whiskerRight t b A.scheme).symm.trans |
| 184 | (congrArg (fun f => f ▷ A.scheme) hb))) |
| 185 | exact (iso_hom_congr h₁).trans h₂ |
| 186 | |
| 187 | end RigidifiedLineBundleIso |
| 188 | |
| 189 | end |
| 190 | |
| 191 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RigidifiedHeterogeneousPullback |