{
  "capability_id": "math.lcm",
  "tool_id": "lcm",
  "engine": "lcm",
  "calculation_version": "1.0.4",
  "generated_at": "2026-10-22T04:36:23.763Z",
  "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/lcm",
  "api": "https://www.calculatorx.com/api/v1/calc/lcm",
  "schema_input": "https://www.calculatorx.com/schemas/math.lcm.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.lcm.output.json",
  "assumptions": [
    "Integer inputs; negatives treated by absolute value.",
    "If any input is 0, LCM = 0. LCM(0,0)=0 is a CalculatorX/Python convention, not a GCF-identity derivation.",
    "For nonzero inputs the result is a positive integer."
  ],
  "limitations": [
    "Exact relative to accepted normalized integers; cannot recover precision already lost by the client or JSON numeric parsing.",
    "2–32 values,48 decimal digits per integer,4096 list characters; matching ordered aliases required.",
    "Listing bound5000 and inputs≤500, at most80 displayed multiples per row with explicit omission; prime cross-check input bound1000000.",
    "Result may contain up to1536 decimal digits; summary/full and exports preserve the complete integer."
  ],
  "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",
    "Any zero → LCM = 0"
  ],
  "sources": [
    {
      "title": "Encyclopedia of Mathematics — Least common multiple",
      "section": "Definition; pairwise fold; relation to GCD",
      "url": "https://encyclopediaofmath.org/wiki/Least_common_multiple",
      "supports": "LCM of n integers via pairwise fold; lcm(a,b)·gcd(a,b)=|ab| for nonzero a,b",
      "kind": "reference"
    },
    {
      "title": "Python math.lcm — zero convention",
      "section": "If any argument is zero, LCM = 0",
      "url": "https://docs.python.org/3/library/math.html#math.lcm",
      "supports": "Any zero argument → 0; LCM(0,0)=0 is that convention, not |a/GCF(a,b)×b| (Python separately defines gcd(0,0)=0; the division identity is not used here)",
      "kind": "reference"
    },
    {
      "title": "CalculatorX integer convention",
      "section": "Absolute value; 48-digit BigInt domain; divide-first identity",
      "supports": "Negatives by |n|; exact BigInt with a product digit cap; LCM(a,b)=|a/GCF(a,b)×b|",
      "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 GCF-identity fold (canonical engine; divide before multiply)",
    "Prime-factor LCM (cross-check when every |n| ≤ 1,000,000 and none is 0)",
    "Listing multiples (cross-check when LCM ≤ 5,000 and every |n| ≤ 500)"
  ],
  "fingerprint": "sha256:54e7f3e7c20bd5278c8d04377ee0b049889e093b2cc978e56e7b8c1bf5bd7168",
  "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-21T03:41:55.953Z",
  "rendered_at": "2026-10-22T04:36:23.763Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.4",
    "artifacts": {
      "engine": "1.0.4",
      "page": "1.0.4",
      "capability": "1.0.4",
      "evidence": "1.0.4",
      "input_schema": "1.0.4",
      "output_schema": "1.0.4",
      "mcp_contract": "1.0.4"
    },
    "digests": {
      "input_schema_sha256": "5374ad9a3a62305c7a5982e9b2d82f2c0135d3fc1bed99a6a31cf35b9652afc9",
      "output_schema_sha256": "ba4aed58d4673eee1b77ab2ad6d7920f38f350bf710369ec73c8dfda97b3c87a",
      "evidence_sha256": "22ee8ca8d9cdca7ef1f6f2fae8be0d27207f17bb7be5cb3cb12fc08c0c75a629",
      "evidence_core_sha256": "22ee8ca8d9cdca7ef1f6f2fae8be0d27207f17bb7be5cb3cb12fc08c0c75a629",
      "capability_sha256": "6a3032a59fab9ce0b3452f453ae05a4396d5c8b22a9c9c7633fa9dcfd394f8f4",
      "engine_sha256": "1101629fa55e190fd2608f73d326f5b9fb99d61db4b7f27d41aeb7f6a61f6721",
      "mcp_contract_sha256": "8d71b07c5852eacafce0f6b76de6e212b840c29d5b1c589d5c3197cf70d18a0a"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.4"
        },
        {
          "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"
  }
}
