{
  "capability_id": "math.numerical.ode",
  "tool_id": "ordinary-differential-equation",
  "engine": "ordinary-differential-equation",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-19T13:13:12.839Z",
  "engine_build": "2026-09-19",
  "test_count": 9,
  "passed": 9,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 3,
      "passed": 3
    },
    "boundary": {
      "total": 2,
      "passed": 2
    },
    "property": {
      "total": 4,
      "passed": 4
    }
  },
  "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/ordinary-differential-equation",
  "api": "https://www.calculatorx.com/api/v1/calc/ordinary-differential-equation",
  "schema_input": "https://www.calculatorx.com/schemas/math.numerical.ode.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.numerical.ode.output.json",
  "assumptions": [
    "Scalar first-order only",
    "Not rk45, not systems, not PDE, not CAS",
    "Polynomial degree ≤ 8"
  ],
  "limitations": [
    "Not rk45 / adaptive / Dormand–Prince",
    "Not systems of ODEs or second-order IVP",
    "Not PDE / CAS / symbolic solve",
    "n ≤ 10000",
    "t1 = t0 → INVALID_INPUT"
  ],
  "boundary_conditions": [
    "t1 = t0 → INVALID_INPUT",
    "n < 1 or n > 10000 → INVALID_INPUT",
    "unknown method (including rk45) → INVALID_MODE"
  ],
  "sources": [
    "ISO 80000-2:2019 Quantities and units — Mathematics"
  ],
  "methods": [],
  "fingerprint": "sha256:d622c6611d7855cf87621d4fb64455f55fa94c11b68aa28c7db9765b03e2f118",
  "tests": [
    {
      "id": "golden-rk4-exp",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "method": "rk4",
        "rhs": "linear",
        "k": 1,
        "y0": 1,
        "t0": 0,
        "t1": 1,
        "n": 40
      },
      "expect": {
        "exact": 2.718281828459045
      },
      "expectWarning": null,
      "actual": {
        "method": "rk4",
        "rhs": "linear",
        "t0": 0,
        "t1": 1,
        "y0": 1,
        "n": 40,
        "h": 0.025,
        "y": 2.71828181979,
        "exact": 2.71828182846,
        "abs_err": -8.66619043194e-9,
        "formula": "RK4: k1…k4, y ← y + (h/6)(k1+2k2+2k3+k4)",
        "k": 1
      },
      "tol": 0.000001
    },
    {
      "id": "golden-euler-exp",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "method": "euler",
        "rhs": "linear",
        "k": 1,
        "y0": 1,
        "t0": 0,
        "t1": 1,
        "n": 40
      },
      "expect": {
        "exact": 2.718281828459045
      },
      "expectWarning": null,
      "actual": {
        "method": "euler",
        "rhs": "linear",
        "t0": 0,
        "t1": 1,
        "y0": 1,
        "n": 40,
        "h": 0.025,
        "y": 2.68506383839,
        "exact": 2.71828182846,
        "abs_err": -0.0332179900691,
        "formula": "y ← y + h f(t,y)",
        "k": 1
      },
      "tol": 0.05
    },
    {
      "id": "golden-poly-2t",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "method": "rk4",
        "rhs": "poly",
        "coeffs": [
          0,
          2
        ],
        "y0": 0,
        "t0": 0,
        "t1": 1,
        "n": 20
      },
      "expect": {
        "exact": 1
      },
      "expectWarning": null,
      "actual": {
        "method": "rk4",
        "rhs": "poly",
        "t0": 0,
        "t1": 1,
        "y0": 0,
        "n": 20,
        "h": 0.05,
        "y": 1,
        "exact": 1,
        "abs_err": 0,
        "formula": "RK4: k1…k4, y ← y + (h/6)(k1+2k2+2k3+k4)",
        "coeffs": [
          0,
          2
        ]
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-rk45",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "method": "rk45",
        "rhs": "linear",
        "y0": 1,
        "t0": 0,
        "t1": 1
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "method must be euler or rk4 (not rk45 / adaptive / systems / PDE)."
    },
    {
      "id": "boundary-t-equal",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "method": "rk4",
        "rhs": "linear",
        "y0": 1,
        "t0": 1,
        "t1": 1
      },
      "expectError": "INVALID_INPUT",
      "code": "INVALID_INPUT",
      "error": "t1 must differ from t0."
    },
    {
      "id": "property-ode-rk4-e",
      "ok": true,
      "kind": "property",
      "detail": "RK4 y′=y → e",
      "expect": 2.718281828459045,
      "actual": 2.71828181979
    },
    {
      "id": "property-ode-euler-coarser",
      "ok": true,
      "kind": "property",
      "detail": "Euler |err| > RK4",
      "expect": true,
      "actual": true
    },
    {
      "id": "property-ode-poly-2t",
      "ok": true,
      "kind": "property",
      "detail": "y′=2t exact 1",
      "expect": 1,
      "actual": 1
    },
    {
      "id": "property-ode-k2",
      "ok": true,
      "kind": "property",
      "detail": "y′=2y exact e²",
      "expect": 7.38905609893065,
      "actual": 7.38905609893
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 9,
      "total": 9,
      "golden": 3,
      "boundary": 2,
      "property": 4
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-19T12:26:54.462Z",
  "rendered_at": "2026-09-19T13:13:12.839Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.0",
    "artifacts": {
      "engine": "1.0.0",
      "page": "1.0.0",
      "capability": "1.0.0",
      "evidence": "1.0.0",
      "input_schema": "1.0.0",
      "output_schema": "1.0.0",
      "mcp_contract": "1.0.0"
    },
    "digests": {
      "input_schema_sha256": "acb60c714a1493f7f17143c6226654e29e09b29de546b8132f1087c839085132",
      "output_schema_sha256": "f93835add46ecb8c275e8d8f1ec3c4fce4e20ed754ae8ef75fde339410753de6",
      "evidence_sha256": "f2a1e36992799ca176c1ae9753fde265eb18c1d33a20b5cd93e9beb35652297d",
      "evidence_core_sha256": "f2a1e36992799ca176c1ae9753fde265eb18c1d33a20b5cd93e9beb35652297d",
      "capability_sha256": "c05d8621b1487332483f92d5117ce5fe0058842ebec1c746bdac2995bff3cba9",
      "engine_sha256": "5d05e6c8e156321ebcd1a2eae9b3667ec482c75ebd97a95bdbeb75a56f4f7c13",
      "mcp_contract_sha256": "5ec841903d7e83092fbc411a04566da5da7c40343afc5821b0bf6dd72c86cb8f"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
