@@ -165,7 +165,7 @@ int bdd_enginet::operator()()
165
165
cmdline, transition_system, message.get_message_handler ());
166
166
167
167
for (const propertyt &p : properties.properties )
168
- get_atomic_propositions (p.expr );
168
+ get_atomic_propositions (p.normalized_expr );
169
169
170
170
message.status () << " Building BDD for netlist" << messaget::eom;
171
171
@@ -376,7 +376,7 @@ void bdd_enginet::compute_counterexample(
376
376
377
377
::unwind (netlist, bmc_map, message, solver);
378
378
::unwind_property (
379
- property.expr ,
379
+ property.normalized_expr ,
380
380
property.timeframe_literals,
381
381
message.get_message_handler(),
382
382
solver,
@@ -450,17 +450,18 @@ void bdd_enginet::check_property(propertyt &property)
450
450
!has_temporal_operator (to_F_expr (to_G_expr (expr).op ()).op ());
451
451
};
452
452
453
- if (is_AGp (property.expr ))
453
+ if (is_AGp (property.normalized_expr ))
454
454
{
455
455
AGp (property);
456
456
}
457
457
else if (
458
- is_AG_AFp (property.expr ) || is_always_eventually (property.expr ) ||
459
- is_GFp (property.expr ))
458
+ is_AG_AFp (property.normalized_expr ) ||
459
+ is_always_eventually (property.normalized_expr ) ||
460
+ is_GFp (property.normalized_expr ))
460
461
{
461
462
AGAFp (property);
462
463
}
463
- else if (!has_temporal_operator (property.expr ))
464
+ else if (!has_temporal_operator (property.normalized_expr ))
464
465
{
465
466
just_p (property);
466
467
}
@@ -482,7 +483,7 @@ Function: bdd_enginet::AGp
482
483
483
484
void bdd_enginet::AGp (propertyt &property)
484
485
{
485
- const exprt &sub_expr = to_unary_expr (property.expr ).op ();
486
+ const exprt &sub_expr = to_unary_expr (property.normalized_expr ).op ();
486
487
BDD p = property2BDD (sub_expr);
487
488
488
489
// Start with !p, and go backwards until saturation or we hit an
@@ -563,7 +564,8 @@ Function: bdd_enginet::AGAFp
563
564
564
565
void bdd_enginet::AGAFp (propertyt &property)
565
566
{
566
- const exprt &sub_expr = to_unary_expr (to_unary_expr (property.expr ).op ()).op ();
567
+ const exprt &sub_expr =
568
+ to_unary_expr (to_unary_expr (property.normalized_expr ).op ()).op ();
567
569
BDD p = property2BDD (sub_expr);
568
570
569
571
// Start with p, and go backwards until saturation.
@@ -648,7 +650,7 @@ void bdd_enginet::just_p(propertyt &property)
648
650
{
649
651
// We check whether the BDD for the negation of the property
650
652
// contains an initial state.
651
- exprt negation = negate_property (property.expr );
653
+ exprt negation = negate_property (property.normalized_expr );
652
654
BDD states = property2BDD (negation);
653
655
654
656
// do we have an initial state?
0 commit comments