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.CycleClass.Geometric.GenericPoint |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | |
| 4 | /-! # Singular Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.SingularLocus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Algebraic singular loci of cycle supports |
| 12 | |
| 13 | This file uses the actual smooth locus of a morphism of schemes. Over a perfect |
| 14 | field, a reduced finite-presentation scheme is generically smooth. Consequently |
| 15 | its nonsmooth locus is closed with empty interior; in the integral case all its |
| 16 | points have positive intrinsic codimension. |
| 17 | |
| 18 | These are algebraic inputs to a future fundamental-class construction. They do |
| 19 | not identify a complex analytic singular locus, assert a triangulation, or |
| 20 | postulate a fundamental class. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {X Y : Scheme.{u}} |
| 28 | |
| 29 | /-- The nonsmooth locus, defined from the formal smoothness of actual stalk maps. -/ |
| 30 | def singularLocus (f : X ⟶ Y) [LocallyOfFinitePresentation f] : Set X := |
| 31 | (f.smoothLocus : Set X)ᶜ |
| 32 | |
| 33 | @[simp] |
| 34 | theorem mem_singularLocus_iff (f : X ⟶ Y) [LocallyOfFinitePresentation f] (x : X) : |
| 35 | x ∈ singularLocus f ↔ ¬ (f.stalkMap x).hom.FormallySmooth := Iff.rfl |
| 36 | |
| 37 | theorem isClosed_singularLocus (f : X ⟶ Y) [LocallyOfFinitePresentation f] : |
| 38 | IsClosed (singularLocus f) := f.smoothLocus.isOpen.isClosed_compl |
| 39 | |
| 40 | @[simp] |
| 41 | theorem singularLocus_eq_empty_of_smooth (f : X ⟶ Y) [Smooth f] : |
| 42 | singularLocus f = ∅ := by |
| 43 | simp only [singularLocus, f.smoothLocus_eq_top, Opens.coe_top, Set.compl_univ] |
| 44 | |
| 45 | variable {K : Type u} [Field K] [PerfectField K] |
| 46 | |
| 47 | /-- Generic smoothness makes the singular locus nowhere dense as a closed set. -/ |
| 48 | theorem interior_singularLocus_eq_empty [IsReduced X] |
| 49 | (f : X ⟶ Spec (.of K)) [LocallyOfFinitePresentation f] : |
| 50 | interior (singularLocus f) = ∅ := |
| 51 | f.dense_smoothLocus_of_perfectField.interior_compl |
| 52 | |
| 53 | theorem interior_closure_singularLocus_eq_empty [IsReduced X] |
| 54 | (f : X ⟶ Spec (.of K)) [LocallyOfFinitePresentation f] : |
| 55 | interior (closure (singularLocus f)) = ∅ := by |
| 56 | rw [(isClosed_singularLocus f).closure_eq, interior_singularLocus_eq_empty] |
| 57 | |
| 58 | theorem genericPoint_not_mem_singularLocus [IsIntegral X] |
| 59 | (f : X ⟶ Spec (.of K)) [LocallyOfFinitePresentation f] : |
| 60 | genericPoint X ∉ singularLocus f := by |
| 61 | intro hsing |
| 62 | change ¬ (f.stalkMap (genericPoint X)).hom.FormallySmooth at hsing |
| 63 | have hsm := f.genericPoint_mem_smoothLocus_of_perfectField |
| 64 | change (f.stalkMap (genericPoint X)).hom.FormallySmooth at hsm |
| 65 | exact hsing hsm |
| 66 | |
| 67 | /-- A nonsmooth point on an integral finite-presentation scheme over a perfect |
| 68 | field has positive codimension in that scheme. -/ |
| 69 | theorem coheight_pos_of_mem_singularLocus [IsIntegral X] |
| 70 | (f : X ⟶ Spec (.of K)) [LocallyOfFinitePresentation f] |
| 71 | (x : X) (hx : x ∈ singularLocus f) : 0 < Order.coheight x := by |
| 72 | apply Order.coheight_pos.mpr |
| 73 | intro hmax |
| 74 | have hgen : genericPoint X ⤳ x := genericPoint_specializes x |
| 75 | have hback : x ⤳ genericPoint X := hmax hgen |
| 76 | have heq : x = genericPoint X := (hback.antisymm hgen).eq |
| 77 | apply genericPoint_not_mem_singularLocus f |
| 78 | simpa only [heq] using hx |
| 79 | |
| 80 | /-- The reduced integral closed subscheme attached to an irreducible cycle |
| 81 | support has a dense smooth locus whenever its structure morphism is of finite |
| 82 | presentation locally. -/ |
| 83 | theorem reducedSupport_dense_smoothLocus (Z : IrreducibleCloseds X) |
| 84 | (f : GenericPoint.reducedSupportScheme Z ⟶ Spec (.of K)) [LocallyOfFinitePresentation f] : |
| 85 | Dense (f.smoothLocus : Set (GenericPoint.reducedSupportScheme Z)) := |
| 86 | f.dense_smoothLocus_of_perfectField |
| 87 | |
| 88 | /-- In particular the singular part of an actual cycle support has positive |
| 89 | intrinsic codimension at every point. -/ |
| 90 | theorem reducedSupport_singular_coheight_pos (Z : IrreducibleCloseds X) |
| 91 | (f : GenericPoint.reducedSupportScheme Z ⟶ Spec (.of K)) [LocallyOfFinitePresentation f] |
| 92 | (x : GenericPoint.reducedSupportScheme Z) (hx : x ∈ singularLocus f) : |
| 93 | 0 < Order.coheight x := |
| 94 | coheight_pos_of_mem_singularLocus f x hx |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.CycleClass.Geometric.SingularLocus |