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.AbelianScheme.TateComparison.BaseChange |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PointedLifts |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Power |
| 4 | |
| 5 | /-! # End Torsion Free -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.EndTorsionFree |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Integral endomorphisms of a connected proper group in characteristic |
| 12 | zero have no additive torsion. The proof uses actual unramified power maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {k : Type} [Field k] [CharZero k] |
| 18 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 19 | [IsProper A.hom] [ConnectedSpace A.left] |
| 20 | |
| 21 | omit [CharZero k] [IsProper A.hom] [ConnectedSpace A.left] in |
| 22 | theorem endSchemeMap_nsmul (n : ℕ) (a : End.IntegralEnd A) : |
| 23 | End.endSchemeMap A (n • a) = End.endSchemeMap A a ^ n := by |
| 24 | induction n with |
| 25 | | zero => rw [zero_smul, BaseChange.endSchemeMap_zero, pow_zero] |
| 26 | | succ n ih => rw [succ_nsmul, BaseChange.endSchemeMap_add, ih, pow_succ] |
| 27 | |
| 28 | omit [GrpObj A] [IsCommMonObj A] [IsProper A.hom] [ConnectedSpace A.left] in |
| 29 | theorem nonzero_nat_unit_on_field_base (n : ℕ) (hn : n ≠ 0) : |
| 30 | ∀ x : Spec (.of k), IsUnit (n : (Spec (.of k)).presheaf.stalk x) := by |
| 31 | intro x |
| 32 | have hu : IsUnit (n : k) := isUnit_iff_ne_zero.mpr (Nat.cast_ne_zero.mpr hn) |
| 33 | let r : k →+* (Spec (.of k)).presheaf.stalk x := |
| 34 | ((Spec (.of k)).presheaf.germ ⊤ x (by trivial)).hom.comp (Scheme.ΓSpecIso (.of k)).inv.hom |
| 35 | simpa only [map_natCast] using hu.map r |
| 36 | |
| 37 | theorem integralEnd_eq_zero_of_nsmul (n : ℕ) (hn : n ≠ 0) (a : End.IntegralEnd A) |
| 38 | (ha : n • a = 0) : a = 0 := by |
| 39 | let p := (𝟙 A : A ⟶ A) ^ n |
| 40 | have : IsProper p.left := TorsionQuotient.Quasi.TorsionGeometry.power_isProper A n |
| 41 | have : FormallyUnramified p.left := TorsionQuotient.Power.PowerGeometry.power_formallyUnramified A n |
| 42 | (nonzero_nat_unit_on_field_base (k := k) n hn) |
| 43 | have hp : End.endSchemeMap A a ^ n = 1 := by |
| 44 | have h := congrArg (End.endSchemeMap A) ha |
| 45 | rw [endSchemeMap_nsmul, BaseChange.endSchemeMap_zero] at h |
| 46 | exact h |
| 47 | have hc : (End.endSchemeMap A a).left ≫ p.left = (1 : A ⟶ A).left ≫ p.left := by |
| 48 | change (End.endSchemeMap A a ≫ p).left = ((1 : A ⟶ A) ≫ p).left |
| 49 | apply congrArg Over.Hom.left |
| 50 | change End.endSchemeMap A a ≫ (𝟙 A : A ⟶ A) ^ n = (1 : A ⟶ A) ≫ (𝟙 A : A ⟶ A) ^ n |
| 51 | rw [MonObj.comp_pow, MonObj.comp_pow, Category.comp_id, Category.comp_id, hp, one_pow] |
| 52 | have hpoint : (MonObj.one (X := A)).left ≫ (End.endSchemeMap A a).left = |
| 53 | (MonObj.one (X := A)).left ≫ (1 : A ⟶ A).left := by |
| 54 | change (MonObj.one (X := A) ≫ End.endSchemeMap A a).left = |
| 55 | (MonObj.one (X := A) ≫ (1 : A ⟶ A)).left |
| 56 | apply congrArg Over.Hom.left |
| 57 | simp only [MonObj.one_eq_one, MonObj.one_comp, MonObj.comp_one] |
| 58 | apply End.endSchemeMap_injective A |
| 59 | rw [BaseChange.endSchemeMap_zero] |
| 60 | apply Over.OverMorphism.ext |
| 61 | have : Nonempty (CategoryTheory.MonoidalCategory.tensorUnit (Over (Spec (.of k)))).left := |
| 62 | ⟨IsLocalRing.closedPoint k⟩ |
| 63 | exact PELModuli.IntegralModel.PointedLifts.pointed_unramified_lifts_unique p.left (End.endSchemeMap A a).left |
| 64 | (1 : A ⟶ A).left hc (MonObj.one (X := A)).left hpoint |
| 65 | |
| 66 | theorem integralEnd_isAddTorsionFree : IsAddTorsionFree (End.IntegralEnd A) := by |
| 67 | refine ⟨fun n hn a b hab => ?_⟩ |
| 68 | apply sub_eq_zero.mp |
| 69 | apply integralEnd_eq_zero_of_nsmul A n hn |
| 70 | change n • a = n • b at hab |
| 71 | rw [nsmul_sub, hab, sub_self] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.EndTorsionFree |