mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 19:47:52 +00:00
add stubs for arithmetic
This commit is contained in:
parent
e683f4be21
commit
4f0c743e2b
8 changed files with 231 additions and 0 deletions
40
src/sat/smt/arith_solver.cpp
Normal file
40
src/sat/smt/arith_solver.cpp
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*++
|
||||
Copyright (c) 2020 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
arith_solver.cpp
|
||||
|
||||
Abstract:
|
||||
|
||||
Theory plugin for arithmetic
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2020-09-08
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
|
||||
#include "sat/smt/euf_solver.h"
|
||||
#include "sat/smt/arith_solver.h"
|
||||
|
||||
|
||||
namespace arith {
|
||||
|
||||
solver::solver(euf::solver& ctx, theory_id id):
|
||||
th_euf_solver(ctx, symbol("arith"), id),
|
||||
a(m)
|
||||
{}
|
||||
|
||||
solver::~solver() {}
|
||||
|
||||
void solver::asserted(literal l) {}
|
||||
sat::check_result solver::check() { return sat::check_result::CR_DONE; }
|
||||
|
||||
euf::th_solver* solver::clone(sat::solver* s, euf::solver& ctx) { return nullptr;}
|
||||
void solver::new_eq_eh(euf::th_eq const& eq) {}
|
||||
bool solver::unit_propagate() { return false; }
|
||||
void solver::add_value(euf::enode* n, model& mdl, expr_ref_vector& values) {}
|
||||
void solver::add_dep(euf::enode* n, top_sort<euf::enode>& dep) {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue