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.PELModuli.IntegralModel.Cartesian.FamilyMorphismComparison |
| 2 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 3 | |
| 4 | /-! # Group Pair -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.GroupPair |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Identify the cover of the quotient's relative square with the |
| 13 | product comparison induced by its actual cartesian family isomorphism. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | |
| 20 | theorem cartesian_group_pair_comparison {B T : Scheme.{0}} (u : T ⟶ B) |
| 21 | (G : Over T) (A : Over B) (e : G ≅ (Over.pullback u).obj A) |
| 22 | (q : G.left ⟶ A.left) (he : e.hom.left ≫ pullback.fst A.hom u = q) |
| 23 | (qp : (G ⊗ G).left ⟶ (A ⊗ A).left) |
| 24 | (h₁ : qp ≫ (fst A A).left = (fst G G).left ≫ q) |
| 25 | (h₂ : qp ≫ (snd A A).left = (snd G G).left ≫ q) : |
| 26 | (Functor.OplaxMonoidal.δ (Over.pullback u) A A ≫ (e.inv ⊗ₘ e.inv)).left ≫ qp = |
| 27 | pullback.fst (A ⊗ A).hom u := by |
| 28 | let F := Over.pullback u |
| 29 | let l := Functor.OplaxMonoidal.δ F A A ≫ (e.inv ⊗ₘ e.inv) |
| 30 | have hi : e.inv.left ≫ q = pullback.fst A.hom u := by |
| 31 | rw [← he, ← Category.assoc, ← Over.comp_left, e.inv_hom_id, Over.id_left, Category.id_comp] |
| 32 | have hl₁ : l.left ≫ (fst G G).left = (F.map (fst A A)).left ≫ e.inv.left := by |
| 33 | change (l ≫ fst G G).left = (F.map (fst A A) ≫ e.inv).left |
| 34 | apply congrArg Over.Hom.left |
| 35 | change (Functor.OplaxMonoidal.δ F A A ≫ (e.inv ⊗ₘ e.inv)) ≫ fst G G = _ |
| 36 | rw [Category.assoc, tensorHom_fst, ← Category.assoc, Functor.OplaxMonoidal.δ_fst] |
| 37 | have hl₂ : l.left ≫ (snd G G).left = (F.map (snd A A)).left ≫ e.inv.left := by |
| 38 | change (l ≫ snd G G).left = (F.map (snd A A) ≫ e.inv).left |
| 39 | apply congrArg Over.Hom.left |
| 40 | change (Functor.OplaxMonoidal.δ F A A ≫ (e.inv ⊗ₘ e.inv)) ≫ snd G G = _ |
| 41 | rw [Category.assoc, tensorHom_snd, ← Category.assoc, Functor.OplaxMonoidal.δ_snd] |
| 42 | change qp ≫ pullback.fst A.hom A.hom = (fst G G).left ≫ q at h₁ |
| 43 | change qp ≫ pullback.snd A.hom A.hom = (snd G G).left ≫ q at h₂ |
| 44 | apply pullback.hom_ext |
| 45 | · change (l.left ≫ qp) ≫ pullback.fst A.hom A.hom = _ |
| 46 | rw [Category.assoc, h₁, ← Category.assoc, hl₁, Category.assoc, hi] |
| 47 | exact FamilyMorphismComparison.over_pullback_map_fst u (fst A A) |
| 48 | · change (l.left ≫ qp) ≫ pullback.snd A.hom A.hom = _ |
| 49 | rw [Category.assoc, h₂, ← Category.assoc, hl₂, Category.assoc, hi] |
| 50 | exact FamilyMorphismComparison.over_pullback_map_fst u (snd A A) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | section |
| 55 | |
| 56 | /-! Identify multiplication after pullback with the actual covering |
| 57 | group family's multiplication. -/ |
| 58 | |
| 59 | set_option backward.isDefEq.respectTransparency false |
| 60 | set_option backward.isDefEq.respectTransparency.types false |
| 61 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 62 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 63 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 64 | |
| 65 | theorem cartesian_group_multiplication_image {B T : Scheme.{0}} (u : T ⟶ B) |
| 66 | (G : Over T) [GrpObj G] (A : Over B) (e : G ≅ (Over.pullback u).obj A) |
| 67 | (q : G.left ⟶ A.left) (he : e.hom.left ≫ pullback.fst A.hom u = q) |
| 68 | (qp : (G ⊗ G).left ⟶ (A ⊗ A).left) |
| 69 | (h₁ : qp ≫ (fst A A).left = (fst G G).left ≫ q) |
| 70 | (h₂ : qp ≫ (snd A A).left = (snd G G).left ≫ q) |
| 71 | (m : A ⊗ A ⟶ A) (hm : qp ≫ m.left = (MonObj.mul : G ⊗ G ⟶ G).left ≫ q) : |
| 72 | letI : GrpObj ((Over.pullback u).obj A) := GrpObj.ofIso e |
| 73 | (Over.pullback u).map m = Functor.OplaxMonoidal.δ (Over.pullback u) A A ≫ |
| 74 | (MonObj.mul : (Over.pullback u).obj A ⊗ (Over.pullback u).obj A ⟶ (Over.pullback u).obj A) := by |
| 75 | let : GrpObj ((Over.pullback u).obj A) := GrpObj.ofIso e |
| 76 | let F := Over.pullback u |
| 77 | let l := Functor.OplaxMonoidal.δ F A A ≫ (e.inv ⊗ₘ e.inv) |
| 78 | have hl : l.left ≫ qp = pullback.fst (A ⊗ A).hom u := |
| 79 | cartesian_group_pair_comparison u G A e q he qp h₁ h₂ |
| 80 | apply Over.OverMorphism.ext |
| 81 | apply pullback.hom_ext |
| 82 | · change (F.map m).left ≫ pullback.fst A.hom u = |
| 83 | ((Functor.OplaxMonoidal.δ F A A).left ≫ |
| 84 | (((e.inv ⊗ₘ e.inv).left ≫ (MonObj.mul : G ⊗ G ⟶ G).left) ≫ e.hom.left)) ≫ |
| 85 | pullback.fst A.hom u |
| 86 | rw [FamilyMorphismComparison.over_pullback_map_fst, Category.assoc, Category.assoc, he] |
| 87 | change _ = l.left ≫ ((MonObj.mul : G ⊗ G ⟶ G).left ≫ q) |
| 88 | rw [← hm, ← Category.assoc, hl] |
| 89 | · exact (F.map m).w.trans |
| 90 | (Functor.OplaxMonoidal.δ F A A ≫ |
| 91 | (MonObj.mul : F.obj A ⊗ F.obj A ⟶ F.obj A)).w.symm |
| 92 | |
| 93 | end |
| 94 | |
| 95 | /-! All commutative group laws descend from the constructed operations |
| 96 | and their actual cartesian covering-family equations. -/ |
| 97 | |
| 98 | set_option backward.isDefEq.respectTransparency false |
| 99 | set_option backward.isDefEq.respectTransparency.types false |
| 100 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 101 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 102 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 103 | |
| 104 | theorem commutative_group_descends_from_cartesian_operations {B T : Scheme.{0}} |
| 105 | (u : T ⟶ B) [Flat u] [Surjective u] [LocallyOfFinitePresentation u] |
| 106 | (G : Over T) [GrpObj G] [IsCommMonObj G] (A : Over B) |
| 107 | (e : G ≅ (Over.pullback u).obj A) |
| 108 | (q : G.left ⟶ A.left) (he : e.hom.left ≫ pullback.fst A.hom u = q) |
| 109 | (qp : (G ⊗ G).left ⟶ (A ⊗ A).left) |
| 110 | (h₁ : qp ≫ (fst A A).left = (fst G G).left ≫ q) |
| 111 | (h₂ : qp ≫ (snd A A).left = (snd G G).left ≫ q) |
| 112 | (z : 𝟙_ (Over B) ⟶ A) (m : A ⊗ A ⟶ A) (d : A ⟶ A) |
| 113 | (hz : u ≫ z.left = (MonObj.one : 𝟙_ (Over T) ⟶ G).left ≫ q) |
| 114 | (hm : qp ≫ m.left = (MonObj.mul : G ⊗ G ⟶ G).left ≫ q) |
| 115 | (hd : q ≫ d.left = (GrpObj.inv : G ⟶ G).left ≫ q) : |
| 116 | ∃ gA : GrpObj A, (letI := gA; IsCommMonObj A) ∧ |
| 117 | (letI := gA; IsMonHom e.hom) := by |
| 118 | let F := Over.pullback u |
| 119 | let : GrpObj (F.obj A) := GrpObj.ofIso e |
| 120 | have : IsCommMonObj (F.obj A) := ArithmeticGeometry.Models.SpreadingOut.GroupReflection.Construction.commutative_group_of_iso e |
| 121 | have hOne := FamilyMorphismComparison.cartesian_group_one_image u G A e q he z hz |
| 122 | have hMul := cartesian_group_multiplication_image u G A e q he qp h₁ h₂ m hm |
| 123 | have hInv := FamilyMorphismComparison.cartesian_group_inverse_image u G A e q he d hd |
| 124 | let gA := ArithmeticGeometry.Models.SpreadingOut.GroupReflection.Construction.groupObjectOfMappedOperations F A z m d hOne hMul hInv |
| 125 | F.map_injective F.map_injective F.map_injective F.map_injective |
| 126 | have himage := ArithmeticGeometry.Models.SpreadingOut.GroupReflection.Construction.groupObjectOfMappedOperations_image F A z m d hOne hMul hInv |
| 127 | F.map_injective F.map_injective F.map_injective F.map_injective |
| 128 | refine ⟨gA, ArithmeticGeometry.Models.SpreadingOut.GroupReflection.Construction.groupObjectOfMappedOperations_comm F A z m d hOne hMul hInv |
| 129 | F.map_injective F.map_injective F.map_injective F.map_injective F.map_injective, ?_⟩ |
| 130 | let := gA |
| 131 | let : GrpObj (F.obj A) := Functor.grpObjObj (F := F) (G := A) |
| 132 | have hi : IsMonHom e.inv := ArithmeticGeometry.Models.SpreadingOut.GroupReflection.Construction.image_group_iso_isMonHom F A G e.symm gA himage |
| 133 | have : IsMonHom e.symm.hom := hi |
| 134 | exact inferInstanceAs (IsMonHom e.symm.inv) |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.GroupPair |