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.Kernel.Pair |
| 2 | |
| 3 | /-! # Action Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.ActionMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The actual kernel action and its unit and composition maps |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] [HasPullbacks C] |
| 22 | {A B : C} [GrpObj A] [GrpObj B] (f : A ⟶ B) [IsMonHom f] |
| 23 | |
| 24 | attribute [local instance] Scheme.kernelGroup |
| 25 | |
| 26 | /-- The source of a kernel-action arrow. -/ |
| 27 | abbrev source : A ⊗ Scheme.kernelObject f ⟶ A := fst _ _ |
| 28 | |
| 29 | /-- Translation by the full scheme-theoretic kernel. -/ |
| 30 | def action : A ⊗ Scheme.kernelObject f ⟶ A := |
| 31 | source f * (snd _ _ ≫ Scheme.kernelInclusion f) |
| 32 | |
| 33 | omit [IsMonHom f] in |
| 34 | theorem action_pair {T : C} (x : T ⟶ A) (k : T ⟶ Scheme.kernelObject f) : |
| 35 | lift x k ≫ action f = x * (k ≫ Scheme.kernelInclusion f) := by |
| 36 | simp only [action, MonObj.comp_mul, source, lift_fst, lift_snd_assoc] |
| 37 | |
| 38 | /-- The identity-action section. -/ |
| 39 | def unitSection : A ⟶ A ⊗ Scheme.kernelObject f := lift (𝟙 A) 1 |
| 40 | |
| 41 | theorem unitSection_source : unitSection f ≫ source f = 𝟙 A := lift_fst _ _ |
| 42 | |
| 43 | theorem unitSection_action : unitSection f ≫ action f = 𝟙 A := by |
| 44 | rw [unitSection, action_pair, MonObj.one_comp, mul_one] |
| 45 | |
| 46 | /-- The first arrow in a composable pair of kernel actions. -/ |
| 47 | abbrev firstStep : (A ⊗ Scheme.kernelObject f) ⊗ Scheme.kernelObject f ⟶ A ⊗ Scheme.kernelObject f := fst _ _ |
| 48 | |
| 49 | /-- The second arrow starts at the endpoint of the first action. -/ |
| 50 | def secondStep : (A ⊗ Scheme.kernelObject f) ⊗ Scheme.kernelObject f ⟶ A ⊗ Scheme.kernelObject f := |
| 51 | lift (firstStep f ≫ action f) (snd _ _) |
| 52 | |
| 53 | /-- The composite action multiplies the two kernel elements. -/ |
| 54 | def productStep : (A ⊗ Scheme.kernelObject f) ⊗ Scheme.kernelObject f ⟶ A ⊗ Scheme.kernelObject f := |
| 55 | lift (firstStep f ≫ source f) ((firstStep f ≫ snd _ _) * snd _ _) |
| 56 | |
| 57 | abbrev tripleSource := firstStep f ≫ source f |
| 58 | abbrev tripleMiddle := firstStep f ≫ action f |
| 59 | abbrev tripleTarget := secondStep f ≫ action f |
| 60 | |
| 61 | omit [IsMonHom f] in |
| 62 | theorem secondStep_source : secondStep f ≫ source f = tripleMiddle f := lift_fst _ _ |
| 63 | |
| 64 | theorem productStep_source : productStep f ≫ source f = tripleSource f := lift_fst _ _ |
| 65 | |
| 66 | /-- The endpoint of a composite kernel action is the endpoint after the two actions. -/ |
| 67 | theorem productStep_action : productStep f ≫ action f = tripleTarget f := by |
| 68 | change productStep f ≫ action f = secondStep f ≫ action f |
| 69 | rw [productStep, action_pair, MonObj.mul_comp, secondStep, action_pair] |
| 70 | rw [action, MonObj.comp_mul, ← Category.assoc, mul_assoc] |
| 71 | |
| 72 | omit [GrpObj A] [IsMonHom f] in |
| 73 | /-- Pairing a point and a kernel element commutes with every change of test object. -/ |
| 74 | theorem pair_naturality {T T' : C} (g : T' ⟶ T) (x : T ⟶ A) (k : T ⟶ Scheme.kernelObject f) : |
| 75 | g ≫ lift x k = lift (g ≫ x) (g ≫ k) := by |
| 76 | apply hom_ext <;> simp only [Category.assoc, lift_fst, lift_snd] |
| 77 | |
| 78 | theorem unitSection_point {T : C} (x : T ⟶ A) : |
| 79 | x ≫ unitSection f = lift x (1 : T ⟶ Scheme.kernelObject f) := by |
| 80 | rw [unitSection, pair_naturality, Category.comp_id, MonObj.comp_one] |
| 81 | |
| 82 | omit [GrpObj A] [IsMonHom f] in |
| 83 | theorem triple_firstStep {T : C} (x : T ⟶ A) (k l : T ⟶ Scheme.kernelObject f) : |
| 84 | lift (lift x k) l ≫ firstStep f = lift x k := lift_fst _ _ |
| 85 | |
| 86 | omit [IsMonHom f] in |
| 87 | theorem triple_secondStep {T : C} (x : T ⟶ A) (k l : T ⟶ Scheme.kernelObject f) : |
| 88 | lift (lift x k) l ≫ secondStep f = lift (x * (k ≫ Scheme.kernelInclusion f)) l := by |
| 89 | rw [secondStep, pair_naturality, ← Category.assoc, triple_firstStep, action_pair, lift_snd] |
| 90 | |
| 91 | theorem triple_productStep {T : C} (x : T ⟶ A) (k l : T ⟶ Scheme.kernelObject f) : |
| 92 | lift (lift x k) l ≫ productStep f = lift x (k * l) := by |
| 93 | rw [productStep, pair_naturality, ← Category.assoc, triple_firstStep, source, lift_fst, |
| 94 | MonObj.comp_mul, ← Category.assoc, triple_firstStep, lift_snd, lift_snd] |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.ActionMaps |