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.Picard.PoincareBundle.Kernel.Scheme |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Splitting |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.CoprimeKernels |
| 4 | |
| 5 | /-! # Coprime Kernel Embedding -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.CoprimeKernelEmbedding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original polarization kernel embeds into the descended kernel using the pullback identity and coprimality. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 20 | |
| 21 | attribute [local instance] Kernel.Scheme.kernelGroup |
| 22 | |
| 23 | variable {S : Scheme.{u}} {A B D Z : Over S} [GrpObj A] [GrpObj B] [GrpObj D] [GrpObj Z] |
| 24 | [IsCommMonObj A] [IsCommMonObj D] [IsCommMonObj Z] |
| 25 | (φ : A ⟶ Z) [IsMonHom φ] (f : A ⟶ B) [IsMonHom f] |
| 26 | (m : B ⟶ D) [IsMonHom m] (g : D ⟶ Z) [IsMonHom g] |
| 27 | (n d : ℕ) (hnd : n.Coprime d) |
| 28 | (h : f ≫ m ≫ g = φ ^ n) (v : Z ⟶ D) (hv : g ≫ v = (𝟙 D) ^ n) |
| 29 | (hk : ∀ (T : Over S) (x : T ⟶ A), x ≫ φ = 1 → x ^ d = 1) |
| 30 | |
| 31 | include hnd h hv hk |
| 32 | |
| 33 | /-- The original kernel is killed by the descended composite on every test scheme. -/ |
| 34 | theorem kernel_image_killed : Kernel.Scheme.kernelInclusion φ ≫ f ≫ m = 1 := by |
| 35 | let r := Kernel.Scheme.kernelInclusion φ ≫ f ≫ m |
| 36 | have hd : r ^ d = 1 := by |
| 37 | dsimp only [r] |
| 38 | rw [← MonObj.pow_comp, hk _ _ (Kernel.Scheme.kernelInclusion_comp φ), MonObj.one_comp] |
| 39 | have hr : r ≫ g = 1 := by |
| 40 | dsimp only [r] |
| 41 | rw [Category.assoc, Category.assoc, h, MonObj.comp_pow, Kernel.Scheme.kernelInclusion_comp, one_pow] |
| 42 | have hn : r ^ n = 1 := by |
| 43 | have he := congrArg (fun a => a ≫ v) hr |
| 44 | rw [Category.assoc, hv, MonObj.comp_pow, Category.comp_id] at he |
| 45 | have hvone : (1 : Kernel.Scheme.kernelObject φ ⟶ Z) ≫ v = 1 := by |
| 46 | have ht := congrArg (fun a => (1 : Kernel.Scheme.kernelObject φ ⟶ D) ≫ a) hv |
| 47 | rw [← Category.assoc, MonObj.one_comp, MonObj.comp_pow, Category.comp_id, one_pow] at ht |
| 48 | exact ht |
| 49 | exact he.trans hvone |
| 50 | exact CoprimeKernels.eq_one_of_coprime_powers n d hnd r hn hd |
| 51 | |
| 52 | /-- The quotient restricts to an actual morphism from the original kernel into the descended kernel. -/ |
| 53 | def map : Kernel.Scheme.kernelObject φ ⟶ Kernel.Scheme.kernelObject m := |
| 54 | (Kernel.Scheme.kernelPointsEquiv m _).symm ⟨Kernel.Scheme.kernelInclusion φ ≫ f, by |
| 55 | change (Kernel.Scheme.kernelInclusion φ ≫ f) ≫ m = 1 |
| 56 | rw [Category.assoc] |
| 57 | exact kernel_image_killed φ f m g n d hnd h v hv hk⟩ |
| 58 | |
| 59 | /-- The original and descended subgroup inclusions commute with the quotient. -/ |
| 60 | theorem map_inclusion : |
| 61 | map φ f m g n d hnd h v hv hk ≫ Kernel.Scheme.kernelInclusion m = Kernel.Scheme.kernelInclusion φ ≫ f := |
| 62 | pullback.lift_fst _ _ _ |
| 63 | |
| 64 | instance map_isMonHom : IsMonHom (map φ f m g n d hnd h v hv hk) := by |
| 65 | have : IsMonHom (map φ f m g n d hnd h v hv hk ≫ Kernel.Scheme.kernelInclusion m) := by |
| 66 | rw [map_inclusion] |
| 67 | infer_instance |
| 68 | exact Kernel.Splitting.isMonHom_of_mono_postcomp _ (Kernel.Scheme.kernelInclusion m) |
| 69 | |
| 70 | variable (hf : ∀ (T : Over S) (x : T ⟶ A), x ≫ f = 1 → x ^ n = 1) |
| 71 | |
| 72 | include hf |
| 73 | |
| 74 | omit h hv in |
| 75 | /-- Coprime kernels make the restriction of the quotient injective as a scheme morphism. -/ |
| 76 | theorem inclusion_comp_mono : Mono (Kernel.Scheme.kernelInclusion φ ≫ f) := by |
| 77 | constructor |
| 78 | intro T x y hxy |
| 79 | apply (cancel_mono (Kernel.Scheme.kernelInclusion φ)).mp |
| 80 | apply div_eq_one.mp |
| 81 | let z := (x ≫ Kernel.Scheme.kernelInclusion φ) / (y ≫ Kernel.Scheme.kernelInclusion φ) |
| 82 | have hzf : z ≫ f = 1 := by |
| 83 | dsimp only [z] |
| 84 | rw [GrpObj.div_comp] |
| 85 | simp only [Category.assoc, hxy, div_self'] |
| 86 | have hzφ : z ≫ φ = 1 := by |
| 87 | dsimp only [z] |
| 88 | rw [GrpObj.div_comp, Category.assoc, Category.assoc, Kernel.Scheme.kernelInclusion_comp, |
| 89 | MonObj.comp_one, MonObj.comp_one, div_self'] |
| 90 | exact CoprimeKernels.eq_one_of_coprime_powers n d hnd z (hf T z hzf) (hk T z hzφ) |
| 91 | |
| 92 | /-- This is a monomorphism of the full represented subgroup schemes, including infinitesimal points. -/ |
| 93 | theorem map_mono : Mono (map φ f m g n d hnd h v hv hk) := by |
| 94 | have : Mono (Kernel.Scheme.kernelInclusion φ ≫ f) := inclusion_comp_mono φ f n d hnd hk hf |
| 95 | constructor |
| 96 | intro T x y hxy |
| 97 | apply (cancel_mono (Kernel.Scheme.kernelInclusion φ ≫ f)).mp |
| 98 | rw [← map_inclusion φ f m g n d hnd h v hv hk, ← Category.assoc, ← Category.assoc, hxy] |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.CoprimeKernelEmbedding |