spock-cli 0.2.0

A model checker for specs that read like Rust: TLA's logic of actions, checked on every core in machine code
// Three errors, in a constant, an action and a function, which `spock check` reports together.

const N: Int = true;

struct State {
    x: Int,
}

impl State {
    action init() -> State {
        State { x: 0 }
    }

    action next(self) -> State {
        self with { x = self.y }
    }

    fn small(self) -> Bool {
        self.x
    }
}

model m {
    init = State::init;
    next = State::next;
    invariants = [State::small];
}