Skip to content

Commit a16080f

Browse files
authored
Merge pull request #1263 from diffblue/k_induction_liveness_to_safety
k-induction: remove redundant call to liveness_to_safety
2 parents c9b9f62 + f9c5f6f commit a16080f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/ebmc/k_induction.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Function: k_induction
140140

141141
property_checker_resultt k_induction(
142142
const cmdlinet &cmdline,
143-
transition_systemt &transition_system,
143+
const transition_systemt &transition_system,
144144
ebmc_propertiest &properties,
145145
message_handlert &message_handler)
146146
{
@@ -158,10 +158,6 @@ property_checker_resultt k_induction(
158158
if(properties.properties.empty())
159159
throw ebmc_errort() << "no properties";
160160

161-
// liveness to safety translation, if requested
162-
if(cmdline.isset("liveness-to-safety"))
163-
liveness_to_safety(transition_system, properties);
164-
165161
// Are there any properties suitable for k-induction?
166162
// Fail early if not.
167163
if(!k_inductiont::have_supported_property(properties.properties))

src/ebmc/k_induction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ebmc_propertiest;
2020

2121
[[nodiscard]] property_checker_resultt k_induction(
2222
const cmdlinet &,
23-
transition_systemt &,
23+
const transition_systemt &,
2424
ebmc_propertiest &,
2525
message_handlert &);
2626

0 commit comments

Comments
 (0)