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.Scheme |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.CoprimeKernels |
| 3 | |
| 4 | /-! # Splitting -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Splitting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Coprime splitting of scheme-theoretic kernels for PoincareBundle |
| 12 | |
| 13 | The splitting is constructed in a cartesian category from the represented |
| 14 | kernel functors. Thus it applies to finite group schemes without discarding |
| 15 | infinitesimal test points. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | |
| 22 | universe u v |
| 23 | |
| 24 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 25 | [BraidedCategory C] |
| 26 | {A B : C} [GrpObj A] [GrpObj B] [IsCommMonObj A] [IsCommMonObj B] |
| 27 | |
| 28 | /-- Powers of commutative group-object morphisms are group morphisms. -/ |
| 29 | instance power_isMonHom (f : A ⟶ B) [IsMonHom f] (n : ℕ) : IsMonHom (f ^ n) := by |
| 30 | induction n with |
| 31 | | zero => |
| 32 | change IsMonHom (toUnit A ≫ η[B]) |
| 33 | infer_instance |
| 34 | | succ n ih => |
| 35 | have : IsMonHom (f ^ n) := ih |
| 36 | rw [pow_succ, Hom.mul_def] |
| 37 | infer_instance |
| 38 | |
| 39 | variable (f : A ⟶ B) [IsMonHom f] (n : ℕ) |
| 40 | |
| 41 | omit [IsCommMonObj A] in |
| 42 | theorem pointsMap_pow (T : C) : |
| 43 | Scheme.pointsMap (f ^ n) T = (Scheme.pointsMap f T) ^ n := by |
| 44 | ext x |
| 45 | change x ≫ f ^ n = (x ≫ f) ^ n |
| 46 | rw [MonObj.comp_pow] |
| 47 | |
| 48 | theorem pointsMap_id_pow (T : C) : |
| 49 | Scheme.pointsMap ((𝟙 A) ^ n) T = (powMonoidHom n : (T ⟶ A) →* (T ⟶ A)) := by |
| 50 | ext x |
| 51 | change x ≫ (𝟙 A) ^ n = x ^ n |
| 52 | rw [MonObj.comp_pow, Category.comp_id] |
| 53 | |
| 54 | variable [HasPullbacks C] |
| 55 | |
| 56 | /-- The represented kernel of n times f has exactly the expected test points. -/ |
| 57 | def powerKernelPointsEquiv (T : C) : |
| 58 | (T ⟶ Scheme.kernelObject (f ^ n)) ≃ |
| 59 | ((Scheme.pointsMap f T) ^ n).ker := |
| 60 | (Scheme.kernelPointsEquiv (f ^ n) T).trans |
| 61 | (MulEquiv.subgroupCongr (congrArg MonoidHom.ker (pointsMap_pow f n T))).toEquiv |
| 62 | |
| 63 | /-- The represented n-torsion subgroup has all n-torsion test points. -/ |
| 64 | def torsionKernelPointsEquiv (T : C) : |
| 65 | (T ⟶ Scheme.kernelObject ((𝟙 A) ^ n)) ≃ |
| 66 | (powMonoidHom n : (T ⟶ A) →* (T ⟶ A)).ker := |
| 67 | (Scheme.kernelPointsEquiv ((𝟙 A) ^ n) T).trans |
| 68 | (MulEquiv.subgroupCongr (congrArg MonoidHom.ker (pointsMap_id_pow (A := A) n T))).toEquiv |
| 69 | |
| 70 | variable (m : ℕ) (hnm : n.Coprime m) |
| 71 | (hker : ∀ (T : C) (x : T ⟶ A), x ≫ f = 1 → x ^ m = 1) |
| 72 | |
| 73 | /-- The splitting equivalence on every test object. -/ |
| 74 | def splitPointsEquiv (T : C) : |
| 75 | (T ⟶ Scheme.kernelObject ((𝟙 A) ^ n) ⊗ Scheme.kernelObject f) ≃ |
| 76 | (T ⟶ Scheme.kernelObject (f ^ n)) := |
| 77 | homEquivToProd.trans |
| 78 | ((torsionKernelPointsEquiv (A := A) n T).prodCongr |
| 79 | (Scheme.kernelPointsEquiv f T)) |>.trans |
| 80 | (CoprimeKernels.kernelProductEquiv (Scheme.pointsMap f T) n m hnm |
| 81 | (hker T)).toEquiv |>.trans (powerKernelPointsEquiv f n T).symm |
| 82 | |
| 83 | /-- The splitting adds the two kernel inclusions. -/ |
| 84 | theorem splitPointsEquiv_comp_inclusion (T : C) |
| 85 | (x : T ⟶ Scheme.kernelObject ((𝟙 A) ^ n) ⊗ Scheme.kernelObject f) : |
| 86 | splitPointsEquiv f n m hnm hker T x ≫ Scheme.kernelInclusion (f ^ n) = |
| 87 | (x ≫ fst _ _ ≫ Scheme.kernelInclusion ((𝟙 A) ^ n)) * |
| 88 | (x ≫ snd _ _ ≫ Scheme.kernelInclusion f) := by |
| 89 | simp [splitPointsEquiv, powerKernelPointsEquiv, torsionKernelPointsEquiv, |
| 90 | CoprimeKernels.kernelProductEquiv, CoprimeKernels.kernelProductMap, |
| 91 | Scheme.kernelPointsEquiv, Scheme.kernelInclusion, |
| 92 | homEquivToProd, Category.assoc] |
| 93 | exact pullback.lift_fst _ _ _ |
| 94 | |
| 95 | /-- The splitting is natural on arbitrary test objects. -/ |
| 96 | theorem splitPointsEquiv_naturality {T U : C} (a : T ⟶ U) |
| 97 | (x : U ⟶ Scheme.kernelObject ((𝟙 A) ^ n) ⊗ Scheme.kernelObject f) : |
| 98 | splitPointsEquiv f n m hnm hker T (a ≫ x) = |
| 99 | a ≫ splitPointsEquiv f n m hnm hker U x := by |
| 100 | apply (cancel_mono (Scheme.kernelInclusion (f ^ n))).mp |
| 101 | rw [Category.assoc, splitPointsEquiv_comp_inclusion, splitPointsEquiv_comp_inclusion, |
| 102 | MonObj.comp_mul] |
| 103 | simp only [Category.assoc] |
| 104 | |
| 105 | /-- The kernel decomposition is a genuine isomorphism of represented objects. -/ |
| 106 | def kernelProductIso : |
| 107 | Scheme.kernelObject ((𝟙 A) ^ n) ⊗ Scheme.kernelObject f ≅ |
| 108 | Scheme.kernelObject (f ^ n) := |
| 109 | Yoneda.fullyFaithful.preimageIso (NatIso.ofComponents |
| 110 | (fun T => (splitPointsEquiv f n m hnm hker T.unop).toIso) |
| 111 | (fun a => by ext x; exact splitPointsEquiv_naturality f n m hnm hker a.unop x)) |
| 112 | |
| 113 | /-- On underlying objects, the splitting is multiplication of the two inclusions. -/ |
| 114 | theorem kernelProductIso_hom_comp_inclusion : |
| 115 | (kernelProductIso f n m hnm hker).hom ≫ Scheme.kernelInclusion (f ^ n) = |
| 116 | (fst _ _ ≫ Scheme.kernelInclusion ((𝟙 A) ^ n)) * |
| 117 | (snd _ _ ≫ Scheme.kernelInclusion f) := by |
| 118 | change splitPointsEquiv f n m hnm hker _ (𝟙 _) ≫ |
| 119 | Scheme.kernelInclusion (f ^ n) = _ |
| 120 | simpa only [Category.id_comp] using |
| 121 | splitPointsEquiv_comp_inclusion f n m hnm hker _ (𝟙 _) |
| 122 | |
| 123 | attribute [local instance] Scheme.kernelGroup |
| 124 | |
| 125 | omit [BraidedCategory C] [HasPullbacks C] in |
| 126 | /-- A monomorphism of group objects detects preservation of the group law. -/ |
| 127 | theorem isMonHom_of_mono_postcomp {P Q Z : C} [GrpObj P] [GrpObj Q] [GrpObj Z] |
| 128 | (a : P ⟶ Q) (b : Q ⟶ Z) [Mono b] [IsMonHom b] [IsMonHom (a ≫ b)] : |
| 129 | IsMonHom a := by |
| 130 | constructor |
| 131 | · apply (cancel_mono b).mp |
| 132 | rw [Category.assoc, IsMonHom.one_hom (a ≫ b), IsMonHom.one_hom b] |
| 133 | · apply (cancel_mono b).mp |
| 134 | rw [Category.assoc, IsMonHom.mul_hom (a ≫ b), Category.assoc, |
| 135 | IsMonHom.mul_hom b, ← Category.assoc, ← tensorHom_comp_tensorHom] |
| 136 | |
| 137 | /-- The represented splitting respects the actual group-object laws. -/ |
| 138 | theorem kernelProductIso_isMonHom : IsMonHom (kernelProductIso f n m hnm hker).hom := by |
| 139 | have h : IsMonHom ((kernelProductIso f n m hnm hker).hom ≫ |
| 140 | Scheme.kernelInclusion (f ^ n)) := by |
| 141 | rw [kernelProductIso_hom_comp_inclusion, Hom.mul_def] |
| 142 | infer_instance |
| 143 | exact isMonHom_of_mono_postcomp _ (Scheme.kernelInclusion (f ^ n)) |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Splitting |