Skip to content

Commit

Permalink
Add missing substitution case for NLS
Browse files Browse the repository at this point in the history
  • Loading branch information
TDacik committed Nov 19, 2024
1 parent 383b824 commit c327204
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SSL/SSL.ml
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ let rec substitute ?(bounded=[]) phi v term = match phi with
| DLS (x, y, f, l) ->
DLS (substitute ~bounded x v term, substitute ~bounded y v term,
substitute ~bounded f v term, substitute ~bounded l v term)
| NLS (x, y, z) ->
NLS (substitute ~bounded x v term, substitute ~bounded y v term,
substitute ~bounded z v term)
| And (psi1, psi2) -> And (substitute ~bounded psi1 v term, substitute ~bounded psi2 v term)
| Or (psi1, psi2) -> Or (substitute ~bounded psi1 v term, substitute ~bounded psi2 v term)
| Not psi -> Not (substitute ~bounded psi v term)
Expand Down

0 comments on commit c327204

Please sign in to comment.