2015-11-09 03:18:40 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
2015-11-18 20:27:24 +00:00
|
|
|
#include "library/blast/action_result.h"
|
2015-11-09 03:18:40 +00:00
|
|
|
namespace lean {
|
|
|
|
namespace blast {
|
2015-11-13 18:54:29 +00:00
|
|
|
/** \brief Introduce upto \c max hypotheses.
|
2015-11-18 20:27:24 +00:00
|
|
|
Return failed if there is nothing to introduce, that is, target is not a Pi-type.
|
|
|
|
\remark if max == 0, and it returns new_branch. */
|
|
|
|
action_result intros_action(unsigned max);
|
2015-11-13 18:54:29 +00:00
|
|
|
/** \brief Keep introducing until target is not a Pi-type. */
|
2015-11-18 20:27:24 +00:00
|
|
|
action_result intros_action();
|
2015-11-09 03:18:40 +00:00
|
|
|
}}
|