Home Developers CVP Evidence Reproduce

CVP reproduce

math.exponent

Independent re-run pack: fixed input vectors, O3 expected values, oracle version, commands, and the last result summary. This is how a reader moves from “CalculatorX says it passed” to “I can reproduce why it passed.”

Identity

Calculation version, protocol version, and evidence revision are distinct.

Calculation version
1.0.4
CVP protocol
1.0.0-proposed · proposed
Evidence revision
2026-09-08.xcal
Oracle
O3 · mpmath 1.4.1 · 80 dps
Generator
math-mpmath-o3 · seed 20260907
Table SHA-256
efdad939a92a67df1f3995db36c52bb87f428a59fc73568f789c02540f4372ee

Numerical claim

O3 PASS is a tabulated-vector claim, not a whole-domain proof.

≤2 ULP vs O3 applies to the 6 published tabulated vectors ((2,10), (10,2), (5,0), (9,0.5), (2,−3), (e,1)). It is not a guarantee over all real bases and exponents.

  • Last O3 run 6 / 6
  • Max error observed 0 ULP
  • Threshold ≤ 2 ULP

Commands

Regenerate the table from the public generator. Independent REST check needs only this page's reproduce.json plus stdlib Python — no repo clone and no mpmath. The CVP runner remains a maintainer command.

Regenerate O3 table
python3 generate-math-o3.py after downloading the public generator next to the table
Repo maintainer path
python3 scripts/lib/cvp/oracles/generate-math-o3.py
Independent REST check
python3 check-math-o3-rest.py exponent after downloading check-math-o3-rest.py next to math-o3-tables.json (or pass --reproduce reproduce.json)
Re-run CVP
npm run cvp:run -- --capability math.exponent
REST check
POST https://www.calculatorx.com/api/v1/calc/exponent with a tabulated input from the table below

Re-running the generator without changing seed or inputs should reproduce table SHA-256 efdad939a92a67df1f3995db36c52bb87f428a59fc73568f789c02540f4372ee. Compare each expected_f64 to the production result within the declared ULP threshold.

Tabulated vectors

Every O3 vector used for the ≤2 ULP claim. Expected values come from the published mpmath table, not from the implementation under test.

IDKindInputsExpected (f64)ActualULPStatus
o3-exp-2-10interior{"a":2,"n":10}1024
1024.000000000000000000000000000000000000
10240PASS
o3-exp-10-2interior{"a":10,"n":2}100
100.0000000000000000000000000000000000000
1000PASS
o3-exp-5-0interior{"a":5,"n":0}1
1.000000000000000000000000000000000000000
10PASS
o3-exp-9-0.5interior{"a":9,"n":0.5}3
3.000000000000000000000000000000000000000
30PASS
o3-exp-2--3interior{"a":2,"n":-3}0.125
0.1250000000000000000000000000000000000000
0.1250PASS
o3-exp-2.718281828459045-1interior{"a":2.718281828459045,"n":1}2.718281828459045
2.718281828459045235360287471352662497757
2.7182818284590450PASS