Skip to content

Commit 02c43e5

Browse files
authored
Merge pull request #863 from diffblue/BMC-AX
BMC: AX
2 parents f917c93 + cdadedf commit 02c43e5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

regression/ebmc/BMC/AX1.desc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
AX1.smv
33
--bound 2
44
^\[spec1\] AX some_var = TRUE: REFUTED$
@@ -8,4 +8,3 @@ AX1.smv
88
--
99
^warning: ignoring
1010
--
11-
The BMC encoding fails on the temporal operator.

src/trans-word-level/property.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ static obligationst property_obligations_rec(
372372
return obligations;
373373
}
374374
else if(
375-
property_expr.id() == ID_X || property_expr.id() == ID_sva_nexttime ||
375+
property_expr.id() == ID_X || property_expr.id() == ID_AX ||
376+
property_expr.id() == ID_sva_nexttime ||
376377
property_expr.id() == ID_sva_s_nexttime)
377378
{
378379
const auto next = current + 1;
@@ -381,6 +382,8 @@ static obligationst property_obligations_rec(
381382
{
382383
if(expr.id() == ID_X)
383384
return to_X_expr(expr).op();
385+
else if(expr.id() == ID_AX)
386+
return to_AX_expr(expr).op();
384387
else if(expr.id() == ID_sva_nexttime)
385388
return to_sva_nexttime_expr(expr).op();
386389
else if(expr.id() == ID_sva_s_nexttime)

0 commit comments

Comments
 (0)