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 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.GlobalFunctions |
| 3 | |
| 4 | /-! # Torsion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.Torsion.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Prime-to-characteristic torsion cannot occur in the actual group-homomorphism group. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 21 | {A B : Over (Spec (CommRingCat.of K))} [GrpObj A] [GrpObj B] [IsCommMonObj B] |
| 22 | [IsProper A.hom] [GeometricallyIntegral A.hom] [IsProper B.hom] [Smooth B.hom] |
| 23 | |
| 24 | /-- A group homomorphism annihilated by an integer invertible in the field is zero. |
| 25 | It factors through the actual finite torsion kernel, and proper global functions |
| 26 | make that factorization constant at the identity. -/ |
| 27 | theorem groupHom_eq_one_of_pow_eq_one (f : A ⟶ B) [IsMonHom f] |
| 28 | (n : ℕ) (hn : (n : K) ≠ 0) (hf : f ^ n = 1) : f = 1 := by |
| 29 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 30 | have : IsFinite (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme B n).hom := (Multiplication.Construction.torsionScheme_finite_etale B n hn).1 |
| 31 | have : IsAffine (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme B n).left := |
| 32 | isAffine_of_isAffineHom (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme B n).hom |
| 33 | let t := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n f hf |
| 34 | have ht := Proper.GlobalFunctions.Construction.properIntegral_to_affine_constant A.hom (η[A]).left (η[A]).w t.left |
| 35 | have h := congrArg (fun g => g ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι B n).left) ht |
| 36 | have htf : t.left ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι B n).left = f.left := |
| 37 | congrArg (fun g : A ⟶ B => g.left) (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι n f hf) |
| 38 | have hunit : (η[A]).left ≫ f.left = (η[B]).left := |
| 39 | congrArg (fun g : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ B => g.left) |
| 40 | (IsMonHom.one_hom f) |
| 41 | apply Over.OverMorphism.ext |
| 42 | change f.left = A.hom ≫ (η[B]).left |
| 43 | simpa only [Category.assoc, htf, hunit] using h |
| 44 | |
| 45 | variable (A) [IsCommMonObj A] [Smooth A.hom] |
| 46 | |
| 47 | /-- Multiplication by a nonzero field integer is injective on the actual endomorphism group. -/ |
| 48 | theorem algebraicEnd_nsmul_eq_zero (n : ℕ) (hn : (n : K) ≠ 0) |
| 49 | (f : Endomorphisms.Construction.AlgebraicEnd A) (hf : n • f = 0) : f = 0 := by |
| 50 | have hf' : f.toMul ^ n = 1 := congrArg Additive.toMul hf |
| 51 | have h : f.toMul.hom.hom ^ n = 1 := by |
| 52 | simpa only [Grp.Hom.hom_pow, Mon.Hom.hom_pow, Grp.Hom.hom_one, Mon.Hom.hom_one] using |
| 53 | congrArg (fun g : Grp.mk A ⟶ Grp.mk A => g.hom.hom) hf' |
| 54 | have hz := groupHom_eq_one_of_pow_eq_one f.toMul.hom.hom n hn h |
| 55 | apply Additive.toMul.injective |
| 56 | apply Grp.hom_ext |
| 57 | exact hz |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.Torsion.Construction |