{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $y \\in \\R^n$ be a quantity defined by a mathematical problem, such as a zero of a function or the value of an integral.\nA *validated* (or *verified*) computation of $y$ is an algorithm, run in floating-point arithmetic, with the following property.\nIt either reports failure or outputs a set $Y \\subseteq \\R^n$, usually a box of [[intervals|QPKKTE1ZY0]], such that $y \\in Y$ is guaranteed.\nThe guarantee must account for every [[round-off error|CPN6SD3BTV]] and every [[truncation error|4AKCQERM89]] of the computation.\n*Validated numerics* is the study and use of such algorithms.\n\n## Remarks\n\nExample: the interval Newton test.\nLet $f(x) = x^2 - 2$ and $X = [1.4, 1.5]$; with midpoint $m = 1.45$ and the enclosure $[2.8, 3.0]$ of $f'$ on $X$, the interval Newton step is $N(X) = m - f(m)/[2.8, 3.0] = 1.45 - 0.1025/[2.8, 3.0] \\subseteq [1.4133, 1.4159]$.\nSince $N(X) \\subseteq X$ and $0 \\notin [2.8, 3.0]$, the interval Newton theorem shows that $f$ has exactly one zero in $X$, and it lies in $N(X)$.\nDone with outward rounding, this proves $1.4133 \\le \\sqrt{2} \\le 1.4159$.\nNon-example: running Newton's method in floating point until two iterates agree to $15$ digits gives an excellent approximation, but no guarantee, so it is not a validated computation.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "DW7FG506QJ",
    "kind": "definition",
    "msc": [
      "65G20",
      "65G30",
      "65G40"
    ],
    "name": "Validated numerics",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Validated_numerics"
      }
    ],
    "tag": "64V8MA4FH4",
    "uses": [
      "QPKKTE1ZY0",
      "CPN6SD3BTV",
      "4AKCQERM89"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/64V8MA4FH4/",
  "links": [
    {
      "field": "defines",
      "target": "DW7FG506QJ"
    },
    {
      "field": "uses",
      "target": "QPKKTE1ZY0"
    },
    {
      "field": "uses",
      "target": "CPN6SD3BTV"
    },
    {
      "field": "uses",
      "target": "4AKCQERM89"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/64V8MA4FH4.md",
  "msc": [
    "65G20",
    "65G30",
    "65G40"
  ],
  "name": "Validated numerics",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/64V/64V8MA4FH4.md",
  "status": null,
  "tag": "64V8MA4FH4",
  "uri": "m2://64V8MA4FH4",
  "url": "https://tamnd.github.io/math2/wiki/validated-numerics-definition/",
  "writing": {
    "tag": "64V8MA4FH4",
    "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
      }
    ]
  }
}
