{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $X$ and $Y$ be [[schemes|5A35TYZD02]].\nA *morphism of schemes* $X \\to Y$ is a morphism of [[locally ringed spaces|B7FPT8JTXR]], that is, a pair $(f, f^\\#)$ such that:\n\n1. $f \\colon X \\to Y$ is a [[continuous map|0VGFHTM75Y]].\n2. $f^\\# \\colon \\mathcal{O}_Y \\to f_* \\mathcal{O}_X$ is a morphism of sheaves of rings, so for each open $V \\subseteq Y$ it gives a ring map $\\mathcal{O}_Y(V) \\to \\mathcal{O}_X(f^{-1}(V))$, compatible with restrictions.\n3. For every $x \\in X$, the induced map of stalks $f^\\#_x \\colon \\mathcal{O}_{Y,f(x)} \\to \\mathcal{O}_{X,x}$ is a [[local homomorphism|P8YTMGEN9R]].\n\nThe composite of $(f, f^\\#) \\colon X \\to Y$ and $(g, g^\\#) \\colon Y \\to Z$ is $(g \\circ f, g_*(f^\\#) \\circ g^\\#)$.\n\n## Remarks\n\nExample: a ring homomorphism $\\varphi \\colon A \\to B$ gives a morphism $\\operatorname{Spec} B \\to \\operatorname{Spec} A$ with $f(\\mathfrak{q}) = \\varphi^{-1}(\\mathfrak{q})$.\nOn stalks it is the map $A_{\\varphi^{-1}(\\mathfrak q)} \\to B_{\\mathfrak q}$, which sends the maximal ideal into $\\mathfrak{q} B_{\\mathfrak q}$, so it is local.\nNon-example: let $R$ be a discrete valuation ring with fraction field $K$.\nLet $f$ send the single point of $\\operatorname{Spec} K$ to the closed point of $\\operatorname{Spec} R$, and let $f^\\#$ come from the inclusion $R \\to K$.\nThis is a morphism of ringed spaces, but it fails clause 3.\nThe stalk map $R \\to K$ is not local, since it sends the maximal ideal of $R$ into the units of $K$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "JXRKH6P1Z4",
    "kind": "definition",
    "msc": [
      "14A15"
    ],
    "name": "Morphism of schemes",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Morphism_of_schemes"
      }
    ],
    "tag": "EQYDBQHY5B",
    "uses": [
      "5A35TYZD02",
      "B7FPT8JTXR",
      "P8YTMGEN9R",
      "0VGFHTM75Y"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/EQYDBQHY5B/",
  "links": [
    {
      "field": "defines",
      "target": "JXRKH6P1Z4"
    },
    {
      "field": "uses",
      "target": "5A35TYZD02"
    },
    {
      "field": "uses",
      "target": "B7FPT8JTXR"
    },
    {
      "field": "uses",
      "target": "P8YTMGEN9R"
    },
    {
      "field": "uses",
      "target": "0VGFHTM75Y"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/EQYDBQHY5B.md",
  "msc": [
    "14A15"
  ],
  "name": "Morphism of schemes",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/EQY/EQYDBQHY5B.md",
  "status": null,
  "tag": "EQYDBQHY5B",
  "uri": "m2://EQYDBQHY5B",
  "url": "https://tamnd.github.io/math2/wiki/morphism-of-schemes-definition/",
  "writing": {
    "tag": "EQYDBQHY5B",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
