Files
pplus-library/pseudo/prover/sum-float-rounding.pseudo
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

7 lines
271 B
Plaintext

// A FLOAT sum rounds at every step: 1E16 + 1.0 is 1E16. The checker extends
// SUM over [0, 3) from SUM over [0, 2) by exact addition.
// MUST-NOT-PROVE: assert@6
DECLARE L : LIST OF FLOAT
L <- [1E16, 0.0, 1.0]
ASSERT (SUM K IN [0, 3) : L[K]) > (SUM K IN [0, 2) : L[K])