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

9 lines
328 B
Plaintext

// X * A + (X * 2 - X * A) is 2 * X. The checker adds the coefficients as
// doubles: A + 2 rounds to 2^53, minus A leaves 1, so it proves the sum is X.
// Every value in the run is below 2^53.
// INPUT: 1
// MUST-NOT-PROVE: assert@8
DECLARE X : INTEGER
INPUT X
ASSERT X * 9007199254740991 + (X * 2 - X * 9007199254740991) == X