Expand description
The entry to the receive and choice checks (check_graphs), their
reporter ([Graph]) and the satisfiability procedure behind the guards
([satisfiable]).
Where a message is taken is read off the graph of microkit.notified,
whose head is the out-edges of init (recv_head.rs): a notified that
receives at all receives at its head. The guard rule is read
off the typed term of the notified and the protected body
(guarded_choice.rs): the graph conjoins an enclosing guard onto the
choice it guards, and the rule is per choice. Init (the Lean’s
InitWf) is not checked.
A helper reached twice is checked twice; a finding is reported once per message and span. It names the process it is written in and points at the branch’s guard, else its event, else the process.
[satisfiable] over-approximates: a finding may be spurious, a clean
result is a proof.
Functions§
- check_
graphs - Check every PD’s notified graph (
recv_head.rs,guarded_choice.rs) and, off its head, its protected graph (guarded_choice.rs).