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
// A counter whose declared range its steps leave, to check how a range check is reported.

struct State {
    x: 0..3,
}

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

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

model m {
    init = State::init;
    next = State::next;
}