{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $f \\colon X \\to Y$ be a [[morphism of schemes|JXRKH6P1Z4]].\nFor a point $x \\in X$, let $y = f(x)$, and let $f^\\# \\colon \\mathcal{O}_{Y,y} \\to \\mathcal{O}_{X,x}$ be the induced map of [[stalks|JTAKAPTT8H]].\nThese stalks are [[local rings|MZ02BKPHJA]], and $f^\\#$ makes $\\mathcal{O}_{X,x}$ a module over $\\mathcal{O}_{Y,y}$.\nThe morphism $f$ is *flat at $x$* if $\\mathcal{O}_{X,x}$ is a [[flat module|73RYYEVDKA]] over $\\mathcal{O}_{Y,y}$.\nThe morphism $f$ is *flat* if it is flat at every point of $X$.\n\n## Remarks\n\nFor a ring $A$, the morphism $\\mathbb{A}^n_A \\to \\operatorname{Spec} A$ is flat.\nEach local ring of $\\mathbb{A}^n_A$ is a localization of $A[x_1, \\dots, x_n]$, which is a free $A$-module, and localizations of flat modules are flat.\nFor a field $k$, the closed immersion $\\operatorname{Spec} k \\to \\operatorname{Spec} k[t]$ given by $t \\mapsto 0$ is not flat.\nIts stalk map is $k[t]_{(t)} \\to k$, and $k$ is not flat over $k[t]_{(t)}$, since multiplication by $t$ is injective on $k[t]_{(t)}$ but becomes zero on $k$.\nFor a morphism of affine schemes $\\operatorname{Spec} B \\to \\operatorname{Spec} A$, flatness is equivalent to flatness of $B$ as an $A$-module.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "5M6KS8F47R",
    "kind": "definition",
    "msc": [
      "14A15",
      "14B25",
      "13C11"
    ],
    "name": "Flat morphism",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Flat_morphism"
      }
    ],
    "tag": "MDPRVV9DN9",
    "uses": [
      "JXRKH6P1Z4",
      "JTAKAPTT8H",
      "73RYYEVDKA",
      "MZ02BKPHJA"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/MDPRVV9DN9/",
  "links": [
    {
      "field": "defines",
      "target": "5M6KS8F47R"
    },
    {
      "field": "uses",
      "target": "JXRKH6P1Z4"
    },
    {
      "field": "uses",
      "target": "JTAKAPTT8H"
    },
    {
      "field": "uses",
      "target": "73RYYEVDKA"
    },
    {
      "field": "uses",
      "target": "MZ02BKPHJA"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/MDPRVV9DN9.md",
  "msc": [
    "14A15",
    "14B25",
    "13C11"
  ],
  "name": "Flat morphism",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/MDP/MDPRVV9DN9.md",
  "status": null,
  "tag": "MDPRVV9DN9",
  "uri": "m2://MDPRVV9DN9",
  "url": "https://tamnd.github.io/math2/wiki/flat-morphism-definition/",
  "writing": {
    "tag": "MDPRVV9DN9",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
