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.LiePoints |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 3 | |
| 4 | /-! # Lie Algebraic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.LieAlgebraic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Scalar multiplication in the algebraic Lie module is the actual |
| 13 | dual-number scaling map used in ReferenceFamily's Lie-rank predicate. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | namespace AlgebraicLie |
| 21 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 22 | |
| 23 | variable {k : Type} [Field k] |
| 24 | |
| 25 | instance dualScale_isLocalHom (c : k) : IsLocalHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c).toRingHom := by |
| 26 | apply AbelianScheme.TorsionQuotient.SquareZero.SquareZeroLifts.isLocalHom_of_congruent (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) |
| 27 | (RingHom.id (DualNumber k)) |
| 28 | intro x |
| 29 | change ((AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c x) - x).fst = 0 |
| 30 | rw [TrivSqZeroExt.fst_sub, AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale, TrivSqZeroExt.fst_map, sub_self] |
| 31 | |
| 32 | theorem baseGerm_snd_zero (A : Over (Spec (.of k))) [MonObj A] |
| 33 | (a : A.left.presheaf.stalk |
| 34 | ((AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint (DualNumberReduction.AlgebraicLie.dualBase k) A).hom |
| 35 | (IsLocalRing.closedPoint (DualNumber k)))) : |
| 36 | ((Scheme.stalkClosedPointTo |
| 37 | (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint (DualNumberReduction.AlgebraicLie.dualBase k) A).hom).hom a).snd = 0 := by |
| 38 | let g : Spec (.of (DualNumber k)) ⟶ A.left := (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint (DualNumberReduction.AlgebraicLie.dualBase k) A).hom |
| 39 | let e := Scheme.stalkClosedPointTo g |
| 40 | let q := CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k 0).toRingHom |
| 41 | let : IsLocalHom (e ≫ q).hom := |
| 42 | inferInstanceAs (IsLocalHom ((AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k 0).toRingHom.comp e.hom)) |
| 43 | have h : AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.ofGerm A.left _ (e ≫ q) = AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.ofGerm A.left _ e := by |
| 44 | simp only [AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.ofGerm, Spec.map_comp, Category.assoc] |
| 45 | dsimp only [e] |
| 46 | rw [Scheme.Spec_stalkClosedPointTo_fromSpecStalk g] |
| 47 | exact congrArg Over.Hom.left (MonObj.comp_one (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScalar k 0)) |
| 48 | have he := AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.ofGerm_injective _ (e ≫ q) e h |
| 49 | have hv := congrArg (fun v => (v.hom a).snd) he |
| 50 | change (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k 0 (e.hom a)).snd = (e.hom a).snd at hv |
| 51 | change (e.hom a).snd = 0 |
| 52 | simpa only [AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale, TrivSqZeroExt.snd_map, zero_smul, |
| 53 | LinearMap.zero_apply] using hv.symm |
| 54 | |
| 55 | theorem point_smul (A : Over (Spec (.of k))) [MonObj A] (c : k) (v : LiePoints.AlgebraicLie.Space A) : |
| 56 | LiePoints.AlgebraicLie.point A (c • v) = AbelianModuli.ReferenceFamily.LieRanks.dualNumberScalar k c ≫ LiePoints.AlgebraicLie.point A v := by |
| 57 | let g : Spec (.of (DualNumber k)) ⟶ A.left := (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.unitPoint (DualNumberReduction.AlgebraicLie.dualBase k) A).hom |
| 58 | let e := Scheme.stalkClosedPointTo g |
| 59 | have he (a) : (((algebraMap k (DualNumber k) c) • v.val).hom a) = |
| 60 | AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c (v.val.hom a) := by |
| 61 | rw [AbelianScheme.TorsionQuotient.SquareZero.SquareZeroLifts.Lift.smul_hom] |
| 62 | change e.hom a + algebraMap k (DualNumber k) c * (v.val.hom a - e.hom a) = _ |
| 63 | apply TrivSqZeroExt.ext |
| 64 | · have h := v.val.congruent a |
| 65 | change (v.val.hom a - e.hom a).fst = 0 at h |
| 66 | have hf : (v.val.hom a).fst = (e.hom a).fst := sub_eq_zero.mp h |
| 67 | simp only [TrivSqZeroExt.fst_add, TrivSqZeroExt.fst_mul, TrivSqZeroExt.fst_sub, |
| 68 | TrivSqZeroExt.algebraMap_eq_inl, TrivSqZeroExt.fst_inl, |
| 69 | AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale, TrivSqZeroExt.fst_map, hf, sub_self, mul_zero, add_zero] |
| 70 | · have hz := baseGerm_snd_zero A a |
| 71 | change (e.hom a).snd = 0 at hz |
| 72 | simp only [TrivSqZeroExt.snd_add, DualNumber.snd_mul, TrivSqZeroExt.snd_sub, |
| 73 | TrivSqZeroExt.algebraMap_eq_inl, TrivSqZeroExt.fst_inl, TrivSqZeroExt.snd_inl, |
| 74 | AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale, TrivSqZeroExt.snd_map, hz, sub_zero, zero_mul, add_zero, |
| 75 | zero_add, LinearMap.smul_apply, LinearMap.id_apply, smul_eq_mul] |
| 76 | have hr : ((algebraMap k (DualNumber k) c) • v.val).hom = |
| 77 | (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c).toRingHom.comp v.val.hom := RingHom.ext he |
| 78 | apply Over.OverMorphism.ext |
| 79 | change Spec.map (CommRingCat.ofHom (((algebraMap k (DualNumber k) c) • v.val).hom)) ≫ _ = |
| 80 | Spec.map (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c).toRingHom) ≫ |
| 81 | (Spec.map (CommRingCat.ofHom v.val.hom) ≫ _) |
| 82 | rw [hr] |
| 83 | exact (congrArg (fun q => q ≫ A.left.fromSpecStalk _) |
| 84 | (Spec.map_comp (CommRingCat.ofHom v.val.hom) |
| 85 | (CommRingCat.ofHom (AbelianModuli.ReferenceFamily.LieRanks.dualNumberScale k c).toRingHom))).trans (Category.assoc _ _ _) |
| 86 | |
| 87 | end AlgebraicLie |
| 88 | |
| 89 | end |
| 90 | |
| 91 | section |
| 92 | |
| 93 | /-! Actual group-scheme morphisms act linearly on algebraic Lie points, |
| 94 | in every characteristic. Their addition is pointwise group multiplication. -/ |
| 95 | |
| 96 | set_option backward.isDefEq.respectTransparency false |
| 97 | set_option backward.isDefEq.respectTransparency.types false |
| 98 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 99 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 100 | open scoped _root_.CategoryTheory.MonObj |
| 101 | |
| 102 | namespace AlgebraicLie |
| 103 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 104 | |
| 105 | variable {k : Type} [Field k] {A B C : Over (Spec (.of k))} |
| 106 | [MonObj A] [MonObj B] [MonObj C] |
| 107 | |
| 108 | theorem tangent_mem_relative (f : A ⟶ B) [IsMonHom f] (v : LiePoints.AlgebraicLie.Space A) : |
| 109 | AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.tangent (DualNumberReduction.AlgebraicLie.dualBase k) (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) f v.val ∈ |
| 110 | AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.relative (DualNumberReduction.AlgebraicLie.dualBase k) (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) B := by |
| 111 | apply AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_injective (DualNumberReduction.AlgebraicLie.dualBase k) |
| 112 | (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) (𝟙_ (Over (Spec (.of k)))) |
| 113 | rw [AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_tangent, AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_tangent, AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_zero] |
| 114 | change ((LiePoints.AlgebraicLie.point A v).left ≫ f.left) ≫ B.hom = (DualNumberReduction.AlgebraicLie.dualBase k) |
| 115 | rw [Category.assoc, f.w] |
| 116 | exact (LiePoints.AlgebraicLie.point A v).w |
| 117 | |
| 118 | def map (f : A ⟶ B) [IsMonHom f] : LiePoints.AlgebraicLie.Space A →ₗ[k] LiePoints.AlgebraicLie.Space B where |
| 119 | toFun v := ⟨AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.tangent (DualNumberReduction.AlgebraicLie.dualBase k) |
| 120 | (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) f v.val, tangent_mem_relative f v⟩ |
| 121 | map_add' v w := Subtype.ext ((AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.tangent (DualNumberReduction.AlgebraicLie.dualBase k) |
| 122 | (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) f).map_add v.val w.val) |
| 123 | map_smul' c v := Subtype.ext ((AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.tangent (DualNumberReduction.AlgebraicLie.dualBase k) |
| 124 | (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) f).map_smul (algebraMap k (DualNumber k) c) v.val) |
| 125 | |
| 126 | theorem point_map (f : A ⟶ B) [IsMonHom f] (v : LiePoints.AlgebraicLie.Space A) : |
| 127 | LiePoints.AlgebraicLie.point B (AlgebraicLie.map f v) = LiePoints.AlgebraicLie.point A v ≫ f := |
| 128 | Over.OverMorphism.ext (AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents.point_tangent (DualNumberReduction.AlgebraicLie.dualBase k) |
| 129 | (DualNumberReduction.AlgebraicLie.dualIdeal k) (DualNumberReduction.AlgebraicLie.dualIdeal_square k) f v.val) |
| 130 | |
| 131 | theorem map_congr (f h : A ⟶ B) [IsMonHom f] [IsMonHom h] (he : f = h) : AlgebraicLie.map f = AlgebraicLie.map h := by |
| 132 | cases he |
| 133 | rfl |
| 134 | |
| 135 | theorem map_id : AlgebraicLie.map (𝟙 A) = LinearMap.id := by |
| 136 | apply LinearMap.ext |
| 137 | intro v |
| 138 | apply LiePoints.AlgebraicLie.point_injective A |
| 139 | rw [point_map, Category.comp_id] |
| 140 | rfl |
| 141 | |
| 142 | theorem map_comp (f : A ⟶ B) (h : B ⟶ C) [IsMonHom f] [IsMonHom h] : |
| 143 | AlgebraicLie.map (f ≫ h) = (AlgebraicLie.map h).comp (AlgebraicLie.map f) := by |
| 144 | apply LinearMap.ext |
| 145 | intro v |
| 146 | apply LiePoints.AlgebraicLie.point_injective C |
| 147 | change LiePoints.AlgebraicLie.point C (AlgebraicLie.map (f ≫ h) v) = LiePoints.AlgebraicLie.point C (AlgebraicLie.map h (AlgebraicLie.map f v)) |
| 148 | rw [point_map, point_map, point_map, Category.assoc] |
| 149 | |
| 150 | theorem map_one : AlgebraicLie.map (1 : A ⟶ B) = 0 := by |
| 151 | apply LinearMap.ext |
| 152 | intro v |
| 153 | apply LiePoints.AlgebraicLie.point_injective B |
| 154 | rw [point_map, MonObj.comp_one] |
| 155 | exact (LiePoints.AlgebraicLie.point_zero B).symm |
| 156 | |
| 157 | theorem pointwise_mul_isMonHom [IsCommMonObj B] (f h : A ⟶ B) [IsMonHom f] [IsMonHom h] : |
| 158 | IsMonHom (f * h) := by |
| 159 | rw [Hom.mul_def] |
| 160 | infer_instance |
| 161 | |
| 162 | theorem map_mul [IsCommMonObj B] (f h : A ⟶ B) [IsMonHom f] [IsMonHom h] [IsMonHom (f * h)] : |
| 163 | AlgebraicLie.map (f * h) = AlgebraicLie.map f + AlgebraicLie.map h := by |
| 164 | apply LinearMap.ext |
| 165 | intro v |
| 166 | apply LiePoints.AlgebraicLie.point_injective B |
| 167 | change LiePoints.AlgebraicLie.point B (AlgebraicLie.map (f * h) v) = LiePoints.AlgebraicLie.point B (AlgebraicLie.map f v + AlgebraicLie.map h v) |
| 168 | rw [point_map, LiePoints.AlgebraicLie.point_add, point_map, point_map, MonObj.comp_mul] |
| 169 | |
| 170 | end AlgebraicLie |
| 171 | |
| 172 | end |
| 173 | |
| 174 | /-! The actual differential of an integral action satisfies the ring |
| 175 | laws. The endomorphism family and each law are checked separately. -/ |
| 176 | |
| 177 | set_option backward.isDefEq.respectTransparency false |
| 178 | set_option backward.isDefEq.respectTransparency.types false |
| 179 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 180 | open scoped _root_.CategoryTheory.MonObj |
| 181 | |
| 182 | namespace AlgebraicLie |
| 183 | |
| 184 | variable {k R : Type} [Field k] [CommRing R] {g : ℕ} |
| 185 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A) |
| 186 | |
| 187 | theorem action_zero : AlgebraicLie.map (ρ.map 0) = 0 := |
| 188 | (map_congr (ρ.map 0) (1 : A.scheme ⟶ A.scheme) ρ.map_zero).trans AlgebraicLie.map_one |
| 189 | |
| 190 | theorem action_one : AlgebraicLie.map (ρ.map 1) = 1 := |
| 191 | (map_congr (ρ.map 1) (𝟙 A.scheme) ρ.map_one).trans map_id |
| 192 | |
| 193 | theorem action_add (a b : R) : AlgebraicLie.map (ρ.map (a + b)) = AlgebraicLie.map (ρ.map a) + AlgebraicLie.map (ρ.map b) := by |
| 194 | let : IsMonHom (ρ.map a * ρ.map b) := pointwise_mul_isMonHom (ρ.map a) (ρ.map b) |
| 195 | exact (map_congr (ρ.map (a + b)) (ρ.map a * ρ.map b) (ρ.map_add a b)).trans |
| 196 | (AlgebraicLie.map_mul (ρ.map a) (ρ.map b)) |
| 197 | |
| 198 | theorem action_mul (a b : R) : AlgebraicLie.map (ρ.map (a * b)) = AlgebraicLie.map (ρ.map a) * AlgebraicLie.map (ρ.map b) := |
| 199 | (map_congr (ρ.map (a * b)) (ρ.map b ≫ ρ.map a) (ρ.map_mul a b)).trans |
| 200 | (AlgebraicLie.map_comp (ρ.map b) (ρ.map a)) |
| 201 | |
| 202 | def action (a : R) : Module.End k (LiePoints.AlgebraicLie.Space A.scheme) := AlgebraicLie.map (ρ.map a) |
| 203 | |
| 204 | theorem action_apply (a : R) : action A ρ a = AlgebraicLie.map (ρ.map a) := rfl |
| 205 | |
| 206 | end AlgebraicLie |
| 207 | |
| 208 | end |
| 209 | |
| 210 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.LieAlgebraic |