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.Line.Bundles |
| 2 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 3 | import Mathlib.CategoryTheory.Sites.Over |
| 4 | import Mathlib.CategoryTheory.Sites.LeftExact |
| 5 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 6 | |
| 7 | /-! # Functor -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Functor |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Relative Picard pullback for PoincareBundle |
| 15 | |
| 16 | The relative Picard sheaf is the fppf sheafification of actual line-bundle |
| 17 | classes on test-scheme base changes. Pullback in the family variable is |
| 18 | constructed from geometric pullback and proved functorial. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 22 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {S : Scheme.{u}} |
| 27 | |
| 28 | /-- The total spaces obtained by changing the test scheme of a family. -/ |
| 29 | def familySchemeFunctor (A : Over S) : Over S ⥤ Scheme.{u} := |
| 30 | tensorRight A ⋙ Over.forget S |
| 31 | |
| 32 | /-- Actual line-bundle classes on the base changes of a family. -/ |
| 33 | def relativePicardPresheaf (A : Over S) : (Over S)ᵒᵖ ⥤ Type (u + 1) := |
| 34 | (familySchemeFunctor A).op ⋙ Line.Bundles.lineBundleClassFunctor |
| 35 | |
| 36 | /-- The relative fppf Picard sheaf. -/ |
| 37 | def relativePicardSheaf (A : Over S) : |
| 38 | Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 39 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).obj |
| 40 | (relativePicardPresheaf A) |
| 41 | |
| 42 | /-- Actual line classes map into the relative Picard sheaf. -/ |
| 43 | def toRelativePicard (A : Over S) : relativePicardPresheaf A ⟶ (relativePicardSheaf A).obj := |
| 44 | toSheafify (Scheme.fppfTopology.over S) (relativePicardPresheaf A) |
| 45 | |
| 46 | variable {A B C : Over S} |
| 47 | |
| 48 | /-- The map between two base-changed families at the test scheme T. -/ |
| 49 | def familyMap (f : A ⟶ B) (T : Over S) : (T ⊗ A).left ⟶ (T ⊗ B).left := |
| 50 | (𝟙 T ⊗ₘ f).left |
| 51 | |
| 52 | /-- Changing the test scheme commutes with the map of families. -/ |
| 53 | theorem familyMap_naturality (f : A ⟶ B) {T U : Over S} (a : U ⟶ T) : |
| 54 | familyMap f U ≫ (familySchemeFunctor B).map a = |
| 55 | (familySchemeFunctor A).map a ≫ familyMap f T := by |
| 56 | change ((𝟙 U ⊗ₘ f) ≫ (a ⊗ₘ 𝟙 B)).left = ((a ⊗ₘ 𝟙 A) ≫ (𝟙 T ⊗ₘ f)).left |
| 57 | rw [tensorHom_comp_tensorHom, tensorHom_comp_tensorHom] |
| 58 | simp |
| 59 | |
| 60 | /-- Pullback of relative line classes by a morphism of families. -/ |
| 61 | def pullbackPresheaf (f : A ⟶ B) : relativePicardPresheaf B ⟶ relativePicardPresheaf A where |
| 62 | app T := ↾(Line.Bundles.LineBundleClass.pullback (familyMap f T.unop)) |
| 63 | naturality {T U} a := by |
| 64 | ext q |
| 65 | change Line.Bundles.LineBundleClass.pullback (familyMap f U.unop) |
| 66 | (Line.Bundles.LineBundleClass.pullback ((familySchemeFunctor B).map a.unop) q) = |
| 67 | Line.Bundles.LineBundleClass.pullback ((familySchemeFunctor A).map a.unop) |
| 68 | (Line.Bundles.LineBundleClass.pullback (familyMap f T.unop) q) |
| 69 | erw [← Line.Bundles.LineBundleClass.pullback_comp, |
| 70 | ← Line.Bundles.LineBundleClass.pullback_comp, familyMap_naturality] |
| 71 | rfl |
| 72 | |
| 73 | @[simp] |
| 74 | theorem familyMap_id (T : Over S) : familyMap (𝟙 A) T = 𝟙 (T ⊗ A).left := by |
| 75 | change (𝟙 T ⊗ₘ 𝟙 A).left = (𝟙 (T ⊗ A) : T ⊗ A ⟶ T ⊗ A).left |
| 76 | simp |
| 77 | |
| 78 | theorem familyMap_comp (f : A ⟶ B) (g : B ⟶ C) (T : Over S) : |
| 79 | familyMap (f ≫ g) T = familyMap f T ≫ familyMap g T := by |
| 80 | change (𝟙 T ⊗ₘ (f ≫ g)).left = ((𝟙 T ⊗ₘ f) ≫ (𝟙 T ⊗ₘ g)).left |
| 81 | rw [tensorHom_comp_tensorHom, Category.id_comp] |
| 82 | |
| 83 | @[simp] |
| 84 | theorem pullbackPresheaf_id : pullbackPresheaf (𝟙 A) = 𝟙 (relativePicardPresheaf A) := by |
| 85 | ext T q |
| 86 | change Line.Bundles.LineBundleClass.pullback (familyMap (𝟙 A) T.unop) q = q |
| 87 | erw [familyMap_id, Line.Bundles.LineBundleClass.pullback_id] |
| 88 | |
| 89 | theorem pullbackPresheaf_comp (f : A ⟶ B) (g : B ⟶ C) : |
| 90 | pullbackPresheaf (f ≫ g) = pullbackPresheaf g ≫ pullbackPresheaf f := by |
| 91 | ext T q |
| 92 | change Line.Bundles.LineBundleClass.pullback (familyMap (f ≫ g) T.unop) q = _ |
| 93 | erw [familyMap_comp, Line.Bundles.LineBundleClass.pullback_comp] |
| 94 | rfl |
| 95 | |
| 96 | /-- Pullback of the actual relative Picard sheaves. -/ |
| 97 | def pullbackSheaf (f : A ⟶ B) : relativePicardSheaf B ⟶ relativePicardSheaf A := |
| 98 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map (pullbackPresheaf f) |
| 99 | |
| 100 | /-- Geometric pullback and the map to the Picard sheaf agree. -/ |
| 101 | theorem pullbackSheaf_toRelativePicard (f : A ⟶ B) : |
| 102 | toRelativePicard B ≫ (pullbackSheaf f).hom = pullbackPresheaf f ≫ toRelativePicard A := |
| 103 | (toSheafify_naturality _ (pullbackPresheaf f)).symm |
| 104 | |
| 105 | @[simp] |
| 106 | theorem pullbackSheaf_id : pullbackSheaf (𝟙 A) = 𝟙 (relativePicardSheaf A) := by |
| 107 | dsimp [pullbackSheaf] |
| 108 | erw [pullbackPresheaf_id] |
| 109 | exact (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map_id _ |
| 110 | |
| 111 | theorem pullbackSheaf_comp (f : A ⟶ B) (g : B ⟶ C) : |
| 112 | pullbackSheaf (f ≫ g) = pullbackSheaf g ≫ pullbackSheaf f := by |
| 113 | dsimp [pullbackSheaf] |
| 114 | erw [pullbackPresheaf_comp, CategoryTheory.Functor.map_comp] |
| 115 | rfl |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Functor |