{
  "target": "sed",
  "scope": {
    "status": "scoped",
    "invocation": "sed 's/OLD/NEW/'",
    "inputDomain": "Read LF-terminated ASCII lines. OLD is nonempty and both operands consist of ASCII letters, digits, or spaces.",
    "proofObligation": "Replace the leftmost occurrence of OLD with NEW at most once on each line, preserving other bytes and the original line boundaries.",
    "excluded": "Regex metacharacters, flags, command scripts, and unterminated input."
  },
  "obligations": [],
  "requires": [
    {
      "id": "root.io",
      "target": "root",
      "title": "Byte I/O and argument forwarding",
      "summary": "read_byte, write_byte, arg_count and arg_byte forward to the host adapter and return its results unchanged.",
      "status": "proved",
      "statement": "RootContract.io",
      "proof": {
        "source": "https://github.com/bloom-directory/lefttoprove/blob/1d8af2c5cde11163204be6dd05ed2c6b96bc47dc/targets/root/Root.v",
        "pullRequest": "https://github.com/bloom-directory/lefttoprove/pull/8",
        "contributor": "josh-richardson",
        "mergedAt": "2026-12-01T08:17:43Z"
      },
      "requires": [],
      "unblocks": 44,
      "recommended": false,
      "page": "/utilities/root/#root.io"
    }
  ],
  "reference": {
    "name": "GNU Sed",
    "manual": "https://www.gnu.org/software/sed/",
    "source": null,
    "version": null,
    "release": null
  },
  "specification": "https://pubs.opengroup.org/onlinepubs/9799919799/utilities/sed.html",
  "rocq": null,
  "fixtures": {
    "cases": "No match, multiple and overlapping matches, empty replacement, and blank lines.",
    "data": [],
    "source": null
  },
  "submission": {
    "url": "https://github.com/bloom-directory/lefttoprove/compare",
    "metadata": [
      "Target: sed",
      "Contribution: proof"
    ],
    "replay": "sh targets/sed/verify.sh",
    "existingVerifier": null
  }
}
