Skip to content

Commit e67112f

Browse files
NYI control paths
1 parent ee1d393 commit e67112f

File tree

7 files changed

+22
-8
lines changed

7 files changed

+22
-8
lines changed

src/ackermannization/lackr_model_converter_lazy.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class lackr_model_converter_lazy : public model_converter {
4444

4545
model_converter * translate(ast_translation & translator) override {
4646
NOT_IMPLEMENTED_YET();
47+
return nullptr;
4748
}
4849

4950
void display(std::ostream & out) override {

src/muz/spacer/spacer_antiunify.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ class ncc_less_than_key
203203
bool naive_convex_closure::compute_closure(anti_unifier& au, ast_manager& m,
204204
expr_ref& result) {
205205
NOT_IMPLEMENTED_YET();
206+
return false;
206207
#if 0
207208
arith_util util(m);
208209

src/smt/asserted_formulas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ void asserted_formulas::set_eliminate_and(bool flag) {
138138
//m_params.set_bool("expand_nested_stores", true);
139139
m_params.set_bool("bv_sort_ac", true);
140140
// seq theory solver keeps terms in normal form and has to interact with side-effect of rewriting
141-
// m_params.set_bool("coalesce_chars", m_smt_params.m_string_solver != symbol("seq"));
141+
m_params.set_bool("coalesce_chars", m_smt_params.m_string_solver != symbol("seq"));
142142
m_params.set_bool("som", true);
143143
m_rewriter.updt_params(m_params);
144144
flush_cache();

src/smt/smt_induction.cpp

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,22 @@ void create_induction_lemmas::filter_abstractions(bool sign, abstractions& abs)
217217
* lit & a.eqs() => alpha
218218
* lit & a.eqs() & is-c(t) => ~beta
219219
*
220-
* where alpha = a.term()
220+
* where
221+
* lit = is a formula containing t
222+
* alpha = a.term(), a variant of lit
223+
* with some occurrences of t replaced by sk
221224
* beta = alpha[sk/access_k(sk)]
222225
* for each constructor c, that is recursive
223226
* and contains argument of datatype sort s
224227
*
228+
* The main claim is that the lemmas are valid and that
229+
* they approximate induction reasoning.
230+
*
231+
* alpha approximates minimal instance of the datatype s where
232+
* the instance of s is true. In the limit one can
233+
* set beta to all instantiations of smaller values than sk.
234+
*
235+
*
225236
* TBD: consider k-inductive lemmas.
226237
*/
227238
void create_induction_lemmas::create_lemmas(expr* t, expr* sk, abstraction& a, literal lit) {

src/smt/theory_seq.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,9 +1050,6 @@ bool theory_seq::add_solution(expr* l, expr* r, dependency* deps) {
10501050
}
10511051
m_new_solution = true;
10521052
m_rep.update(l, r, deps);
1053-
expr_ref sl(l, m);
1054-
m_rewrite(sl);
1055-
m_rep.update(sl, r, deps);
10561053
enode* n1 = ensure_enode(l);
10571054
enode* n2 = ensure_enode(r);
10581055
TRACE("seq", tout << mk_bounded_pp(l, m, 2) << " ==> " << mk_bounded_pp(r, m, 2) << "\n"; display_deps(tout, deps);

src/solver/solver_na2as.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class solver_na2as : public solver {
4949
lbool find_mutexes(expr_ref_vector const& vars, vector<expr_ref_vector>& mutexes) override;
5050
protected:
5151
virtual lbool check_sat_core2(unsigned num_assumptions, expr * const * assumptions) = 0;
52-
virtual lbool check_sat_cc_core(const expr_ref_vector &assumptions, vector<expr_ref_vector> const &clauses) { NOT_IMPLEMENTED_YET(); }
52+
virtual lbool check_sat_cc_core(const expr_ref_vector &assumptions, vector<expr_ref_vector> const &clauses) { NOT_IMPLEMENTED_YET(); return l_undef; }
5353
virtual void push_core() = 0;
5454
virtual void pop_core(unsigned n) = 0;
5555
};

src/tactic/sls/sls_tracker.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,10 @@ class sls_tracker {
638638
return get_random_bv(s);
639639
else if (m_manager.is_bool(s))
640640
return m_mpz_manager.dup(get_random_bool());
641-
else
641+
else {
642642
NOT_IMPLEMENTED_YET(); // This only works for bit-vectors for now.
643+
return get_random_bv(nullptr);
644+
}
643645
}
644646

645647
void randomize(ptr_vector<expr> const & as) {
@@ -962,8 +964,10 @@ class sls_tracker {
962964
return score_bool(n);
963965
else if (m_bv_util.is_bv(n))
964966
return score_bv(n);
965-
else
967+
else {
966968
NOT_IMPLEMENTED_YET();
969+
return 0;
970+
}
967971
}
968972

969973
ptr_vector<func_decl> & get_constants(expr * e) {

0 commit comments

Comments
 (0)