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.FrobeniusKernel.AnnihilatorSheaf |
| 2 | |
| 3 | /-! # Group Product Factor Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupProductFactorMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Maps out of a product group scheme are determined by their two |
| 10 | actual factor inclusions, on the full functor of test-scheme points. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction |
| 17 | |
| 18 | variable {S : Scheme} {M E B : Grp (Over S)} |
| 19 | |
| 20 | theorem product_factors_identity : |
| 21 | (show (M ⊗ E).X ⟶ (M ⊗ E).X from fst M.X E.X ≫ (AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom) * |
| 22 | (show (M ⊗ E).X ⟶ (M ⊗ E).X from snd M.X E.X ≫ (AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitSecondInclusion M E).hom.hom) = |
| 23 | 𝟙 (M ⊗ E).X := by |
| 24 | apply CartesianMonoidalCategory.hom_ext |
| 25 | · change ((fst M.X E.X ≫ lift (𝟙 M.X) (1 : M.X ⟶ E.X)) * |
| 26 | (snd M.X E.X ≫ lift (1 : E.X ⟶ M.X) (𝟙 E.X))) ≫ fst M.X E.X = _ |
| 27 | simp only [MonObj.mul_comp, Category.assoc, lift_fst, Category.comp_id, |
| 28 | MonObj.comp_one, mul_one, Category.id_comp] |
| 29 | · change ((fst M.X E.X ≫ lift (𝟙 M.X) (1 : M.X ⟶ E.X)) * |
| 30 | (snd M.X E.X ≫ lift (1 : E.X ⟶ M.X) (𝟙 E.X))) ≫ snd M.X E.X = _ |
| 31 | simp only [MonObj.mul_comp, Category.assoc, lift_snd, Category.comp_id, |
| 32 | MonObj.comp_one, one_mul, Category.id_comp] |
| 33 | |
| 34 | theorem product_map_from_factors (f : M ⊗ E ⟶ B) : |
| 35 | f.hom.hom = |
| 36 | (fst M.X E.X ≫ (AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ f).hom.hom) * |
| 37 | (snd M.X E.X ≫ (AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitSecondInclusion M E ≫ f).hom.hom) := by |
| 38 | change f.hom.hom = |
| 39 | (fst M.X E.X ≫ (AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom ≫ f.hom.hom) * |
| 40 | (snd M.X E.X ≫ (AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitSecondInclusion M E).hom.hom ≫ f.hom.hom) |
| 41 | have h := congrArg (fun u => u ≫ f.hom.hom) (product_factors_identity (M := M) (E := E)) |
| 42 | simpa only [MonObj.mul_comp, Category.assoc, Category.id_comp] using h.symm |
| 43 | |
| 44 | theorem group_product_hom_ext (f g : M ⊗ E ⟶ B) |
| 45 | (hM : AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ f = AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ g) |
| 46 | (hE : AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitSecondInclusion M E ≫ f = AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitSecondInclusion M E ≫ g) : f = g := by |
| 47 | apply Grp.hom_ext |
| 48 | exact (product_map_from_factors f).trans |
| 49 | ((congrArg₂ (fun u v => (fst M.X E.X ≫ u.hom.hom) * (snd M.X E.X ≫ v.hom.hom)) hM hE).trans |
| 50 | (product_map_from_factors g).symm) |
| 51 | |
| 52 | theorem splitFirstInclusion_tensorHom {M' E' : Grp (Over S)} (a : M ⟶ M') (b : E ⟶ E') : |
| 53 | AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ (a ⊗ₘ b) = a ≫ AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitFirstInclusion M' E' := by |
| 54 | apply Grp.hom_ext |
| 55 | change lift (𝟙 M.X) (1 : M.X ⟶ E.X) ≫ (a.hom.hom ⊗ₘ b.hom.hom) = |
| 56 | a.hom.hom ≫ lift (𝟙 M'.X) (1 : M'.X ⟶ E'.X) |
| 57 | apply CartesianMonoidalCategory.hom_ext <;> |
| 58 | simp only [Category.assoc, tensorHom_fst, tensorHom_snd, lift_fst_assoc, |
| 59 | lift_snd_assoc, lift_fst, lift_snd, MonObj.one_comp, MonObj.comp_one, |
| 60 | Category.id_comp, Category.comp_id] |
| 61 | |
| 62 | theorem splitSecondInclusion_tensorHom {M' E' : Grp (Over S)} (a : M ⟶ M') (b : E ⟶ E') : |
| 63 | AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitSecondInclusion M E ≫ (a ⊗ₘ b) = b ≫ AbelianScheme.FrobeniusKernel.AnnihilatorSheaf.Construction.splitSecondInclusion M' E' := by |
| 64 | apply Grp.hom_ext |
| 65 | change lift (1 : E.X ⟶ M.X) (𝟙 E.X) ≫ (a.hom.hom ⊗ₘ b.hom.hom) = |
| 66 | b.hom.hom ≫ lift (1 : E'.X ⟶ M'.X) (𝟙 E'.X) |
| 67 | apply CartesianMonoidalCategory.hom_ext <;> |
| 68 | simp only [Category.assoc, tensorHom_fst, tensorHom_snd, lift_fst_assoc, |
| 69 | lift_snd_assoc, lift_fst, lift_snd, MonObj.one_comp, MonObj.comp_one, |
| 70 | Category.id_comp, Category.comp_id] |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupProductFactorMaps |