3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00
z3/lib/uses_theory.h
Leonardo de Moura e9eab22e5c Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-02 11:35:25 -07:00

38 lines
702 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_ */