Home Developers Evidence math.sum

Public evidence

math.sum

Machine-checked verification for calculation version 1.0.2 · tier engine_tested

Historical evidence. This page is version 1.0.2 · engine_tested · 31/31 tests. It is not the current published claim. Current evidence is 1.0.3 (31/31 tests) · latest.

CVP status

CVP VERIFIED · production STALE · CVP protocol 1.0.0-proposed · Core assurance

Declared partitions are sum-exact-decimal, sum-scientific, long-integer, long-decimal, invalid-domain — aligned with published algorithms (exact-decimal vs Neumaier) and Long addition integer/decimal work. O2 checks numeric totals; column-work strings are not an independent numerical claim.

Declared partition coverage
PASS · 5/5 declared partitions (sum-exact-decimal, sum-scientific, long-integer, long-decimal, invalid-domain)
Versions
Calculation 1.0.2 · CVP protocol 1.0.0-proposed · Evidence 2026-09-16.sources-no-wolfram
Verification revision
2026-09-16.sources-no-wolfram · 3/3 property · digest a295d54714a4

Verification

Legacy regression suite: 31/31 calculation tests · Production surface contract 5/5

Three distinct suites: educational examples on the calculator page, this legacy regression count (31/31 golden + boundary), and the CVP verification suite below. They are not the same number. Property, metamorphic, round-trip, O3, and interface statuses/checks are recorded in the CVP Manifest . SKIP (0/0) means that suite has no published vectors.

    STALE · Build schema 1.0.3 matches page · production binding STALE · Semantic contract ✓ · Last attestation PASS · current evidence changed · re-attestation required · CVP STALE · attestation STALE — Production CURRENT withheld · Public/cache ✓ · Origin ✓

CVP verification suite

Protocol checks from the Evidence Manifest. Distinct from the legacy regression suite above. Verification revision 2026-09-16.sources-no-wolfram. Calculation version 1.0.2. CVP 1.0.0-proposed. 10/10 golden · 6/6 CVP boundary · 9/9 invalid · 3/3 property · 1/1 metamorphic · 6/6 cross-interface · 3/3 CVP contract. digest a295d54714a4. Plain-decimal and long-addition goldens: exact sumStr identity vs independent BigInt rationals. Scientific-notation goldens: ≤2 ULP on value vs the same exact rational rounded to binary64. Tabulated vectors only — not a whole-domain ≤2 ULP guarantee, including unlisted cancellation or mixed-format lists.

  • Golden (oracle-backed) 10 / 10
  • CVP boundary 6 / 6
  • Invalid input 9 / 9
  • Property 3 / 3
  • Metamorphic 1 / 1
  • Cross-interface 6 / 6
  • CVP contract 3 / 3
  • Interfaces PASS · UI (SSR) / REST / MCP
  • Interface claim ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 1/1 (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.
  • Assurance Core
  • release artifacts aligned PASS
  • schema output required declared PASS
  • schema valid input executes PASS
  • engine success output validates schema PASS
  • rest success payload validates schema PASS

Fingerprint sha256:e3ac82f4c1bb576707a4d8daf7ff91087d01fa9496dfb8ffbe4bd8f5f1ff7bb0

Input schema sha256:bb22b7968bf29963c5e3912e6a6f9fa90f57f36d2d2830bfc206641805fc7fdb · Output schema sha256:9ad9d0010c16804531f21dc94fea93194a027fe033a3dd265e149e96d4a0c37a · Build-time SHA-256 digests prove published artifacts agree with each other (release_integrity.scope=workspace). Production attestation GETs canonical URLs twice (public/cached view and origin), including Capability HTML, via npm run attest:production --write (published at /.well-known/calculatorx-production-attestation.json) and fails if the public Capability page advertises a different calculation_version. This is artifact consistency, not an independent immutable release log.

Build & scope

Engine identity and declared limitations.

Tool
add
Engine
sum
Engine build
2026-10-14
Evidence core
2026-10-14T05:05:51.930Z
Rendered
2026-10-22T10:05:27.278Z
Last reviewed
—

Assumptions

  • Tokens are parsed as decimal numbers; scientific notation is allowed in Sum mode only.
  • Units are not parsed. 5 kg + 3 kg is treated as 5 + 3; the sum keeps whatever unit the inputs shared.
  • Thousands separators are not supported. A comma in 7,890 is a value separator (7 + 890), with a non-blocking warning.
  • Long addition pads decimal places with zeros so columns align.
  • Plain decimal tokens are summed in base-10 (exact). Any scientific-notation token switches the list to Neumaier compensated IEEE-754 summation.

Limitations

  • Missing values → MISSING_REQUIRED_INPUT
  • Long mode requires non-negative decimals without scientific notation
  • Too many values → TOO_MANY_VALUES

Sources

Standards and references supporting this tool specification. Methods are listed separately — they are algorithms, not bibliographic sources.

Methods

Algorithms this engine uses. Not external references.

Verification disclosure

Aggregate outcomes, scope and artifact commitments are public. Complete test inputs, expected values, execution records and oracle infrastructure are retained privately. This summary does not independently reproduce the full verification run.