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.OrdinaryOpposite |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Ordinary |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.MultiplicativeDual |
| 4 | |
| 5 | /-! # Ordinary Factorization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryFactorization.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Every group with trivial Frobenius maps into the prescribed paired |
| 13 | ordinary kernel. The opposite factor is detected by restriction to the |
| 14 | etale Cartier dual of the chosen multiplicative factor. |
| 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 |
| 22 | |
| 23 | variable {S : Scheme.{u}} (p : ℕ) (hp : p.Prime) (hS : (p : Γ(S, ⊤)) = 0) |
| 24 | |
| 25 | theorem splitFactor_of_trivialFrobenius |
| 26 | {B M E T : Grp (Over S)} (e : B ≅ M ⊗ E) [Etale E.X.hom] |
| 27 | (f : T ⟶ B) (hT : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hS T.X = 1) : |
| 28 | ∃ a : T.X ⟶ M.X, a ≫ (AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ e.inv).hom.hom = f.hom.hom := by |
| 29 | let b : T.X ⟶ M.X ⊗ E.X := f.hom.hom ≫ e.hom.hom.hom |
| 30 | have : IsMonHom (b ≫ snd M.X E.X) := inferInstance |
| 31 | have hz : b ≫ snd M.X E.X = 1 := Ordinary.Construction.map_to_etale_of_trivial_frobenius p hp hS _ hT |
| 32 | refine ⟨b ≫ fst M.X E.X, ?_⟩ |
| 33 | have h : (b ≫ fst M.X E.X) ≫ (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom = b := by |
| 34 | apply CartesianMonoidalCategory.hom_ext |
| 35 | · change ((b ≫ fst M.X E.X) ≫ lift (𝟙 M.X) (1 : M.X ⟶ E.X)) ≫ fst M.X E.X = _ |
| 36 | rw [Category.assoc, lift_fst, Category.comp_id] |
| 37 | · change ((b ≫ fst M.X E.X) ≫ lift (𝟙 M.X) (1 : M.X ⟶ E.X)) ≫ snd M.X E.X = _ |
| 38 | rw [Category.assoc, lift_snd, MonObj.comp_one] |
| 39 | exact hz.symm |
| 40 | have he : e.hom.hom.hom ≫ e.inv.hom.hom = 𝟙 B.X := |
| 41 | congrArg (fun g : B ⟶ B => g.hom.hom) e.hom_inv_id |
| 42 | change (b ≫ fst M.X E.X) ≫ (AnnihilatorSheaf.Construction.splitFirstInclusion M E).hom.hom ≫ e.inv.hom.hom = _ |
| 43 | rw [← Category.assoc, h] |
| 44 | exact (Category.assoc _ _ _).trans |
| 45 | ((congrArg (fun g => f.hom.hom ≫ g) he).trans (Category.comp_id _)) |
| 46 | |
| 47 | theorem annihilatorFactor_of_trivialFrobenius |
| 48 | {R : CommRingCat.{u}} {B M T : Grp (Over (Spec R))} |
| 49 | (hR : (p : Γ(Spec R, ⊤)) = 0) |
| 50 | (P : CartierModel.Construction.CartierCoordinates R B) (Q : CartierModel.Construction.CartierCoordinates R M) (i : M ⟶ B) |
| 51 | [Etale Q.dualGroup.X.hom] (f : T ⟶ P.dualGroup) |
| 52 | (hT : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hR T.X = 1) : |
| 53 | ∃ a : T.X ⟶ (P.annihilatorGroup Q i).X, |
| 54 | a ≫ (P.annihilatorInclusion Q i).hom.hom = f.hom.hom := by |
| 55 | let r := (P.restriction Q i).hom.hom |
| 56 | have : IsMonHom (f.hom.hom ≫ r) := inferInstance |
| 57 | have hz : f.hom.hom ≫ r = 1 := Ordinary.Construction.map_to_etale_of_trivial_frobenius p hp hR _ hT |
| 58 | let a := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv r T.X).symm ⟨f.hom.hom, hz⟩ |
| 59 | refine ⟨a, ?_⟩ |
| 60 | rw [P.annihilatorInclusion_eq Q i] |
| 61 | exact congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv r T.X).apply_symm_apply _) |
| 62 | |
| 63 | theorem pairedFactor_of_trivialFrobenius |
| 64 | {k : Type u} [Field k] {B M E C T : Grp (Over (Spec (.of k)))} |
| 65 | (hk : (p : Γ(Spec (.of k), ⊤)) = 0) (e : B ≅ M ⊗ E) |
| 66 | (P : CartierModel.Construction.CartierCoordinates (.of k) B) (Q : CartierModel.Construction.CartierCoordinates (.of k) M) |
| 67 | (pairing : C ≅ P.dualGroup) [Etale E.X.hom] [Etale Q.dualGroup.X.hom] |
| 68 | (f : T ⟶ B ⊗ C) (hT : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius p hp hk T.X = 1) : |
| 69 | ∃ a : T.X ⟶ (P.pairedKernel Q (AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ e.inv)).X, |
| 70 | a ≫ (P.pairedKernelInclusion Q (AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ e.inv) pairing).hom.hom = |
| 71 | f.hom.hom := by |
| 72 | let i := AnnihilatorSheaf.Construction.splitFirstInclusion M E ≫ e.inv |
| 73 | let π₁ : B ⊗ C ⟶ B := Grp.homMk (fst B.X C.X) |
| 74 | let f₁ : T ⟶ B := f ≫ π₁ |
| 75 | let f₂ : T ⟶ P.dualGroup := f ≫ AnnihilatorSheaf.Construction.splitSecondProjection B C ≫ pairing.hom |
| 76 | obtain ⟨a, ha⟩ := splitFactor_of_trivialFrobenius p hp hk e f₁ hT |
| 77 | obtain ⟨b, hb⟩ := annihilatorFactor_of_trivialFrobenius p hp hk P Q i f₂ hT |
| 78 | refine ⟨lift a b, ?_⟩ |
| 79 | apply CartesianMonoidalCategory.hom_ext |
| 80 | · change (lift a b ≫ (i.hom.hom ⊗ₘ (P.oppositeInclusion Q i pairing).hom.hom)) ≫ fst B.X C.X = _ |
| 81 | rw [Category.assoc, tensorHom_fst, ← Category.assoc, lift_fst] |
| 82 | exact ha |
| 83 | · change (lift a b ≫ (i.hom.hom ⊗ₘ (P.oppositeInclusion Q i pairing).hom.hom)) ≫ snd B.X C.X = _ |
| 84 | rw [Category.assoc, tensorHom_snd, ← Category.assoc, lift_snd] |
| 85 | change b ≫ (P.annihilatorInclusion Q i).hom.hom ≫ pairing.inv.hom.hom = _ |
| 86 | rw [← Category.assoc, hb] |
| 87 | have he : pairing.hom.hom.hom ≫ pairing.inv.hom.hom = 𝟙 C.X := |
| 88 | congrArg (fun g : C ⟶ C => g.hom.hom) pairing.hom_inv_id |
| 89 | change (f.hom.hom ≫ snd B.X C.X ≫ pairing.hom.hom.hom) ≫ pairing.inv.hom.hom = _ |
| 90 | rw [Category.assoc, Category.assoc, he, Category.comp_id] |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryFactorization.Construction |