mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 09:44:43 +00:00
Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3f9edad676
commit
e9eab22e5c
1186 changed files with 381859 additions and 0 deletions
37
lib/uses_theory.h
Normal file
37
lib/uses_theory.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*++
|
||||
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_ */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue