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.IsogenyQuotient.Torsion.Groups |
| 2 | |
| 3 | /-! # Subgroup Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupTransport.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Transport subgroup families along their actual group-scheme inclusions. |
| 11 | The subgroup model is retained, including over nonreduced parameter |
| 12 | schemes. In particular, an TorsionQuotient choice killed by n becomes a subgroup of |
| 13 | the native finite-etale torsion group with no new geometric assumption. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {A B P : Over S} [GrpObj A] [GrpObj B] |
| 22 | |
| 23 | def relativeSubgroupImage (f : B ⟶ A) [IsMonHom f] |
| 24 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup B P) : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P where |
| 25 | points X t := (F.points X t).map (IsMonHom.monoidHom f X) |
| 26 | naturality := by |
| 27 | intro X Y a t x hx |
| 28 | obtain ⟨y, hy, rfl⟩ := hx |
| 29 | exact ⟨a ≫ y, F.naturality a t hy, Category.assoc a y f⟩ |
| 30 | |
| 31 | def relativeSubgroupPullback (f : B ⟶ A) [IsMonHom f] |
| 32 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) : TorsionQuotient.SubgroupFunctor.RelativeSubgroup B P where |
| 33 | points X t := (F.points X t).comap (IsMonHom.monoidHom f X) |
| 34 | naturality := by |
| 35 | intro X Y a t x hx |
| 36 | change (a ≫ x) ≫ f ∈ F.points X (a ≫ t) |
| 37 | rw [Category.assoc] |
| 38 | exact F.naturality a t hx |
| 39 | |
| 40 | theorem relativeSubgroupImage_baseChange |
| 41 | (f : B ⟶ A) [IsMonHom f] (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup B P) |
| 42 | {Q : Over S} (b : Q ⟶ P) : |
| 43 | (relativeSubgroupImage f F).baseChange b = relativeSubgroupImage f (F.baseChange b) := rfl |
| 44 | |
| 45 | theorem relativeSubgroupPullback_baseChange |
| 46 | (f : B ⟶ A) [IsMonHom f] (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 47 | {Q : Over S} (b : Q ⟶ P) : |
| 48 | (relativeSubgroupPullback f F).baseChange b = relativeSubgroupPullback f (F.baseChange b) := rfl |
| 49 | |
| 50 | /-- A monomorphic group-scheme embedding transports the represented |
| 51 | subgroup with exactly the same finite locally free parameter scheme. -/ |
| 52 | def relativeSubgroupImage_model |
| 53 | (f : B ⟶ A) [IsMonHom f] [Mono f] |
| 54 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup B P) (R : F.Model) : |
| 55 | (relativeSubgroupImage f F).Model where |
| 56 | carrier := R.carrier |
| 57 | toBase := R.toBase |
| 58 | toGroup := R.toGroup ≫ f |
| 59 | finite := R.finite |
| 60 | flat := R.flat |
| 61 | finitePresentation := R.finitePresentation |
| 62 | jointly_monic X a b hbase hgroup := |
| 63 | R.jointly_monic X a b hbase ((cancel_mono f).mp (by |
| 64 | simpa only [Category.assoc] using hgroup)) |
| 65 | points_iff X t a := by |
| 66 | constructor |
| 67 | · rintro ⟨x, hx, hxa⟩ |
| 68 | obtain ⟨r, hrt, hrx⟩ := (R.points_iff X t x).mp hx |
| 69 | exact ⟨r, hrt, by rw [← Category.assoc, hrx]; exact hxa⟩ |
| 70 | · rintro ⟨r, hrt, hra⟩ |
| 71 | exact ⟨r ≫ R.toGroup, |
| 72 | (R.points_iff X t _).mpr ⟨r, hrt, rfl⟩, |
| 73 | by |
| 74 | change (r ≫ R.toGroup) ≫ f = a |
| 75 | exact (Category.assoc _ _ _).trans hra⟩ |
| 76 | |
| 77 | /-- A verified factor of the universal subgroup embedding gives a |
| 78 | geometric model for its pullback along a monomorphism. -/ |
| 79 | def relativeSubgroupPullback_model |
| 80 | (f : B ⟶ A) [IsMonHom f] [Mono f] |
| 81 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) |
| 82 | (l : R.carrier ⟶ B) (hl : l ≫ f = R.toGroup) : |
| 83 | (relativeSubgroupPullback f F).Model where |
| 84 | carrier := R.carrier |
| 85 | toBase := R.toBase |
| 86 | toGroup := l |
| 87 | finite := R.finite |
| 88 | flat := R.flat |
| 89 | finitePresentation := R.finitePresentation |
| 90 | jointly_monic X a b hbase hgroup := by |
| 91 | apply R.jointly_monic X a b hbase |
| 92 | rw [← hl, ← Category.assoc, ← Category.assoc, hgroup] |
| 93 | points_iff X t a := by |
| 94 | change a ≫ f ∈ F.points X t ↔ ∃ r, r ≫ R.toBase = t ∧ r ≫ l = a |
| 95 | rw [R.points_iff] |
| 96 | constructor |
| 97 | · rintro ⟨r, hrt, hra⟩ |
| 98 | refine ⟨r, hrt, (cancel_mono f).mp ?_⟩ |
| 99 | rw [Category.assoc, hl, hra] |
| 100 | · rintro ⟨r, hrt, hra⟩ |
| 101 | exact ⟨r, hrt, by rw [← hl, ← Category.assoc, hra]⟩ |
| 102 | |
| 103 | theorem relativeSubgroupPullback_image |
| 104 | (f : B ⟶ A) [IsMonHom f] |
| 105 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 106 | (hfactor : ∀ (X : Over S) (t : X ⟶ P) (x : X ⟶ A), |
| 107 | x ∈ F.points X t → ∃ y : X ⟶ B, y ≫ f = x) : |
| 108 | relativeSubgroupImage f (relativeSubgroupPullback f F) = F := by |
| 109 | ext X t x |
| 110 | constructor |
| 111 | · rintro ⟨y, hy, rfl⟩ |
| 112 | exact hy |
| 113 | · intro hx |
| 114 | obtain ⟨y, hy⟩ := hfactor X t x hx |
| 115 | exact ⟨y, by change y ≫ f ∈ F.points X t; rw [hy]; exact hx, hy⟩ |
| 116 | |
| 117 | variable [IsCommMonObj A] |
| 118 | |
| 119 | /-- An TorsionQuotient subgroup choice killed by n has a model inside the actual |
| 120 | finite-etale n-torsion group, retaining its original underlying scheme. -/ |
| 121 | def torsionRelativeSubgroup_model |
| 122 | (n : ℕ) (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) (hkilled : F.KilledBy n) : |
| 123 | (relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion A n) F).Model := |
| 124 | relativeSubgroupPullback_model (Torsion.Groups.Construction.nativeTorsionInclusion A n) F R |
| 125 | (Torsion.Groups.Construction.nativeTorsionLift A n R.toGroup (R.toGroup_pow_eq_one hkilled)) |
| 126 | (Torsion.Groups.Construction.nativeTorsionLift_inclusion A n R.toGroup (R.toGroup_pow_eq_one hkilled)) |
| 127 | |
| 128 | /-- Returning the lifted torsion subgroup to the abelian scheme recovers |
| 129 | the original family exactly. -/ |
| 130 | theorem torsionRelativeSubgroup_image |
| 131 | (n : ℕ) (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (hkilled : F.KilledBy n) : |
| 132 | relativeSubgroupImage (Torsion.Groups.Construction.nativeTorsionInclusion A n) |
| 133 | (relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion A n) F) = F := by |
| 134 | apply relativeSubgroupPullback_image |
| 135 | intro X t x hx |
| 136 | exact ⟨Torsion.Groups.Construction.nativeTorsionLift A n x (hkilled X t x hx), Torsion.Groups.Construction.nativeTorsionLift_inclusion _ _ _ _⟩ |
| 137 | |
| 138 | end |
| 139 | |
| 140 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupTransport.Construction |