@@ -165,7 +165,7 @@ int bdd_enginet::operator()()
165165 cmdline, transition_system, message.get_message_handler ());
166166
167167 for (const propertyt &p : properties.properties )
168- get_atomic_propositions (p.expr );
168+ get_atomic_propositions (p.normalized_expr );
169169
170170 message.status () << " Building BDD for netlist" << messaget::eom;
171171
@@ -376,7 +376,7 @@ void bdd_enginet::compute_counterexample(
376376
377377 ::unwind (netlist, bmc_map, message, solver);
378378 ::unwind_property (
379- property.expr ,
379+ property.normalized_expr ,
380380 property.timeframe_literals,
381381 message.get_message_handler(),
382382 solver,
@@ -450,17 +450,18 @@ void bdd_enginet::check_property(propertyt &property)
450450 !has_temporal_operator (to_F_expr (to_G_expr (expr).op ()).op ());
451451 };
452452
453- if (is_AGp (property.expr ))
453+ if (is_AGp (property.normalized_expr ))
454454 {
455455 AGp (property);
456456 }
457457 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 ))
460461 {
461462 AGAFp (property);
462463 }
463- else if (!has_temporal_operator (property.expr ))
464+ else if (!has_temporal_operator (property.normalized_expr ))
464465 {
465466 just_p (property);
466467 }
@@ -482,7 +483,7 @@ Function: bdd_enginet::AGp
482483
483484void bdd_enginet::AGp (propertyt &property)
484485{
485- const exprt &sub_expr = to_unary_expr (property.expr ).op ();
486+ const exprt &sub_expr = to_unary_expr (property.normalized_expr ).op ();
486487 BDD p = property2BDD (sub_expr);
487488
488489 // Start with !p, and go backwards until saturation or we hit an
@@ -563,7 +564,8 @@ Function: bdd_enginet::AGAFp
563564
564565void bdd_enginet::AGAFp (propertyt &property)
565566{
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 ();
567569 BDD p = property2BDD (sub_expr);
568570
569571 // Start with p, and go backwards until saturation.
@@ -648,7 +650,7 @@ void bdd_enginet::just_p(propertyt &property)
648650{
649651 // We check whether the BDD for the negation of the property
650652 // contains an initial state.
651- exprt negation = negate_property (property.expr );
653+ exprt negation = negate_property (property.normalized_expr );
652654 BDD states = property2BDD (negation);
653655
654656 // do we have an initial state?
0 commit comments