Skip to content

Commit

Permalink
[NLS] fix bug in circular definition of predicate's footprint and rea…
Browse files Browse the repository at this point in the history
…chability
  • Loading branch information
TDacik committed Oct 10, 2024
1 parent d19054c commit 585aa98
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/translation/predicate_encoding/NLS_Encodings.ml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,8 @@ module Default (Context : CONTEXT) = struct
let types = Locations.mk_set_of_type ctx.locs top_path Sort.loc_nls in

let loc = Variable.mk_fresh "loc" loc_sort in
let precond =
Boolean.mk_and [
Locations.mk_of_type ctx.locs loc Sort.loc_nls;
Set.mk_mem loc domain
]
in
let precond = Set.mk_mem loc top_path in

let bounds = nested_bounds.default :: nested_bounds.concrete in
let i_bounds = Interval.meet_list bounds in
let i_bounds = Interval.minus i_bounds (1, 1) in
Expand Down

0 comments on commit 585aa98

Please sign in to comment.