{
  "capability_id": "math.special",
  "tool_id": "special-functions",
  "engine": "special-functions",
  "calculation_version": "1.10.1",
  "generated_at": "2026-10-06T23:25:43.435Z",
  "engine_build": "2026-10-06",
  "test_count": 58,
  "passed": 58,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 13,
      "total": 13
    },
    "boundary": {
      "passed": 8,
      "total": 8
    },
    "property": {
      "passed": 37,
      "total": 37
    }
  },
  "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/special-functions",
  "api": "https://www.calculatorx.com/api/v1/calc/special-functions",
  "schema_input": "https://www.calculatorx.com/schemas/math.special.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.special.output.json",
  "assumptions": [
    "Known numerical limitation: Bessel J/Y/K series can produce severe errors at large arguments inside the accepted domain; the 1.10.1 erf/erfc correction does not fix those modes.",
    "Real argument",
    "Gamma poles at non-positive integers",
    "lgamma is real for x > 0",
    "Bessel J integer n=0…8, |x|≤80",
    "Bessel Y integer n=0…8, x>0",
    "Bessel I integer n=0…8, |x|≤80",
    "Bessel K integer n=0…8, x>0",
    "Lambert W_0 for x ≥ −1/e",
    "Lambert W_{-1} for −1/e ≤ x < 0",
    "Complete Euler B(x,y) for x>0, y>0",
    "Incomplete B_x(a,b) for a>0, b>0, 0≤x≤1",
    "Unnormalized sinc(x)=sin(x)/x, sinc(0)=1",
    "Normalized sinc(x)=sin(πx)/(πx), sinc(0)=1",
    "The Result Card includes an engine-linked Live graph for erf, erfc, Γ, ln Γ, J_n / Y_n / I_n / K_n, W₀ / W₋₁, B(x, y) vs x (y held), incomplete B_x on [0, 1], sinc, and normalized sinc. Same special-functions engine as REST/MCP. Integer n! stays on /factorial. Not CAS."
  ],
  "limitations": [
    "Real argument only",
    "Not factorial — integer n! stays on math.factorial",
    "Gamma poles at non-positive integers",
    "lgamma is real for x > 0 on this seed",
    "Bessel J / Y / I / K integer n=0…8, |x|≤80 for J and I, x>0 for Y and K",
    "Lambert W_0 for x ≥ −1/e; W_{-1} for −1/e ≤ x < 0",
    "Complete Euler B(x,y) for x>0, y>0; incomplete B_x(a,b) for a>0, b>0, 0≤x≤1",
    "Unnormalized sinc(x)=sin(x)/x and normalized sinc(x)=sin(πx)/(πx), both with sinc(0)=1",
    "unknown mode (including cas, factorial) → INVALID_MODE"
  ],
  "boundary_conditions": [
    "non-finite x → INVALID_NUMBER",
    "Gamma at 0, −1, −2, … → INVALID_INPUT",
    "lgamma with x ≤ 0 → INVALID_INPUT",
    "Bessel n not in 0…8 or |x|>80 → INVALID_INPUT",
    "Y_n or K_n with x ≤ 0 → INVALID_INPUT",
    "Lambert W_0 x < −1/e → INVALID_INPUT",
    "Lambert W_{-1} x < −1/e or x ≥ 0 → INVALID_INPUT",
    "Beta x ≤ 0 or y ≤ 0 → INVALID_INPUT",
    "Incomplete beta a ≤ 0, b ≤ 0, or x ∉ [0,1] → INVALID_INPUT",
    "unknown mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 80000-2:2019 Quantities and units — Mathematics",
      "supports": "Real special functions: erf, Γ, Bessel, Lambert W, Beta, sinc",
      "kind": "standard",
      "reference_scope": "all"
    },
    {
      "title": "Abramowitz and Stegun, Handbook of Mathematical Functions — erf, Gamma, Bessel, incomplete beta",
      "supports": "Error function 7.1.26; Γ(n)=(n−1)!; integer-order J_n/Y_n/I_n/K_n; incomplete beta integral",
      "kind": "reference",
      "reference_scope": "model",
      "oracle_class": "O1"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:1a92dde71760f9232f1a1d7919af0612802bf2119e6804dd9dedf17079b8f596",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 58,
      "total": 58,
      "golden": 13,
      "boundary": 8,
      "property": 37
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-10-06T23:25:07.890Z",
  "rendered_at": "2026-10-06T23:25:43.435Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.10.1",
    "artifacts": {
      "engine": "1.10.1",
      "page": "1.10.1",
      "capability": "1.10.1",
      "evidence": "1.10.1",
      "input_schema": "1.10.1",
      "output_schema": "1.10.1",
      "mcp_contract": "1.10.1"
    },
    "digests": {
      "input_schema_sha256": "7f068758dc2ba7781b12d2bb43e61014cb5fcf5047f606d48beac349a0a119f3",
      "output_schema_sha256": "2b11725c380bb4ce4dfc71c3156009b6eba13f39d9a3cd225704f7aa3c5a42af",
      "evidence_sha256": "24eb47c851a619001051e568bf6b864346c863fbc8a61fcf70263f14f9de7e17",
      "evidence_core_sha256": "24eb47c851a619001051e568bf6b864346c863fbc8a61fcf70263f14f9de7e17",
      "capability_sha256": "c4401c5df811e4bc33779564af9a9b4694be7cf6763fc3693a51cf0c1c22decb",
      "engine_sha256": "de164a39feabc37997e09354949becc3182b03a314edbb82d01fddc018716fc0",
      "mcp_contract_sha256": "27cfeb8486c2bce68bf790f93e31d91e92b49b6da27f45537026db71c98dc608"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.10.1"
        },
        {
          "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"
  }
}
