2013-12-05 11:22:12 +00:00
|
|
|
/*
|
2014-06-30 01:26:07 +00:00
|
|
|
Copyright (c) 2013-2014 Microsoft Corporation. All rights reserved.
|
2013-12-05 11:22:12 +00:00
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
2014-06-30 01:26:07 +00:00
|
|
|
#include "util/lua.h"
|
2014-10-23 16:01:19 +00:00
|
|
|
#include "library/tactic/elaborate.h"
|
2013-12-05 11:22:12 +00:00
|
|
|
namespace lean {
|
2015-05-01 03:18:24 +00:00
|
|
|
proof_state_seq apply_tactic_core(environment const & env, io_state const & ios, proof_state const & s, expr const & e, constraint_seq const & cs);
|
2015-06-16 19:03:31 +00:00
|
|
|
proof_state_seq fapply_tactic_core(environment const & env, io_state const & ios, proof_state const & s, expr const & e, constraint_seq const & cs);
|
2015-05-01 19:45:21 +00:00
|
|
|
tactic apply_tactic_core(expr const & e, constraint_seq const & cs = constraint_seq());
|
2014-11-30 03:20:41 +00:00
|
|
|
tactic apply_tactic(elaborate_fn const & fn, expr const & e);
|
|
|
|
tactic fapply_tactic(elaborate_fn const & fn, expr const & e);
|
2014-10-29 15:57:34 +00:00
|
|
|
tactic eassumption_tactic();
|
2015-05-03 00:32:03 +00:00
|
|
|
tactic assumption_tactic();
|
2014-10-21 00:32:32 +00:00
|
|
|
void initialize_apply_tactic();
|
|
|
|
void finalize_apply_tactic();
|
2013-12-05 11:22:12 +00:00
|
|
|
}
|