~/bend-docscommunity

src/ez/prove.bend fails

raw source on the hub · import ezx@1.8.0.0/src/ez/prove.bend as Prove

ez/prove: the proof gate. Every PROOF.bend in the tree is run through bend, all of them at once, and a proof passes only when the first line bend prints is exactly ALL PROOFS CHECK. Nothing is cached: a gate CI leans on answers for the tree in front of it, not for one it saw before.

The line is the verdict, never the exit status. Since bend 2.0.32 a file with no main is answered ALL PROOFS CHECK or SOME PROOFS FAIL, and a proof that reaches an @unsafe def or foreign code, imports included, fails and exits 1 rather than passing with a note as 2.0.31 did. The gate reads the line all the same: a status says nothing about what was checked, and only that first line says every term was proved outright.

9 imports
import Base
import 0xead4c7939c9eaca8d47da53b4496b731/main.bend as R
import ../share/args.bend as Args
import ../share/env.bend as Env
import ../share/cap.bend as Cap
import ./quiet.bend as Q
import ./sorted.bend as Sort
import ../ez/ends.bend as E
import ../lock/run.bend as Run