lean2/src/library/blast/intros_action.h

18 lines
578 B
C
Raw Normal View History

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
#include "library/blast/action_result.h"
2015-11-09 03:18:40 +00:00
namespace lean {
namespace blast {
/** \brief Introduce upto \c max hypotheses.
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);
/** \brief Keep introducing until target is not a Pi-type. */
action_result intros_action();
2015-11-09 03:18:40 +00:00
}}