2013-09-08 05:33:18 +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
|
2013-09-13 03:04:10 +00:00
|
|
|
#include "util/name_set.h"
|
|
|
|
#include "kernel/context.h"
|
|
|
|
#include "kernel/environment.h"
|
2013-09-08 05:33:18 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
bool is_head_beta(expr const & t);
|
|
|
|
expr head_beta_reduce(expr const & t);
|
|
|
|
expr head_reduce(expr const & t, environment const & e, context const & c = context(), name_set const * defs = nullptr);
|
|
|
|
}
|