{
  "capability_id": "math.special",
  "tool_id": "special-functions",
  "engine": "special-functions",
  "calculation_version": "1.10.6",
  "generated_at": "2026-10-23T01:27:11.644Z",
  "engine_build": "2026-10-19",
  "test_count": 58,
  "passed": 57,
  "failed": 1,
  "tests_summary": {
    "golden": {
      "passed": 13,
      "total": 13
    },
    "boundary": {
      "passed": 8,
      "total": 8
    },
    "property": {
      "passed": 36,
      "total": 37
    }
  },
  "engine_tested": false,
  "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": [
    "Relative accuracy weakens near zeros of Bessel J/Y. Small positive K tails are retained within Float64 range.",
    "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, dimensionless binary64 inputs; publishes12 significant digits, no arbitrary-precision/exact claim.",
    "Default mode erf and Bessel order0 apply only when absent; explicit empty/null rejects. All supplied numeric aliases must agree; known irrelevant numeric parameters are parsed then ignored.",
    "Gamma poles reject. Nonzero Gamma that underflows rejects NUMERICAL_RANGE_ERROR; positive overflow suggests lgamma. lgamma is computed directly for x>0 with a stable Taylor expansion near1 and2.",
    "Bessel integer n0–8, |x|≤80, Y/K require x>0; subnormal error and zeros limit relative accuracy.",
    "Lambert W0 and W-1 explicit real branches; binary64 -1/e designated endpoint, no tolerance band absorbs adjacent inputs.",
    "Beta shapes positive and at most1e6, except exact B(x,1)=1/x or B(1,y)=1/y. Incomplete beta shapes at most1e6. CF capped10000 steps; failure NO_CONVERGENCE.",
    "erf/erfc and beta tails can round to zero only on binary64 underflow, not an absolute display cutoff. Regularized incomplete beta evaluated separately in logs.",
    "Normalized sinc uses sinpi reduction and returns zero at representable nonzero integer x. Other tiny nonzero results retain significance.",
    "Numeric references have relative1e-10, with J/Y near zeros absolute2e-14,4 minimum subnormals otherwise. No global error proof for all real inputs.",
    "Browser interaction computes locally; parameterized share pages, REST and MCP send inputs to server. Logs/retention/region are deployment concerns; no zero-log promise."
  ],
  "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",
      "url": "https://www.iso.org/standard/64973.html",
      "supports": "Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.",
      "kind": "standard",
      "publisher": "International Organization for Standardization",
      "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"
    },
    {
      "title": "NIST DLMF §7.2 — Error Function Definitions",
      "section": "§7.2",
      "url": "https://dlmf.nist.gov/7.2",
      "supports": "Definitions of erf and erfc and their complement relationship.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "NIST DLMF §5.2 — Gamma Function Definitions",
      "section": "§5.2",
      "url": "https://dlmf.nist.gov/5.2",
      "supports": "Definition of the gamma function and its poles.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "NIST DLMF §5.12 — Beta Function",
      "section": "§5.12",
      "url": "https://dlmf.nist.gov/5.12",
      "supports": "Euler beta integral and the beta-gamma identity.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "NIST DLMF §8.17 — Incomplete Beta Functions",
      "section": "§8.17",
      "url": "https://dlmf.nist.gov/8.17",
      "supports": "Incomplete and regularized incomplete beta functions and their parameter domains.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "NIST DLMF §10.2 — Bessel Function Definitions",
      "section": "§10.2",
      "url": "https://dlmf.nist.gov/10.2",
      "supports": "Bessel functions J and Y and their defining differential equation.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "NIST DLMF §10.25 — Modified Bessel Function Definitions",
      "section": "§10.25",
      "url": "https://dlmf.nist.gov/10.25",
      "supports": "Modified Bessel functions I and K and their defining differential equation.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "NIST DLMF §4.13 — Lambert W-Function",
      "section": "§4.13",
      "url": "https://dlmf.nist.gov/4.13",
      "supports": "The inverse relation W exp(W)=x and the real principal and secondary branches.",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "NumPy — numpy.sinc",
      "url": "https://numpy.org/doc/stable/reference/generated/numpy.sinc.html",
      "supports": "Normalized sinc sin(πx)/(πx), the value 1 at zero, and conversion to the unnormalized sin(x)/x convention. This documents definitions, not a claim that CalculatorX calls NumPy. Mathematical reference only; not validation or endorsement of this implementation.",
      "kind": "reference",
      "publisher": "NumPy Developers"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:5fbfcc9d018c864dfb99283b1b2d9d11a5e1174a08368648093fec31af92a715",
  "tier": "candidate",
  "verification": {
    "tests": {
      "passed": 57,
      "total": 58,
      "golden": 13,
      "boundary": 8,
      "property": 37
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-10-19T04:04:19.258Z",
  "rendered_at": "2026-10-23T01:27:11.644Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.10.6",
    "artifacts": {
      "engine": "1.10.6",
      "page": "1.10.6",
      "capability": "1.10.6",
      "evidence": "1.10.6",
      "input_schema": "1.10.6",
      "output_schema": "1.10.6",
      "mcp_contract": "1.10.6"
    },
    "digests": {
      "input_schema_sha256": "edc3a9ac82fb12bade39bb5baa124a9e31d9b5289f56b19ca7c02500463344dd",
      "output_schema_sha256": "5864981f912b9805e21ea9ddf0882a27e408999a948a3b5b94bbe1de8b76fe9c",
      "evidence_sha256": "8cfeedba16d810bfb48e8309870d38146725ccaa7ec049180ed7f67aea3f120d",
      "evidence_core_sha256": "8cfeedba16d810bfb48e8309870d38146725ccaa7ec049180ed7f67aea3f120d",
      "capability_sha256": "b3a5bdbd3628a61243c050d79a69ee5f83458fec5b73e03d84db244a269dd106",
      "engine_sha256": "a664ae25cd2134de7de43a99352933043215473589aec38c9416508150cb1008",
      "mcp_contract_sha256": "8defa770ea0b34118e3444b698842353896edfffa88b4ef1c34898f3f5378790"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.10.6"
        },
        {
          "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"
  }
}
