{
  "capability_id": "math.subtraction",
  "tool_id": "subtraction",
  "engine": "subtraction",
  "calculation_version": "1.0.1",
  "generated_at": "2026-10-22T08:54:35.121Z",
  "engine_build": "2026-10-14",
  "test_count": 7,
  "passed": 7,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 6,
      "total": 6
    },
    "boundary": {
      "passed": 1,
      "total": 1
    },
    "property": {
      "passed": 0,
      "total": 0
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/math/subtraction",
  "api": "https://www.calculatorx.com/api/v1/calc/subtraction",
  "schema_input": "https://www.calculatorx.com/schemas/math.subtraction.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.subtraction.output.json",
  "assumptions": [
    "Difference mode: finite reals; scientific notation allowed.",
    "Long subtraction: non-negative decimal numbers without scientific notation.",
    "Order is minuend − subtrahend. When minuend < subtrahend the difference is negative; long mode still stacks the minuend on top. Column work subtracts the smaller magnitude from the larger, then applies the sign."
  ],
  "limitations": [
    "Need any two of minuend/subtrahend/difference → MISSING_REQUIRED_INPUT",
    "Long mode: non-negative decimals; scientific notation not supported"
  ],
  "boundary_conditions": [
    "Exactly one blank among three fields when solving for a missing term",
    "Long mode rejects negatives and scientific notation",
    "Long mode does not require minuend ≥ subtrahend (45 − 123 = −78)"
  ],
  "sources": [
    {
      "title": "CalculatorX mathematical conventions",
      "section": "Long subtraction with regrouping",
      "supports": "Column subtraction with borrowing; negative differences keep the minuend on top.",
      "kind": "definition"
    },
    {
      "title": "Margaret Stevens — The Maths Workbook (University of Oxford)",
      "section": "Chapter 1, §1: Algebraic Expressions and Fractions; §3: Equations",
      "url": "https://www.some.ox.ac.uk/wp-content/uploads/2024/08/Maths-Workbook.pdf",
      "supports": "Algebraic addition/subtraction, multiplication/division, distributive rules, equivalent fractions, common denominators and reciprocals. Ratios are interpreted as quotients. Equality of ratios with nonzero denominators permits cross multiplication, and solving a proportion uses the chapter’s equation transformations. A zero divisor is excluded; integer quotient/remainder uses the separately cited Euclidean-division reference. Mathematical reference only; not implementation validation or an endorsement of CalculatorX.",
      "kind": "reference",
      "publisher": "University of Oxford, Department of Economics; hosted by Somerville College"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:113403a47c2ee55509526c0e98d7af7ababb1433c75c68e1b0fd4036154571ef",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 7,
      "total": 7,
      "golden": 6,
      "boundary": 1,
      "property": 0
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-10-14T05:05:51.930Z",
  "rendered_at": "2026-10-22T08:54:35.121Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.1",
    "artifacts": {
      "engine": "1.0.1",
      "page": "1.0.1",
      "capability": "1.0.1",
      "evidence": "1.0.1",
      "input_schema": "1.0.1",
      "output_schema": "1.0.1",
      "mcp_contract": "1.0.1"
    },
    "digests": {
      "input_schema_sha256": "fa1bc74e23719b3abe7bf9bddc9ffc8315a9561e8296e3016c65fb26dd15eca5",
      "output_schema_sha256": "59ae1ce074636bfab360e052486f3de9d0465dfea05d29061955df237fe7e6d8",
      "evidence_sha256": "77b5bc9c7f589e808a074a5d71c2c1fe97902e8e17dae6cc6070fd4fea97694f",
      "evidence_core_sha256": "77b5bc9c7f589e808a074a5d71c2c1fe97902e8e17dae6cc6070fd4fea97694f",
      "capability_sha256": "62e1298350fd755deb957d2c88a73a3ef980e852d7429f9f0e407d637b4ed799",
      "engine_sha256": "a664ae25cd2134de7de43a99352933043215473589aec38c9416508150cb1008",
      "mcp_contract_sha256": "a1a8617719bef45391ee6917dc1783a01de2eedf297e7596b3cb5017cd0e1560"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.1"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
