Add set.map signature to lfsc (#8860)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Tue, 7 Jun 2022 03:37:32 +0000 (22:37 -0500)
committerGitHub <noreply@github.com>
Tue, 7 Jun 2022 03:37:32 +0000 (22:37 -0500)
Fix buildbot failure

proofs/lfsc/signatures/theory_def.plf
src/theory/sets/theory_sets_private.cpp

index eb2c34991486a45e16df387d5e39fa1bfab3e7bb..df0abe39594164a8575126b2cf0bb2fae5f99ebe 100644 (file)
 (define rel.join_image (# x term (# y term (apply (apply f_rel.join_image x) y))))
 (declare f_set.insert term)
 (define set.insert (# x term (# y term (apply (apply f_set.insert x) y))))
+(declare f_set.map term)
+(define set.map (# x term (# y term (apply (apply f_set.map x) y))))
 
 ;; ---- Bags
 (declare bag.empty (! s sort term))
index aceaafe74406577b41ef900bb73cd02263cc76b8..4aae37ecfcf3440be83a5be82a0f7e3a14b8fcfa 100644 (file)
@@ -57,6 +57,7 @@ TheorySetsPrivate::TheorySetsPrivate(Env& env,
       d_cardSolver(new CardinalityExtension(d_env, state, im, d_treg)),
       d_rels_enabled(false),
       d_card_enabled(false),
+      d_higher_order_kinds_enabled(false),
       d_cpacb(cpacb)
 {
   d_true = NodeManager::currentNM()->mkConst(true);
@@ -198,6 +199,7 @@ void TheorySetsPrivate::fullEffortReset()
   Assert(d_equalityEngine->consistent());
   d_fullCheckIncomplete = false;
   d_fullCheckIncompleteId = IncompleteId::UNKNOWN;
+  d_higher_order_kinds_enabled = false;
   d_card_enabled = false;
   d_rels_enabled = false;
   // reset the state object