Skip to content

Commit bade670

Browse files
author
GBathie
committed
fix: weaknext on empty traces
1 parent 181694f commit bade670

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

BoltLean/Ltl.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ namespace Formula
2121
def accepts (phi: Formula n) (t: Trace n): Prop :=
2222
match t with
2323
| .nil => match phi with
24-
| True | WeakNext _ | Globally _ => _root_.True
25-
| False | Finally _ | Var _ _ | Next _ | Until _ _ => _root_.False
24+
| True | Globally _ => _root_.True
25+
| False | Finally _ | Var _ _ | Next _ | WeakNext _ | Until _ _ => _root_.False
2626
| Or psi1 psi2 => (accepts psi1 t) ∨ (accepts psi2 t)
2727
| And psi1 psi2 => (accepts psi1 t) ∧ (accepts psi2 t)
2828
| head::tail => match phi with

0 commit comments

Comments
 (0)