3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-02 05:59:29 +00:00
z3/src/smt/uses_theory.h
Nikolaj Bjorner 4bc044c982 update header guards to be C++ style. Fixes issue #9
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07:00

37 lines
699 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.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_ */