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.NumberTheory.PadicHodge.IntegralComparison.TorsionSchemeCharacter |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction |
| 3 | |
| 4 | /-! # Torsion Point Character -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TorsionPointCharacter |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The overlap cocycle is additive on actual torsion points. This gives |
| 11 | the finite-level pairing used in the H¹/dual-Tate comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | variable (ℓ n : ℕ) [Fact ℓ.Prime] |
| 23 | {k : Type u} [Field k] [IsAlgClosed k] |
| 24 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 25 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 26 | (hℓ : (ℓ : k) ≠ 0) |
| 27 | |
| 28 | local notation "N" => (ℓ ^ n) |
| 29 | local notation "T" => OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A N |
| 30 | local notation "m" => ((𝟙 A : A ⟶ A) ^ N) |
| 31 | |
| 32 | def torsionPoint (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : 𝟙_ (Over (Spec (.of k))) ⟶ T := |
| 33 | AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift N t.val t.property |
| 34 | |
| 35 | def translation (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : A ⟶ A := |
| 36 | 𝟙 A * (toUnit A ≫ t.val) |
| 37 | |
| 38 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 39 | theorem translation_multiplication (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : |
| 40 | translation ℓ n A t ≫ m = m := by |
| 41 | change (𝟙 A * (toUnit A ≫ t.val)) ≫ (𝟙 A) ^ N = (𝟙 A) ^ N |
| 42 | rw [MonObj.comp_pow, Category.comp_id, mul_pow] |
| 43 | have ht : (toUnit A ≫ t.val) ^ N = 1 := by |
| 44 | rw [← MonObj.comp_pow, show t.val ^ N = 1 from t.property, MonObj.comp_one] |
| 45 | rw [ht, _root_.mul_one] |
| 46 | |
| 47 | def pair (f : A ⟶ A) (hf : f ≫ m = m) (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : |
| 48 | MultiplicationCoverCharacter.cover ℓ n A hℓ ⟶ MultiplicationCoverCharacter.overlap ℓ n A hℓ := |
| 49 | MorphismProperty.Over.homMk |
| 50 | ((lift f (toUnit A ≫ torsionPoint ℓ n A t)).left ≫ |
| 51 | (MultiplicationKernelPair.schemeEquiv A N).hom) (by |
| 52 | change ((lift f (toUnit A ≫ torsionPoint ℓ n A t)).left ≫ |
| 53 | (MultiplicationKernelPair.schemeEquiv A N).hom) ≫ |
| 54 | (pullback.fst (m).left (m).left ≫ (m).left) = (m).left |
| 55 | rw [Category.assoc, MultiplicationKernelPair.schemeEquiv_hom_fst_assoc] |
| 56 | have he : lift f (toUnit A ≫ torsionPoint ℓ n A t) ≫ fst A T ≫ m = m := by |
| 57 | rw [← Category.assoc, lift_fst, hf] |
| 58 | exact congrArg Over.Hom.left he) |
| 59 | |
| 60 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 61 | @[reassoc] theorem pair_fst (f : A ⟶ A) (hf : f ≫ m = m) |
| 62 | (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : |
| 63 | (pair ℓ n A hℓ f hf t).left ≫ (MultiplicationCoverCharacter.first ℓ n A hℓ).left = f.left := by |
| 64 | change ((lift f (toUnit A ≫ torsionPoint ℓ n A t)).left ≫ |
| 65 | (MultiplicationKernelPair.schemeEquiv A N).hom) ≫ pullback.fst (m).left (m).left = _ |
| 66 | rw [Category.assoc, MultiplicationKernelPair.schemeEquiv_hom_fst] |
| 67 | exact congrArg Over.Hom.left (lift_fst f (toUnit A ≫ torsionPoint ℓ n A t)) |
| 68 | |
| 69 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 70 | @[reassoc] theorem pair_snd (f : A ⟶ A) (hf : f ≫ m = m) |
| 71 | (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : |
| 72 | (pair ℓ n A hℓ f hf t).left ≫ (MultiplicationCoverCharacter.second ℓ n A hℓ).left = |
| 73 | (f * (toUnit A ≫ t.val)).left := by |
| 74 | change ((lift f (toUnit A ≫ torsionPoint ℓ n A t)).left ≫ |
| 75 | (MultiplicationKernelPair.schemeEquiv A N).hom) ≫ pullback.snd (m).left (m).left = _ |
| 76 | rw [Category.assoc, MultiplicationKernelPair.schemeEquiv_hom_snd] |
| 77 | have he : lift f (toUnit A ≫ torsionPoint ℓ n A t) ≫ |
| 78 | ((fst A T) * (snd A T ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N)) = f * (toUnit A ≫ t.val) := by |
| 79 | simp only [MonObj.comp_mul, lift_fst, lift_snd_assoc, Category.assoc, |
| 80 | torsionPoint, AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι] |
| 81 | exact congrArg Over.Hom.left he |
| 82 | |
| 83 | def value (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) |
| 84 | (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : ZMod N := |
| 85 | TorsionSchemeCharacter.character ℓ n A hℓ x |
| 86 | ((torsionPoint ℓ n A t).left (IsLocalRing.closedPoint k)) |
| 87 | |
| 88 | theorem pair_value (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) |
| 89 | (f : A ⟶ A) (hf : f ≫ m = m) (t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) (z : A.left) : |
| 90 | ULift.down (α := C(A.left, ZMod N)) |
| 91 | ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map (pair ℓ n A hℓ f hf t).op |
| 92 | (MultiplicationCoverCharacter.character ℓ n A hℓ x)) z = |
| 93 | value ℓ n A hℓ x t := by |
| 94 | change MultiplicationCoverCharacter.productCharacter ℓ n A hℓ x ((lift f (toUnit A ≫ torsionPoint ℓ n A t)).left z) = _ |
| 95 | rw [TorsionSchemeCharacter.productCharacter_value] |
| 96 | have he := congrArg Over.Hom.left (lift_snd f (toUnit A ≫ torsionPoint ℓ n A t)) |
| 97 | have hz := congrArg (fun g : A.left ⟶ (T).left => g z) he |
| 98 | change (snd A T).left ((lift f (toUnit A ≫ torsionPoint ℓ n A t)).left z) = |
| 99 | (torsionPoint ℓ n A t).left ((toUnit A).left z) at hz |
| 100 | rw [hz, show (toUnit A).left z = IsLocalRing.closedPoint k from |
| 101 | Subsingleton.elim (α := Spec (.of k)) _ _] |
| 102 | rfl |
| 103 | |
| 104 | theorem value_mul (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) |
| 105 | (t u : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) : |
| 106 | value ℓ n A hℓ x (t * u) = value ℓ n A hℓ x t + value ℓ n A hℓ x u := by |
| 107 | let U := MultiplicationCoverCharacter.cover ℓ n A hℓ |
| 108 | let D := MultiplicationCoverCharacter.overlap ℓ n A hℓ |
| 109 | let a := MultiplicationCoverCharacter.first ℓ n A hℓ |
| 110 | let b := MultiplicationCoverCharacter.second ℓ n A hℓ |
| 111 | let p := pair ℓ n A hℓ (𝟙 A) (Category.id_comp m) t |
| 112 | let q := pair ℓ n A hℓ (translation ℓ n A t) (translation_multiplication ℓ n A t) u |
| 113 | let r := pair ℓ n A hℓ (𝟙 A) (Category.id_comp m) (t * u) |
| 114 | have hpa : p ≫ a = r ≫ a := by |
| 115 | apply MorphismProperty.Over.Hom.ext |
| 116 | exact (pair_fst ℓ n A hℓ _ _ _).trans (pair_fst ℓ n A hℓ _ _ _).symm |
| 117 | have hpb : p ≫ b = q ≫ a := by |
| 118 | apply MorphismProperty.Over.Hom.ext |
| 119 | exact (pair_snd ℓ n A hℓ _ _ _).trans (pair_fst ℓ n A hℓ _ _ _).symm |
| 120 | have hqb : q ≫ b = r ≫ b := by |
| 121 | apply MorphismProperty.Over.Hom.ext |
| 122 | change q.left ≫ b.left = r.left ≫ b.left |
| 123 | rw [pair_snd, pair_snd] |
| 124 | apply congrArg Over.Hom.left |
| 125 | change (𝟙 A * (toUnit A ≫ t.val)) * (toUnit A ≫ u.val) = |
| 126 | 𝟙 A * (toUnit A ≫ (t.val * u.val)) |
| 127 | rw [MonObj.comp_mul, _root_.mul_assoc] |
| 128 | let : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 129 | let : PreconnectedSpace U.left := inferInstanceAs (PreconnectedSpace A.left) |
| 130 | have he := Finite.CoverCharacter.character_cocycle ℓ n U D a b |
| 131 | (FiniteCoefficient.GroupLaw.multiplication_pow_pullback_zero ℓ n A) |
| 132 | x U p q r hpa hpb hqb |
| 133 | let z : A.left := Classical.choice inferInstance |
| 134 | have hz := congrArg (fun s : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.obj (op U) => |
| 135 | ULift.down (α := C(A.left, ZMod N)) s z) he |
| 136 | change ULift.down (α := C(A.left, ZMod N)) |
| 137 | ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map p.op |
| 138 | (MultiplicationCoverCharacter.character ℓ n A hℓ x)) z + |
| 139 | ULift.down (α := C(A.left, ZMod N)) |
| 140 | ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map q.op |
| 141 | (MultiplicationCoverCharacter.character ℓ n A hℓ x)) z = |
| 142 | ULift.down (α := C(A.left, ZMod N)) |
| 143 | ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map r.op |
| 144 | (MultiplicationCoverCharacter.character ℓ n A hℓ x)) z at hz |
| 145 | rw [pair_value, pair_value, pair_value] at hz |
| 146 | exact hz.symm |
| 147 | |
| 148 | theorem value_one (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 149 | value ℓ n A hℓ x 1 = 0 := by |
| 150 | have h := value_mul ℓ n A hℓ x 1 1 |
| 151 | rw [_root_.one_mul] at h |
| 152 | exact add_left_cancel (h.symm.trans (add_zero _).symm) |
| 153 | |
| 154 | def pointCharacter (x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) : |
| 155 | Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N where |
| 156 | toFun t := value ℓ n A hℓ x t.toMul |
| 157 | map_zero' := value_one ℓ n A hℓ x |
| 158 | map_add' t u := value_mul ℓ n A hℓ x t.toMul u.toMul |
| 159 | |
| 160 | def character : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1 →+ |
| 161 | (Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N) where |
| 162 | toFun := pointCharacter ℓ n A hℓ |
| 163 | map_zero' := by |
| 164 | apply AddMonoidHom.ext |
| 165 | intro t |
| 166 | change TorsionSchemeCharacter.character ℓ n A hℓ 0 _ = 0 |
| 167 | rw [map_zero] |
| 168 | rfl |
| 169 | map_add' x y := by |
| 170 | apply AddMonoidHom.ext |
| 171 | intro t |
| 172 | change TorsionSchemeCharacter.character ℓ n A hℓ (x + y) _ = |
| 173 | TorsionSchemeCharacter.character ℓ n A hℓ x _ + |
| 174 | TorsionSchemeCharacter.character ℓ n A hℓ y _ |
| 175 | rw [map_add] |
| 176 | rfl |
| 177 | |
| 178 | theorem character_injective : Function.Injective (character ℓ n A hℓ) := by |
| 179 | intro x y hxy |
| 180 | apply TorsionSchemeCharacter.character_injective ℓ n A hℓ |
| 181 | let : IsFinite (T).hom := (AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.torsionScheme_finite_etale A N |
| 182 | (by rw [Nat.cast_pow]; exact pow_ne_zero n hℓ)).1 |
| 183 | let : JacobsonSpace (T).left := LocallyOfFiniteType.jacobsonSpace (T).hom |
| 184 | let c := TorsionSchemeCharacter.character ℓ n A hℓ x |
| 185 | let d := TorsionSchemeCharacter.character ℓ n A hℓ y |
| 186 | apply DFunLike.ext' |
| 187 | apply c.continuous.ext_on (show Dense (closedPoints (T).left) by |
| 188 | rw [dense_iff_closure_eq, closure_closedPoints]) d.continuous |
| 189 | intro z hz |
| 190 | let s : 𝟙_ (Over (Spec (.of k))) ⟶ T := Over.homMk |
| 191 | (pointOfClosedPoint (T).hom z hz) (pointOfClosedPoint_comp (T).hom z hz) |
| 192 | let t : AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N := ⟨s ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N, |
| 193 | (AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.factors_through_torsion_iff N (s ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N)).mp ⟨s, rfl⟩⟩ |
| 194 | have ht : torsionPoint ℓ n A t = s := by |
| 195 | apply equalizer.hom_ext |
| 196 | exact AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι N t.val t.property |
| 197 | have he := congrArg |
| 198 | (fun f : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N => f (Additive.ofMul t)) hxy |
| 199 | change value ℓ n A hℓ x t = value ℓ n A hℓ y t at he |
| 200 | unfold value at he |
| 201 | rw [ht] at he |
| 202 | change c (pointOfClosedPoint (T).hom z hz (IsLocalRing.closedPoint k)) = |
| 203 | d (pointOfClosedPoint (T).hom z hz (IsLocalRing.closedPoint k)) at he |
| 204 | simpa only [pointOfClosedPoint_apply] using he |
| 205 | |
| 206 | end |
| 207 | |
| 208 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TorsionPointCharacter |