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.Functor |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 3 | |
| 4 | /-! # Homogeneous -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Homogeneous |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Homogeneous Picard pullback for PoincareBundle |
| 12 | |
| 13 | Translation-invariant relative line classes form a presheaf. A morphism |
| 14 | of group schemes pulls these classes back functorially, so it induces |
| 15 | the contravariant map on the actual homogeneous Picard sheaves. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Functor |
| 25 | |
| 26 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] |
| 27 | |
| 28 | /-- Translation by a test-scheme point, with the test coordinate fixed. -/ |
| 29 | def translation {T : Over S} (a : T ⟶ A) : T ⊗ A ⟶ T ⊗ A := |
| 30 | lift (fst T A) ((fst T A ≫ a) * snd T A) |
| 31 | |
| 32 | /-- Homogeneity means that every translate after every test-scheme |
| 33 | base change has the same relative Picard class. -/ |
| 34 | def IsHomogeneous (T : Over S) (q : (PoincareBundle.Functor.relativePicardPresheaf A).obj (op T)) : Prop := |
| 35 | ∀ (U : Over S) (h : U ⟶ T) (a : U ⟶ A), |
| 36 | (PoincareBundle.Functor.toRelativePicard A).app (op U) |
| 37 | (Line.Bundles.LineBundleClass.pullback (translation A a).left |
| 38 | ((PoincareBundle.Functor.relativePicardPresheaf A).map h.op q)) = |
| 39 | (PoincareBundle.Functor.toRelativePicard A).app (op U) ((PoincareBundle.Functor.relativePicardPresheaf A).map h.op q) |
| 40 | |
| 41 | theorem IsHomogeneous.baseChange {T U : Over S} |
| 42 | {q : (PoincareBundle.Functor.relativePicardPresheaf A).obj (op T)} (hq : IsHomogeneous A T q) (h : U ⟶ T) : |
| 43 | IsHomogeneous A U ((PoincareBundle.Functor.relativePicardPresheaf A).map h.op q) := by |
| 44 | intro V k a |
| 45 | simpa only [op_comp, CategoryTheory.Functor.map_comp_apply] using hq V (k ≫ h) a |
| 46 | |
| 47 | /-- The presheaf of actual homogeneous line-bundle classes. -/ |
| 48 | def homogeneousPresheaf : (Over S)ᵒᵖ ⥤ Type (u + 1) where |
| 49 | obj T := {q : (PoincareBundle.Functor.relativePicardPresheaf A).obj T // IsHomogeneous A T.unop q} |
| 50 | map h := ↾(fun q => ⟨(PoincareBundle.Functor.relativePicardPresheaf A).map h q.val, q.property.baseChange A h.unop⟩) |
| 51 | map_id T := by |
| 52 | apply ConcreteCategory.ext_apply |
| 53 | intro q |
| 54 | apply Subtype.ext |
| 55 | exact (PoincareBundle.Functor.relativePicardPresheaf A).map_id_apply T q.val |
| 56 | map_comp h k := by |
| 57 | apply ConcreteCategory.ext_apply |
| 58 | intro q |
| 59 | apply Subtype.ext |
| 60 | exact (PoincareBundle.Functor.relativePicardPresheaf A).map_comp_apply h k q.val |
| 61 | |
| 62 | /-- The fppf sheaf of homogeneous relative Picard classes. -/ |
| 63 | def homogeneousSheaf : Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 64 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).obj (homogeneousPresheaf A) |
| 65 | |
| 66 | variable {A} {B : Over S} [GrpObj B] (f : A ⟶ B) [IsMonHom f] |
| 67 | |
| 68 | /-- A group-scheme morphism commutes with translation by test points. -/ |
| 69 | theorem translation_naturality {T : Over S} (a : T ⟶ A) : |
| 70 | translation A a ≫ (𝟙 T ⊗ₘ f) = (𝟙 T ⊗ₘ f) ≫ translation B (a ≫ f) := by |
| 71 | apply hom_ext <;> simp [translation, MonObj.mul_comp, MonObj.comp_mul, Category.assoc] |
| 72 | |
| 73 | /-- The translation square commutes on the actual line-bundle classes. -/ |
| 74 | theorem translation_pullback {T : Over S} (a : T ⟶ A) |
| 75 | (q : Line.Bundles.LineBundleClass (T ⊗ B).left) : |
| 76 | Line.Bundles.LineBundleClass.pullback (translation A a).left |
| 77 | (Line.Bundles.LineBundleClass.pullback (PoincareBundle.Functor.familyMap f T) q) = |
| 78 | Line.Bundles.LineBundleClass.pullback (PoincareBundle.Functor.familyMap f T) |
| 79 | (Line.Bundles.LineBundleClass.pullback (translation B (a ≫ f)).left q) := by |
| 80 | rw [← Line.Bundles.LineBundleClass.pullback_comp, |
| 81 | ← Line.Bundles.LineBundleClass.pullback_comp] |
| 82 | exact congrArg (fun b => Line.Bundles.LineBundleClass.pullback b q) |
| 83 | (congrArg Over.Hom.left (translation_naturality f a)) |
| 84 | |
| 85 | /-- Pullback in the family variable preserves homogeneous classes. -/ |
| 86 | theorem IsHomogeneous.pullback {T : Over S} |
| 87 | {q : (PoincareBundle.Functor.relativePicardPresheaf B).obj (op T)} (hq : IsHomogeneous B T q) : |
| 88 | IsHomogeneous A T ((PoincareBundle.Functor.pullbackPresheaf f).app (op T) q) := by |
| 89 | intro U h a |
| 90 | have hbase := (PoincareBundle.Functor.pullbackPresheaf f).naturality_apply h.op q |
| 91 | have hη (z : (PoincareBundle.Functor.relativePicardPresheaf B).obj (op U)) : |
| 92 | (PoincareBundle.Functor.pullbackSheaf f).hom.app (op U) ((PoincareBundle.Functor.toRelativePicard B).app (op U) z) = |
| 93 | (PoincareBundle.Functor.toRelativePicard A).app (op U) ((PoincareBundle.Functor.pullbackPresheaf f).app (op U) z) := |
| 94 | congrArg (fun b => b.app (op U) z) (PoincareBundle.Functor.pullbackSheaf_toRelativePicard f) |
| 95 | rw [← hbase] |
| 96 | change (PoincareBundle.Functor.toRelativePicard A).app (op U) |
| 97 | (Line.Bundles.LineBundleClass.pullback (translation A a).left |
| 98 | (Line.Bundles.LineBundleClass.pullback (PoincareBundle.Functor.familyMap f U) |
| 99 | ((PoincareBundle.Functor.relativePicardPresheaf B).map h.op q))) = _ |
| 100 | erw [translation_pullback f a] |
| 101 | exact (hη _).symm.trans |
| 102 | ((congrArg (fun z => (PoincareBundle.Functor.pullbackSheaf f).hom.app (op U) z) (hq U h (a ≫ f))).trans (hη _)) |
| 103 | |
| 104 | /-- Pullback on the presheaves of homogeneous classes. -/ |
| 105 | def pullbackHomogeneousPresheaf : homogeneousPresheaf B ⟶ homogeneousPresheaf A where |
| 106 | app T := ↾(fun q => ⟨(PoincareBundle.Functor.pullbackPresheaf f).app T q.val, q.property.pullback f⟩) |
| 107 | naturality {T U} h := by |
| 108 | apply ConcreteCategory.ext_apply |
| 109 | intro q |
| 110 | apply Subtype.ext |
| 111 | exact (PoincareBundle.Functor.pullbackPresheaf f).naturality_apply h q.val |
| 112 | |
| 113 | /-- The contravariant Picard map used to construct dual group-scheme maps. -/ |
| 114 | def pullbackHomogeneousSheaf : homogeneousSheaf B ⟶ homogeneousSheaf A := |
| 115 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map |
| 116 | (pullbackHomogeneousPresheaf f) |
| 117 | |
| 118 | @[simp] |
| 119 | theorem pullbackHomogeneousPresheaf_id : |
| 120 | pullbackHomogeneousPresheaf (𝟙 A) = 𝟙 (homogeneousPresheaf A) := by |
| 121 | apply NatTrans.ext |
| 122 | funext T |
| 123 | apply ConcreteCategory.ext_apply |
| 124 | intro q |
| 125 | apply Subtype.ext |
| 126 | exact congrArg (fun b => b.app T q.val) (PoincareBundle.Functor.pullbackPresheaf_id (A := A)) |
| 127 | |
| 128 | theorem pullbackHomogeneousPresheaf_comp {C : Over S} [GrpObj C] |
| 129 | (g : B ⟶ C) [IsMonHom g] : |
| 130 | pullbackHomogeneousPresheaf (f ≫ g) = |
| 131 | pullbackHomogeneousPresheaf g ≫ pullbackHomogeneousPresheaf f := by |
| 132 | apply NatTrans.ext |
| 133 | funext T |
| 134 | apply ConcreteCategory.ext_apply |
| 135 | intro q |
| 136 | apply Subtype.ext |
| 137 | exact congrArg (fun b => b.app T q.val) (PoincareBundle.Functor.pullbackPresheaf_comp f g) |
| 138 | |
| 139 | @[simp] |
| 140 | theorem pullbackHomogeneousSheaf_id : |
| 141 | pullbackHomogeneousSheaf (𝟙 A) = 𝟙 (homogeneousSheaf A) := by |
| 142 | dsimp [pullbackHomogeneousSheaf] |
| 143 | erw [pullbackHomogeneousPresheaf_id] |
| 144 | exact (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map_id _ |
| 145 | |
| 146 | theorem pullbackHomogeneousSheaf_comp {C : Over S} [GrpObj C] |
| 147 | (g : B ⟶ C) [IsMonHom g] : |
| 148 | pullbackHomogeneousSheaf (f ≫ g) = |
| 149 | pullbackHomogeneousSheaf g ≫ pullbackHomogeneousSheaf f := by |
| 150 | dsimp [pullbackHomogeneousSheaf] |
| 151 | erw [pullbackHomogeneousPresheaf_comp, CategoryTheory.Functor.map_comp] |
| 152 | rfl |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Homogeneous |