lean2/src/library/blast/actions/intros_action.h
Leonardo de Moura 73622150a6 refactor(library/blast): move actions to actions folder
to make Daniel happy.
2015-12-04 10:00:04 -08:00

17 lines
578 B
C++

/*
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"
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();
}}