Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slice in IC3IA only if generated property was in input system #1081

Merged
merged 1 commit into from
Jul 29, 2024
Merged
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
11 changes: 8 additions & 3 deletions src/ic3ia/IC3IA.ml
Original file line number Diff line number Diff line change
Expand Up @@ -940,11 +940,16 @@ let main fwd slice_to_prop prop in_sys param sys =

let sys =
if slice_to_prop then (
(* Only slice if the property does not contain instantiated variables *)
(* The current slicing procedure works on the input system, not the transition system *)
(* Only slice if the property was already present in the original input system.
The current slicing procedure works on the input system, not the transition system *)
match prop.Property.prop_source with
| Assumption _ -> sys (* An instantiated var is also involved, local sofar var *)
| Instantiated _ -> sys
(* Instantiated properties are only included in the transition system *)
| Assumption _ -> sys
(* An instantiated var, local sofar var, is involved. *)
| Generated (None, _) -> sys
(* Currently, only generated properties with an associated position were already
present in the original input system *)
| _ -> fst (InputSystem.trans_sys_of_analysis ~slice_to_prop:prop in_sys param)
)
else sys
Expand Down
Loading