{
  "capability_id": "math.gcf",
  "tool_id": "gcf",
  "engine": "gcf",
  "calculation_version": "1.0.3",
  "generated_at": "2026-10-21T06:31:01.613Z",
  "engine_build": "2026-10-21",
  "test_count": 20,
  "passed": 20,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 6,
      "total": 6
    },
    "boundary": {
      "passed": 7,
      "total": 7
    },
    "property": {
      "passed": 7,
      "total": 7
    }
  },
  "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/gcf",
  "api": "https://www.calculatorx.com/api/v1/calc/gcf",
  "schema_input": "https://www.calculatorx.com/schemas/math.gcf.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.gcf.output.json",
  "assumptions": [
    "Integer inputs; negatives treated by absolute value.",
    "Zeros are ignored unless every input is 0.",
    "GCF of a set of all zeros is undefined."
  ],
  "limitations": [
    "Integers only; negatives treated by absolute value",
    "Each integer ≤ 48 decimal digits (product bound, not a mathematical bound)",
    "Zeros are ignored unless every input is 0 (then UNDEFINED)",
    "Need at least two numbers → NEED_TWO_NUMBERS",
    "Non-integers → INVALID_NUMBER",
    "Integers beyond MAX_SAFE_INTEGER must be decimal strings in JSON",
    "At most32 integers; list text≤4096 characters, individual array strings≤128 characters",
    "Aliases values/numbers/numsInput must normalize to the same ordered list; unknown fields rejected",
    "Exactness refers to accepted integers. Nonzero raw JSON underflow and unsafe numeric integers are rejected.",
    "Method agreement is an internal cross-check, not third-party certification."
  ],
  "boundary_conditions": [
    "Need at least two numbers → NEED_TWO_NUMBERS",
    "Missing list → MISSING_REQUIRED_INPUT",
    "Non-integers rejected → INVALID_NUMBER",
    "More than 48 digits → VALUE_ABOVE_MAX",
    "All zeros → UNDEFINED"
  ],
  "sources": [
    {
      "title": "Encyclopedia of Mathematics — Greatest common divisor",
      "section": "Definition; pairwise fold; prime-factor form",
      "url": "https://encyclopediaofmath.org/wiki/Greatest_common_divisor",
      "supports": "GCF of n integers exists when not all are zero; (a₁,…,aₙ,aₙ₊₁)=((a₁,…,aₙ),aₙ₊₁); shared-prime min exponents",
      "kind": "reference"
    },
    {
      "title": "Encyclopedia of Mathematics — Euclidean algorithm",
      "section": "Remainder recurrence GCF(a,b)=GCF(b, a mod b)",
      "url": "https://encyclopediaofmath.org/wiki/Euclidean_algorithm",
      "supports": "Binary Euclidean primitive used inside the pairwise fold",
      "kind": "reference"
    },
    {
      "title": "CalculatorX integer convention",
      "section": "Absolute value; zero-set; 48-digit BigInt domain",
      "supports": "Negatives by |n|; ignore zeros unless the whole set is 0; exact BigInt with a product digit cap",
      "kind": "definition"
    },
    {
      "title": "MIT Mathematics for Computer Science — Chapter 8: Number Theory",
      "section": "Chapter 8, including sections 8.2–8.9 and problem 8.24",
      "url": "https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/mit6_042js15_textbook.pdf",
      "supports": "Divisibility, prime factorization, gcd and the Euclidean algorithm, lcm via prime exponents, division with remainder, modular congruence and multiplicative inverses. CalculatorX’s signed-remainder and zero-input policies are stated separately on the page. Mathematical reference only; not validation or endorsement of this implementation.",
      "kind": "reference",
      "publisher": "Massachusetts Institute of Technology"
    }
  ],
  "methods": [
    "Pairwise Euclidean fold (canonical engine)",
    "Prime-factor GCF (cross-check when every |n| ≤ 1,000,000)",
    "Factor-list GCF (cross-check when every |n| ≤ 10,000)"
  ],
  "fingerprint": "sha256:b5ca6c5034df2c9fba1a9ca8afe6cc0a9359c6812c6565236dda70cf5a8eec44",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 20,
      "total": 20,
      "golden": 6,
      "boundary": 7,
      "property": 7
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-10-21T01:07:42.434Z",
  "rendered_at": "2026-10-21T06:31:01.613Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.3",
    "artifacts": {
      "engine": "1.0.3",
      "page": "1.0.3",
      "capability": "1.0.3",
      "evidence": "1.0.3",
      "input_schema": "1.0.3",
      "output_schema": "1.0.3",
      "mcp_contract": "1.0.3"
    },
    "digests": {
      "input_schema_sha256": "ce1ac2ed33e6c016b2012f7aa646efc00ad1121d9ffcb0aea9b01b3c250db6c9",
      "output_schema_sha256": "8cef94e42e0aa48e26d23b4c8fa246350b2a7245f87eb4934277534da34744f3",
      "evidence_sha256": "46b8671e022c013eaa3a462531bfe6bf8c8411b3d6dec05044731f5df00ab8b8",
      "evidence_core_sha256": "46b8671e022c013eaa3a462531bfe6bf8c8411b3d6dec05044731f5df00ab8b8",
      "capability_sha256": "937cb7a0438c38772fec044aab08313f91f65ebcb9e4e54a65c777d3e1cab5d1",
      "engine_sha256": "6ef38e64f6a7018cce0538e78ba57c8e2a141f11e8779e9e3f91408a668b7b71",
      "mcp_contract_sha256": "60f1d7acfa183c6d559969e1ec7056c3268f6b9cbb32d34967a977e7cd3968ef"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.3"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "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"
  }
}
