9 lines
328 B
Plaintext
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
|