3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00
z3/src/smt/uses_theory.h
Nikolaj Bjorner b19f94ae5b make include paths uniformly use path relative to src. #534
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00

38 lines
704 B
C

/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
uses_theory.h
Abstract:
<abstract>
Author:
Leonardo de Moura (leonardo) 2008-10-21.
Revision History:
--*/
#ifndef USES_THEORY_H_
#define USES_THEORY_H_
#include "ast/ast.h"
/**
\brief Return true if the given expression contains a symbol of the given theory.
*/
bool uses_theory(expr * n, family_id fid);
/**
\brief Return true if the given expression contains a symbol of the given theory.
Only the expressions not marked as visited are checked. The set visited is updated
with the new checked expressions.
*/
bool uses_theory(expr * n, family_id fid, expr_mark & visited);
#endif /* USES_THEORY_H_ */