{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed",
    "revision": "2026-09-13",
    "spec_sha256": "f62725968356c92930531cd6085db76e216da06e95be53d636b0d2cf3218b148",
    "spec": "https://www.calculatorx.com/developers/cvp/spec/1.0"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "definite-integral",
    "version": "1.1.5",
    "title": "Definite Integral Calculator",
    "formula_family": "definite_integral",
    "capability_id": "math.numerical.definite_integral",
    "verification_revision": "2026-10-28.metric-scope-v3"
  },
  "profile": "core",
  "verified_scope": "all published methods",
  "status": "VERIFIED",
  "verification_status": "VERIFIED",
  "production_freshness": "CURRENT",
  "overall_trust": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "22.20.0",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "definite-integral",
    "version": "1.1.5",
    "uri": "https://www.calculatorx.com/evidence/math.numerical.definite_integral/1.1.5.json",
    "verification_revision": "2026-10-28.metric-scope-v3"
  },
  "obligation_set": [
    "CVP-PROV-01",
    "CVP-MODEL-01",
    "CVP-SCOPE-01",
    "CVP-UNIT-01",
    "CVP-REF-01",
    "CVP-GOLD-01",
    "CVP-BND-01",
    "CVP-INV-01",
    "CVP-NUM-01",
    "CVP-COV-01",
    "CVP-CONTRACT-01",
    "CVP-DEP-01",
    "CVP-ART-01",
    "CVP-PROD-01",
    "CVP-DIM-01",
    "CVP-PROP-01",
    "CVP-META-01",
    "CVP-XCAL-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "ISO 80000-2:2019 Quantities and units — Mathematics",
        "kind": "standard",
        "reference": "Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.",
        "url": "https://www.iso.org/standard/64973.html"
      },
      {
        "label": "CRC Standard Mathematical Tables — composite trapezoid, Simpson 1/3, Gauss–Legendre",
        "kind": "other",
        "reference": "Composite trapezoid and Simpson 1/3; n-point Gauss–Legendre exact for degree ≤ 2n−1"
      },
      {
        "label": "NIST DLMF §3.5 — Quadrature",
        "kind": "other",
        "reference": "§3.5",
        "url": "https://dlmf.nist.gov/3.5"
      }
    ]
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Independent high-precision quadrature and closed-form baseline fixtures; fixed panel/node methods"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Definite ∫_a^b only. Discovery /simpson-rule, /trapezoidal-rule, /gauss-quadrature lock method. Not indefinite CAS."
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "dimensionless"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5/5 legacy golden; 177/177 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "1/1 numeric-edge Evidence + 1/1 near-singularity numeric; illegal enum/system is Invalid only"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "2 Evidence illegal-input + 11/11 oracle-backed error-code (exact_error_match, not ULP)"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "diagnostic_raw_leaf_ulp_max (not an acceptance budget)=20681; policy declared a priori"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "4/4 declared partitions (simpson, trapezoid, gauss, invalid-domain) · 5 legacy golden / 2 CVP boundary unique cases · 2 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6/6 CVP contract · release-artifacts-aligned=PASS · schema-output-required-declared=PASS · schema-valid-input-executes=PASS · engine-success-output-validates-schema=PASS · schema-rejects-incomplete-input=PASS · rest-success-payload-validates-schema=PASS"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine definite-integral; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · digests: artifact_evidence_sha256=Evidence core (Trust freshness) · cvp_evidence_digest=artifacts.evidence_digest (fingerprint v2) · evidence_bundle_sha256=legacy Evidence JSON bytes · evidence_catalog_digest=attested_catalog_sha256 · production_sha256=bound production report · see artifacts.digest_registry"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "this calculator CURRENT · bound snapshot pass @ 2026-10-29T01:22:37.788Z · live site-wide report stale @ 2026-10-29T01:24:14.922Z (39 other capabilities) · local checks pass · attestation_id=52c69c777f14b3653d6a0d99fffe81ea840d401226015698a80d3880c8382ade · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-10-29T01:22:37.788Z · Live production status STALE (39 capabilities; 337 remain CURRENT) @ 2026-10-29T01:24:14.922Z · Public schema 1.1.5 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.1.5 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · cvp-latest-alias-agrees=pass · cvp-immutable-manifest-fetch=pass · cvp-immutable-manifest-sha256=pass · cvp-latest-alias-matches-immutable=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=0904162d9842ae579e660eb678ec02f2ca6e852dd03b716905c0a6501acd7dae · verified_at=2026-10-28T16:34:08.985Z · evidence_attested_at=2026-10-28T16:34:08.985Z · last_confirmed_current_at=2026-10-29T01:22:37.788Z · rendered_at=2026-10-29T01:24:15.183Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "definite integral of a scalar"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "1/1 property · enumerated fixed assertions (not generated; no seed)"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "3/3 metamorphic"
    },
    "CVP-ROUND-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No inverse / round-trip vectors in pack — control not in obligation set"
    },
    "CVP-XCAL-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "1/1 cross-calculator · xcal-unit-ode-euler PASS vs math.numerical.ode"
    },
    "CVP-IFACE-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 2/2 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only. Raw HTTP REST/JSON-RPC transport rejection 5/5; raw-number source and conflicting pins are transport-only checks, not engine/SSR input-source parity."
    },
    "CVP-ORACLE-01": {
      "result": "SKIP",
      "applicability": "higher_assurance",
      "notes": "O2 present; O3 not required this wave"
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "named expert review not performed"
    }
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 2/2 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only. Raw HTTP REST/JSON-RPC transport rejection 5/5; raw-number source and conflicting pins are transport-only checks, not engine/SSR input-source parity."
  },
  "artifacts": {
    "evidence_bundle_sha256": "86b20312d7bba28f61322e34b99090c67eca5df1c18b30a98514e697b7cea4b4",
    "evidence_digest": "1a346535dfb0f813b9ec2504d45a0f1d55a199c75fc8cfd0c95eda4c5439e108",
    "production_sha256": "0904162d9842ae579e660eb678ec02f2ca6e852dd03b716905c0a6501acd7dae",
    "attested_catalog_sha256": "163b0d7072a58bed20a0320572211167e1629730bef43c185b5f545ceac7744c",
    "production_checks": [
      {
        "id": "math.numerical.definite_integral:output-const",
        "status": "pass",
        "detail": "output const 1.1.5 vs capability 1.1.5",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      },
      {
        "id": "math.numerical.definite_integral:evidence-sha256",
        "status": "pass",
        "detail": "22f7f92174eb",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      },
      {
        "id": "math.numerical.definite_integral:semantic-contract",
        "status": "pass",
        "detail": "13/13",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      },
      {
        "id": "math.numerical.definite_integral:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.1.5 vs origin 1.1.5",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      },
      {
        "id": "math.numerical.definite_integral:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "math.numerical.definite_integral/1.1.5/2026-10-28.metric-scope-v3/core/1a346535dfb0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z",
        "projection_compared": false
      },
      {
        "id": "math.numerical.definite_integral:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "math.numerical.definite_integral/1.1.5/2026-10-28.metric-scope-v3/core/1a346535dfb0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z",
        "projection_compared": false
      },
      {
        "id": "math.numerical.definite_integral:cvp-immutable-manifest-fetch",
        "status": "pass",
        "detail": "public=200 origin=200",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      },
      {
        "id": "math.numerical.definite_integral:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "1a346535dfb0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      },
      {
        "id": "math.numerical.definite_integral:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "math.numerical.definite_integral/1.1.5/2026-10-28.metric-scope-v3/core/1a346535dfb0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z",
        "projection_compared": false
      },
      {
        "id": "math.numerical.definite_integral:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      },
      {
        "id": "math.numerical.definite_integral:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-28T16:34:08.985Z"
      }
    ],
    "digest_registry": {
      "digest_algorithm": "sha256",
      "canonicalization": "json-sorted-keys-utf8",
      "entries": [
        {
          "name": "cvp_core_sha256",
          "field": "artifacts.cvp_core_sha256",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "1a346535dfb0f813b9ec2504d45a0f1d55a199c75fc8cfd0c95eda4c5439e108",
          "note": "Immutable verification core; excludes attestation/live-status and Evidence contract counts"
        },
        {
          "name": "cvp_evidence_digest",
          "field": "artifacts.evidence_digest",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "1a346535dfb0f813b9ec2504d45a0f1d55a199c75fc8cfd0c95eda4c5439e108",
          "note": "Alias of cvp_core_sha256 (historical field name)"
        },
        {
          "name": "artifact_evidence_sha256",
          "field": "release_integrity.digests.evidence_core_sha256",
          "digest_scope": "evidence_artifact_core",
          "value": "22f7f92174ebc76dbd33bcddb7a4acfbc6190a6f9d9be64d86bcc38b96bd7731",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "163b0d7072a58bed20a0320572211167e1629730bef43c185b5f545ceac7744c",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "1a346535dfb0f813b9ec2504d45a0f1d55a199c75fc8cfd0c95eda4c5439e108"
  },
  "dependencies": [
    {
      "name": "definite-integral-engine",
      "version": "1.1.5"
    },
    {
      "name": "definite-integral-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "math.numerical.ode",
      "version": "1.1.1",
      "role": "cross_calculator_peer",
      "capability_id": "math.numerical.ode",
      "evidence_digest": "1092bffa8354f15820bbab713b436f6edf40175223984d46b4732500ef229cdc",
      "evidence": "https://www.calculatorx.com/evidence/math.numerical.ode/1.1.1.cvp.json"
    },
    {
      "name": "node",
      "version": "22.20.0"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "52c69c777f14b3653d6a0d99fffe81ea840d401226015698a80d3880c8382ade",
    "attested_at": "2026-10-28T16:34:08.985Z",
    "last_confirmed_current_at": "2026-10-29T01:22:37.788Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-10-29T01:22:37.788Z",
    "live_updated_at": "2026-10-29T01:24:14.922Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-10-29T01:22:37.788Z",
      "site_stale_count": 39
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 39,
    "site_stale_capability_count": 39,
    "evidence_attested_at": "2026-10-28T16:34:08.985Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.1.5",
    "external_third_party": false,
    "note": "Named expert review not performed"
  },
  "timestamps": {
    "verified_at": "2026-10-28T16:34:08.985Z",
    "generated_at": "2026-10-28T16:34:08.985Z",
    "rendered_at": "2026-10-29T01:24:15.183Z",
    "notes": "verified_at/generated_at mark the first publication of this cvp_core_sha256 (artifacts.evidence_digest alias) for suite verification. evidence_attested_at/attested_at is the first production bind of that core digest. last_confirmed_current_at is the latest site-wide report that still confirms CURRENT. rendered_at is this JSON serialization and is not part of cvp_core_sha256 / evidence_digest. Production attestation binds cvp_core_sha256 (binds evidence_digest). Causal order: verified_at ≤ evidence_attested_at ≤ last_confirmed_current_at. attestation.bound_snapshot.site_stale_count is the site-wide stale capability count at Manifest bind time — not a live value. Fetch attestation.live_site_status.href for the current site report."
  },
  "tests": {
    "golden": {
      "passed": 177,
      "total": 177,
      "failed": 0
    },
    "boundary": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "invalid": {
      "passed": 13,
      "total": 13,
      "failed": 0,
      "comparison": "exact_error_match"
    },
    "property": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "kind": "fixed"
    },
    "round_trip": {
      "passed": 0,
      "total": 0,
      "failed": 0
    },
    "metamorphic": {
      "passed": 3,
      "total": 3,
      "failed": 0
    },
    "contract": {
      "passed": 6,
      "total": 6,
      "failed": 0
    },
    "cross_interface": {
      "passed": 12,
      "total": 12,
      "failed": 0
    },
    "cross_calculator": {
      "passed": 1,
      "total": 1,
      "failed": 0
    }
  },
  "numerical": {
    "representation": "IEEE-754 binary64; 12 significant digits, no absolute zero floor",
    "tolerance": {
      "type": "relative",
      "value": 2e-10,
      "declared_before_evaluation": true,
      "rationale": "Independent mpmath 90/140 dps references evaluate each requested quadrature separately from its closed-form integral; relative 2e-10 plus 4 smallest subnormals, no generic near-zero floor."
    },
    "max_error_observed": 20681,
    "error_metric": "diagnostic_raw_leaf_ulp",
    "comparison_evidence_protocol": "scoped-comparison-v1",
    "max_error_observed_scope": "Raw finite matching numeric leaves across records/hops; diagnostic only. Acceptance is the per-record/hop comparison predicate and its declared scoped policy."
  },
  "coverage": {
    "partitions": [
      {
        "id": "simpson",
        "description": "simpson",
        "exercised": true,
        "case_count": 68
      },
      {
        "id": "trapezoid",
        "description": "trapezoid",
        "exercised": true,
        "case_count": 54
      },
      {
        "id": "gauss",
        "description": "gauss",
        "exercised": true,
        "case_count": 72
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 13
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "∫_a^b f; composite trapezoid, Simpson 1/3, n-point Gauss–Legendre"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Independent mpmath 90/140 dps fixtures: requested quadrature and analytic integral evaluated separately; no IUT imports",
        "engine": {
          "name": "mpmath-90/140dps-fixtures",
          "precision_bits": 299,
          "independent_of_iut": true,
          "same_runtime_as_iut": false
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Independent high-precision quadrature vs binary64 publication; relative 2e-10 plus 4 subnormals",
        "engine": {
          "name": "mpmath-90/140dps-fixtures",
          "precision_bits": 299,
          "independent_of_iut": true,
          "same_runtime_as_iut": false
        }
      }
    ]
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/math.numerical.definite_integral/1.1.5.json",
    "evidence_page": "https://www.calculatorx.com/evidence/math.numerical.definite_integral/1.1.5",
    "calculator": "https://www.calculatorx.com/calc/math/definite-integral",
    "schema": "https://www.calculatorx.com/developers/cvp/schema/cvp-evidence-1.0.json",
    "protocol": "https://www.calculatorx.com/developers/cvp/spec/1.0",
    "manifest": "https://www.calculatorx.com/evidence/math.numerical.definite_integral/1.1.5.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/math.numerical.definite_integral/1.1.5/2026-10-28.metric-scope-v3.cvp.json",
    "manifest_core": "https://www.calculatorx.com/evidence/math.numerical.definite_integral/1.1.5/2026-10-28.metric-scope-v3.1a346535dfb0.cvp.json"
  },
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
