lean2/src/library/simplifier/register_module.h
Leonardo de Moura feea96e84d feat(library/simplifier): add rewrite_rule_set extension for managing rewrite rules in an environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-18 15:43:24 -08:00

22 lines
585 B
C++

/*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include "util/script_state.h"
#include "library/simplifier/ceq.h"
#include "library/simplifier/rewrite_rule_set.h"
#include "library/simplifier/simplifier.h"
namespace lean {
inline void open_simplifier_module(lua_State * L) {
open_ceq(L);
open_rewrite_rule_set(L);
open_simplifier(L);
}
inline void register_simplifier_module() {
script_state::register_module(open_simplifier_module);
}
}