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.Quotients.FiniteDescent.Proper |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeFiniteness |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 5 | |
| 6 | /-! # Group Of -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupOf |
| 9 | |
| 10 | /-! |
| 11 | # Separatedness of a finite group-scheme quotient |
| 12 | |
| 13 | The group diagonal is a base change of its identity section. For a finite |
| 14 | homomorphic image of a separated group scheme, that section is finite and |
| 15 | monomorphic, hence a closed immersion. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 19 | CategoryTheory.CartesianMonoidalCategory _root_.AlgebraicGeometry |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | universe u v |
| 23 | |
| 24 | namespace Construction.GroupGeometry |
| 25 | |
| 26 | /-- The diagonal of a group is the fiber of the difference map over the |
| 27 | identity section. -/ |
| 28 | theorem diagonal_isPullback |
| 29 | {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] (G : C) [GrpObj G] : |
| 30 | IsPullback (lift (𝟙 G) (𝟙 G)) (toUnit G) |
| 31 | (fst G G * (snd G G)⁻¹) MonObj.one := by |
| 32 | refine ⟨?_, ⟨PullbackCone.IsLimit.mk _ (fun c => c.fst ≫ fst G G) ?_ ?_ ?_⟩⟩ |
| 33 | · simp [MonObj.comp_mul, GrpObj.comp_inv, Hom.one_def] |
| 34 | · intro c |
| 35 | have he : (c.fst ≫ fst G G) * (c.fst ≫ snd G G)⁻¹ = 1 := by |
| 36 | simpa only [MonObj.comp_mul, GrpObj.comp_inv, |
| 37 | show c.snd = toUnit _ from toUnit_unique _ _, ← Hom.one_def] using c.condition |
| 38 | apply hom_ext |
| 39 | · simp |
| 40 | · simpa using mul_inv_eq_one.mp he |
| 41 | · intro c |
| 42 | exact toUnit_unique _ _ |
| 43 | · intro c m hm _ |
| 44 | simpa using congrArg (fun f => f ≫ fst G G) hm |
| 45 | |
| 46 | /-- A group scheme is separated if its identity section is a closed |
| 47 | immersion. -/ |
| 48 | theorem separated_of_closed_identity {S : Scheme.{u}} (G : Over S) [GrpObj G] |
| 49 | [IsClosedImmersion (MonObj.one (X := G)).left] : IsSeparated G.hom := by |
| 50 | have h := (diagonal_isPullback G).map (Over.forget S) |
| 51 | have : IsClosedImmersion (lift (𝟙 G) (𝟙 G)).left := |
| 52 | MorphismProperty.of_isPullback h.flip |
| 53 | (inferInstanceAs (IsClosedImmersion (MonObj.one (X := G)).left)) |
| 54 | constructor |
| 55 | exact this |
| 56 | |
| 57 | /-- A finite homomorphic image of a separated group scheme is separated. -/ |
| 58 | theorem separated_of_finite_quotient {S : Scheme.{u}} {A B : Over S} |
| 59 | [GrpObj A] [GrpObj B] [IsSeparated A.hom] |
| 60 | (q : A ⟶ B) [IsMonHom q] [IsFinite q.left] : IsSeparated B.hom := by |
| 61 | have : IsClosedImmersion ((MonObj.one (X := A)).left ≫ A.hom) := by |
| 62 | rw [(MonObj.one (X := A)).w] |
| 63 | change IsClosedImmersion (𝟙 S) |
| 64 | infer_instance |
| 65 | have : IsClosedImmersion (MonObj.one (X := A)).left := |
| 66 | IsClosedImmersion.of_comp _ A.hom |
| 67 | have : IsFinite (MonObj.one (X := B)).left := by |
| 68 | rw [← IsMonHom.one_hom q] |
| 69 | change IsFinite ((MonObj.one (X := A)).left ≫ q.left) |
| 70 | infer_instance |
| 71 | have : Mono (MonObj.one (X := B)).left := by |
| 72 | have : Mono (𝟙 S) := inferInstance |
| 73 | exact mono_of_mono_fac (show (MonObj.one (X := B)).left ≫ B.hom = 𝟙 S from |
| 74 | (MonObj.one (X := B)).w) |
| 75 | have : IsClosedImmersion (MonObj.one (X := B)).left := |
| 76 | (IsClosedImmersion.iff_isFinite_and_mono _).mpr ⟨inferInstance, inferInstance⟩ |
| 77 | exact separated_of_closed_identity B |
| 78 | |
| 79 | /-- Properness descends to a finite locally free group-scheme quotient of a |
| 80 | proper group scheme locally of finite presentation. -/ |
| 81 | theorem proper_of_finite_quotient {S : Scheme.{u}} {A B : Over S} |
| 82 | [GrpObj A] [GrpObj B] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 83 | (q : A ⟶ B) [IsMonHom q] [IsFinite q.left] [Flat q.left] [Surjective q.left] |
| 84 | [LocallyOfFinitePresentation q.left] : IsProper B.hom := by |
| 85 | have : IsSeparated B.hom := separated_of_finite_quotient q |
| 86 | have : LocallyOfFinitePresentation (q.left ≫ B.hom) := by rw [q.w]; infer_instance |
| 87 | have : LocallyOfFinitePresentation B.hom := |
| 88 | SchemeFiniteness.Construction.SchemeFinitenessDescent.locallyOfFinitePresentation q.left B.hom |
| 89 | have : IsProper (q.left ≫ B.hom) := by rw [q.w]; infer_instance |
| 90 | exact Proper.Construction.Geometry.proper_of_comp q.left B.hom |
| 91 | |
| 92 | end Construction.GroupGeometry |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupOf |