z3-src 415.4.3

Source distribution of the Z3 SMT solver, for use as a build dependency
Documentation
/*++
Copyright (c) 2006 Microsoft Corporation

Module Name:

    uses_theory.h

Abstract:

    <abstract>

Author:

    Leonardo de Moura (leonardo) 2008-10-21.

Revision History:

--*/
#pragma once

#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);