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.FrobeniusKernel.Prescribed |
| 2 | |
| 3 | /-! # Mixed Kernels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.MixedKernels |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The mixed active kernel is obtained by taking the multiplicative quotient |
| 11 | and then an etale kernel. The projection onto the etale factor is derived |
| 12 | from the first quotient killing the multiplicative subgroup. All kernel |
| 13 | identities are universal on test schemes and retain infinitesimal sections. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Prescribed.Construction |
| 23 | |
| 24 | variable {S : Scheme.{u}} {A B C M E H : Over S} |
| 25 | variable [GrpObj A] [GrpObj B] [GrpObj C] [GrpObj M] [GrpObj E] |
| 26 | |
| 27 | def multiplicativeInclusion : M ⟶ M ⊗ E := lift (𝟙 M) 1 |
| 28 | def etaleInclusion : E ⟶ M ⊗ E := lift 1 (𝟙 E) |
| 29 | |
| 30 | theorem split_identity : |
| 31 | (fst M E ≫ multiplicativeInclusion) * (snd M E ≫ etaleInclusion) = 𝟙 (M ⊗ E) := by |
| 32 | apply hom_ext |
| 33 | · simp [multiplicativeInclusion, etaleInclusion, MonObj.mul_comp] |
| 34 | · simp [multiplicativeInclusion, etaleInclusion, MonObj.mul_comp] |
| 35 | |
| 36 | /-- The map of the etale factor induced by the actual first quotient. -/ |
| 37 | def etaleImage (b : M ⊗ E ⟶ A) (f : A ⟶ B) : E ⟶ B := |
| 38 | etaleInclusion ≫ b ≫ f |
| 39 | |
| 40 | /-- Killing the multiplicative factor forces the restriction of the first |
| 41 | quotient to factor through the actual etale projection. -/ |
| 42 | theorem quotient_restricts_to_etale_projection |
| 43 | (b : M ⊗ E ⟶ A) (f : A ⟶ B) [IsMonHom b] [IsMonHom f] |
| 44 | (hkill : multiplicativeInclusion ≫ b ≫ f = 1) : |
| 45 | b ≫ f = snd M E ≫ etaleImage b f := by |
| 46 | calc |
| 47 | b ≫ f = (𝟙 (M ⊗ E)) ≫ (b ≫ f) := (Category.id_comp _).symm |
| 48 | _ = ((fst M E ≫ multiplicativeInclusion) * |
| 49 | (snd M E ≫ etaleInclusion)) ≫ (b ≫ f) := |
| 50 | congrArg (fun z => z ≫ (b ≫ f)) split_identity.symm |
| 51 | _ = snd M E ≫ etaleImage b f := by |
| 52 | rw [MonObj.mul_comp] |
| 53 | simp only [Category.assoc, hkill, MonObj.comp_one, one_mul, etaleImage] |
| 54 | |
| 55 | omit [GrpObj A] [GrpObj B] [GrpObj M] [GrpObj E] in |
| 56 | /-- Preimage of an etale subgroup under the product projection is its |
| 57 | product with the multiplicative factor, with the unique factorization proved. -/ |
| 58 | theorem product_projection_prescribedKernel |
| 59 | (g : E ⟶ C) (e : H ⟶ E) [Mono e] (hk : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel g e) : |
| 60 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel (snd M E ≫ g) (𝟙 M ⊗ₘ e) := by |
| 61 | intro T a |
| 62 | constructor |
| 63 | · intro ha |
| 64 | obtain ⟨h, hh, huniq⟩ := (hk T (a ≫ snd M E)).mp ((Category.assoc _ _ _).trans ha) |
| 65 | refine ⟨lift (a ≫ fst M E) h, ?_, ?_⟩ |
| 66 | · apply hom_ext |
| 67 | · simp only [Category.assoc, tensorHom_fst, Category.comp_id, lift_fst] |
| 68 | · simp only [Category.assoc, tensorHom_snd, lift_snd_assoc] |
| 69 | exact hh |
| 70 | · intro k hk |
| 71 | apply hom_ext |
| 72 | · have ht := congrArg (fun z => z ≫ fst M E) hk |
| 73 | simpa only [Category.assoc, tensorHom_fst, Category.comp_id, lift_fst] using ht |
| 74 | · have ht := congrArg (fun z => z ≫ snd M E) hk |
| 75 | have hkH : (k ≫ snd M H) ≫ e = a ≫ snd M E := by |
| 76 | simpa only [Category.assoc, tensorHom_snd] using ht |
| 77 | simpa only [lift_snd] using huniq (k ≫ snd M H) hkH |
| 78 | · rintro ⟨k, hfactor, _⟩ |
| 79 | have hkill : e ≫ g = 1 := AbelianScheme.FrobeniusKernel.Prescribed.Construction.prescribedKernel_kills g e hk |
| 80 | rw [← hfactor, Category.assoc, tensorHom_snd_assoc, hkill, |
| 81 | MonObj.comp_one, MonObj.comp_one] |
| 82 | |
| 83 | /-- A multiplicative quotient followed by an etale active kernel has the |
| 84 | combined product as its active preimage. The first projection equation |
| 85 | is proved from the actual killed subgroup, rather than assumed. -/ |
| 86 | theorem active_composite_prescribedKernel |
| 87 | (b : M ⊗ E ⟶ A) (f : A ⟶ B) (g : B ⟶ C) |
| 88 | [IsMonHom b] [IsMonHom f] |
| 89 | (hkill : multiplicativeInclusion ≫ b ≫ f = 1) |
| 90 | (e : H ⟶ E) [Mono e] (hetale : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel (etaleImage b f ≫ g) e) : |
| 91 | AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel (b ≫ f ≫ g) (𝟙 M ⊗ₘ e) := by |
| 92 | have heq : b ≫ f ≫ g = snd M E ≫ (etaleImage b f ≫ g) := by |
| 93 | rw [← Category.assoc, quotient_restricts_to_etale_projection b f hkill, Category.assoc] |
| 94 | rw [heq] |
| 95 | exact product_projection_prescribedKernel _ e hetale |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.MixedKernels |