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.FormalGeometry.Completion.Multiplication |
| 2 | |
| 3 | /-! # Torsion Point Action -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual finite torsion points and the endomorphism ring acting on them. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {K : Type u} [Field K] |
| 20 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 21 | |
| 22 | /-- The actual field-valued points killed by multiplication by n. -/ |
| 23 | def geometricTorsionPoints (n : ℕ) : Subgroup (𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ A) := |
| 24 | (powMonoidHom n).ker |
| 25 | |
| 26 | /-- Postcomposition by an actual group endomorphism preserves actual torsion points. -/ |
| 27 | def algebraicEndTorsionPointMap (n : ℕ) (f : Endomorphisms.Construction.AlgebraicEnd A) : |
| 28 | geometricTorsionPoints A n →* geometricTorsionPoints A n where |
| 29 | toFun a := ⟨a.val ≫ f.toMul.hom.hom, by |
| 30 | change (a.val ≫ f.toMul.hom.hom) ^ n = 1 |
| 31 | rw [← MonObj.pow_comp, show a.val ^ n = 1 from a.property, MonObj.one_comp]⟩ |
| 32 | map_one' := Subtype.ext (MonObj.one_comp _) |
| 33 | map_mul' a b := Subtype.ext (MonObj.mul_comp _ _ _) |
| 34 | |
| 35 | /-- The genuine endomorphism ring acts on the additive finite torsion group. -/ |
| 36 | def algebraicEndTorsionPointAction (n : ℕ) : |
| 37 | Endomorphisms.Construction.AlgebraicEnd A →+* AddMonoid.End (Additive (geometricTorsionPoints A n)) where |
| 38 | toFun f := (algebraicEndTorsionPointMap A n f).toAdditive |
| 39 | map_one' := by |
| 40 | apply AddMonoidHom.ext |
| 41 | intro a |
| 42 | apply Additive.toMul.injective |
| 43 | apply Subtype.ext |
| 44 | exact Category.comp_id _ |
| 45 | map_mul' f g := by |
| 46 | apply AddMonoidHom.ext |
| 47 | intro a |
| 48 | apply Additive.toMul.injective |
| 49 | apply Subtype.ext |
| 50 | exact (Category.assoc _ _ _).symm |
| 51 | map_zero' := by |
| 52 | apply AddMonoidHom.ext |
| 53 | intro a |
| 54 | apply Additive.toMul.injective |
| 55 | apply Subtype.ext |
| 56 | exact MonObj.comp_one _ |
| 57 | map_add' f g := by |
| 58 | apply AddMonoidHom.ext |
| 59 | intro a |
| 60 | apply Additive.toMul.injective |
| 61 | apply Subtype.ext |
| 62 | exact MonObj.comp_mul _ _ _ |
| 63 | |
| 64 | variable [IsAlgClosed K] |
| 65 | |
| 66 | /-- A finite scheme over an algebraically closed field has finitely many actual field points. -/ |
| 67 | theorem finite_field_points (T : Over (Spec (CommRingCat.of K))) [IsFinite T.hom] : |
| 68 | Finite (𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ T) := by |
| 69 | have hu : (Set.univ : Set T.left).Finite := |
| 70 | (T.hom.finite_preimage_singleton (IsLocalRing.closedPoint K)).subset |
| 71 | (fun _ _ => Subsingleton.elim _ _) |
| 72 | have : Finite T.left := Set.finite_univ_iff.mp hu |
| 73 | apply Finite.of_injective (fun f : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ T => |
| 74 | f.left (IsLocalRing.closedPoint K)) |
| 75 | intro f g h |
| 76 | apply Over.OverMorphism.ext |
| 77 | exact ext_of_apply_closedPoint_eq T.hom f.w g.w h |
| 78 | |
| 79 | /-- Finiteness comes from the actual finite scheme-theoretic torsion kernel. -/ |
| 80 | theorem geometricTorsionPoints_finite [IsProper A.hom] [Smooth A.hom] |
| 81 | (n : ℕ) (hn : (n : K) ≠ 0) : Finite (geometricTorsionPoints A n) := by |
| 82 | have : IsFinite (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := (Multiplication.Construction.torsionScheme_finite_etale A n hn).1 |
| 83 | have := finite_field_points (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) |
| 84 | let t : geometricTorsionPoints A n → |
| 85 | (𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) := |
| 86 | fun a => AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n a.val a.property |
| 87 | apply Finite.of_injective t |
| 88 | intro a b h |
| 89 | apply Subtype.ext |
| 90 | have he := congrArg (fun f => f ≫ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n) h |
| 91 | simpa only [t, AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι] using he |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction |