Skip to content

Commit 56907a9

Browse files
committed
fixup! word-level BMC: remove parameters for solver + ns
1 parent 795ccf7 commit 56907a9

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/trans-word-level/property.cpp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -425,16 +425,15 @@ static obligationst property_obligations_rec(
425425
// Note that lhs and rhs are flipped.
426426
auto &until_with = to_sva_until_with_expr(property_expr);
427427
auto R = R_exprt{until_with.rhs(), until_with.lhs()};
428-
return property_obligations_rec(R, solver, current, no_timeframes, ns);
428+
return property_obligations_rec(R, current, no_timeframes, ns);
429429
}
430430
else if(property_expr.id() == ID_sva_s_until_with)
431431
{
432432
// Rewrite to LTL (strong) R.
433433
// Note that lhs and rhs are flipped.
434434
auto &s_until_with = to_sva_s_until_with_expr(property_expr);
435435
auto strong_R = strong_R_exprt{s_until_with.rhs(), s_until_with.lhs()};
436-
return property_obligations_rec(
437-
strong_R, solver, current, no_timeframes, ns);
436+
return property_obligations_rec(strong_R, current, no_timeframes, ns);
438437
}
439438
else if(property_expr.id() == ID_and)
440439
{
@@ -584,15 +583,14 @@ static obligationst property_obligations_rec(
584583
// ¬(φ W ψ) ≡ (¬φ strongR ¬ψ)
585584
auto &W = to_sva_until_expr(op);
586585
auto strong_R = strong_R_exprt{not_exprt{W.lhs()}, not_exprt{W.rhs()}};
587-
return property_obligations_rec(
588-
strong_R, solver, current, no_timeframes, ns);
586+
return property_obligations_rec(strong_R, current, no_timeframes, ns);
589587
}
590588
else if(op.id() == ID_sva_s_until)
591589
{
592590
// ¬(φ U ψ) ≡ (¬φ R ¬ψ)
593591
auto &U = to_sva_s_until_expr(op);
594592
auto R = R_exprt{not_exprt{U.lhs()}, not_exprt{U.rhs()}};
595-
return property_obligations_rec(R, solver, current, no_timeframes, ns);
593+
return property_obligations_rec(R, current, no_timeframes, ns);
596594
}
597595
else if(op.id() == ID_sva_until_with)
598596
{
@@ -601,7 +599,7 @@ static obligationst property_obligations_rec(
601599
auto &until_with = to_sva_until_with_expr(op);
602600
auto R = R_exprt{until_with.rhs(), until_with.lhs()};
603601
auto U = sva_until_exprt{not_exprt{R.lhs()}, not_exprt{R.rhs()}};
604-
return property_obligations_rec(U, solver, current, no_timeframes, ns);
602+
return property_obligations_rec(U, current, no_timeframes, ns);
605603
}
606604
else if(op.id() == ID_sva_s_until_with)
607605
{
@@ -611,7 +609,7 @@ static obligationst property_obligations_rec(
611609
auto strong_R = strong_R_exprt{s_until_with.rhs(), s_until_with.lhs()};
612610
auto W =
613611
weak_U_exprt{not_exprt{strong_R.lhs()}, not_exprt{strong_R.rhs()}};
614-
return property_obligations_rec(W, solver, current, no_timeframes, ns);
612+
return property_obligations_rec(W, current, no_timeframes, ns);
615613
}
616614
else
617615
return obligationst{

0 commit comments

Comments
 (0)