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.Homomorphisms.FinitePresentation |
| 2 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 3 | import Mathlib.CategoryTheory.Sites.Over |
| 4 | |
| 5 | /-! # Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.Quotient.Construction |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Limits |
| 10 | open scoped _root_.CategoryTheory.MonObj |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | /-- The scheme-theoretic kernel on every test scheme, retaining nilpotents. -/ |
| 15 | noncomputable def kernelPoints {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 16 | (q : A ⟶ B) [IsMonHom q] (T : Over S) : Subgroup (T ⟶ A) := |
| 17 | (IsMonHom.monoidHom q T).ker |
| 18 | |
| 19 | /-- The universal property of the fppf sheaf quotient by the kernel: |
| 20 | sections of every fppf sheaf descend uniquely exactly when invariant under |
| 21 | kernel translation. Via Yoneda this is the coequalizer universal property. -/ |
| 22 | def IsFppfQuotientByKernel {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 23 | (q : A ⟶ B) [IsMonHom q] : Prop := |
| 24 | ∀ P : (Over S)ᵒᵖ ⥤ Type (u + 1), Presieve.IsSheaf (Scheme.fppfTopology.over S) P → |
| 25 | ∀ a : P.obj (op A), |
| 26 | (∀ (T : Over S) (x : T ⟶ A) (k : kernelPoints q T), |
| 27 | P.map ((k.val * x).op) a = P.map x.op a) → |
| 28 | ∃! b : P.obj (op B), P.map q.op b = a |
| 29 | |
| 30 | set_option backward.isDefEq.respectTransparency.types false in |
| 31 | theorem fppf_singleton_over {S : Scheme.{u}} {A B : Over S} |
| 32 | (q : A ⟶ B) [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] : |
| 33 | Sieve.generate (Presieve.singleton q) ∈ (Scheme.fppfTopology.over S) B := by |
| 34 | rw [GrothendieckTopology.mem_over_iff, Sieve.overEquiv_generate] |
| 35 | erw [← Sieve.arrows_generate_map_eq_functorPushforward, Presieve.map_singleton, |
| 36 | Sieve.generate_sieve] |
| 37 | exact Precoverage.generate_mem_toGrothendieck q.left.singleton_mem_fppfPrecoverage |
| 38 | |
| 39 | /-- An fppf group homomorphism represents its quotient by its scheme kernel. -/ |
| 40 | theorem isFppfQuotientByKernel_of_fppf {S : Scheme.{u}} {A B : Over S} |
| 41 | [GrpObj A] [GrpObj B] (q : A ⟶ B) [IsMonHom q] |
| 42 | [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] : |
| 43 | IsFppfQuotientByKernel q := by |
| 44 | intro P hP a hinv |
| 45 | apply (Presieve.isSheafFor_singleton (P := P)).mp |
| 46 | (hP.isSheafFor _ (fppf_singleton_over q)) a |
| 47 | intro T x y hxy |
| 48 | have hk : x * y⁻¹ ∈ kernelPoints q T := by |
| 49 | change (x * y⁻¹) ≫ q = 1 |
| 50 | rw [MonObj.mul_comp, GrpObj.inv_comp, hxy, mul_inv_cancel] |
| 51 | have h := hinv T y ⟨x * y⁻¹, hk⟩ |
| 52 | simpa only [inv_mul_cancel_right] using h |
| 53 | |
| 54 | /-- Finite locally free, expressed using existing scheme morphism properties. -/ |
| 55 | def FiniteLocallyFreeHom {X Y : Scheme.{u}} (f : X ⟶ Y) : Prop := |
| 56 | IsFinite f ∧ Flat f ∧ LocallyOfFinitePresentation f |
| 57 | |
| 58 | /-- The quotient and finite-locally-free parts of Homomorphisms hold for every smooth |
| 59 | group scheme; properness and ordinarity are unnecessary for these parts. -/ |
| 60 | theorem relativeFrobenius_finiteLocallyFree_quotient |
| 61 | (p : ℕ) (hp : p.Prime) {S : Scheme.{u}} |
| 62 | (hS : (p : Γ(S, ⊤)) = 0) (A : Over S) [GrpObj A] [Smooth A.hom] : |
| 63 | FiniteLocallyFreeHom (Frobenius.Construction.relativeFrobenius p hp hS A).left ∧ |
| 64 | Surjective (Frobenius.Construction.relativeFrobenius p hp hS A).left ∧ |
| 65 | IsFppfQuotientByKernel (Frobenius.Construction.relativeFrobenius p hp hS A) := by |
| 66 | have : Flat (Frobenius.Construction.relativeFrobenius p hp hS A).left := Homomorphisms.Smooth.Construction.relativeFrobenius_smooth_flat p hp hS A |
| 67 | exact ⟨⟨inferInstance, inferInstance, inferInstance⟩, inferInstance, |
| 68 | isFppfQuotientByKernel_of_fppf _⟩ |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.Quotient.Construction |