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.TorsionQuotient.GroupTangentsEq |
| 2 | |
| 3 | /-! # Local Power In -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.LocalPowerIn.LocalPower |
| 6 | |
| 7 | /-! |
| 8 | # TorsionQuotient: multiplication by a unit on local infinitesimal group points |
| 9 | |
| 10 | The reduction map is precomposition with the actual quotient scheme map. |
| 11 | Every point in its kernel is realized by the relative tangent module. |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.GroupTangentsEq.GroupTangents |
| 21 | |
| 22 | variable {S : Scheme.{u}} {C : CommRingCat.{u}} [IsLocalRing C] |
| 23 | variable (s : Spec C ⟶ S) (J : Ideal C) (hJ : J ^ 2 = ⊥) |
| 24 | |
| 25 | noncomputable def reductionMap : |
| 26 | Over.mk (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ s) ⟶ Over.mk s := |
| 27 | Over.homMk (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J))) rfl |
| 28 | |
| 29 | noncomputable def reduction (A : Over S) [MonObj A] : |
| 30 | (Over.mk s ⟶ A) →* |
| 31 | (Over.mk (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ s) ⟶ A) where |
| 32 | toFun a := reductionMap s J ≫ a |
| 33 | map_one' := MonObj.comp_one _ |
| 34 | map_mul' a b := MonObj.comp_mul _ a b |
| 35 | |
| 36 | theorem reduction_overPoint (A : Over S) [MonObj A] (v : GroupTangentsEq.GroupTangents.relative s J hJ A) : |
| 37 | reduction s J A (GroupTangentsEq.GroupTangents.overPoint s J hJ A v) = 1 := by |
| 38 | apply Over.OverMorphism.ext |
| 39 | have h := PointedTangentAt.PointedTangent.point_reduction J hJ (GroupTangentsEq.GroupTangents.unitPoint s A).hom v.val |
| 40 | have he : reductionMap s J ≫ (1 : Over.mk s ⟶ A) = 1 := MonObj.comp_one _ |
| 41 | exact h.trans (congrArg (fun z => z.left) he) |
| 42 | |
| 43 | /-- The relative tangent module covers precisely the identity fiber of the |
| 44 | actual reduction map on group-scheme points. -/ |
| 45 | theorem exists_overPoint (A : Over S) [MonObj A] (a : Over.mk s ⟶ A) |
| 46 | (ha : reduction s J A a = 1) : |
| 47 | ∃ v : GroupTangentsEq.GroupTangents.relative s J hJ A, GroupTangentsEq.GroupTangents.overPoint s J hJ A v = a := by |
| 48 | have hred : Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ a.left = |
| 49 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ (GroupTangentsEq.GroupTangents.unitPoint s A).hom := by |
| 50 | exact congrArg (fun z => z.left) (ha.trans (map_one (reduction s J A)).symm) |
| 51 | obtain ⟨v, hv⟩ := PointedTangentAt.PointedTangent.exists_point J hJ (GroupTangentsEq.GroupTangents.unitPoint s A).hom a.left hred |
| 52 | have hv' : GroupTangentsEq.GroupTangents.point s J hJ A v = a.left := hv |
| 53 | have hker : v ∈ GroupTangentsEq.GroupTangents.relative s J hJ A := by |
| 54 | change GroupTangentsEq.GroupTangents.tangent s J hJ (CategoryTheory.CartesianMonoidalCategory.toUnit A) v = 0 |
| 55 | apply GroupTangentsEq.GroupTangents.point_injective s J hJ (𝟙_ (Over S)) |
| 56 | rw [GroupTangentsEq.GroupTangents.point_tangent, GroupTangentsEq.GroupTangents.point_zero, hv'] |
| 57 | exact Over.w a |
| 58 | refine ⟨⟨v, hker⟩, ?_⟩ |
| 59 | apply Over.OverMorphism.ext |
| 60 | exact hv' |
| 61 | |
| 62 | theorem tangent_power_injective (A : Over S) [MonObj A] [IsCommMonObj A] |
| 63 | (n : ℕ) (hn : IsUnit (n : C)) (v w : GroupTangentsEq.GroupTangents.relative s J hJ A) |
| 64 | (h : GroupTangentsEq.GroupTangents.overPoint s J hJ A v ^ n = GroupTangentsEq.GroupTangents.overPoint s J hJ A w ^ n) : v = w := by |
| 65 | have he : (n : C) • v = (n : C) • w := by |
| 66 | apply GroupTangentsEq.GroupTangents.overPoint_injective s J hJ A |
| 67 | rwa [GroupTangentsEq.GroupTangents.overPoint_natCast_smul, GroupTangentsEq.GroupTangents.overPoint_natCast_smul] |
| 68 | obtain ⟨r, hr⟩ := hn |
| 69 | have hi := congrArg (fun z => ((↑r⁻¹ : C) • z)) he |
| 70 | simpa only [← hr, smul_smul, Units.inv_mul, one_smul] using hi |
| 71 | |
| 72 | theorem exists_tangent_root (A : Over S) [MonObj A] [IsCommMonObj A] |
| 73 | (n : ℕ) (hn : IsUnit (n : C)) (v : GroupTangentsEq.GroupTangents.relative s J hJ A) : |
| 74 | ∃ w : GroupTangentsEq.GroupTangents.relative s J hJ A, GroupTangentsEq.GroupTangents.overPoint s J hJ A w ^ n = GroupTangentsEq.GroupTangents.overPoint s J hJ A v := by |
| 75 | obtain ⟨r, hr⟩ := hn |
| 76 | refine ⟨(↑r⁻¹ : C) • v, ?_⟩ |
| 77 | rw [← GroupTangentsEq.GroupTangents.overPoint_natCast_smul, ← hr, smul_smul, Units.mul_inv, one_smul] |
| 78 | |
| 79 | include hJ in |
| 80 | /-- Multiplication by an invertible integer is injective in the actual |
| 81 | infinitesimal identity fiber, with no affine hypothesis on the group. -/ |
| 82 | theorem power_injective_in_kernel (A : Over S) [MonObj A] [IsCommMonObj A] |
| 83 | (n : ℕ) (hn : IsUnit (n : C)) (a b : Over.mk s ⟶ A) |
| 84 | (ha : reduction s J A a = 1) (hb : reduction s J A b = 1) |
| 85 | (hab : a ^ n = b ^ n) : a = b := by |
| 86 | obtain ⟨v, rfl⟩ := exists_overPoint s J hJ A a ha |
| 87 | obtain ⟨w, rfl⟩ := exists_overPoint s J hJ A b hb |
| 88 | exact congrArg (GroupTangentsEq.GroupTangents.overPoint s J hJ A) (tangent_power_injective s J hJ A n hn v w hab) |
| 89 | |
| 90 | include hJ in |
| 91 | /-- Actual infinitesimal points have unique nth roots when n is a base unit. -/ |
| 92 | theorem exists_unique_root_in_kernel (A : Over S) [MonObj A] [IsCommMonObj A] |
| 93 | (n : ℕ) (hn : IsUnit (n : C)) (a : Over.mk s ⟶ A) |
| 94 | (ha : reduction s J A a = 1) : |
| 95 | ∃! b : Over.mk s ⟶ A, reduction s J A b = 1 ∧ b ^ n = a := by |
| 96 | obtain ⟨v, rfl⟩ := exists_overPoint s J hJ A a ha |
| 97 | obtain ⟨w, hw⟩ := exists_tangent_root s J hJ A n hn v |
| 98 | refine ⟨GroupTangentsEq.GroupTangents.overPoint s J hJ A w, ⟨reduction_overPoint s J hJ A w, hw⟩, ?_⟩ |
| 99 | intro b hb |
| 100 | exact power_injective_in_kernel s J hJ A n hn b (GroupTangentsEq.GroupTangents.overPoint s J hJ A w) |
| 101 | hb.1 (reduction_overPoint s J hJ A w) (hb.2.trans hw.symm) |
| 102 | |
| 103 | include hJ in |
| 104 | /-- Two arbitrary local group points with the same reduction and nth power |
| 105 | are equal. Translation reduces this to the infinitesimal identity fiber. -/ |
| 106 | theorem power_lift_unique (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 107 | (n : ℕ) (hn : IsUnit (n : C)) (a b : Over.mk s ⟶ A) |
| 108 | (hred : reduction s J A a = reduction s J A b) (hp : a ^ n = b ^ n) : a = b := by |
| 109 | have hk : reduction s J A (a / b) = 1 := by rw [map_div, hred, div_self'] |
| 110 | have hpow : (a / b) ^ n = (1 : Over.mk s ⟶ A) ^ n := by rw [div_pow, hp, div_self', one_pow] |
| 111 | have hab := power_injective_in_kernel s J hJ A n hn (a / b) 1 hk |
| 112 | (map_one _) hpow |
| 113 | exact div_eq_one.mp hab |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.LocalPowerIn.LocalPower |