Accumulated-value diagnostic

The statement differs between program versions. Each verdict below belongs to the statement shown on its page.

Accumulated-value diagnostic

Open
parse_number
Accumulated-value diagnostic. For every unsigned numeric literal, a returned record with many_digits = false represents its accumulated-exponent value exactly as mantissa * 10^exponent. With many_digits = true, that value lies in the half-open interval from mantissa * 10^exponent to (mantissa + 1) * 10^exponent.

This snapshot lacks a unique goal binding with committed coverage.

Supporting proofs
Inspect related source (46)
More program dependencies (35)
Standard-library dependencies (8)

Related source and models come from the extraction records and declared dependencies.

Compare requirement statements

Revised program

parse_number
Conditional accumulated-value diagnostic. For every source-valid unsigned numeric byte slice of length at most 3 EiB, any returned record with many_digits = false represents its accumulated-exponent value exactly as mantissa * 10^exponent. With many_digits = true, that value lies in the half-open interval from mantissa * 10^exponent to (mantissa + 1) * 10^exponent. The accumulated-exponent value retains every significand digit and uses the actual source's bounded explicit-exponent accumulation rule.

Read this version’s verdict and proof

Models and assumptions

Program assumptions and trust

These modeling choices occur in the declared dependencies of this requirement’s proofs.