{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\sigma$ be a signature and let $\\mathbf{A}$ and $\\mathbf{B}$ be $\\sigma$-[[structures|983GZBQYT4]] with domains $A$ and $B$.\nAn *embedding* of $\\mathbf{A}$ into $\\mathbf{B}$ is a map $h \\colon A \\to B$ such that:\n\n1. $h$ is a [[homomorphism|KBXSZC6BV1]] from $\\mathbf{A}$ to $\\mathbf{B}$;\n2. $h$ is [[injective|09NWETVTNY]];\n3. for each relation symbol $R \\in \\sigma$ of arity $n$ and all $a_1, \\dots, a_n \\in A$, if $(h(a_1), \\dots, h(a_n)) \\in R^{\\mathbf{B}}$ then $(a_1, \\dots, a_n) \\in R^{\\mathbf{A}}$.\n\n## Remarks\n\nA map $h$ is an embedding if and only if its image is the domain of a [[substructure|676H7EGTKJ]] $\\mathbf{C}$ of $\\mathbf{B}$ and $h$ is an [[isomorphism|PZMGQMDN25]] from $\\mathbf{A}$ to $\\mathbf{C}$.\nFor a signature without relation symbols, clause 3 is empty, and an embedding is an injective homomorphism.\n\nExample: for the signature $\\set{+, \\cdot, 0, 1}$, the inclusion $\\Z \\to \\Q$ is an embedding, because it is injective and respects sums, products, $0$ and $1$.\n\nNon-example: view graphs as structures with one binary relation.\nLet $A$ be the graph with vertices $1, 2$ and no edge, and $B$ the graph with vertices $1, 2$ and one edge between them.\nThe identity map is an injective homomorphism from $A$ to $B$ but not an embedding, because clause 3 fails for the pair $(1, 2)$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "SCRB74SWQN",
    "kind": "definition",
    "msc": [
      "08A05",
      "03C07"
    ],
    "name": "Embedding of structures",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Embedding"
      }
    ],
    "tag": "BQGK1FHSKB",
    "uses": [
      "983GZBQYT4",
      "KBXSZC6BV1",
      "09NWETVTNY",
      "676H7EGTKJ",
      "PZMGQMDN25"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/BQGK1FHSKB/",
  "links": [
    {
      "field": "defines",
      "target": "SCRB74SWQN"
    },
    {
      "field": "uses",
      "target": "983GZBQYT4"
    },
    {
      "field": "uses",
      "target": "KBXSZC6BV1"
    },
    {
      "field": "uses",
      "target": "09NWETVTNY"
    },
    {
      "field": "uses",
      "target": "676H7EGTKJ"
    },
    {
      "field": "uses",
      "target": "PZMGQMDN25"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/BQGK1FHSKB.md",
  "msc": [
    "08A05",
    "03C07"
  ],
  "name": "Embedding of structures",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/BQG/BQGK1FHSKB.md",
  "status": null,
  "tag": "BQGK1FHSKB",
  "uri": "m2://BQGK1FHSKB",
  "url": "https://tamnd.github.io/math2/wiki/embedding-of-structures-definition/",
  "writing": {
    "tag": "BQGK1FHSKB",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
