2013-11-27 03:15:49 +00:00
|
|
|
/*
|
2014-06-27 18:11:12 +00:00
|
|
|
Copyright (c) 2013-2014 Microsoft Corporation. All rights reserved.
|
2013-11-27 03:15:49 +00:00
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
2013-11-27 22:57:33 +00:00
|
|
|
#include "util/script_state.h"
|
2013-11-27 03:15:49 +00:00
|
|
|
#include "library/tactic/goal.h"
|
2014-06-27 21:49:48 +00:00
|
|
|
#include "library/tactic/proof_state.h"
|
2014-06-28 01:35:59 +00:00
|
|
|
#include "library/tactic/tactic.h"
|
2014-06-27 18:11:12 +00:00
|
|
|
// #include "library/tactic/simplify_tactic.h"
|
2013-11-27 03:15:49 +00:00
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
inline void open_tactic_module(lua_State * L) {
|
|
|
|
open_goal(L);
|
2014-06-27 21:49:48 +00:00
|
|
|
open_proof_state(L);
|
2014-06-28 01:35:59 +00:00
|
|
|
open_tactic(L);
|
2014-06-27 18:11:12 +00:00
|
|
|
// open_simplify_tactic(L);
|
2013-11-27 03:15:49 +00:00
|
|
|
}
|
2013-11-27 22:57:33 +00:00
|
|
|
inline void register_tactic_module() {
|
|
|
|
script_state::register_module(open_tactic_module);
|
|
|
|
}
|
2013-11-27 03:15:49 +00:00
|
|
|
}
|