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.CubeIdentity |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.Torsion |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.GeometricEmbedding |
| 4 | |
| 5 | /-! # Positive Multiplication -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PositiveMultiplication |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The proved cube identity makes every positive multiplication finite, |
| 12 | including characteristic-power multiplication. The actual endomorphism |
| 13 | group consequently has no nonzero integer torsion. -/ |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 20 | open scoped _root_.CategoryTheory.Obj |
| 21 | |
| 22 | namespace Construction |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 27 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 28 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 29 | |
| 30 | theorem multiplication_positive_isFinite (n : ℕ) (hn : 0 < n) : |
| 31 | IsFinite ((𝟙 A : A ⟶ A) ^ n).left := |
| 32 | Quotients.FiniteDescent.CubicalMultiplicationIs.Construction.CubicalMultiplication.isFinite A (CubeIdentity.Construction.lineBundle_isCubical A) n hn |
| 33 | |
| 34 | theorem torsionScheme_positive_finite (n : ℕ) (hn : 0 < n) : |
| 35 | IsFinite (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := |
| 36 | MorphismProperty.of_isPullback (AbelianScheme.TorsionQuotient.Left.TorsionPullback.isPullback_left A n) |
| 37 | (multiplication_positive_isFinite A n hn) |
| 38 | |
| 39 | theorem groupHom_eq_one_of_positive_pow |
| 40 | {B : Over (Spec (CommRingCat.of K))} [GrpObj B] |
| 41 | [IsProper B.hom] [GeometricallyIntegral B.hom] |
| 42 | (f : B ⟶ A) [IsMonHom f] (n : ℕ) (hn : 0 < n) (hf : f ^ n = 1) : f = 1 := by |
| 43 | have : IsIntegral B.left := GeometricallyIntegral.isIntegral_of_subsingleton B.hom |
| 44 | have : IsFinite (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := torsionScheme_positive_finite A n hn |
| 45 | have : IsAffine (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).left := |
| 46 | isAffine_of_isAffineHom (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom |
| 47 | let t := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n f hf |
| 48 | have ht := Proper.GlobalFunctions.Construction.properIntegral_to_affine_constant B.hom (η[B]).left (η[B]).w t.left |
| 49 | have h := congrArg (fun g => g ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n).left) ht |
| 50 | have htf : t.left ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n).left = f.left := |
| 51 | congrArg (fun g : B ⟶ A => g.left) (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι n f hf) |
| 52 | have hunit : (η[B]).left ≫ f.left = (η[A]).left := |
| 53 | congrArg (fun g : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ A => g.left) |
| 54 | (IsMonHom.one_hom f) |
| 55 | apply Over.OverMorphism.ext |
| 56 | change f.left = B.hom ≫ (η[A]).left |
| 57 | simpa only [Category.assoc, htf, hunit] using h |
| 58 | |
| 59 | theorem algebraicEnd_positive_nsmul_eq_zero (n : ℕ) (hn : 0 < n) |
| 60 | (f : Endomorphisms.Construction.AlgebraicEnd A) (hf : n • f = 0) : f = 0 := by |
| 61 | have hf' : f.toMul ^ n = 1 := congrArg Additive.toMul hf |
| 62 | have h : f.toMul.hom.hom ^ n = 1 := by |
| 63 | simpa only [Grp.Hom.hom_pow, Mon.Hom.hom_pow, Grp.Hom.hom_one, Mon.Hom.hom_one] using |
| 64 | congrArg (fun g : Grp.mk A ⟶ Grp.mk A => g.hom.hom) hf' |
| 65 | have hz := groupHom_eq_one_of_positive_pow A f.toMul.hom.hom n hn h |
| 66 | apply Additive.toMul.injective |
| 67 | apply Grp.hom_ext |
| 68 | exact hz |
| 69 | |
| 70 | omit [IsAlgClosed K] in |
| 71 | /-- The actual endomorphism group over any field has no positive-integer torsion. -/ |
| 72 | theorem algebraicEnd_nsmul_eq_zero_of_positive (n : ℕ) (hn : 0 < n) |
| 73 | (f : Endomorphisms.Construction.AlgebraicEnd A) (hf : n • f = 0) : f = 0 := by |
| 74 | let B := Geometric.Frobenius.Construction.geometricFiberOver K A |
| 75 | have : IsProper B.hom := inferInstanceAs (IsProper (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase K))) |
| 76 | have : Smooth B.hom := inferInstanceAs (Smooth (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase K))) |
| 77 | have : GeometricallyIntegral B.hom := |
| 78 | inferInstanceAs (GeometricallyIntegral (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase K))) |
| 79 | let : Ring (Endomorphisms.Construction.AlgebraicEnd (Geometric.Frobenius.Construction.geometricFiberOver K A)) := Endomorphisms.Construction.algebraicEndRing _ |
| 80 | let : AddMonoid (Endomorphisms.Construction.AlgebraicEnd B) := (Endomorphisms.Construction.algebraicEndRing B).toAddMonoid |
| 81 | let φ : Endomorphisms.Construction.AlgebraicEnd A →+* Endomorphisms.Construction.AlgebraicEnd B := Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange K A |
| 82 | have hφ : n • φ f = 0 := by rw [← map_nsmul, hf, map_zero] |
| 83 | have hz := algebraicEnd_positive_nsmul_eq_zero B n hn (φ f) hφ |
| 84 | apply Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange_injective K A |
| 85 | exact hz.trans (map_zero φ).symm |
| 86 | |
| 87 | end Construction |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PositiveMultiplication |