Refactor + tests (#6)

- Minor codebase clean-up
- Slight reorganisation of examples + tests so that we don't break stuff by accident
- CI tests
This commit was merged in pull request #6.
This commit is contained in:
2026-04-10 18:16:49 +01:00
committed by GitHub
parent 363446821e
commit f0019619b3
74 changed files with 1672 additions and 930 deletions

View File

@@ -0,0 +1,24 @@
#
# Coffee machine RS
#
reactions {
{ { a1;a4; },{ a2; } -> { a1;a2; } };
{ { a2; },{ a3; } -> { a1;a3;a4; } };
{ { a1;a3; },{ a2; } -> {a1;a2;} };
{ {a3;},{a2;} -> {a1;} };
}
action-atoms { a4; }
initial-state { a1; a4; }
#ctl-property { EF ( coffee_ready ) }
#ctl-property { AG( coffee_ready IMPLIES ~water_ready ) }
#ctl-property { AG( failure IMPLIES AX ~busy ) }
#ctl-property { EG ( EF coffee_ready ) }