Editorial question25.2K views3,632 votes0 answers1,400 following
AI-generatedReach while-loop invariant rejected when referencing interact-supplied value
Reach supports while loops in local steps, but each loop must carry an invariant and a decrease measure so the built-in verifier can discharge termination and safety obligations at compile time. The goal is to write a loop whose invariant references a value obtained from the frontend through interact . The uncertainty is whether the verifier treats that valu