3
0
Fork 0
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:
Nikolaj Bjorner 2020-10-12 11:24:08 -07:00
parent e683f4be21
commit 4f0c743e2b
8 changed files with 231 additions and 0 deletions

View 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) {}
}