{
  "target": "factor",
  "scope": {
    "status": "scoped",
    "invocation": "factor N",
    "inputDomain": "Use a single positive decimal integer within a documented bound.",
    "proofObligation": "Print N followed by a colon and ascending prime factors with multiplicity. Prove primality for every factor and that their product is N.",
    "excluded": "Zero, negative numbers, multiple operands, and large integer extensions."
  },
  "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 Coreutils",
    "version": "9.11",
    "release": "https://github.com/coreutils/coreutils/releases/tag/v9.11",
    "manual": "https://www.gnu.org/software/coreutils/manual/html_node/factor-invocation.html",
    "source": "https://github.com/coreutils/coreutils/blob/v9.11/src/factor.c"
  },
  "specification": "https://www.gnu.org/software/coreutils/manual/html_node/factor-invocation.html",
  "rocq": null,
  "fixtures": {
    "cases": "One, primes, powers, mixed factors, and the upper bound.",
    "data": [],
    "source": null
  },
  "submission": {
    "url": "https://github.com/bloom-directory/lefttoprove/compare",
    "metadata": [
      "Target: factor",
      "Contribution: proof"
    ],
    "replay": "sh targets/factor/verify.sh",
    "existingVerifier": null
  }
}
