{
  "id": "8390",
  "ident": "NS.08390",
  "slug": "wikipedia-resolutionofsingularities",
  "title": "Resolution of singularities",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "**Resolution of singularities in positive characteristic.**\nLet $k$ be a perfect field of characteristic $p > 0$ and let $X$ be an integral scheme that is\nseparated and of finite type over $k$. Then there is an integral scheme $Y$ that is smooth over\n$k$ together with a proper birational morphism $Y \\to X$.\n\nThis is open from dimension four on; see [Hau2010]. Perfectness of $k$ is needed for the\nconclusion as stated; see `exists_not_hasResolution_of_not_perfectField`.",
  "subjects": [
    "math.AG",
    "msc:14"
  ],
  "tags": [],
  "collection": "wikipedia",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "AlgebraicGeometry.resolution_of_singularities",
  "statement_lean": "theorem resolution_of_singularities (k : Type u) [Field k] [PerfectField k] (p : ℕ)\n    [Fact p.Prime] [CharP k p] {X : Scheme.{u}} (sX : X ⟶ Spec (.of k)) [IsIntegral X]\n    [LocallyOfFiniteType sX] [QuasiCompact sX] [IsSeparated sX] :\n    Scheme.HasResolution sX",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Resolution of singularities\n\nA variety $X$ over a field $k$ admits a resolution of singularities if there is a smooth\n$k$-variety $Y$ and a proper birational morphism $Y \\to X$. Hironaka proved that every variety\nover a field of characteristic zero admits one. In positive characteristic this is known over a\nperfect field in dimension at most three, and is open from dimension four on. Perfectness of $k$\ncannot be dropped from the statement in this form: over an imperfect field it fails already in\ndimension zero, see `exists_not_hasResolution_of_not_perfectField` below. Over an arbitrary field\none asks instead that $Y$ be regular.\n\n*References:*\n* [Wikipedia](https://en.wikipedia.org/wiki/Resolution_of_singularities)\n* [Hir1964] H. Hironaka, Resolution of singularities of an algebraic variety over a field of\n  characteristic zero, [I](https://doi.org/10.2307/1970486) and\n  [II](https://doi.org/10.2307/1970547), Ann. of Math. 79 (1964), 109--203 and 205--326.\n* [Kol2007] J. Kollár, [Resolution of singularities -- Seattle\n  lecture](https://arxiv.org/abs/math/0508332), Theorem 36.\n* [Hau2010] H. Hauser, [On the problem of resolution of singularities in positive characteristic\n  (or: a proof we are still waiting for)](https://doi.org/10.1090/S0273-0979-09-01274-9),\n  Bull. Amer. Math. Soc. 47 (2010), 1--30.\n* [Lip1978] J. Lipman, [Desingularization of two-dimensional\n  schemes](https://doi.org/10.2307/1971141), Ann. of Math. 107 (1978), 151--207.\n* [CP2008] V. Cossart and O. Piltant, [Resolution of singularities of threefolds in positive\n  characteristic I](https://doi.org/10.1016/j.jalgebra.2008.03.032), J. Algebra 320 (2008),\n  1051--1082.\n* [CP2009] V. Cossart and O. Piltant, [Resolution of singularities of threefolds in positive\n  characteristic II](https://doi.org/10.1016/j.jalgebra.2008.11.030), J. Algebra 321 (2009),\n  1836--1976.\n* [CP2019] V. Cossart and O. Piltant, [Resolution of singularities of arithmetical\n  threefolds](https://doi.org/10.1016/j.jalgebra.2019.02.017), J. Algebra 529 (2019), 268--535.\n-/\n\n@[expose] public section\n\nopen CategoryTheory\n\nuniverse u\n\nnamespace AlgebraicGeometry\n\n/--\nA scheme `X` over a base `S` with structure morphism `sX : X ⟶ S` admits a *resolution of\nsingularities* if there is an integral scheme `Y`, smooth over `S`, together with a proper\nmorphism `f : Y ⟶ X` that is birational over `X`, i.e. that restricts to an isomorphism between\ndense open subschemes of `Y` and of `X`.\n-/\ndef Scheme.HasResolution {S X : Scheme.{u}} (sX : X ⟶ S) : Prop :=\n  ∃ (Y : Scheme.{u}) (f : Y ⟶ X),\n    IsIntegral Y ∧ IsProper f ∧ Smooth (f ≫ sX) ∧ Scheme.BirationalOver f (𝟙 X)\n\n/-- A scheme that is already smooth over the base is its own resolution. -/\n@[category test, AMS 14]\ntheorem Scheme.hasResolution_of_smooth {S X : Scheme.{u}} (sX : X ⟶ S) [IsIntegral X]\n    [Smooth sX] : Scheme.HasResolution sX :=\n  ⟨X, 𝟙 X, ‹_›, inferInstance, by rwa [Category.id_comp], .refl _⟩\n\n/--\nA proper birational morphism onto a scheme is surjective. In particular a resolution of\nsingularities is onto, which is what rules out the inclusion of the smooth locus of `X` as a\ntrivial solution.\n-/\n@[category API, AMS 14]\ntheorem Scheme.surjective_of_birationalOver_id {X Y : Scheme.{u}} (f : Y ⟶ X) [IsProper f]\n    (hf : Scheme.BirationalOver f (𝟙 X)) : Function.Surjective f.base := by\n  obtain ⟨g, hg⟩ := hf\n  have hfg : ∀ u, f.base (g.source.ι.base u) = g.target.ι.base (g.iso.hom.base u) := fun u => by\n    simpa using (congrArg (fun m : (g.source : Scheme) ⟶ X => m.base u) hg).symm\n  have hdense : Dense (Set.range f.base) := by\n    refine g.dense_target.mono ?_\n    rintro x hx\n    obtain ⟨u, hu⟩ := g.iso.hom.homeomorph.surjective ⟨x, hx⟩\n    exact ⟨g.source.ι.base u, by rw [hfg u]; exact congrArg Subtype.val hu⟩\n  rw [← Set.range_eq_univ, ← f.isClosedMap.isClosed_range.closure_eq, hdense.closure_eq]\n\n/--\n**Resolution of singularities in positive characteristic.**\nLet $k$ be a perfect field of characteristic $p > 0$ and let $X$ be an integral scheme that is\nseparated and of finite type over $k$. Then there is an integral scheme $Y$ that is smooth over\n$k$ together with a proper birational morphism $Y \\to X$.\n\nThis is open from dimension four on; see [Hau2010]. Perfectness of $k$ is needed for the\nconclusion as stated; see `exists_not_hasResolution_of_not_perfectField`.\n-/\n@[category research open, AMS 14]\ntheorem resolution_of_singularities (k : Type u) [Field k] [PerfectField k] (p : ℕ)\n    [Fact p.Prime] [CharP k p] {X : Scheme.{u}} (sX : X ⟶ Spec (.of k)) [IsIntegral X]\n    [LocallyOfFiniteType sX] [QuasiCompact sX] [IsSeparated sX] :\n    Scheme.HasResolution sX := by\n  sorry\n\n/--\n**Hironaka's theorem.** Every integral scheme that is separated and of finite type over a field\nof characteristic zero admits a resolution of singularities. This is the main theorem of\n[Hir1964]; see [Kol2007], Theorem 36, for a statement in the generality used here.\n-/\n@[category research solved, AMS 14]\ntheorem resolution_of_singularities_of_charZero (k : Type u) [Field k] [CharZero k]\n    {X : Scheme.{u}} (sX : X ⟶ Spec (.of k)) [IsIntegral X] [LocallyOfFiniteType sX]\n    [QuasiCompact sX] [IsSeparated sX] :\n    Scheme.HasResolution sX := by\n  sorry\n\n/--\nResolution of singularities holds in dimension at most three over any perfect field. In\ncharacteristic zero this is [Hir1964]. In positive characteristic, dimension at most two is\n[Lip1978] and dimension three is due to Cossart and Piltant: [CP2008] and [CP2009] prove it for\nquasi-projective varieties over a field that is differentially finite over a perfect subfield,\nand [CP2019], Theorem 1.1, removes both restrictions, resolving every reduced separated\nNoetherian quasi-excellent scheme of dimension at most three in any characteristic. That theorem\ngives an everywhere regular source, which over a perfect field is the same as a smooth one. The\nproblem is open in positive characteristic from dimension four on.\n-/\n@[category research solved, AMS 14]\ntheorem resolution_of_singularities_of_topologicalKrullDim_le_three (k : Type u) [Field k]\n    [PerfectField k] {X : Scheme.{u}} (sX : X ⟶ Spec (.of k)) [IsIntegral X]\n    [LocallyOfFiniteType sX] [QuasiCompact sX] [IsSeparated sX]\n    (hX : topologicalKrullDim X ≤ 3) :\n    Scheme.HasResolution sX := by\n  sorry\n\n/--\n**Resolution of singularities fails over imperfect fields.**\nIf the field $k$ is not perfect, then there is an integral scheme $X$ of dimension zero that is\nseparated and of finite type over $k$ and has no resolution of singularities: no integral scheme\nsmooth over $k$ admits a proper birational morphism to $X$.\n\nA witness: $k$ has characteristic $p > 0$ and there is some $a \\in k \\setminus k^p$. Take\n$X = \\operatorname{Spec} k(a^{1/p})$. Every integral scheme birational to $X$ has function field\n$k(a^{1/p})$, which is not separable over $k$, whereas the function field of an integral scheme\nsmooth over $k$ is separable over $k$.\n\nSo the hypothesis `PerfectField k` cannot be dropped from `resolution_of_singularities` or from\n`resolution_of_singularities_of_topologicalKrullDim_le_three`.\n-/\n@[category textbook, AMS 14]\ntheorem exists_not_hasResolution_of_not_perfectField (k : Type u) [Field k]\n    (hk : ¬ PerfectField k) :\n    ∃ (X : Scheme.{u}) (sX : X ⟶ Spec (.of k)), IsIntegral X ∧ LocallyOfFiniteType sX ∧\n      QuasiCompact sX ∧ IsSeparated sX ∧ topologicalKrullDim X = 0 ∧\n      ¬ Scheme.HasResolution sX := by\n  sorry\n\nend AlgebraicGeometry\n",
  "statement_hash": "424fe7fcf689b208a6e96fbaeaa2dde74b70ccae372fbe164d24c85044db7795",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}