Skip to content

Commit

Permalink
Add basic tests for binder-forall equivalence.
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrej33 committed Dec 19, 2023
1 parent 23c2c9d commit 1384bd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/model_checking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,12 @@ $DivK: (!PleC & DivJ)
"~(3{x}: 3{y}: (@{x}: ~{y} & AX {x}) & (@{y}: AX {y}))",
"V{x}: V{y}: (@{x}: {y} | ~(!{z}: AX {z})) | (@{y}: ~(!{z}: AX {z}))",
),
// binder and forall equivalence v1
("!{x}: AG EF {x}", "V{x}: ({x} => (AG EF {x}))"),
// binder and forall equivalence v2
("!{x}: AX {x}", "V{x}: ({x} => (AX {x}))"),
// binder and forall equivalence v3
("!{x}: AF {x}", "V{x}: ({x} => (AF {x}))"),
];

for (formula1, formula2) in equivalent_formulae_pairs {
Expand Down

0 comments on commit 1384bd4

Please sign in to comment.