Skip to content

Commit 1d4f8c0

Browse files
author
Christoph M. Wintersteiger
committed
Typos
1 parent efa3c0f commit 1d4f8c0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/smt/smt_model_checker.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ namespace smt {
213213
return false; // get_some_value failed... giving up
214214
}
215215
TRACE("model_checker", tout << "Got some value " << sk_value << "\n";);
216-
216+
217217
if (use_inv) {
218218
unsigned sk_term_gen;
219219
expr * sk_term = m_model_finder.get_inv(q, i, sk_value, sk_term_gen);
@@ -337,18 +337,18 @@ namespace smt {
337337
flet<bool> l(m_aux_context->get_fparams().m_array_fake_support, true);
338338
lbool r = m_aux_context->check();
339339
TRACE("model_checker", tout << "[complete] model-checker result: " << to_sat_str(r) << "\n";);
340-
if (r != l_true) {
340+
if (r != l_true) {
341341
return r == l_false; // quantifier is satisfied by m_curr_model
342342
}
343343

344344
model_ref complete_cex;
345345
m_aux_context->get_model(complete_cex);
346-
346+
347347
// try to find new instances using instantiation sets.
348348
m_model_finder.restrict_sks_to_inst_set(m_aux_context.get(), q, sks);
349-
349+
350350
unsigned num_new_instances = 0;
351-
351+
352352
while (true) {
353353
flet<bool> l(m_aux_context->get_fparams().m_array_fake_support, true);
354354
lbool r = m_aux_context->check();
@@ -400,7 +400,7 @@ namespace smt {
400400
add_instance(q, args, 0, nullptr);
401401
return false;
402402
}
403-
TRACE("model_checker", tout << tmp << "\nevaluates to:\n" << result << "\n";);
403+
TRACE("model_checker", tout << tmp << "\nevaluates to:\n" << result << "\n";);
404404
}
405405
}
406406
return true;
@@ -501,29 +501,29 @@ namespace smt {
501501
for (quantifier * q : *m_qm) {
502502
if (m.is_rec_fun_def(q)) {
503503
rec_funs.insert(m.get_rec_fun_decl(q));
504-
}
504+
}
505505
}
506506
expr_fast_mark1 visited;
507507
has_rec_fun_proc proc(rec_funs);
508508
for (quantifier * q : *m_qm) {
509509
if (!m.is_rec_fun_def(q)) {
510510
quick_for_each_expr(proc, visited, q);
511511
if (proc.has_rec_fun()) return true;
512-
}
512+
}
513513
}
514514
return false;
515515
}
516516

517-
//
517+
//
518518
// (repeated from defined_names.cpp)
519519
// NB. The pattern for lambdas is incomplete.
520520
// consider store(a, i, v) == \lambda j . if i = j then v else a[j]
521521
// the instantiation rules for store(a, i, v) are:
522522
// sotre(a, i, v)[j] = if i = j then v else a[j] with patterns {a[j], store(a, i, v)} { store(a, i, v)[j] }
523523
// The first pattern is not included.
524-
// TBD use a model-based scheme for exracting instantiations instead of
524+
// TBD use a model-based scheme for extracting instantiations instead of
525525
// using multi-patterns.
526-
//
526+
//
527527

528528
void model_checker::check_quantifiers(bool strict_rec_fun, bool& found_relevant, unsigned& num_failures) {
529529
for (quantifier * q : *m_qm) {
@@ -607,7 +607,7 @@ namespace smt {
607607
if (inst.m_def) {
608608
m_context->internalize_assertion(inst.m_def, nullptr, gen);
609609
}
610-
610+
611611
TRACE("model_checker_bug_detail", tout << "instantiating... q:\n" << mk_pp(q, m) << "\n";
612612
tout << "inconsistent: " << m_context->inconsistent() << "\n";
613613
tout << "bindings:\n" << expr_ref_vector(m, num_decls, m_pinned_exprs.c_ptr() + offset) << "\n";);

0 commit comments

Comments
 (0)