11
11
#include < util/string2int.h>
12
12
13
13
#include < temporal-logic/temporal_logic.h>
14
- #include < trans-word-level/instantiate_word_level.h>
14
+ #include < trans-word-level/obligations.h>
15
+ #include < trans-word-level/property.h>
15
16
#include < trans-word-level/trans_trace_word_level.h>
16
17
#include < trans-word-level/unwind.h>
17
18
@@ -261,7 +262,7 @@ void k_inductiont::induction_step()
261
262
const exprt &p = to_unary_expr (property.normalized_expr ).op ();
262
263
for (std::size_t c = 0 ; c < no_timeframes; c++)
263
264
{
264
- exprt tmp = instantiate (p, c, no_timeframes);
265
+ exprt tmp = property_obligations (p, c, no_timeframes). conjunction (). second ;
265
266
solver.set_to_true (tmp);
266
267
}
267
268
}
@@ -272,13 +273,13 @@ void k_inductiont::induction_step()
272
273
// assumption: time frames 0,...,k-1
273
274
for (std::size_t c = 0 ; c < no_timeframes - 1 ; c++)
274
275
{
275
- exprt tmp = instantiate (p, c, no_timeframes - 1 ) ;
276
+ exprt tmp = property_obligations (p, c, no_timeframes- 1 ). conjunction (). second ;
276
277
solver.set_to_true (tmp);
277
278
}
278
279
279
280
// property: time frame k
280
281
{
281
- exprt tmp = instantiate (p, no_timeframes - 1 , no_timeframes);
282
+ exprt tmp = property_obligations (p, no_timeframes -1 , no_timeframes). conjunction (). second ;
282
283
solver.set_to_false (tmp);
283
284
}
284
285
0 commit comments