2013-08-14 19:00:11 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
2014-02-16 18:15:00 +00:00
|
|
|
#include "kernel/expr.h"
|
2013-08-14 19:00:11 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
/** \brief Return true iff \c n occurs in \c m */
|
|
|
|
bool occurs(expr const & n, expr const & m);
|
|
|
|
/** \brief Return true iff there is a constant named \c n in \c m. */
|
|
|
|
bool occurs(name const & n, expr const & m);
|
|
|
|
}
|