@@ -220,14 +220,14 @@ sequence_matchest instantiate_sequence(
220220 {
221221 auto &first_match = to_sva_sequence_first_match_expr (expr);
222222
223- const auto lhs_matches =
224- instantiate_sequence (first_match.lhs (), semantics, t, no_timeframes);
223+ const auto matches =
224+ instantiate_sequence (first_match.sequence (), semantics, t, no_timeframes);
225225
226226 // the match of seq with the earliest ending clock tick is a
227227 // match of first_match (seq)
228228 std::optional<mp_integer> earliest;
229229
230- for (auto &match : lhs_matches )
230+ for (auto &match : matches )
231231 {
232232 if (!earliest.has_value () || earliest.value () > match.end_time )
233233 earliest = match.end_time ;
@@ -238,7 +238,7 @@ sequence_matchest instantiate_sequence(
238238
239239 sequence_matchest result;
240240
241- for (auto &match : lhs_matches )
241+ for (auto &match : matches )
242242 {
243243 // Earliest?
244244 if (match.end_time == earliest.value ())
@@ -257,23 +257,23 @@ sequence_matchest instantiate_sequence(
257257 // - exp evaluates to true at each clock tick of the interval.
258258 auto &throughout = to_sva_sequence_throughout_expr (expr);
259259
260- const auto rhs_matches =
261- instantiate_sequence (throughout.rhs (), semantics, t, no_timeframes);
260+ const auto matches =
261+ instantiate_sequence (throughout.sequence (), semantics, t, no_timeframes);
262262
263263 sequence_matchest result;
264264
265- for (auto &rhs_match : rhs_matches )
265+ for (auto &match : matches )
266266 {
267- exprt::operandst conjuncts = {rhs_match .condition ()};
267+ exprt::operandst conjuncts = {match .condition ()};
268268
269- for (mp_integer new_t = t; new_t <= rhs_match .end_time ; ++new_t )
269+ for (mp_integer new_t = t; new_t <= match .end_time ; ++new_t )
270270 {
271271 auto obligations =
272272 property_obligations (throughout.lhs (), new_t , no_timeframes);
273273 conjuncts.push_back (obligations.conjunction ().second );
274274 }
275275
276- result.emplace_back (rhs_match .end_time , conjunction (conjuncts));
276+ result.emplace_back (match .end_time , conjunction (conjuncts));
277277 }
278278
279279 return result;
0 commit comments