{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe first show that preimages commute with complements.\n\n1. Let $X$ and $Y$ be [[topological spaces|0CNQXVBHCX]] and let $f \\colon X \\to Y$.\n2. Let $A \\subseteq Y$ and $x \\in X$. Then $x$ lies in the [[preimage|0FGCFY1AZX]] $f^{-1}(Y \\setminus A)$ if and only if $f(x) \\notin A$.\n3. This holds if and only if $x \\notin f^{-1}(A)$. So $f^{-1}(Y \\setminus A) = X \\setminus f^{-1}(A)$, with $X \\setminus f^{-1}(A)$ the [[complement|0B1FSS1VZW]].\n4. Suppose $f$ is [[continuous|0SY9ECQ19Q]], and let $F$ be a [[closed set|0G5AV9Q4RR]] of $Y$.\n5. By the definition of a closed set, $Y \\setminus F$ is open. By continuity, $f^{-1}(Y \\setminus F)$ is open in $X$.\n6. By step 3, $X \\setminus f^{-1}(F)$ is open. By the definition of a closed set, $f^{-1}(F)$ is closed.\n7. Conversely, suppose that each closed $F$ of $Y$ has a closed preimage. Let $V$ be open in $Y$.\n8. By [[complement of an open set is closed|0K67Q60Z8P]], $Y \\setminus V$ is closed in $Y$. By hypothesis, $f^{-1}(Y \\setminus V)$ is closed in $X$.\n9. By step 3, $X \\setminus f^{-1}(V)$ is closed. By the same result, $f^{-1}(V)$ is open.\n10. As $V$ was arbitrary, $f$ is continuous.\n\n## Idea\n\nClosed sets are the complements of open sets. Taking preimages commutes with taking complements. So the condition on open sets and the condition on closed sets say the same thing.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "54C05"
    ],
    "name": "Proof of continuity via closed sets",
    "proves": "0B8GPXFSP7",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Continuity_Defined_from_Closed_Sets"
      }
    ],
    "tag": "9REJRQSXEM",
    "uses": [
      "0CNQXVBHCX",
      "0SY9ECQ19Q",
      "0G5AV9Q4RR",
      "0FGCFY1AZX",
      "0B1FSS1VZW",
      "0K67Q60Z8P"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/9REJRQSXEM/",
  "links": [
    {
      "field": "proves",
      "target": "0B8GPXFSP7"
    },
    {
      "field": "uses",
      "target": "0CNQXVBHCX"
    },
    {
      "field": "uses",
      "target": "0SY9ECQ19Q"
    },
    {
      "field": "uses",
      "target": "0G5AV9Q4RR"
    },
    {
      "field": "uses",
      "target": "0FGCFY1AZX"
    },
    {
      "field": "uses",
      "target": "0B1FSS1VZW"
    },
    {
      "field": "uses",
      "target": "0K67Q60Z8P"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/9REJRQSXEM.md",
  "msc": [
    "54C05"
  ],
  "name": "Proof of continuity via closed sets",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/9RE/9REJRQSXEM.md",
  "status": null,
  "tag": "9REJRQSXEM",
  "uri": "m2://9REJRQSXEM",
  "url": "https://math2.tamnd.com/wiki/proof-of-continuity-via-closed-sets/",
  "writing": {
    "tag": "9REJRQSXEM",
    "kind": "proof",
    "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
      }
    ]
  }
}
