lean4-htt/src/library/compiler/lc_util.h

18 lines
490 B
C++

/*
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "kernel/expr.h"
namespace lean {
/* Return true if the given argument is mdata relevant to the compiler
Remark: we currently don't keep any metadata in the compiler. */
inline bool is_lc_mdata(expr const &) {
return false;
}
bool is_cases_on_recursor(environment const & env, name const & n);
}