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.ArithmeticGeometry.OrdinaryLocus.Openness.GroupTangentsEq |
| 2 | |
| 3 | /-! # Infinitesimal Power Eq -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.InfinitesimalPowerEq.Construction.InfinitesimalPower |
| 6 | |
| 7 | /-! |
| 8 | # Openness: multiplication in characteristic p 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.ArithmeticGeometry.OrdinaryLocus.Openness.GroupTangentsEq.Construction.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.Construction.GroupTangents.relative s J hJ A) : |
| 37 | reduction s J A (GroupTangentsEq.Construction.GroupTangents.overPoint s J hJ A v) = 1 := by |
| 38 | apply Over.OverMorphism.ext |
| 39 | have h := PointedTangentAt.Construction.PointedTangent.point_reduction J hJ (GroupTangentsEq.Construction.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.Construction.GroupTangents.relative s J hJ A, GroupTangentsEq.Construction.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.Construction.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.Construction.PointedTangent.exists_point J hJ (GroupTangentsEq.Construction.GroupTangents.unitPoint s A).hom a.left hred |
| 52 | have hv' : GroupTangentsEq.Construction.GroupTangents.point s J hJ A v = a.left := hv |
| 53 | have hker : v ∈ GroupTangentsEq.Construction.GroupTangents.relative s J hJ A := by |
| 54 | change GroupTangentsEq.Construction.GroupTangents.tangent s J hJ (CategoryTheory.CartesianMonoidalCategory.toUnit A) v = 0 |
| 55 | apply GroupTangentsEq.Construction.GroupTangents.point_injective s J hJ (𝟙_ (Over S)) |
| 56 | rw [GroupTangentsEq.Construction.GroupTangents.point_tangent, GroupTangentsEq.Construction.GroupTangents.point_zero, hv'] |
| 57 | exact Over.w a |
| 58 | refine ⟨⟨v, hker⟩, ?_⟩ |
| 59 | apply Over.OverMorphism.ext |
| 60 | exact hv' |
| 61 | |
| 62 | include hJ in |
| 63 | /-- Multiplication by the characteristic kills every first-order point |
| 64 | that reduces to the group identity. -/ |
| 65 | theorem pow_eq_one_of_reduction_eq_one |
| 66 | (A : Over S) [MonObj A] [IsCommMonObj A] |
| 67 | (p : ℕ) [CharP C p] (a : Over.mk s ⟶ A) |
| 68 | (ha : reduction s J A a = 1) : a ^ p = 1 := by |
| 69 | obtain ⟨v, rfl⟩ := exists_overPoint s J hJ A a ha |
| 70 | rw [← GroupTangentsEq.Construction.GroupTangents.overPoint_natCast_smul, CharP.cast_eq_zero C p, zero_smul, GroupTangentsEq.Construction.GroupTangents.overPoint_zero] |
| 71 | |
| 72 | include hJ in |
| 73 | /-- First-order lifts with the same reduction have the same p-th power |
| 74 | in characteristic p. -/ |
| 75 | theorem pow_eq_of_reduction_eq |
| 76 | (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 77 | (p : ℕ) [CharP C p] (a b : Over.mk s ⟶ A) |
| 78 | (hab : reduction s J A a = reduction s J A b) : a ^ p = b ^ p := by |
| 79 | have hred : reduction s J A (a / b) = 1 := by rw [map_div, hab, div_self'] |
| 80 | have h := pow_eq_one_of_reduction_eq_one s J hJ A p (a / b) hred |
| 81 | rw [div_pow, div_eq_one] at h |
| 82 | exact h |
| 83 | |
| 84 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.InfinitesimalPowerEq.Construction.InfinitesimalPower |