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.AbelianScheme.TateComparison.BaseChange |
| 2 | |
| 3 | /-! # Product Endomorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductEndomorphisms.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The two axis endomorphisms of a commutative group product and their |
| 10 | sum commute with group isomorphisms and actual scheme base change. These |
| 11 | are the extending endomorphisms used to detect the H1 group-law formula. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {S : Scheme} |
| 18 | |
| 19 | local instance one_group (X Y : Over S) [GrpObj X] [GrpObj Y] [IsCommMonObj Y] : |
| 20 | IsMonHom (1 : X ⟶ Y) := (1 : Grp.mk X ⟶ Grp.mk Y).hom.isMonHom_hom |
| 21 | |
| 22 | local instance mul_group {X Y : Over S} [GrpObj X] [GrpObj Y] [IsCommMonObj Y] |
| 23 | (f g : X ⟶ Y) [IsMonHom f] [IsMonHom g] : IsMonHom (f * g) := |
| 24 | (Grp.ofHom f * Grp.ofHom g).hom.isMonHom_hom |
| 25 | |
| 26 | variable (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 27 | |
| 28 | def axis : A ⟶ A ⊗ A := lift (𝟙 A) (1 : A ⟶ A) |
| 29 | def left : A ⊗ A ⟶ A ⊗ A := lift (fst A A) (1 : A ⊗ A ⟶ A) |
| 30 | def right : A ⊗ A ⟶ A ⊗ A := lift (snd A A) (1 : A ⊗ A ⟶ A) |
| 31 | def fold : A ⊗ A ⟶ A ⊗ A := left A * right A |
| 32 | |
| 33 | instance : IsMonHom (axis A) := inferInstanceAs (IsMonHom (lift (𝟙 A) (1 : A ⟶ A))) |
| 34 | instance : IsMonHom (left A) := inferInstanceAs (IsMonHom (lift (fst A A) (1 : A ⊗ A ⟶ A))) |
| 35 | instance : IsMonHom (right A) := inferInstanceAs (IsMonHom (lift (snd A A) (1 : A ⊗ A ⟶ A))) |
| 36 | instance : IsMonHom (fold A) := inferInstanceAs (IsMonHom (left A * right A)) |
| 37 | |
| 38 | @[reassoc] theorem left_fst : left A ≫ fst A A = fst A A := lift_fst _ _ |
| 39 | @[reassoc] theorem left_snd : left A ≫ snd A A = 1 := lift_snd _ _ |
| 40 | @[reassoc] theorem right_fst : right A ≫ fst A A = snd A A := lift_fst _ _ |
| 41 | @[reassoc] theorem right_snd : right A ≫ snd A A = 1 := lift_snd _ _ |
| 42 | |
| 43 | theorem fold_fst : fold A ≫ fst A A = μ[A] := by |
| 44 | rw [fold, MonObj.mul_comp, left_fst, right_fst] |
| 45 | change lift (fst A A) (snd A A) ≫ μ[A] = _ |
| 46 | rw [lift_fst_snd, Category.id_comp] |
| 47 | |
| 48 | variable {B : Over S} [GrpObj B] [IsCommMonObj B] (e : A ≅ B) [IsMonHom e.hom] |
| 49 | |
| 50 | @[reassoc] theorem left_iso : left A ≫ (e.hom ⊗ₘ e.hom) = (e.hom ⊗ₘ e.hom) ≫ left B := by |
| 51 | apply CartesianMonoidalCategory.hom_ext |
| 52 | · simp only [Category.assoc, tensorHom_fst, left_fst, left_fst_assoc] |
| 53 | · simp only [Category.assoc, tensorHom_snd, left_snd, left_snd_assoc, |
| 54 | MonObj.one_comp, MonObj.comp_one] |
| 55 | |
| 56 | @[reassoc] theorem right_iso : right A ≫ (e.hom ⊗ₘ e.hom) = (e.hom ⊗ₘ e.hom) ≫ right B := by |
| 57 | apply CartesianMonoidalCategory.hom_ext |
| 58 | · simp only [Category.assoc, tensorHom_fst, right_fst, right_fst_assoc, tensorHom_snd] |
| 59 | · simp only [Category.assoc, tensorHom_snd, right_snd, right_snd_assoc, |
| 60 | MonObj.one_comp, MonObj.comp_one] |
| 61 | |
| 62 | theorem fold_iso : fold A ≫ (e.hom ⊗ₘ e.hom) = (e.hom ⊗ₘ e.hom) ≫ fold B := by |
| 63 | rw [fold, fold, MonObj.mul_comp, left_iso, right_iso, MonObj.comp_mul] |
| 64 | |
| 65 | variable {T : Scheme} (b : T ⟶ S) |
| 66 | |
| 67 | local notation "PB" => Over.pullback b |
| 68 | local instance : GrpObj ((PB).obj A) := Functor.grpObjObj (F := Over.pullback b) |
| 69 | local instance : IsCommMonObj ((PB).obj A) := Functor.isCommMonObj_obj (F := Over.pullback b) |
| 70 | local instance : GrpObj ((PB).obj (A ⊗ A)) := Functor.grpObjObj (F := Over.pullback b) |
| 71 | local instance : IsCommMonObj ((PB).obj (A ⊗ A)) := |
| 72 | Functor.isCommMonObj_obj (F := Over.pullback b) |
| 73 | |
| 74 | def productBaseChange : (PB).obj (A ⊗ A) ≅ (PB).obj A ⊗ (PB).obj A := |
| 75 | (Functor.Monoidal.μIso PB A A).symm |
| 76 | |
| 77 | @[reassoc] theorem left_baseChange : |
| 78 | (PB).map (left A) ≫ (productBaseChange A b).hom = |
| 79 | (productBaseChange A b).hom ≫ left ((PB).obj A) := by |
| 80 | apply CartesianMonoidalCategory.hom_ext |
| 81 | · simp only [productBaseChange, Iso.symm_hom, Functor.Monoidal.μIso_inv, |
| 82 | Category.assoc, Functor.OplaxMonoidal.δ_fst, left_fst, ← Functor.map_comp] |
| 83 | · simp only [productBaseChange, Iso.symm_hom, Functor.Monoidal.μIso_inv, |
| 84 | Category.assoc, Functor.OplaxMonoidal.δ_snd, left_snd, ← Functor.map_comp, |
| 85 | Functor.map_one, MonObj.comp_one] |
| 86 | |
| 87 | @[reassoc] theorem right_baseChange : |
| 88 | (PB).map (right A) ≫ (productBaseChange A b).hom = |
| 89 | (productBaseChange A b).hom ≫ right ((PB).obj A) := by |
| 90 | apply CartesianMonoidalCategory.hom_ext |
| 91 | · simp only [productBaseChange, Iso.symm_hom, Functor.Monoidal.μIso_inv, |
| 92 | Category.assoc, Functor.OplaxMonoidal.δ_fst, right_fst, |
| 93 | Functor.OplaxMonoidal.δ_snd, ← Functor.map_comp] |
| 94 | · simp only [productBaseChange, Iso.symm_hom, Functor.Monoidal.μIso_inv, |
| 95 | Category.assoc, Functor.OplaxMonoidal.δ_snd, right_snd, ← Functor.map_comp, |
| 96 | Functor.map_one, MonObj.comp_one] |
| 97 | |
| 98 | omit [IsCommMonObj A] in |
| 99 | theorem productBaseChange_group : IsMonHom (productBaseChange A b).hom := by |
| 100 | let : IsMonHom (Functor.Monoidal.μIso PB A A).hom := |
| 101 | inferInstanceAs (IsMonHom (Functor.LaxMonoidal.μ PB A A)) |
| 102 | exact inferInstanceAs (IsMonHom (Functor.Monoidal.μIso PB A A).inv) |
| 103 | |
| 104 | theorem fold_baseChange : |
| 105 | (PB).map (fold A) ≫ (productBaseChange A b).hom = |
| 106 | (productBaseChange A b).hom ≫ fold ((PB).obj A) := by |
| 107 | let : IsMonHom (productBaseChange A b).hom := productBaseChange_group A b |
| 108 | rw [fold, fold, Functor.map_mul, MonObj.mul_comp, left_baseChange, right_baseChange, |
| 109 | MonObj.comp_mul] |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductEndomorphisms.CM |