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

24 lines
544 B
Plaintext

// The checker's own invariant guesses must be checked to a fixed point.
// Each pass shifts a value one variable further down a chain, so "F <= 0"
// survives the first four rounds of guessing and fails on the fifth. A
// checker that stopped guessing after four rounds assumed it, and proved
// the false ASSERT below.
// MUST-NOT-PROVE: assert@22
DECLARE A, B, C, D, E, F : INTEGER
A <- 0
B <- 0
C <- 0
D <- 0
E <- 0
F <- 0
FOR I <- 0 TO 10
F <- E
E <- D
D <- C
C <- B
B <- A
A <- A + 1
NEXT I
ASSERT F <= 0
OUTPUT F