Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,11 @@ rho(phi / psi,w,t) = rho(phi,w,t) / rho(psi,w,t)

% Numeric predicates
rho(phi <= psi,w,t) = rho(psi,w,t) - rho(phi,w,t)
rho(phi < psi,w,t) = rho(psi,w,t) - rho(phi,w,t)
rho(phi < psi,w,t) = rho(psi,w,t) - rho(phi,w,t) if rho(psi,w,t) - rho(phi,w,t) != 0
-sys.float_info.min otherwise
rho(phi >= psi,w,t) = rho(phi,w,t) - rho(psi,w,t)
rho(phi > psi,w,t) = rho(phi,w,t) - rho(psi,w,t)
rho(phi > psi,w,t) = rho(phi,w,t) - rho(psi,w,t) if rho(psi,w,t) - rho(phi,w,t) != 0
-sys.float_info.min otherwise
rho(phi == psi,w,t) = -|rho(phi,w,t) - rho(psi,w,t)|
rho(phi !== psi,w,t) = |rho(phi,w,t) - rho(psi,w,t)|

Expand All @@ -220,6 +222,8 @@ rho(not(phi),w,t) = -rho(phi,w,t)
rho(phi or psi,w,t) = max(rho(phi,w,t),rho(psi,w,t))
rho(phi and psi,w,t) = min(rho(phi,w,t),rho(psi,w,t))
rho(phi -> psi,w,t) = max(-rho(phi,w,t),rho(psi,w,t))
rho(phi -> psi,w,t) = rho(psi,w,t) if rho(phi,w,t) == 0
= max(-rho(phi,w,t),rho(psi,w,t)) otherwise
rho(phi <-> psi,w,t) = -|rho(phi,w,t) - rho(psi,w,t)|
rho(phi xor psi,w,t) = |rho(phi,w,t) - rho(psi,w,t)|

Expand Down
8 changes: 4 additions & 4 deletions rtamt/antlr/grammar/tl/LtlLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ FALSE
: ('false' | 'FALSE');

IntegerLiteral
: DecimalNumeral
: SignedInteger
| HexNumeral
| BinaryNumeral ;

Expand Down Expand Up @@ -288,9 +288,9 @@ RealLiteral
: DecimalRealLiteral ;

fragment DecimalRealLiteral
: Digits '.' Digits? ExponentPart?
| '.' Digits ExponentPart?
| Digits ExponentPart
: Sign? Digits '.' Digits? ExponentPart?
| Sign? '.' Digits ExponentPart?
| Sign? Digits ExponentPart
;

fragment ExponentPart
Expand Down
1,014 changes: 510 additions & 504 deletions rtamt/antlr/parser/ltl/LtlLexer.py

Large diffs are not rendered by default.

6,310 changes: 3,155 additions & 3,155 deletions rtamt/antlr/parser/ltl/LtlParser.py

Large diffs are not rendered by default.

Loading