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.IsogenyComplement |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Product |
| 3 | |
| 4 | /-! # Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Action.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Descent of the integral action through the constructed quotient. The |
| 12 | ring identities are proved by epimorphic cancellation. Stability follows |
| 13 | from the scalar action on split torsion blocks and closure of a subgroup |
| 14 | under integer powers; no descended action is an input. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | universe u v w |
| 22 | |
| 23 | section Action |
| 24 | |
| 25 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 26 | variable {A B H : C} [GrpObj A] [GrpObj B] |
| 27 | variable (R : Type w) [Ring R] |
| 28 | |
| 29 | /-- A ring action by actual group-object endomorphisms. The group law |
| 30 | is written multiplicatively, so the zero endomorphism is `1`. -/ |
| 31 | @[ext] structure EndomorphismAction where |
| 32 | map : R → (A ⟶ A) |
| 33 | preservesGroup : ∀ r, IsMonHom (map r) |
| 34 | map_zero : map 0 = 1 |
| 35 | map_one : map 1 = 𝟙 A |
| 36 | map_add : ∀ r t, map (r + t) = map r * map t |
| 37 | map_mul : ∀ r t, map (r * t) = map t ≫ map r |
| 38 | |
| 39 | attribute [instance] EndomorphismAction.preservesGroup |
| 40 | |
| 41 | variable {R} |
| 42 | |
| 43 | /-- Construct the unique ring action on a quotient whose kernel is stable. |
| 44 | The hypotheses on the quotient are exactly FiniteDescent's universal property plus |
| 45 | the product epimorphism supplied by its finite flat surjectivity. -/ |
| 46 | theorem quotient_ring_action |
| 47 | (ρ : EndomorphismAction (A := A) R) |
| 48 | (i : H ⟶ A) (f : A ⟶ B) [IsMonHom f] [Epi (f ⊗ₘ f)] |
| 49 | (hkernel : i ≫ f = 1) (h_FiniteDescent : Descent.Construction.QuotientUniversalProperty i f) |
| 50 | (hstable : ∀ r, i ≫ ρ.map r ≫ f = 1) : |
| 51 | ∃! σ : EndomorphismAction (A := B) R, |
| 52 | ∀ r, f ≫ σ.map r = ρ.map r ≫ f := by |
| 53 | have hex r := Descent.Construction.endomorphism_descent_of_FiniteDescent i f h_FiniteDescent (ρ.map r) (hstable r) |
| 54 | let d := fun r => Classical.choose (hex r) |
| 55 | have hd r : f ≫ d r = ρ.map r ≫ f := (Classical.choose_spec (hex r)).1 |
| 56 | have : Epi f := Descent.Construction.quotient_epi i f hkernel h_FiniteDescent |
| 57 | let σ : EndomorphismAction (A := B) R := { |
| 58 | map := d |
| 59 | preservesGroup := fun r => Picard.PoincareBundle.Epi.Construction.isMonHom_of_comp f (ρ.map r ≫ f) (d r) (hd r) |
| 60 | map_zero := by |
| 61 | apply (cancel_epi f).mp |
| 62 | rw [hd, ρ.map_zero, MonObj.one_comp, MonObj.comp_one] |
| 63 | map_one := Descent.Construction.descended_identity f (d 1) (by rw [hd, ρ.map_one]) |
| 64 | map_add := fun r t => Descent.Construction.descended_addition f (ρ.map r) (ρ.map t) |
| 65 | (d r) (d t) (d (r + t)) (hd r) (hd t) (by rw [hd, ρ.map_add]) |
| 66 | map_mul := fun r t => Descent.Construction.descended_composition f (ρ.map t) (ρ.map r) |
| 67 | (d t) (d r) (d (r * t)) (hd t) (hd r) (by rw [hd, ρ.map_mul]) } |
| 68 | refine ⟨σ, hd, ?_⟩ |
| 69 | intro τ hτ |
| 70 | have hmaps : τ.map = σ.map := by |
| 71 | funext r |
| 72 | exact (cancel_epi f).mp ((hτ r).trans (hd r).symm) |
| 73 | exact EndomorphismAction.ext hmaps |
| 74 | |
| 75 | end Action |
| 76 | |
| 77 | variable {S : Scheme.{u}} {A : Over S} [GrpObj A] |
| 78 | variable {P : Over S} (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 79 | |
| 80 | /-- Stability is imposed and checked on all test schemes. -/ |
| 81 | def RelativeSubgroupStable (a : A ⟶ A) : Prop := |
| 82 | ∀ (X : Over S) (t : X ⟶ P) (x : X ⟶ A), |
| 83 | x ∈ F.points X t → x ≫ a ∈ F.points X t |
| 84 | |
| 85 | /-- The split integral action is scalar on a block of n-torsion, and |
| 86 | every subgroup of that block is stable under these integer scalars. -/ |
| 87 | theorem relative_subgroup_stable_of_scalar |
| 88 | (a : A ⟶ A) (k : ℤ) |
| 89 | (hscalar : ∀ (X : Over S) (t : X ⟶ P) (x : X ⟶ A), |
| 90 | x ∈ F.points X t → x ≫ a = x ^ k) : |
| 91 | RelativeSubgroupStable F a := by |
| 92 | intro X t x hx |
| 93 | rw [hscalar X t x hx] |
| 94 | exact (F.points X t).zpow_mem hx k |
| 95 | |
| 96 | variable [IsCommMonObj A] |
| 97 | |
| 98 | /-- Stability of both factors implies stability of their actual product |
| 99 | subgroup; this also permits iteration over all chosen/opposite blocks. -/ |
| 100 | theorem relative_kernel_product_stable |
| 101 | (G : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (a : A ⟶ A) [IsMonHom a] |
| 102 | (hF : RelativeSubgroupStable F a) (hG : RelativeSubgroupStable G a) : |
| 103 | RelativeSubgroupStable (Kernel.Product.Construction.relativeKernelProduct F G) a := by |
| 104 | intro X t x hx |
| 105 | obtain ⟨y, hy, z, hz, rfl⟩ := hx |
| 106 | exact ⟨y ≫ a, hF X t y hy, z ≫ a, hG X t z hz, MonObj.mul_comp y z a⟩ |
| 107 | |
| 108 | omit [IsCommMonObj A] in |
| 109 | /-- Translate stability of the functor of points to the scheme kernel |
| 110 | criterion required by quotient descent. -/ |
| 111 | theorem stable_model_kernel |
| 112 | (R : F.Model) (a : A ⟶ A) |
| 113 | (hstable : RelativeSubgroupStable F a) |
| 114 | {B : Over S} [GrpObj B] (f : A ⟶ B) |
| 115 | (hkernel : ∀ (X : Over S) (t : X ⟶ P) (x : X ⟶ A), |
| 116 | x ∈ F.points X t → x ≫ f = 1) : |
| 117 | R.toGroup ≫ a ≫ f = 1 := by |
| 118 | have hi : R.toGroup ∈ F.points R.carrier R.toBase := |
| 119 | (R.points_iff R.carrier R.toBase R.toGroup).mpr |
| 120 | ⟨𝟙 _, Category.id_comp _, Category.id_comp _⟩ |
| 121 | exact (Category.assoc _ _ _).symm.trans |
| 122 | (hkernel R.carrier R.toBase (R.toGroup ≫ a) |
| 123 | (hstable R.carrier R.toBase R.toGroup hi)) |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Action.Construction |