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.SupportFiniteType |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SingularLocus |
| 3 | |
| 4 | /-! # Singular Codimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Ambient codimension of singular points on cycle supports |
| 12 | |
| 13 | The generic point of a codimension-p integral support has ambient coheight p. |
| 14 | Every other point is a strict specialization, so its ambient coheight is at |
| 15 | least p+1. Generic smoothness over a perfect field therefore gives this bound |
| 16 | for the singular locus of the actual support structure morphism. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {X : Scheme.{u}} |
| 24 | |
| 25 | /-- Every nongeneric point of a codimension-p support has ambient codimension |
| 26 | at least p+1. This uses specialization, not a dimension subtraction formula. -/ |
| 27 | theorem CycleClass.Geometric.SingularCodimension.reducedSupport_ambient_coheight_of_ne_generic (p : ℕ) |
| 28 | (Z : Foundations.Scheme.CycleSupports.IrreducibleCycleSupport X p) (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1) |
| 29 | (hx : x ≠ genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1)) : |
| 30 | ((p + 1 : ℕ) : ℕ∞) ≤ Order.coheight ((CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) x) := by |
| 31 | have hforward : |
| 32 | (CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1)) ⤳ |
| 33 | (CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) x := |
| 34 | (genericPoint_specializes x).map (CycleClass.Geometric.GenericPoint.reducedSupportι Z.1).continuous |
| 35 | have hlt : (CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) x < |
| 36 | (CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1)) := by |
| 37 | rw [lt_iff_le_not_ge] |
| 38 | refine ⟨Scheme.le_iff_specializes.mpr hforward, ?_⟩ |
| 39 | intro hback |
| 40 | have hreverse := Scheme.le_iff_specializes.mp hback |
| 41 | have heq : (CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) x = |
| 42 | (CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1)) := |
| 43 | (hreverse.antisymm hforward).eq |
| 44 | exact hx ((CycleClass.Geometric.GenericPoint.reducedSupportι Z.1).isClosedEmbedding.injective heq) |
| 45 | have hbound := Order.coheight_add_one_le hlt |
| 46 | rw [CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_codimension p Z] at hbound |
| 47 | simpa only [Nat.cast_add, Nat.cast_one] using hbound |
| 48 | |
| 49 | variable {K : Type u} [Field K] [PerfectField K] |
| 50 | |
| 51 | /-- A singular point of an integral codimension-p support over a perfect field |
| 52 | has ambient codimension at least p+1. -/ |
| 53 | theorem CycleClass.Geometric.SingularCodimension.reducedSupport_singular_ambient_coheight (p : ℕ) |
| 54 | (Z : Foundations.Scheme.CycleSupports.IrreducibleCycleSupport X p) |
| 55 | (f : CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1 ⟶ Spec (.of K)) [LocallyOfFinitePresentation f] |
| 56 | (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1) (hx : x ∈ CycleClass.Geometric.SingularLocus.singularLocus f) : |
| 57 | ((p + 1 : ℕ) : ℕ∞) ≤ Order.coheight ((CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) x) := by |
| 58 | apply CycleClass.Geometric.SingularCodimension.reducedSupport_ambient_coheight_of_ne_generic p Z x |
| 59 | intro heq |
| 60 | apply CycleClass.Geometric.SingularLocus.genericPoint_not_mem_singularLocus f |
| 61 | simpa only [heq] using hx |
| 62 | |
| 63 | /-- The singular-codimension bound applies to the actual induced structure |
| 64 | map, whose local finite presentation follows from finite type over the field. -/ |
| 65 | theorem CycleClass.Geometric.SingularCodimension.supportStructureMap_singular_ambient_coheight (p : ℕ) |
| 66 | (Z : Foundations.Scheme.CycleSupports.IrreducibleCycleSupport X p) (f : X ⟶ Spec (.of K)) |
| 67 | [LocallyOfFiniteType f] (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1) |
| 68 | (hx : x ∈ CycleClass.Geometric.SingularLocus.singularLocus (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z.1 f)) : |
| 69 | ((p + 1 : ℕ) : ℕ∞) ≤ Order.coheight ((CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) x) := |
| 70 | CycleClass.Geometric.SingularCodimension.reducedSupport_singular_ambient_coheight p Z (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z.1 f) x hx |
| 71 | |
| 72 | /-- In particular this controls the singular part of every actual cycle |
| 73 | support in a smooth projective complex presentation. -/ |
| 74 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.cycleSupport_singular_ambient_coheight |
| 75 | (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 76 | (Z : Foundations.Scheme.CycleSupports.IrreducibleCycleSupport P.carrier p) (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme Z.1) |
| 77 | (hx : x ∈ CycleClass.Geometric.SingularLocus.singularLocus (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z.1 P.structureMap)) : |
| 78 | ((p + 1 : ℕ) : ℕ∞) ≤ Order.coheight ((CycleClass.Geometric.GenericPoint.reducedSupportι Z.1) x) := |
| 79 | CycleClass.Geometric.SingularCodimension.supportStructureMap_singular_ambient_coheight p Z P.structureMap x hx |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry |