{
  "target": "grep",
  "scope": {
    "status": "scoped",
    "invocation": "grep -F -x -- PATTERN",
    "inputDomain": "Read LF-terminated ASCII lines. PATTERN is a single ASCII string without LF or NUL.",
    "proofObligation": "Write precisely the input lines equal to PATTERN, preserving order and multiplicity. Exit 0 when any line matches and 1 when none do.",
    "excluded": "Regular expressions, files, binary detection, and locale behavior."
  },
  "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 Grep",
    "manual": "https://www.gnu.org/software/grep/",
    "source": null,
    "version": null,
    "release": null
  },
  "specification": "https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html",
  "rocq": null,
  "fixtures": {
    "cases": "Empty pattern against empty lines, duplicate matches, prefixes, and no matches.",
    "data": [],
    "source": null
  },
  "submission": {
    "url": "https://github.com/bloom-directory/lefttoprove/compare",
    "metadata": [
      "Target: grep",
      "Contribution: proof"
    ],
    "replay": "sh targets/grep/verify.sh",
    "existingVerifier": null
  }
}
