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.Torsion |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.Etale |
| 3 | |
| 4 | /-! # Ordinary -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Ordinary.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Identify Frobenius kernels from native ordinary splittings. The finite |
| 12 | kernel is first placed in p-torsion by the proved height-one argument; |
| 13 | the etale component then vanishes because its Frobenius is invertible. |
| 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 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 23 | |
| 24 | section EtaleDetection |
| 25 | |
| 26 | variable {S : Scheme.{u}} (p : ℕ) (hp : p.Prime) (hS : (p : Γ(S, ⊤)) = 0) |
| 27 | variable {H E : Over S} [GrpObj H] [GrpObj E] [Etale E.hom] |
| 28 | |
| 29 | theorem map_to_etale_of_trivial_frobenius (f : H ⟶ E) [IsMonHom f] |
| 30 | (hH : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hS H = 1) : f = 1 := by |
| 31 | let FE := Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hS E |
| 32 | have : Mono FE := Over.mono_of_mono_left FE |
| 33 | let P := Over.pullback (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius p hp S hS) |
| 34 | let j : Picard.Homomorphisms.Frobenius.Construction.frobeniusTwist p hp hS H ⟶ Picard.Homomorphisms.Frobenius.Construction.frobeniusTwist p hp hS E := P.map f |
| 35 | have : IsMonHom j := Functor.map.instIsMonHom (F := P) (f := f) H E |
| 36 | apply (cancel_mono FE).mp |
| 37 | have hn := (Picard.Homomorphisms.Group.Construction.relativeFrobeniusNat p hp hS).naturality f |
| 38 | exact hn.trans ((congrArg (fun a => a ≫ j) hH).trans |
| 39 | ((MonObj.one_comp j).trans (MonObj.one_comp FE).symm)) |
| 40 | |
| 41 | end EtaleDetection |
| 42 | |
| 43 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [IsAlgClosed k] [CharP k p] |
| 44 | variable {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 45 | variable (M E : Grp (Over (Spec (.of k)))) |
| 46 | variable (e : Assembly.Construction.torsionGroup A p ≅ M ⊗ E) |
| 47 | |
| 48 | /-- The independently prescribed multiplicative factor is included through |
| 49 | the actual p-torsion scheme of the abelian variety. -/ |
| 50 | def ordinaryFactorToAbelian : M.X ⟶ A.scheme := |
| 51 | (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom ≫ e.inv.hom.hom ≫ A.torsionInclusion p |
| 52 | |
| 53 | instance ordinaryFactorToAbelian_isMonHom : IsMonHom (ordinaryFactorToAbelian p k A M E e) := by |
| 54 | let j : M.X ⟶ A.torsionScheme p := (AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ e.inv).hom.hom |
| 55 | have : IsMonHom j := inferInstanceAs (IsMonHom (AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ e.inv).hom.hom) |
| 56 | change IsMonHom (j ≫ A.torsionInclusion p) |
| 57 | infer_instance |
| 58 | |
| 59 | instance ordinaryFactorToAbelian_mono : Mono (ordinaryFactorToAbelian p k A M E e) := by |
| 60 | have : Mono (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom := mono_of_mono_fac |
| 61 | (show (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom ≫ fst M.X E.X = 𝟙 M.X from lift_fst _ _) |
| 62 | unfold ordinaryFactorToAbelian |
| 63 | infer_instance |
| 64 | |
| 65 | def frobeniusKernelToOrdinaryFactor : (Torsion.Construction.nativeFrobeniusKernel p k A).X ⟶ M.X := |
| 66 | Torsion.Construction.nativeFrobeniusKernelToTorsion p k A ≫ e.hom.hom.hom ≫ fst M.X E.X |
| 67 | |
| 68 | theorem frobeniusKernelToOrdinaryFactor_inclusion [Etale E.X.hom] : |
| 69 | frobeniusKernelToOrdinaryFactor p k A M E e ≫ ordinaryFactorToAbelian p k A M E e = |
| 70 | Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom := by |
| 71 | let H := (Torsion.Construction.nativeFrobeniusKernel p k A).X |
| 72 | let : GrpObj H := Picard.PoincareBundle.Kernel.Scheme.kernelGroup (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom |
| 73 | let t := Torsion.Construction.nativeFrobeniusKernelToTorsion p k A |
| 74 | let a : H ⟶ M.X ⊗ E.X := t ≫ e.hom.hom.hom |
| 75 | let j := (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom |
| 76 | have hc : a ≫ snd M.X E.X = 1 := by |
| 77 | have : IsMonHom (a ≫ snd M.X E.X) := inferInstance |
| 78 | exact map_to_etale_of_trivial_frobenius p (Fact.out : p.Prime) |
| 79 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) _ |
| 80 | (Torsion.Construction.nativeFrobeniusKernel_frobenius p k A) |
| 81 | have ha : (a ≫ fst M.X E.X) ≫ j = a := by |
| 82 | apply CartesianMonoidalCategory.hom_ext |
| 83 | · change ((a ≫ fst M.X E.X) ≫ lift (𝟙 M.X) (1 : M.X ⟶ E.X)) ≫ fst M.X E.X = _ |
| 84 | rw [Category.assoc, lift_fst, Category.comp_id] |
| 85 | · change ((a ≫ fst M.X E.X) ≫ lift (𝟙 M.X) (1 : M.X ⟶ E.X)) ≫ snd M.X E.X = _ |
| 86 | rw [Category.assoc, lift_snd, MonObj.comp_one] |
| 87 | exact hc.symm |
| 88 | have he : e.hom.hom.hom ≫ e.inv.hom.hom = 𝟙 (A.torsionScheme p) := |
| 89 | congrArg (fun f : Assembly.Construction.torsionGroup A p ⟶ Assembly.Construction.torsionGroup A p => f.hom.hom) e.hom_inv_id |
| 90 | change (a ≫ fst M.X E.X) ≫ j ≫ e.inv.hom.hom ≫ A.torsionInclusion p = _ |
| 91 | rw [← Category.assoc (a ≫ fst M.X E.X), ha] |
| 92 | change (t ≫ e.hom.hom.hom) ≫ e.inv.hom.hom ≫ A.torsionInclusion p = _ |
| 93 | rw [Category.assoc t, ← Category.assoc e.hom.hom.hom, he, Category.id_comp] |
| 94 | exact Torsion.Construction.nativeFrobeniusKernelToTorsion_inclusion p k A |
| 95 | |
| 96 | /-- The ordinary factor is exactly the relative Frobenius kernel on all |
| 97 | test schemes, provided its Frobenius is trivial and the complement is etale. -/ |
| 98 | theorem ordinaryFactor_is_frobeniusKernel [Etale E.X.hom] |
| 99 | (hM : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p (Fact.out : p.Prime) |
| 100 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) M.X = 1) : |
| 101 | Prescribed.Construction.PrescribedKernel (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom (ordinaryFactorToAbelian p k A M E e) := by |
| 102 | let F := (Torsion.Construction.geometricFrobeniusIsogeny p k A).hom |
| 103 | let i := ordinaryFactorToAbelian p k A M E e |
| 104 | let hS := Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p) |
| 105 | have hi : i ≫ F = 1 := (Picard.Homomorphisms.Kernel.Construction.kernelScheme_universal F M.X i).mpr |
| 106 | (Picard.Homomorphisms.Diagonalizable.Construction.factors_kernel_of_trivial_relativeFrobenius p (Fact.out : p.Prime) hS M.X A.scheme hM i) |
| 107 | intro T x |
| 108 | constructor |
| 109 | · intro hx |
| 110 | let y := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv F T).symm ⟨x, hx⟩ |
| 111 | have hy : y ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion F = x := congrArg Subtype.val |
| 112 | ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv F T).apply_symm_apply ⟨x, hx⟩) |
| 113 | let z := y ≫ frobeniusKernelToOrdinaryFactor p k A M E e |
| 114 | have hz : z ≫ i = x := (Category.assoc _ _ _).trans |
| 115 | ((congrArg (fun a => y ≫ a) (frobeniusKernelToOrdinaryFactor_inclusion p k A M E e)).trans hy) |
| 116 | refine ⟨z, hz, fun b hb => (cancel_mono i).mp (hb.trans hz.symm)⟩ |
| 117 | · rintro ⟨y, hy, _⟩ |
| 118 | exact (congrArg (fun a => a ≫ F) hy.symm).trans |
| 119 | ((Category.assoc y i F).trans ((congrArg (fun a => y ≫ a) hi).trans (MonObj.comp_one y))) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Ordinary.Construction |