{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "anti-log",
    "version": "1.0.5",
    "title": "Antilog Calculator",
    "formula_family": "antilogarithm",
    "capability_id": "math.antilog"
  },
  "profile": "core",
  "status": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "20.19.2",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "anti-log",
    "version": "1.0.5",
    "uri": "https://www.calculatorx.com/evidence/math.antilog/1.0.5.json"
  },
  "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-PROP-01",
    "CVP-META-01",
    "CVP-ROUND-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "NIST Digital Library of Mathematical Functions, Chapter 4",
        "kind": "other",
        "reference": "Logarithm, Exponential, Powers",
        "url": "https://dlmf.nist.gov/4"
      },
      {
        "label": "NIST DLMF §4.2",
        "kind": "other",
        "reference": "Logarithm: definitions and inverse of the exponential",
        "url": "https://dlmf.nist.gov/4.2"
      },
      {
        "label": "CalculatorX mathematical conventions",
        "kind": "other",
        "reference": "Common (base 10), natural (base e), and real bases b > 0, b ≠ 1"
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Antilogarithm as exponentiation"
      },
      {
        "class": "O3",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Precomputed mpmath 1.4.1 antilog (80 dps, python backend, round-to-nearest-binary64) — not Node Math.*",
        "engine": {
          "name": "antilog-mpmath-o3",
          "precision_bits": 265,
          "independent_of_iut": true,
          "library": "mpmath 1.4.1",
          "mpmath_dps": 80,
          "rounding": "round-to-nearest-binary64",
          "backend": "python",
          "generator_version": "1.0.0",
          "generator_sha256": "3453ec60bd03738a1f1f3723baed7e617ff49466452efab1844fe68b8f654cea",
          "table_sha256": "efdad939a92a67df1f3995db36c52bb87f428a59fc73568f789c02540f4372ee",
          "seed": "20260907",
          "source": "https://www.calculatorx.com/developers/cvp/reproduce/math-o3-tables.json",
          "public_table": "/developers/cvp/reproduce/math-o3-tables.json",
          "public_generator": "/developers/cvp/reproduce/generate-math-o3.py",
          "public_checker": "/developers/cvp/reproduce/check-math-o3-rest.py"
        }
      },
      {
        "class": "O3",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O3 table vs IUT value; ≤2 ULP on tabulated vectors only, not the whole domain. Distinct from legacy Evidence case-level tol.",
        "engine": {
          "name": "antilog-mpmath-o3",
          "precision_bits": 265,
          "independent_of_iut": true,
          "library": "mpmath 1.4.1",
          "mpmath_dps": 80,
          "rounding": "round-to-nearest-binary64",
          "backend": "python",
          "generator_version": "1.0.0",
          "generator_sha256": "3453ec60bd03738a1f1f3723baed7e617ff49466452efab1844fe68b8f654cea",
          "table_sha256": "efdad939a92a67df1f3995db36c52bb87f428a59fc73568f789c02540f4372ee",
          "seed": "20260907",
          "source": "https://www.calculatorx.com/developers/cvp/reproduce/math-o3-tables.json",
          "public_table": "/developers/cvp/reproduce/math-o3-tables.json",
          "public_generator": "/developers/cvp/reproduce/generate-math-o3.py",
          "public_checker": "/developers/cvp/reproduce/check-math-o3-rest.py"
        }
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module antilog oracle — independent b^y",
        "engine": {
          "name": "antilog-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs ≤2 ULP scalar comparison vs IUT (binary64, not O3)",
        "engine": {
          "name": "antilog-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      }
    ],
    "notes": "Golden expected values prefer an O3 mpmath/MPFR table (independent of Node ** / Math.exp). O2 is a live oracle for identities and shares V8 binary64 with the IUT."
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "x = b^y"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "b > 0, b ≠ 1"
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "dimensionless (unitless core)"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O3 mpmath b^y table + O2 live identities"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "14/14 legacy golden; 3/3 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "19/19 boundary"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "19 invalid-domain cases"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "CVP ≤2 ULP vs O3 when tabulated; legacy Evidence `tol` is not this policy"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "2/2 declared partitions (antilog, invalid-domain) · 14 golden / 19 boundary unique cases · 19 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "1/1 contract checks"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine antilog; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · evidence_digest=CVP verification fingerprint v2 (canonical inputs, expected/actual/status, policy, versions; independent of generated_at) · evidence_bundle_sha256=legacy Evidence JSON bytes · production_sha256=bound production attestation report"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "CURRENT · site report pass · local checks pass · attestation_id=00c818a77ba026c2d6aa3f7402680cd2dac2a40a816209600bc3c3fcd0b8921c · CURRENT · Public schema 1.0.5 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.0.5 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=9424f31d3ca937ec4a453e41479201945df6495214f0a220ebb742e7fd1c3f20"
    },
    "CVP-DIM-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "Unitless core calculator — no physical dimension algebra"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "5/5 property"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "4/4 metamorphic"
    },
    "CVP-ROUND-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "5/5 round-trips"
    },
    "CVP-XCAL-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No related calculator in the same formula family / no related-identity peers declared — control not in obligation set"
    },
    "CVP-IFACE-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). Success 1/1. Error-path engine·REST·MCP 19/19 (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. Integration: URL → SSR result → Live graph current point (4/4). Hydration/slider/history are URL-canonical contracts, not a live browser session."
    },
    "CVP-ORACLE-01": {
      "result": "PASS",
      "applicability": "higher_assurance",
      "notes": "O3 15/15 tabulated vectors vs IUT"
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "expert_reviewed=false"
    }
  },
  "tests": {
    "golden": {
      "passed": 3,
      "total": 3,
      "failed": 0,
      "case_ids": [
        "g-antilog-100",
        "g-antilog-1",
        "g-antilog-e"
      ]
    },
    "boundary": {
      "passed": 19,
      "total": 19,
      "failed": 0,
      "case_ids": [
        "invalid-base-1",
        "invalid-base-0",
        "invalid-base-neg",
        "empty-y",
        "nan-y",
        "overflow",
        "underflow",
        "overflow-309",
        "y-infinity",
        "y-nan",
        "y-abc",
        "y-whitespace",
        "y-null",
        "y-object",
        "y-array",
        "y-boolean",
        "b-object",
        "b-array",
        "boundary-antilog-base1"
      ]
    },
    "invalid": {
      "passed": 19,
      "total": 19,
      "failed": 0,
      "case_ids": [
        "invalid-base-1",
        "invalid-base-0",
        "invalid-base-neg",
        "empty-y",
        "nan-y",
        "overflow",
        "underflow",
        "overflow-309",
        "y-infinity",
        "y-nan",
        "y-abc",
        "y-whitespace",
        "y-null",
        "y-object",
        "y-array",
        "y-boolean",
        "b-object",
        "b-array",
        "boundary-antilog-base1"
      ]
    },
    "property": {
      "passed": 5,
      "total": 5,
      "failed": 0,
      "case_ids": [
        "prop-b-0-10",
        "prop-b-0-2",
        "prop-b-0-e",
        "prop-10-1",
        "prop-reciprocal-2"
      ],
      "definition_ids": [
        "b-to-zero",
        "b-to-one",
        "b-neg-y"
      ]
    },
    "round_trip": {
      "passed": 5,
      "total": 5,
      "failed": 0,
      "case_ids": [
        "rt-common-3",
        "rt-common-0",
        "rt-binary-3",
        "rt-natural-3",
        "rt-half-2"
      ]
    },
    "metamorphic": {
      "passed": 4,
      "total": 4,
      "failed": 0,
      "case_ids": [
        "meta-add-10",
        "meta-add-2",
        "meta-add-e",
        "meta-neg-2"
      ],
      "definition_ids": [
        "b-u-plus-v",
        "b-neg-y"
      ]
    },
    "contract": {
      "passed": 1,
      "total": 1,
      "failed": 0
    },
    "cross_interface": {
      "passed": 20,
      "total": 20,
      "failed": 0,
      "case_ids": [
        "iface-antilog",
        "iface-err-invalid-base-1",
        "iface-err-invalid-base-0",
        "iface-err-invalid-base-neg",
        "iface-err-empty-y",
        "iface-err-nan-y",
        "iface-err-overflow",
        "iface-err-underflow",
        "iface-err-overflow-309",
        "iface-err-y-infinity",
        "iface-err-y-nan",
        "iface-err-y-abc",
        "iface-err-y-whitespace",
        "iface-err-y-null",
        "iface-err-y-object",
        "iface-err-y-array",
        "iface-err-y-boolean",
        "iface-err-b-object",
        "iface-err-b-array",
        "iface-err-boundary-antilog-base1"
      ]
    },
    "ui_integration": {
      "passed": 4,
      "total": 4,
      "failed": 0,
      "case_ids": [
        "ui-antilog-0",
        "ui-antilog-1",
        "ui-antilog-2",
        "ui-antilog-3"
      ]
    },
    "o3": {
      "passed": 15,
      "total": 15,
      "failed": 0,
      "case_ids": [
        "o3-antilog-10-0.0",
        "o3-antilog-10-1.0",
        "o3-antilog-10-2.0",
        "o3-antilog-10-3.0",
        "o3-antilog-10--1.0",
        "o3-antilog-2-3",
        "o3-antilog-e-1",
        "o3-antilog-e-0",
        "o3-antilog-10-half",
        "o3-antilog-2-cbrt",
        "o3-antilog-e-3",
        "o3-antilog-near-base-one",
        "o3-antilog-10-308",
        "o3-antilog-10-neg323",
        "o3-antilog-tiny-base"
      ],
      "generator_id": "math-mpmath-o3",
      "seed": "20260907",
      "max_error_ulp": 1
    }
  },
  "coverage": {
    "partitions": [
      {
        "id": "antilog",
        "description": "x = b^y",
        "exercised": true,
        "case_count": 46
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 19
      }
    ]
  },
  "numerical": {
    "representation": "IEEE-754 binary64 b**y / Math.exp",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "Independent exponentiation vs IUT antilog; ≤2 ULP. Declared a priori.",
      "declared_before_evaluation": true
    },
    "legacy_regression_notes": "Legacy Evidence JSON may record case-level tol (e.g. 1e-8). That is a regression epsilon, not the CVP ≤2 ULP acceptance policy. CVP records list reference, actual, error_ulp, and the a-priori ULP threshold.",
    "max_error_observed": 1,
    "records": [
      {
        "id": "g-antilog-100",
        "reference": 100,
        "actual": 100,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "g-antilog-1",
        "reference": 1,
        "actual": 1,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "g-antilog-e",
        "reference": 2.718281828459045,
        "actual": 2.718281828459045,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10-0.0",
        "reference": 1,
        "actual": 1,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10-1.0",
        "reference": 10,
        "actual": 10,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10-2.0",
        "reference": 100,
        "actual": 100,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10-3.0",
        "reference": 1000,
        "actual": 1000,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10--1.0",
        "reference": 0.1,
        "actual": 0.1,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-2-3",
        "reference": 8,
        "actual": 8,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-e-1",
        "reference": 2.718281828459045,
        "actual": 2.718281828459045,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-e-0",
        "reference": 1,
        "actual": 1,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10-half",
        "reference": 3.1622776601683795,
        "actual": 3.1622776601683795,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-2-cbrt",
        "reference": 1.2599210498948732,
        "actual": 1.2599210498948732,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-e-3",
        "reference": 20.085536923187668,
        "actual": 20.085536923187668,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-near-base-one",
        "reference": 1.000000000000002,
        "actual": 1.0000000000000022,
        "error_ulp": 1,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10-308",
        "reference": 1e+308,
        "actual": 1e+308,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-10-neg323",
        "reference": 1e-323,
        "actual": 1e-323,
        "error_ulp": 0,
        "threshold_ulp": 2
      },
      {
        "id": "o3-antilog-tiny-base",
        "reference": 1e-200,
        "actual": 1e-200,
        "error_ulp": 0,
        "threshold_ulp": 2
      }
    ]
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp",
      "ui-url-result-graph"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). Success 1/1. Error-path engine·REST·MCP 19/19 (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. Integration: URL → SSR result → Live graph current point (4/4). Hydration/slider/history are URL-canonical contracts, not a live browser session."
  },
  "artifacts": {
    "evidence_bundle_sha256": "1eebe086faf537f29b472d01dccfe26f576a3b31979ed7e56bde5c470782b714",
    "evidence_digest": "ab8e531bb15d4e6de5be37d41c37b6406ef2819faa47e6b0e502b6b6d23c4b6f",
    "production_sha256": "9424f31d3ca937ec4a453e41479201945df6495214f0a220ebb742e7fd1c3f20",
    "attested_catalog_sha256": "e03ef81b30568018b171fd1fc4757c2abe9df7220d9ff35bbaf08038d7630cdb",
    "production_checks": [
      {
        "id": "math.antilog:output-const",
        "status": "pass",
        "detail": "output const 1.0.5 vs capability 1.0.5",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.antilog:evidence-sha256",
        "status": "pass",
        "detail": "0660ca78d621",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.antilog:semantic-contract",
        "status": "pass",
        "detail": "33/33",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.antilog:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.0.5 vs origin 1.0.5",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.antilog:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "math.antilog/1.0.5/-/core/ab8e531bb15d",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z",
        "projection_compared": false,
        "observed_live_projection_at_attestation": "VERIFIED"
      },
      {
        "id": "math.antilog:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Manifest",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      },
      {
        "id": "math.antilog:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Manifest",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-10T02:52:51.379Z"
      }
    ]
  },
  "dependencies": [
    {
      "name": "antilog-engine",
      "version": "1.0.5"
    },
    {
      "name": "antilog-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "antilog-o3-mpmath-table",
      "version": "math-mpmath-o3"
    },
    {
      "name": "node",
      "version": "20.19.2"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "00c818a77ba026c2d6aa3f7402680cd2dac2a40a816209600bc3c3fcd0b8921c",
    "attested_at": "2026-09-10T02:52:51.379Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.0.5"
  },
  "timestamps": {
    "verified_at": "2026-09-10T03:41:49.670Z",
    "generated_at": "2026-09-10T03:41:49.670Z"
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/math.antilog/1.0.5.json",
    "evidence_page": "https://www.calculatorx.com/evidence/math.antilog/1.0.5",
    "calculator": "https://www.calculatorx.com/calc/math/anti-log",
    "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.antilog/1.0.5.cvp.json"
  }
}
