chore: update stage0
This commit is contained in:
parent
898eec78cd
commit
c96dfa54a4
59 changed files with 155830 additions and 15023 deletions
5
stage0/src/CMakeLists.txt
generated
5
stage0/src/CMakeLists.txt
generated
|
|
@ -511,7 +511,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
|||
# import libraries created by the stdlib.make targets
|
||||
string(APPEND LEANC_SHARED_LINKER_FLAGS " -lInit_shared -lleanshared_1 -lleanshared")
|
||||
elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
|
||||
string(APPEND LEANC_SHARED_LINKER_FLAGS " -Wl,-undefined,dynamic_lookup")
|
||||
# The second flag is necessary to even *load* dylibs without resolved symbols, as can happen
|
||||
# if a Lake `extern_lib` depends on a symbols defined by the Lean library but is loaded even
|
||||
# before definition.
|
||||
string(APPEND LEANC_SHARED_LINKER_FLAGS " -Wl,-undefined,dynamic_lookup -Wl,-no_fixup_chains")
|
||||
endif()
|
||||
# Linux ignores undefined symbols in shared libraries by default
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "util/options.h"
|
||||
|
||||
// please update stage0
|
||||
|
||||
namespace lean {
|
||||
options get_default_options() {
|
||||
options opts;
|
||||
|
|
|
|||
17
stage0/src/util/shell.cpp
generated
17
stage0/src/util/shell.cpp
generated
|
|
@ -223,6 +223,7 @@ static void display_help(std::ostream & out) {
|
|||
#endif
|
||||
std::cout << " --plugin=file load and initialize Lean shared library for registering linters etc.\n";
|
||||
std::cout << " --load-dynlib=file load shared library to make its symbols available to the interpreter\n";
|
||||
std::cout << " --setup=file JSON file with module setup data (supersedes the file's header)\n";
|
||||
std::cout << " --json report Lean output (e.g., messages) as JSON (one per line)\n";
|
||||
std::cout << " -E --error=kind report Lean messages of kind as errors\n";
|
||||
std::cout << " --deps just print dependencies of a Lean input\n";
|
||||
|
|
@ -273,6 +274,7 @@ static struct option g_long_options[] = {
|
|||
#endif
|
||||
{"plugin", required_argument, 0, 'p'},
|
||||
{"load-dynlib", required_argument, 0, 'l'},
|
||||
{"setup", required_argument, 0, 'u'},
|
||||
{"error", required_argument, 0, 'E'},
|
||||
{"json", no_argument, &json_output, 1},
|
||||
{"print-prefix", no_argument, &print_prefix, 1},
|
||||
|
|
@ -340,6 +342,7 @@ extern "C" object * lean_run_frontend(
|
|||
object * error_kinds,
|
||||
object * plugins,
|
||||
bool print_stats,
|
||||
object * header_file_name,
|
||||
object * w
|
||||
);
|
||||
option_ref<elab_environment> run_new_frontend(
|
||||
|
|
@ -351,7 +354,8 @@ option_ref<elab_environment> run_new_frontend(
|
|||
optional<std::string> const & ilean_file_name,
|
||||
uint8_t json_output,
|
||||
array_ref<name> const & error_kinds,
|
||||
bool print_stats
|
||||
bool print_stats,
|
||||
optional<std::string> const & setup_file_name
|
||||
) {
|
||||
return get_io_result<option_ref<elab_environment>>(lean_run_frontend(
|
||||
mk_string(input),
|
||||
|
|
@ -365,6 +369,7 @@ option_ref<elab_environment> run_new_frontend(
|
|||
error_kinds.to_obj_arg(),
|
||||
mk_empty_array(),
|
||||
print_stats,
|
||||
setup_file_name ? mk_option_some(mk_string(*setup_file_name)) : mk_option_none(),
|
||||
io_mk_world()
|
||||
));
|
||||
}
|
||||
|
|
@ -487,6 +492,7 @@ extern "C" LEAN_EXPORT int lean_main(int argc, char ** argv) {
|
|||
bool run = false;
|
||||
optional<std::string> olean_fn;
|
||||
optional<std::string> ilean_fn;
|
||||
optional<std::string> setup_fn;
|
||||
bool use_stdin = false;
|
||||
unsigned trust_lvl = LEAN_BELIEVER_TRUST_LEVEL + 1;
|
||||
bool only_deps = false;
|
||||
|
|
@ -638,6 +644,10 @@ extern "C" LEAN_EXPORT int lean_main(int argc, char ** argv) {
|
|||
lean::load_dynlib(optarg);
|
||||
forwarded_args.push_back(string_ref("--load-dynlib=" + std::string(optarg)));
|
||||
break;
|
||||
case 'u':
|
||||
check_optarg("u");
|
||||
setup_fn = optarg;
|
||||
break;
|
||||
case 'E':
|
||||
check_optarg("E");
|
||||
error_kinds.push_back(string_to_name(std::string(optarg)));
|
||||
|
|
@ -755,7 +765,10 @@ extern "C" LEAN_EXPORT int lean_main(int argc, char ** argv) {
|
|||
|
||||
if (!main_module_name)
|
||||
main_module_name = name("_stdin");
|
||||
option_ref<elab_environment> opt_env = run_new_frontend(contents, opts, mod_fn, *main_module_name, trust_lvl, olean_fn, ilean_fn, json_output, error_kinds, stats);
|
||||
option_ref<elab_environment> opt_env = run_new_frontend(
|
||||
contents, opts, mod_fn, *main_module_name, trust_lvl,
|
||||
olean_fn, ilean_fn, json_output, error_kinds, stats, setup_fn
|
||||
);
|
||||
|
||||
if (opt_env) {
|
||||
elab_environment env = opt_env.get_val();
|
||||
|
|
|
|||
358
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
358
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
|
|
@ -13,114 +13,114 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__16;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__11;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__10;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_findSomeRevM_x3f_find_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_findSomeRevM_x3f_find_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__19;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap__replicate_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_instDecidableMemOfLawfulBEq___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_toListRev___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldlM_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__15;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__14;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_toListRev___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__GetElem_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableMemOfLawfulBEq(lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__21;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldl__filterMap_x27_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__31;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__14;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__23;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Option_getD_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_anyM_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_decidableExistsLT_x27(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__8;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__22;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__29;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__10;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__12;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__29;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__push_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_appendCore_loop_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__15;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_shrink_loop_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldlM_loop_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_foldl__filterMap_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableExistsAndMemOfDecidablePred(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__16;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__7;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_toListRev___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_shrink_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__24;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__18;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__push_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__4;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap__replicate_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__5;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldl__filterMap_x27_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__22;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_appendCore_loop_match__1_splitter(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_toListRev___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Option_getD_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__20;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__27;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_filterMap__replicate_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__23;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__30;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableExistsAndMemOfDecidablePred___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__26;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_isEqvAux_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_findSomeRevM_x3f_find_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_toListRev___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_filterMap__push_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__27;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368_;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__19;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_anyM_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldlM_loop_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint8_t l_Array_contains___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__9;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableMemOfLawfulBEq___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__11;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Option_getD_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__30;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364_;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_anyM_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_erase_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__GetElem_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_appendCore_loop_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__21;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__13;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_foldl__filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_toListRev(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_shrink_loop_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__4;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__25;
|
||||
lean_object* l_Nat_decidableBallLT(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__List_foldl__filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__25;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__GetElem_x3f_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Lemmas_0__Array_foldl__filterMap_x27_match__1_splitter(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__28;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__7;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__31;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__24;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__18;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__28;
|
||||
static lean_object* l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__26;
|
||||
LEAN_EXPORT lean_object* l_Array_instDecidableForallForallMemOfDecidablePred___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -354,7 +354,7 @@ lean_dec(x_2);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -362,7 +362,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -370,7 +370,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -378,7 +378,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__4() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -386,19 +386,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__5() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__4;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__4;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -407,7 +407,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__7() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -415,19 +415,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__8() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__7;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__7;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__9() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -435,17 +435,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__10() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__9;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__11() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -453,41 +453,41 @@ x_1 = lean_mk_string_unchecked("simp", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__12() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__11;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__11;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__13() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__11;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__11;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__14() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__13;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__13;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__15() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -495,25 +495,25 @@ x_1 = lean_mk_string_unchecked("optConfig", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__16() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__15;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__15;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -521,23 +521,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__18() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__19() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__16;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__18;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__16;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__18;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -545,63 +545,63 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__20() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__14;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__19;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__14;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__19;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__21() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__20;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__20;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__22() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__21;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__21;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__23() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__22;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__22;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__24() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__23;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__23;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__25() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__25() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__12;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__24;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__12;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__24;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -609,23 +609,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__26() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__26() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__25;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__25;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__27() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__27() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__26;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__26;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -633,23 +633,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__28() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__28() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__27;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__27;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__29() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__29() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__8;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__28;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__8;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__28;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -657,23 +657,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__30() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__30() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__29;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__29;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__31() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__31() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__5;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__30;
|
||||
x_2 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__5;
|
||||
x_3 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__30;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -681,11 +681,11 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__31;
|
||||
x_1 = l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__31;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1244,70 +1244,70 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_List_ToArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__1);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__2);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__3);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__4 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__4();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__4);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__5 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__5();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__5);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__6);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__7 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__7();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__7);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__8 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__8();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__8);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__9 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__9();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__9);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__10 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__10();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__10);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__11 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__11();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__11);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__12 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__12();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__12);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__13 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__13();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__13);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__14 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__14();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__14);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__15 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__15();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__15);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__16 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__16();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__16);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__17);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__18 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__18();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__18);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__19 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__19();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__19);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__20 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__20();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__20);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__21 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__21();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__21);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__22 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__22();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__22);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__23 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__23();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__23);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__24 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__24();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__24);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__25 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__25();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__25);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__26 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__26();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__26);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__27 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__27();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__27);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__28 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__28();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__28);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__29 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__29();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__29);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__30 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__30();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__30);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__31 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__31();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364____closed__31);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18364_ = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18364_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18364_);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__1);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__2);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__3);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__4 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__4();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__4);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__5 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__5();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__5);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__6);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__7 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__7();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__7);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__8 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__8();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__8);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__9 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__9();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__9);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__10 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__10();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__10);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__11 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__11();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__11);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__12 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__12();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__12);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__13 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__13();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__13);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__14 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__14();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__14);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__15 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__15();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__15);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__16 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__16();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__16);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__17);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__18 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__18();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__18);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__19 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__19();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__19);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__20 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__20();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__20);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__21 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__21();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__21);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__22 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__22();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__22);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__23 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__23();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__23);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__24 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__24();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__24);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__25 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__25();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__25);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__26 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__26();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__26);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__27 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__27();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__27);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__28 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__28();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__28);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__29 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__29();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__29);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__30 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__30();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__30);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__31 = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__31();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368____closed__31);
|
||||
l___auto____x40_Init_Data_Array_Lemmas___hyg_18368_ = _init_l___auto____x40_Init_Data_Array_Lemmas___hyg_18368_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_Array_Lemmas___hyg_18368_);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
32
stage0/stdlib/Init/Data/Option/Lemmas.c
generated
32
stage0/stdlib/Init/Data/Option/Lemmas.c
generated
|
|
@ -20,11 +20,13 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_merge_mat
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_isSome_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_isSome_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_lt_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_isEqSome_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_pmap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_pmap_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_le_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_lt_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_le_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_isEqSome_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_bind_match__1_splitter(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_pfilter_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_isSome_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -166,6 +168,36 @@ lean_dec(x_3);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_isEqSome_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_dec(x_3);
|
||||
x_5 = lean_apply_1(x_4, x_2);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_4);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_apply_2(x_3, x_6, x_2);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_isEqSome_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Lemmas_0__Option_isEqSome_match__1_splitter___rarg), 4, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Lemmas_0__Option_pmap_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
35
stage0/stdlib/Init/Data/Option/List.c
generated
35
stage0/stdlib/Init/Data/Option/List.c
generated
|
|
@ -13,41 +13,6 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_List_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_List_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_List_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_apply_1(x_3, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_List_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_List_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_List_Lemmas(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Option_List(uint8_t builtin, lean_object* w) {
|
||||
|
|
|
|||
67
stage0/stdlib/Init/Data/Option/Monadic.c
generated
67
stage0/stdlib/Init/Data/Option/Monadic.c
generated
|
|
@ -13,6 +13,73 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_bindM_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_bindM_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_bindM_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_2);
|
||||
x_4 = lean_apply_2(x_3, x_1, lean_box(0));
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
lean_dec(x_3);
|
||||
x_5 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_apply_1(x_2, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_bindM_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Monadic_0__Option_bindM_match__1_splitter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_apply_1(x_3, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Monadic_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Monadic_0__Option_instForIn_x27InferInstanceMembership_match__1_splitter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_Option_Attach(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Control_Lawful_Basic(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
|
|
|
|||
588
stage0/stdlib/Init/Data/Vector/Basic.c
generated
588
stage0/stdlib/Init/Data/Vector/Basic.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lake/Build/Common.c
generated
4
stage0/stdlib/Lake/Build/Common.c
generated
|
|
@ -360,7 +360,6 @@ LEAN_EXPORT lean_object* l_Lake_buildUnlessUpToDate_x3f___rarg___lambda__1(lean_
|
|||
LEAN_EXPORT lean_object* l_Lake_buildLeanO(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_buildLeanO___lambda__6___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lake_MTime_checkUpToDate___at_Lake_buildFileUnlessUpToDate_x27___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_bignumToJson(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_inputBinFile___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
|
|
@ -444,6 +443,7 @@ LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lake_inputDir___spec__
|
|||
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lake_buildFileUnlessUpToDate_x27___spec__5___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_buildFileUnlessUpToDate(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_platformTrace___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lake_Job_bindM___at_Lake_buildSharedLib___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at_Lake_buildFileAfterDep___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -940,7 +940,7 @@ x_27 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_27, 0, x_9);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
x_28 = l_Lake_platformTrace___closed__3;
|
||||
x_29 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_27, x_28);
|
||||
x_29 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(x_27, x_28);
|
||||
x_30 = l_Lean_Json_mkObj(x_29);
|
||||
return x_30;
|
||||
}
|
||||
|
|
|
|||
8
stage0/stdlib/Lake/CLI/Main.c
generated
8
stage0/stdlib/Lake/CLI/Main.c
generated
|
|
@ -487,7 +487,6 @@ static lean_object* l_Option_repr___at_Lake_verifyInstall___spec__1___closed__2;
|
|||
LEAN_EXPORT lean_object* l_Lake_lake_script_run___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_test___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake___boxed__const__1;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lake_selfCheck___closed__1;
|
||||
static lean_object* l_Lake_parseLangSpec___closed__1;
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
|
|
@ -597,6 +596,7 @@ static lean_object* l_Lake_lake_env___lambda__1___closed__1;
|
|||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
extern lean_object* l_Lean_Options_empty;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_update___boxed__const__1;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeLongOption___closed__15;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lake_CLI_Main_0__Lake_lake_evalLeanFile_mkSpawnArgs___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_ReservoirConfig_currentSchemaVersion;
|
||||
|
|
@ -56434,7 +56434,7 @@ x_81 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_81, 0, x_18);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
x_82 = l_Lake_CliM_run___rarg___closed__1;
|
||||
x_83 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_81, x_82);
|
||||
x_83 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(x_81, x_82);
|
||||
x_84 = l_Lean_Json_mkObj(x_83);
|
||||
return x_84;
|
||||
}
|
||||
|
|
@ -56487,7 +56487,7 @@ x_100 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_100, 0, x_18);
|
||||
lean_ctor_set(x_100, 1, x_99);
|
||||
x_101 = l_Lake_CliM_run___rarg___closed__1;
|
||||
x_102 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_100, x_101);
|
||||
x_102 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(x_100, x_101);
|
||||
x_103 = l_Lean_Json_mkObj(x_102);
|
||||
return x_103;
|
||||
}
|
||||
|
|
@ -56538,7 +56538,7 @@ x_119 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_119, 0, x_18);
|
||||
lean_ctor_set(x_119, 1, x_118);
|
||||
x_120 = l_Lake_CliM_run___rarg___closed__1;
|
||||
x_121 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_119, x_120);
|
||||
x_121 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(x_119, x_120);
|
||||
x_122 = l_Lean_Json_mkObj(x_121);
|
||||
return x_122;
|
||||
}
|
||||
|
|
|
|||
14
stage0/stdlib/Lake/CLI/Serve.c
generated
14
stage0/stdlib/Lake/CLI/Serve.c
generated
|
|
@ -64,6 +64,7 @@ lean_object* l_Lake_Workspace_findModule_x3f(lean_object*, lean_object*);
|
|||
lean_object* l_Lake_loadWorkspace(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_process_spawn(lean_object*, lean_object*);
|
||||
lean_object* l_Lake_Workspace_leanPath(lean_object*);
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_setupFile___boxed__const__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_setupFile(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_OutStream_logEntry(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*);
|
||||
|
|
@ -111,7 +112,6 @@ uint8_t lean_usize_dec_lt(size_t, size_t);
|
|||
LEAN_EXPORT lean_object* l_Lake_serve___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lake_realConfigFile(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_LeanOptions_fromOptions_x3f___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_setupFile___lambda__1___boxed(lean_object*);
|
||||
static uint32_t _init_l_Lake_noConfigFileCode() {
|
||||
_start:
|
||||
|
|
@ -528,18 +528,18 @@ uint8_t x_5;
|
|||
x_5 = lean_usize_dec_eq(x_2, x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11;
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11;
|
||||
x_6 = lean_array_uget(x_1, x_2);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_6);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_2, x_9);
|
||||
x_11 = l_Lean_RBNode_insert___at_Lean_LeanOptions_fromOptions_x3f___spec__1(x_4, x_7, x_8);
|
||||
x_2 = x_10;
|
||||
x_4 = x_11;
|
||||
x_9 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_4, x_7, x_8);
|
||||
x_10 = 1;
|
||||
x_11 = lean_usize_add(x_2, x_10);
|
||||
x_2 = x_11;
|
||||
x_4 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
502
stage0/stdlib/Lake/Config/Env.c
generated
502
stage0/stdlib/Lake/Config/Env.c
generated
|
|
@ -17,7 +17,6 @@ LEAN_EXPORT lean_object* l_Lake_Env_vars(lean_object*);
|
|||
static lean_object* l_Lake_Env_noToolchainVars___closed__16;
|
||||
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Env_noToolchainVars___closed__8;
|
||||
lean_object* l_Lean_Json_getObj_x3f(lean_object*);
|
||||
static lean_object* l_Lake_Env_noToolchainVars___closed__10;
|
||||
lean_object* l_Lean_Json_compress(lean_object*);
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
|
|
@ -32,6 +31,7 @@ static lean_object* l_Lake_Env_noToolchainVars___closed__22;
|
|||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
lean_object* lean_io_getenv(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Env_noToolchainVars___closed__20;
|
||||
static lean_object* l_Lake_Env_compute_computePkgUrlMap___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lake_Env_leanSrcPath(lean_object*);
|
||||
static lean_object* l_Lake_Env_noToolchainVars___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lake_Env_leanSearchPath___boxed(lean_object*);
|
||||
|
|
@ -40,6 +40,7 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
|||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
static lean_object* l_Lake_instInhabitedEnv___closed__2;
|
||||
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
|
||||
static lean_object* l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3;
|
||||
static lean_object* l_Lake_Env_noToolchainVars___closed__3;
|
||||
lean_object* l_List_appendTR___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Env_noToolchainVars___closed__18;
|
||||
|
|
@ -115,6 +116,7 @@ lean_object* l_Lake_LeanInstall_leanCc_x3f(lean_object*);
|
|||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Env_path(lean_object*);
|
||||
extern uint8_t l_System_Platform_isWindows;
|
||||
static lean_object* l_Lake_Env_noToolchainVars___closed__12;
|
||||
|
|
@ -223,18 +225,24 @@ static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUr
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("expected name", 13, 13);
|
||||
x_1 = lean_mk_string_unchecked("[anonymous]", 11, 11);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__1;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("expected a `Name`, got '", 24, 24);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("'", 1, 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
|
|
@ -284,59 +292,229 @@ return x_11;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_12 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_8);
|
||||
x_13 = l_String_toName(x_5);
|
||||
x_14 = l_Lean_Name_isAnonymous(x_13);
|
||||
if (x_14 == 0)
|
||||
uint8_t x_12;
|
||||
x_12 = !lean_is_exclusive(x_8);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = l_Lean_Json_getStr_x3f(x_6);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_13 = lean_ctor_get(x_8, 0);
|
||||
x_14 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__1;
|
||||
x_15 = lean_string_dec_eq(x_5, x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
uint8_t x_16;
|
||||
lean_object* x_16; uint8_t x_17;
|
||||
lean_inc(x_5);
|
||||
x_16 = l_String_toName(x_5);
|
||||
x_17 = l_Lean_Name_isAnonymous(x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18;
|
||||
lean_free_object(x_8);
|
||||
lean_dec(x_5);
|
||||
x_18 = l_Lean_Json_getStr_x3f(x_6);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
{
|
||||
uint8_t x_19;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_7);
|
||||
x_16 = !lean_is_exclusive(x_15);
|
||||
if (x_16 == 0)
|
||||
x_19 = !lean_is_exclusive(x_18);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
x_17 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_15);
|
||||
x_18 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_18, 0, x_17);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_21, 0, x_20);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_15);
|
||||
x_20 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_12, x_13, x_19);
|
||||
x_1 = x_20;
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_18);
|
||||
x_23 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_13, x_16, x_22);
|
||||
x_1 = x_23;
|
||||
x_2 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22;
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_22 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__2;
|
||||
return x_22;
|
||||
x_25 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__2;
|
||||
x_26 = lean_string_append(x_25, x_5);
|
||||
lean_dec(x_5);
|
||||
x_27 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3;
|
||||
x_28 = lean_string_append(x_26, x_27);
|
||||
lean_ctor_set_tag(x_8, 0);
|
||||
lean_ctor_set(x_8, 0, x_28);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29;
|
||||
lean_free_object(x_8);
|
||||
lean_dec(x_5);
|
||||
x_29 = l_Lean_Json_getStr_x3f(x_6);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
uint8_t x_30;
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_7);
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
x_32 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_29);
|
||||
x_34 = lean_box(0);
|
||||
x_35 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_13, x_34, x_33);
|
||||
x_1 = x_35;
|
||||
x_2 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; uint8_t x_39;
|
||||
x_37 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_8);
|
||||
x_38 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__1;
|
||||
x_39 = lean_string_dec_eq(x_5, x_38);
|
||||
if (x_39 == 0)
|
||||
{
|
||||
lean_object* x_40; uint8_t x_41;
|
||||
lean_inc(x_5);
|
||||
x_40 = l_String_toName(x_5);
|
||||
x_41 = l_Lean_Name_isAnonymous(x_40);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
lean_object* x_42;
|
||||
lean_dec(x_5);
|
||||
x_42 = l_Lean_Json_getStr_x3f(x_6);
|
||||
if (lean_obj_tag(x_42) == 0)
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
lean_dec(x_40);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_7);
|
||||
x_43 = lean_ctor_get(x_42, 0);
|
||||
lean_inc(x_43);
|
||||
if (lean_is_exclusive(x_42)) {
|
||||
lean_ctor_release(x_42, 0);
|
||||
x_44 = x_42;
|
||||
} else {
|
||||
lean_dec_ref(x_42);
|
||||
x_44 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_44)) {
|
||||
x_45 = lean_alloc_ctor(0, 1, 0);
|
||||
} else {
|
||||
x_45 = x_44;
|
||||
}
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
return x_45;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47;
|
||||
x_46 = lean_ctor_get(x_42, 0);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_42);
|
||||
x_47 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_37, x_40, x_46);
|
||||
x_1 = x_47;
|
||||
x_2 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
lean_dec(x_40);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_49 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__2;
|
||||
x_50 = lean_string_append(x_49, x_5);
|
||||
lean_dec(x_5);
|
||||
x_51 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3;
|
||||
x_52 = lean_string_append(x_50, x_51);
|
||||
x_53 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_53, 0, x_52);
|
||||
return x_53;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_54;
|
||||
lean_dec(x_5);
|
||||
x_54 = l_Lean_Json_getStr_x3f(x_6);
|
||||
if (lean_obj_tag(x_54) == 0)
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_7);
|
||||
x_55 = lean_ctor_get(x_54, 0);
|
||||
lean_inc(x_55);
|
||||
if (lean_is_exclusive(x_54)) {
|
||||
lean_ctor_release(x_54, 0);
|
||||
x_56 = x_54;
|
||||
} else {
|
||||
lean_dec_ref(x_54);
|
||||
x_56 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_56)) {
|
||||
x_57 = lean_alloc_ctor(0, 1, 0);
|
||||
} else {
|
||||
x_57 = x_56;
|
||||
}
|
||||
lean_ctor_set(x_57, 0, x_55);
|
||||
return x_57;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
x_58 = lean_ctor_get(x_54, 0);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_54);
|
||||
x_59 = lean_box(0);
|
||||
x_60 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_37, x_59, x_58);
|
||||
x_1 = x_60;
|
||||
x_2 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -366,6 +544,14 @@ x_1 = lean_mk_string_unchecked("'LAKE_PKG_URL_MAP' has invalid JSON: ", 37, 37);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lake_Env_compute_computePkgUrlMap___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("expected a `NameMap`, got '", 27, 27);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_Env_compute_computePkgUrlMap(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -431,147 +617,153 @@ return x_3;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
lean_object* x_21;
|
||||
x_21 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_15);
|
||||
x_22 = l_Lean_Json_getObj_x3f(x_21);
|
||||
if (lean_obj_tag(x_22) == 0)
|
||||
if (lean_obj_tag(x_21) == 5)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_22);
|
||||
x_24 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_25 = lean_string_append(x_24, x_23);
|
||||
lean_dec(x_23);
|
||||
x_26 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_27 = lean_string_append(x_25, x_26);
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_21);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1(x_23, x_22);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_24);
|
||||
x_26 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_27 = lean_string_append(x_26, x_25);
|
||||
lean_dec(x_25);
|
||||
x_28 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_29 = lean_string_append(x_27, x_28);
|
||||
lean_ctor_set_tag(x_3, 1);
|
||||
lean_ctor_set(x_3, 0, x_27);
|
||||
lean_ctor_set(x_3, 0, x_29);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_28 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_22);
|
||||
x_29 = lean_box(0);
|
||||
x_30 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1(x_29, x_28);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
lean_object* x_30;
|
||||
x_30 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_24);
|
||||
lean_ctor_set(x_3, 0, x_30);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_31 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_30);
|
||||
x_32 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_33 = lean_string_append(x_32, x_31);
|
||||
lean_dec(x_31);
|
||||
x_34 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_35 = lean_string_append(x_33, x_34);
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_31 = lean_unsigned_to_nat(80u);
|
||||
x_32 = l_Lean_Json_pretty(x_21, x_31);
|
||||
x_33 = l_Lake_Env_compute_computePkgUrlMap___closed__4;
|
||||
x_34 = lean_string_append(x_33, x_32);
|
||||
lean_dec(x_32);
|
||||
x_35 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3;
|
||||
x_36 = lean_string_append(x_34, x_35);
|
||||
x_37 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_38 = lean_string_append(x_37, x_36);
|
||||
lean_dec(x_36);
|
||||
x_39 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_40 = lean_string_append(x_38, x_39);
|
||||
lean_ctor_set_tag(x_3, 1);
|
||||
lean_ctor_set(x_3, 0, x_35);
|
||||
lean_ctor_set(x_3, 0, x_40);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36;
|
||||
x_36 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_30);
|
||||
lean_ctor_set(x_3, 0, x_36);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_37 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_3);
|
||||
x_38 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_4);
|
||||
x_39 = l_Lake_Env_compute_computePkgUrlMap___closed__2;
|
||||
x_40 = l_Std_Internal_Parsec_String_Parser_run___rarg(x_39, x_38);
|
||||
if (lean_obj_tag(x_40) == 0)
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
x_41 = lean_ctor_get(x_40, 0);
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_41 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_40);
|
||||
x_42 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_43 = lean_string_append(x_42, x_41);
|
||||
lean_dec(x_41);
|
||||
x_44 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_45 = lean_string_append(x_43, x_44);
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_45);
|
||||
lean_ctor_set(x_46, 1, x_37);
|
||||
return x_46;
|
||||
lean_dec(x_3);
|
||||
x_42 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_4);
|
||||
x_43 = l_Lake_Env_compute_computePkgUrlMap___closed__2;
|
||||
x_44 = l_Std_Internal_Parsec_String_Parser_run___rarg(x_43, x_42);
|
||||
if (lean_obj_tag(x_44) == 0)
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_45 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_44);
|
||||
x_46 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_47 = lean_string_append(x_46, x_45);
|
||||
lean_dec(x_45);
|
||||
x_48 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_49 = lean_string_append(x_47, x_48);
|
||||
x_50 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_50, 0, x_49);
|
||||
lean_ctor_set(x_50, 1, x_41);
|
||||
return x_50;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48;
|
||||
x_47 = lean_ctor_get(x_40, 0);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_40);
|
||||
x_48 = l_Lean_Json_getObj_x3f(x_47);
|
||||
if (lean_obj_tag(x_48) == 0)
|
||||
lean_object* x_51;
|
||||
x_51 = lean_ctor_get(x_44, 0);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_44);
|
||||
if (lean_obj_tag(x_51) == 5)
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_49 = lean_ctor_get(x_48, 0);
|
||||
lean_inc(x_49);
|
||||
lean_dec(x_48);
|
||||
x_50 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_51 = lean_string_append(x_50, x_49);
|
||||
lean_dec(x_49);
|
||||
x_52 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_53 = lean_string_append(x_51, x_52);
|
||||
x_54 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_53);
|
||||
lean_ctor_set(x_54, 1, x_37);
|
||||
return x_54;
|
||||
}
|
||||
else
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_52 = lean_ctor_get(x_51, 0);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_51);
|
||||
x_53 = lean_box(0);
|
||||
x_54 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1(x_53, x_52);
|
||||
if (lean_obj_tag(x_54) == 0)
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_55 = lean_ctor_get(x_48, 0);
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
x_55 = lean_ctor_get(x_54, 0);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_48);
|
||||
x_56 = lean_box(0);
|
||||
x_57 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1(x_56, x_55);
|
||||
if (lean_obj_tag(x_57) == 0)
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
|
||||
x_58 = lean_ctor_get(x_57, 0);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_57);
|
||||
x_59 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_60 = lean_string_append(x_59, x_58);
|
||||
lean_dec(x_58);
|
||||
x_61 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_62 = lean_string_append(x_60, x_61);
|
||||
x_63 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_62);
|
||||
lean_ctor_set(x_63, 1, x_37);
|
||||
return x_63;
|
||||
lean_dec(x_54);
|
||||
x_56 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_57 = lean_string_append(x_56, x_55);
|
||||
lean_dec(x_55);
|
||||
x_58 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_59 = lean_string_append(x_57, x_58);
|
||||
x_60 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_59);
|
||||
lean_ctor_set(x_60, 1, x_41);
|
||||
return x_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65;
|
||||
x_64 = lean_ctor_get(x_57, 0);
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_57);
|
||||
x_65 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_37);
|
||||
return x_65;
|
||||
lean_object* x_61; lean_object* x_62;
|
||||
x_61 = lean_ctor_get(x_54, 0);
|
||||
lean_inc(x_61);
|
||||
lean_dec(x_54);
|
||||
x_62 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_61);
|
||||
lean_ctor_set(x_62, 1, x_41);
|
||||
return x_62;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73;
|
||||
x_63 = lean_unsigned_to_nat(80u);
|
||||
x_64 = l_Lean_Json_pretty(x_51, x_63);
|
||||
x_65 = l_Lake_Env_compute_computePkgUrlMap___closed__4;
|
||||
x_66 = lean_string_append(x_65, x_64);
|
||||
lean_dec(x_64);
|
||||
x_67 = l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3;
|
||||
x_68 = lean_string_append(x_66, x_67);
|
||||
x_69 = l_Lake_Env_compute_computePkgUrlMap___closed__3;
|
||||
x_70 = lean_string_append(x_69, x_68);
|
||||
lean_dec(x_68);
|
||||
x_71 = l_Lake_instInhabitedEnv___closed__1;
|
||||
x_72 = lean_string_append(x_70, x_71);
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
lean_ctor_set(x_73, 1, x_41);
|
||||
return x_73;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2920,12 +3112,16 @@ l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__1
|
|||
lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__1);
|
||||
l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__2 = _init_l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__2);
|
||||
l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3 = _init_l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_Env_compute_computePkgUrlMap___spec__1___closed__3);
|
||||
l_Lake_Env_compute_computePkgUrlMap___closed__1 = _init_l_Lake_Env_compute_computePkgUrlMap___closed__1();
|
||||
lean_mark_persistent(l_Lake_Env_compute_computePkgUrlMap___closed__1);
|
||||
l_Lake_Env_compute_computePkgUrlMap___closed__2 = _init_l_Lake_Env_compute_computePkgUrlMap___closed__2();
|
||||
lean_mark_persistent(l_Lake_Env_compute_computePkgUrlMap___closed__2);
|
||||
l_Lake_Env_compute_computePkgUrlMap___closed__3 = _init_l_Lake_Env_compute_computePkgUrlMap___closed__3();
|
||||
lean_mark_persistent(l_Lake_Env_compute_computePkgUrlMap___closed__3);
|
||||
l_Lake_Env_compute_computePkgUrlMap___closed__4 = _init_l_Lake_Env_compute_computePkgUrlMap___closed__4();
|
||||
lean_mark_persistent(l_Lake_Env_compute_computePkgUrlMap___closed__4);
|
||||
l_Lake_Env_compute___closed__1 = _init_l_Lake_Env_compute___closed__1();
|
||||
lean_mark_persistent(l_Lake_Env_compute___closed__1);
|
||||
l_Lake_Env_compute___closed__2 = _init_l_Lake_Env_compute___closed__2();
|
||||
|
|
|
|||
473
stage0/stdlib/Lake/Load/Lean/Elab.c
generated
473
stage0/stdlib/Lake/Load/Lean/Elab.c
generated
|
|
@ -15,7 +15,6 @@ extern "C" {
|
|||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976_(lean_object*);
|
||||
static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__20;
|
||||
lean_object* l_Lean_Json_getObj_x3f(lean_object*);
|
||||
static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__7;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__40;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_toJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_896_(lean_object*);
|
||||
|
|
@ -76,7 +75,6 @@ static lean_object* l_Lake_importConfigFile___closed__6;
|
|||
lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_importConfigFile___closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lake_importModulesUsingCache___lambda__1(lean_object*, lean_object*, uint32_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_headerToImports(lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__1___closed__2;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__22;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__29;
|
||||
|
|
@ -98,6 +96,7 @@ lean_object* l_Lean_RBNode_foldM___at___private_Lake_Load_Manifest_0__Lake_fromJ
|
|||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__15;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__10;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__24;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__51;
|
||||
|
|
@ -164,6 +163,7 @@ static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace_
|
|||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__35;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__41;
|
||||
extern lean_object* l_Lake_defaultLakeDir;
|
||||
lean_object* l_Lean_Elab_HeaderSyntax_imports(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_importConfigFile(lean_object*, lean_object*, lean_object*);
|
||||
static uint64_t l_Lake_importModulesUsingCache___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -228,7 +228,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_hashImport____x
|
|||
static lean_object* l_Lake_importConfigFile___closed__8;
|
||||
static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__19;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__42;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_persistentEnvExtensionsRef;
|
||||
lean_object* l_Lean_bignumToJson(lean_object*);
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__46;
|
||||
|
|
@ -271,7 +270,7 @@ static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__36;
|
|||
lean_object* l_Lake_joinRelative(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lake_importModulesUsingCache___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_importModules(lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_importModules(lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__54;
|
||||
LEAN_EXPORT uint64_t l_Array_foldlMUnsafe_fold___at_Lake_importModulesUsingCache___spec__5(lean_object*, size_t, size_t, uint64_t);
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
|
|
@ -285,7 +284,9 @@ lean_object* lake_environment_add(lean_object*, lean_object*);
|
|||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lake_importConfigFileCore___spec__2___closed__1;
|
||||
static lean_object* l_Lake_importConfigFileCore_lakeExts___closed__28;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__17;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1;
|
||||
static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__14;
|
||||
static lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__13;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Load_Lean_Elab_0__Lake_addToEnv___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -1130,236 +1131,237 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lake_importModulesUsingCache___lambda__1(lean_object* x_1, lean_object* x_2, uint32_t x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10;
|
||||
x_6 = l_Lake_importModulesUsingCache___lambda__1___closed__1;
|
||||
x_7 = 0;
|
||||
x_8 = 1;
|
||||
x_9 = 2;
|
||||
lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11;
|
||||
x_6 = lean_box(0);
|
||||
x_7 = l_Lake_importModulesUsingCache___lambda__1___closed__1;
|
||||
x_8 = 0;
|
||||
x_9 = 1;
|
||||
x_10 = 2;
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Lean_importModules(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_5);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
x_11 = l_Lean_importModules(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_6, x_5);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint64_t x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint64_t x_25; uint64_t x_26; size_t x_27; size_t x_28; size_t x_29; uint64_t x_30;
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint64_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint64_t x_26; uint64_t x_27; size_t x_28; size_t x_29; size_t x_30; uint64_t x_31;
|
||||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lake_importModulesUsingCache___lambda__1___closed__2;
|
||||
x_14 = lean_st_ref_take(x_13, x_12);
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
x_13 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
x_14 = l_Lake_importModulesUsingCache___lambda__1___closed__2;
|
||||
x_15 = lean_st_ref_take(x_14, x_13);
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = lean_ctor_get(x_15, 0);
|
||||
x_17 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_15, 1);
|
||||
lean_dec(x_15);
|
||||
x_18 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_18);
|
||||
if (lean_is_exclusive(x_15)) {
|
||||
lean_ctor_release(x_15, 0);
|
||||
lean_ctor_release(x_15, 1);
|
||||
x_19 = x_15;
|
||||
x_19 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_19);
|
||||
if (lean_is_exclusive(x_16)) {
|
||||
lean_ctor_release(x_16, 0);
|
||||
lean_ctor_release(x_16, 1);
|
||||
x_20 = x_16;
|
||||
} else {
|
||||
lean_dec_ref(x_15);
|
||||
x_19 = lean_box(0);
|
||||
lean_dec_ref(x_16);
|
||||
x_20 = lean_box(0);
|
||||
}
|
||||
x_20 = lean_array_get_size(x_18);
|
||||
x_21 = 7;
|
||||
x_22 = lean_array_get_size(x_1);
|
||||
x_23 = lean_unsigned_to_nat(0u);
|
||||
x_24 = lean_nat_dec_lt(x_23, x_22);
|
||||
x_25 = 32;
|
||||
x_26 = 16;
|
||||
x_27 = lean_usize_of_nat(x_20);
|
||||
lean_dec(x_20);
|
||||
x_28 = 1;
|
||||
x_29 = lean_usize_sub(x_27, x_28);
|
||||
if (x_24 == 0)
|
||||
x_21 = lean_array_get_size(x_19);
|
||||
x_22 = 7;
|
||||
x_23 = lean_array_get_size(x_1);
|
||||
x_24 = lean_unsigned_to_nat(0u);
|
||||
x_25 = lean_nat_dec_lt(x_24, x_23);
|
||||
x_26 = 32;
|
||||
x_27 = 16;
|
||||
x_28 = lean_usize_of_nat(x_21);
|
||||
lean_dec(x_21);
|
||||
x_29 = 1;
|
||||
x_30 = lean_usize_sub(x_28, x_29);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_dec(x_22);
|
||||
x_30 = x_21;
|
||||
goto block_72;
|
||||
lean_dec(x_23);
|
||||
x_31 = x_22;
|
||||
goto block_73;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_73;
|
||||
x_73 = lean_nat_dec_le(x_22, x_22);
|
||||
if (x_73 == 0)
|
||||
uint8_t x_74;
|
||||
x_74 = lean_nat_dec_le(x_23, x_23);
|
||||
if (x_74 == 0)
|
||||
{
|
||||
lean_dec(x_22);
|
||||
x_30 = x_21;
|
||||
goto block_72;
|
||||
lean_dec(x_23);
|
||||
x_31 = x_22;
|
||||
goto block_73;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_74; size_t x_75; uint64_t x_76;
|
||||
x_74 = 0;
|
||||
x_75 = lean_usize_of_nat(x_22);
|
||||
lean_dec(x_22);
|
||||
x_76 = l_Array_foldlMUnsafe_fold___at_Lake_importModulesUsingCache___spec__5(x_1, x_74, x_75, x_21);
|
||||
x_30 = x_76;
|
||||
goto block_72;
|
||||
size_t x_75; size_t x_76; uint64_t x_77;
|
||||
x_75 = 0;
|
||||
x_76 = lean_usize_of_nat(x_23);
|
||||
lean_dec(x_23);
|
||||
x_77 = l_Array_foldlMUnsafe_fold___at_Lake_importModulesUsingCache___spec__5(x_1, x_75, x_76, x_22);
|
||||
x_31 = x_77;
|
||||
goto block_73;
|
||||
}
|
||||
}
|
||||
block_72:
|
||||
block_73:
|
||||
{
|
||||
uint64_t x_31; uint64_t x_32; uint64_t x_33; uint64_t x_34; size_t x_35; size_t x_36; lean_object* x_37; uint8_t x_38;
|
||||
x_31 = lean_uint64_shift_right(x_30, x_25);
|
||||
x_32 = lean_uint64_xor(x_30, x_31);
|
||||
x_33 = lean_uint64_shift_right(x_32, x_26);
|
||||
x_34 = lean_uint64_xor(x_32, x_33);
|
||||
x_35 = lean_uint64_to_usize(x_34);
|
||||
x_36 = lean_usize_land(x_35, x_29);
|
||||
x_37 = lean_array_uget(x_18, x_36);
|
||||
x_38 = l_Std_DHashMap_Internal_AssocList_contains___at_Lake_importModulesUsingCache___spec__1(x_1, x_37);
|
||||
if (x_38 == 0)
|
||||
uint64_t x_32; uint64_t x_33; uint64_t x_34; uint64_t x_35; size_t x_36; size_t x_37; lean_object* x_38; uint8_t x_39;
|
||||
x_32 = lean_uint64_shift_right(x_31, x_26);
|
||||
x_33 = lean_uint64_xor(x_31, x_32);
|
||||
x_34 = lean_uint64_shift_right(x_33, x_27);
|
||||
x_35 = lean_uint64_xor(x_33, x_34);
|
||||
x_36 = lean_uint64_to_usize(x_35);
|
||||
x_37 = lean_usize_land(x_36, x_30);
|
||||
x_38 = lean_array_uget(x_19, x_37);
|
||||
x_39 = l_Std_DHashMap_Internal_AssocList_contains___at_Lake_importModulesUsingCache___spec__1(x_1, x_38);
|
||||
if (x_39 == 0)
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48;
|
||||
x_39 = lean_unsigned_to_nat(1u);
|
||||
x_40 = lean_nat_add(x_17, x_39);
|
||||
lean_dec(x_17);
|
||||
lean_inc(x_11);
|
||||
x_41 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_41, 0, x_1);
|
||||
lean_ctor_set(x_41, 1, x_11);
|
||||
lean_ctor_set(x_41, 2, x_37);
|
||||
x_42 = lean_array_uset(x_18, x_36, x_41);
|
||||
x_43 = lean_unsigned_to_nat(4u);
|
||||
x_44 = lean_nat_mul(x_40, x_43);
|
||||
x_45 = lean_unsigned_to_nat(3u);
|
||||
x_46 = lean_nat_div(x_44, x_45);
|
||||
lean_dec(x_44);
|
||||
x_47 = lean_array_get_size(x_42);
|
||||
x_48 = lean_nat_dec_le(x_46, x_47);
|
||||
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49;
|
||||
x_40 = lean_unsigned_to_nat(1u);
|
||||
x_41 = lean_nat_add(x_18, x_40);
|
||||
lean_dec(x_18);
|
||||
lean_inc(x_12);
|
||||
x_42 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_42, 0, x_1);
|
||||
lean_ctor_set(x_42, 1, x_12);
|
||||
lean_ctor_set(x_42, 2, x_38);
|
||||
x_43 = lean_array_uset(x_19, x_37, x_42);
|
||||
x_44 = lean_unsigned_to_nat(4u);
|
||||
x_45 = lean_nat_mul(x_41, x_44);
|
||||
x_46 = lean_unsigned_to_nat(3u);
|
||||
x_47 = lean_nat_div(x_45, x_46);
|
||||
lean_dec(x_45);
|
||||
x_48 = lean_array_get_size(x_43);
|
||||
x_49 = lean_nat_dec_le(x_47, x_48);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_47);
|
||||
lean_dec(x_46);
|
||||
if (x_48 == 0)
|
||||
if (x_49 == 0)
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52;
|
||||
x_49 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lake_importModulesUsingCache___spec__3(x_42);
|
||||
if (lean_is_scalar(x_19)) {
|
||||
x_50 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53;
|
||||
x_50 = l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lake_importModulesUsingCache___spec__3(x_43);
|
||||
if (lean_is_scalar(x_20)) {
|
||||
x_51 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_50 = x_19;
|
||||
x_51 = x_20;
|
||||
}
|
||||
lean_ctor_set(x_50, 0, x_40);
|
||||
lean_ctor_set(x_50, 1, x_49);
|
||||
x_51 = lean_st_ref_set(x_13, x_50, x_16);
|
||||
x_52 = !lean_is_exclusive(x_51);
|
||||
if (x_52 == 0)
|
||||
lean_ctor_set(x_51, 0, x_41);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
x_52 = lean_st_ref_set(x_14, x_51, x_17);
|
||||
x_53 = !lean_is_exclusive(x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
lean_object* x_53;
|
||||
x_53 = lean_ctor_get(x_51, 0);
|
||||
lean_dec(x_53);
|
||||
lean_ctor_set(x_51, 0, x_11);
|
||||
return x_51;
|
||||
lean_object* x_54;
|
||||
x_54 = lean_ctor_get(x_52, 0);
|
||||
lean_dec(x_54);
|
||||
lean_ctor_set(x_52, 0, x_12);
|
||||
return x_52;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55;
|
||||
x_54 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_51);
|
||||
x_55 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_11);
|
||||
lean_ctor_set(x_55, 1, x_54);
|
||||
return x_55;
|
||||
lean_object* x_55; lean_object* x_56;
|
||||
x_55 = lean_ctor_get(x_52, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_52);
|
||||
x_56 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_12);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
return x_56;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_56; lean_object* x_57; uint8_t x_58;
|
||||
if (lean_is_scalar(x_19)) {
|
||||
x_56 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_57; lean_object* x_58; uint8_t x_59;
|
||||
if (lean_is_scalar(x_20)) {
|
||||
x_57 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_56 = x_19;
|
||||
x_57 = x_20;
|
||||
}
|
||||
lean_ctor_set(x_56, 0, x_40);
|
||||
lean_ctor_set(x_56, 1, x_42);
|
||||
x_57 = lean_st_ref_set(x_13, x_56, x_16);
|
||||
x_58 = !lean_is_exclusive(x_57);
|
||||
if (x_58 == 0)
|
||||
lean_ctor_set(x_57, 0, x_41);
|
||||
lean_ctor_set(x_57, 1, x_43);
|
||||
x_58 = lean_st_ref_set(x_14, x_57, x_17);
|
||||
x_59 = !lean_is_exclusive(x_58);
|
||||
if (x_59 == 0)
|
||||
{
|
||||
lean_object* x_59;
|
||||
x_59 = lean_ctor_get(x_57, 0);
|
||||
lean_dec(x_59);
|
||||
lean_ctor_set(x_57, 0, x_11);
|
||||
return x_57;
|
||||
lean_object* x_60;
|
||||
x_60 = lean_ctor_get(x_58, 0);
|
||||
lean_dec(x_60);
|
||||
lean_ctor_set(x_58, 0, x_12);
|
||||
return x_58;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_60; lean_object* x_61;
|
||||
x_60 = lean_ctor_get(x_57, 1);
|
||||
lean_inc(x_60);
|
||||
lean_dec(x_57);
|
||||
x_61 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_11);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
return x_61;
|
||||
lean_object* x_61; lean_object* x_62;
|
||||
x_61 = lean_ctor_get(x_58, 1);
|
||||
lean_inc(x_61);
|
||||
lean_dec(x_58);
|
||||
x_62 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_12);
|
||||
lean_ctor_set(x_62, 1, x_61);
|
||||
return x_62;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68;
|
||||
x_62 = lean_box(0);
|
||||
x_63 = lean_array_uset(x_18, x_36, x_62);
|
||||
lean_inc(x_11);
|
||||
x_64 = l_Std_DHashMap_Internal_AssocList_replace___at_Lake_importModulesUsingCache___spec__8(x_1, x_11, x_37);
|
||||
x_65 = lean_array_uset(x_63, x_36, x_64);
|
||||
if (lean_is_scalar(x_19)) {
|
||||
x_66 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69;
|
||||
x_63 = lean_box(0);
|
||||
x_64 = lean_array_uset(x_19, x_37, x_63);
|
||||
lean_inc(x_12);
|
||||
x_65 = l_Std_DHashMap_Internal_AssocList_replace___at_Lake_importModulesUsingCache___spec__8(x_1, x_12, x_38);
|
||||
x_66 = lean_array_uset(x_64, x_37, x_65);
|
||||
if (lean_is_scalar(x_20)) {
|
||||
x_67 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_66 = x_19;
|
||||
x_67 = x_20;
|
||||
}
|
||||
lean_ctor_set(x_66, 0, x_17);
|
||||
lean_ctor_set(x_66, 1, x_65);
|
||||
x_67 = lean_st_ref_set(x_13, x_66, x_16);
|
||||
x_68 = !lean_is_exclusive(x_67);
|
||||
if (x_68 == 0)
|
||||
lean_ctor_set(x_67, 0, x_18);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
x_68 = lean_st_ref_set(x_14, x_67, x_17);
|
||||
x_69 = !lean_is_exclusive(x_68);
|
||||
if (x_69 == 0)
|
||||
{
|
||||
lean_object* x_69;
|
||||
x_69 = lean_ctor_get(x_67, 0);
|
||||
lean_dec(x_69);
|
||||
lean_ctor_set(x_67, 0, x_11);
|
||||
return x_67;
|
||||
lean_object* x_70;
|
||||
x_70 = lean_ctor_get(x_68, 0);
|
||||
lean_dec(x_70);
|
||||
lean_ctor_set(x_68, 0, x_12);
|
||||
return x_68;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71;
|
||||
x_70 = lean_ctor_get(x_67, 1);
|
||||
lean_inc(x_70);
|
||||
lean_dec(x_67);
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_11);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
return x_71;
|
||||
lean_object* x_71; lean_object* x_72;
|
||||
x_71 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_71);
|
||||
lean_dec(x_68);
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_12);
|
||||
lean_ctor_set(x_72, 1, x_71);
|
||||
return x_72;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_77;
|
||||
uint8_t x_78;
|
||||
lean_dec(x_1);
|
||||
x_77 = !lean_is_exclusive(x_10);
|
||||
if (x_77 == 0)
|
||||
x_78 = !lean_is_exclusive(x_11);
|
||||
if (x_78 == 0)
|
||||
{
|
||||
return x_10;
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_78; lean_object* x_79; lean_object* x_80;
|
||||
x_78 = lean_ctor_get(x_10, 0);
|
||||
x_79 = lean_ctor_get(x_10, 1);
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_79 = lean_ctor_get(x_11, 0);
|
||||
x_80 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_inc(x_78);
|
||||
lean_dec(x_10);
|
||||
x_80 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_80, 0, x_78);
|
||||
lean_ctor_set(x_80, 1, x_79);
|
||||
return x_80;
|
||||
lean_dec(x_11);
|
||||
x_81 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_81, 0, x_79);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
return x_81;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1782,7 +1784,7 @@ _start:
|
|||
{
|
||||
lean_object* x_6; uint32_t x_7; lean_object* x_8;
|
||||
lean_inc(x_1);
|
||||
x_6 = l_Lean_Elab_headerToImports(x_1);
|
||||
x_6 = l_Lean_Elab_HeaderSyntax_imports(x_1);
|
||||
x_7 = 1024;
|
||||
x_8 = l_Lake_importModulesUsingCache(x_6, x_2, x_7, x_5);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
|
|
@ -5176,7 +5178,7 @@ x_30 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_30, 0, x_10);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
x_31 = l_Lake_importModulesUsingCache___lambda__1___closed__1;
|
||||
x_32 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_30, x_31);
|
||||
x_32 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_221____spec__1(x_30, x_31);
|
||||
x_33 = l_Lean_Json_mkObj(x_32);
|
||||
return x_33;
|
||||
}
|
||||
|
|
@ -5299,41 +5301,102 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("expected a `NameMap`, got '", 27, 27);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("'", 1, 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l_Lean_Json_getObj_x3f(x_3);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
switch (lean_obj_tag(x_3)) {
|
||||
case 0:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_8 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_4);
|
||||
x_9 = lean_box(0);
|
||||
x_10 = l_Lean_RBNode_foldM___at___private_Lake_Load_Manifest_0__Lake_fromJsonPackageEntryV6____x40_Lake_Load_Manifest___hyg_115____spec__1(x_9, x_8);
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_4 = lean_unsigned_to_nat(80u);
|
||||
x_5 = l_Lean_Json_pretty(x_3, x_4);
|
||||
x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1;
|
||||
x_7 = lean_string_append(x_6, x_5);
|
||||
lean_dec(x_5);
|
||||
x_8 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2;
|
||||
x_9 = lean_string_append(x_7, x_8);
|
||||
x_10 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
return x_10;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_11 = lean_unsigned_to_nat(80u);
|
||||
x_12 = l_Lean_Json_pretty(x_3, x_11);
|
||||
x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1;
|
||||
x_14 = lean_string_append(x_13, x_12);
|
||||
lean_dec(x_12);
|
||||
x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2;
|
||||
x_16 = lean_string_append(x_14, x_15);
|
||||
x_17 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
return x_17;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_3);
|
||||
x_19 = lean_box(0);
|
||||
x_20 = l_Lean_RBNode_foldM___at___private_Lake_Load_Manifest_0__Lake_fromJsonPackageEntryV6____x40_Lake_Load_Manifest___hyg_115____spec__1(x_19, x_18);
|
||||
return x_20;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
x_21 = lean_unsigned_to_nat(80u);
|
||||
lean_inc(x_3);
|
||||
x_22 = l_Lean_Json_pretty(x_3, x_21);
|
||||
x_23 = !lean_is_exclusive(x_3);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_24 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1;
|
||||
x_26 = lean_string_append(x_25, x_22);
|
||||
lean_dec(x_22);
|
||||
x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2;
|
||||
x_28 = lean_string_append(x_26, x_27);
|
||||
lean_ctor_set_tag(x_3, 0);
|
||||
lean_ctor_set(x_3, 0, x_28);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
lean_dec(x_3);
|
||||
x_29 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1;
|
||||
x_30 = lean_string_append(x_29, x_22);
|
||||
lean_dec(x_22);
|
||||
x_31 = l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2;
|
||||
x_32 = lean_string_append(x_30, x_31);
|
||||
x_33 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____lambda__1(lean_object* x_1) {
|
||||
|
|
@ -14779,6 +14842,10 @@ l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonC
|
|||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__1___closed__2);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__1___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__1___closed__3);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__1);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____spec__2___closed__2);
|
||||
l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__1 = _init_l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__1();
|
||||
lean_mark_persistent(l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__1);
|
||||
l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__2 = _init_l___private_Lake_Load_Lean_Elab_0__Lake_fromJsonConfigTrace____x40_Lake_Load_Lean_Elab___hyg_976____closed__2();
|
||||
|
|
|
|||
2124
stage0/stdlib/Lake/Load/Manifest.c
generated
2124
stage0/stdlib/Lake/Load/Manifest.c
generated
File diff suppressed because it is too large
Load diff
292
stage0/stdlib/Lake/Util/Name.c
generated
292
stage0/stdlib/Lake/Util/Name.c
generated
|
|
@ -13,33 +13,24 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Json_getObj_x3f(lean_object*);
|
||||
lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_instFromJsonNameMap__lake___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_cmp_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_cmp_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_DNameMap_empty(lean_object*);
|
||||
static lean_object* l_Lake_Name_quoteFrom___closed__4;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_NameMap_empty(lean_object*);
|
||||
static lean_object* l_Lake_Name_quoteFrom___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___lambda__1___boxed(lean_object*);
|
||||
uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lake_instForInNameMapProdName__lake___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instFromJsonNameMap__lake(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Name_quoteFrom___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_OrdNameMap_empty___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_isAnonymous_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_appendCore_match__1_splitter(lean_object*);
|
||||
lean_object* l_Lake_RBArray_empty___rarg(lean_object*);
|
||||
static lean_object* l_Lake_Name_quoteFrom___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Name_quoteFrom___closed__5;
|
||||
static lean_object* l_Lake_Name_quoteFrom___closed__2;
|
||||
LEAN_EXPORT uint8_t l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___lambda__1(lean_object*);
|
||||
lean_object* l_Lean_Syntax_copyHeadTailInfoFrom(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_isPrefixOf_match__1_splitter(lean_object*);
|
||||
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
|
||||
|
|
@ -51,22 +42,16 @@ LEAN_EXPORT lean_object* l_Lake_stringToLegalOrSimpleName(lean_object*);
|
|||
lean_object* l_Lean_quoteNameMk(lean_object*);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_cmp_match__2_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instCoeRBMapNameQuickCmpNameMap__lake(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Name_eraseHead(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instToJsonNameMap__lake(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instForInNameMapProdName__lake(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instForInNameMapProdName__lake___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lake_instForInNameMapProdName__lake___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__1;
|
||||
static lean_object* l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_isAnonymous_match__1_splitter(lean_object*);
|
||||
static lean_object* l_Lake_Name_quoteFrom___closed__3;
|
||||
lean_object* l_id___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_mkOrdNameMap(lean_object*);
|
||||
lean_object* l_String_toName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lake_instForInNameMapProdName__lake___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -81,10 +66,8 @@ static lean_object* l_Lake_instCoeRBMapNameQuickCmpNameMap__lake___closed__1;
|
|||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_isPrefixOf_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_isAnonymous_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_OrdNameMap_empty(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Name_quoteFrom(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lake_instToJsonNameMap__lake___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Name_0__Lean_Name_cmp_match__2_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_stringToLegalOrSimpleName(lean_object* x_1) {
|
||||
_start:
|
||||
|
|
@ -337,275 +320,6 @@ x_2 = lean_box(0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
x_2 = 0;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___lambda__1___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_4 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_3, 3);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
x_8 = l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg(x_1, x_2, x_4);
|
||||
x_9 = 1;
|
||||
x_10 = l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___closed__1;
|
||||
x_11 = l_Lean_Name_toString(x_5, x_9, x_10);
|
||||
lean_inc(x_1);
|
||||
x_12 = lean_apply_1(x_1, x_6);
|
||||
x_13 = l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(x_8, x_11, x_12);
|
||||
x_2 = x_13;
|
||||
x_3 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_instToJsonNameMap__lake___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_box(0);
|
||||
x_4 = l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg(x_1, x_3, x_2);
|
||||
x_5 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_instToJsonNameMap__lake(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lake_instToJsonNameMap__lake___rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___lambda__1___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___lambda__1(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("expected name", 13, 13);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__1;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_3, 3);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
x_9 = l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg(x_1, x_2, x_5);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_10 = !lean_is_exclusive(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_13 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_9);
|
||||
x_14 = l_String_toName(x_6);
|
||||
x_15 = l_Lean_Name_isAnonymous(x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16;
|
||||
lean_inc(x_1);
|
||||
x_16 = lean_apply_1(x_1, x_7);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
uint8_t x_17;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_17 = !lean_is_exclusive(x_16);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
x_18 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
x_19 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_16);
|
||||
x_21 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_13, x_14, x_20);
|
||||
x_2 = x_21;
|
||||
x_3 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_1);
|
||||
x_23 = l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__2;
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_instFromJsonNameMap__lake___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObj_x3f(x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
lean_dec(x_1);
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_7 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_3);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg(x_1, x_8, x_7);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_instFromJsonNameMap__lake(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lake_instFromJsonNameMap__lake___rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lake_Name_eraseHead(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1128,12 +842,6 @@ l_Lake_OrdNameMap_empty___closed__1 = _init_l_Lake_OrdNameMap_empty___closed__1(
|
|||
lean_mark_persistent(l_Lake_OrdNameMap_empty___closed__1);
|
||||
l_Lake_OrdNameMap_empty___closed__2 = _init_l_Lake_OrdNameMap_empty___closed__2();
|
||||
lean_mark_persistent(l_Lake_OrdNameMap_empty___closed__2);
|
||||
l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___closed__1 = _init_l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_RBNode_fold___at_Lake_instToJsonNameMap__lake___spec__1___rarg___closed__1);
|
||||
l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__1 = _init_l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__1);
|
||||
l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__2 = _init_l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_RBNode_foldM___at_Lake_instFromJsonNameMap__lake___spec__1___rarg___closed__2);
|
||||
l_Lake_Name_quoteFrom___closed__1 = _init_l_Lake_Name_quoteFrom___closed__1();
|
||||
lean_mark_persistent(l_Lake_Name_quoteFrom___closed__1);
|
||||
l_Lake_Name_quoteFrom___closed__2 = _init_l_Lake_Name_quoteFrom___closed__2();
|
||||
|
|
|
|||
16
stage0/stdlib/Lean/Compiler/IR.c
generated
16
stage0/stdlib/Lean/Compiler/IR.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Compiler.IR
|
||||
// Imports: Lean.Compiler.IR.Basic Lean.Compiler.IR.Format Lean.Compiler.IR.CompilerM Lean.Compiler.IR.PushProj Lean.Compiler.IR.ElimDeadVars Lean.Compiler.IR.SimpCase Lean.Compiler.IR.ResetReuse Lean.Compiler.IR.NormIds Lean.Compiler.IR.Checker Lean.Compiler.IR.Borrow Lean.Compiler.IR.Boxing Lean.Compiler.IR.RC Lean.Compiler.IR.ExpandResetReuse Lean.Compiler.IR.UnboxResult Lean.Compiler.IR.ElimDeadBranches Lean.Compiler.IR.EmitC Lean.Compiler.IR.CtorLayout Lean.Compiler.IR.Sorry Lean.Compiler.IR.LLVMBindings Lean.Compiler.IR.EmitLLVM
|
||||
// Imports: Lean.Compiler.IR.Basic Lean.Compiler.IR.Format Lean.Compiler.IR.CompilerM Lean.Compiler.IR.PushProj Lean.Compiler.IR.ElimDeadVars Lean.Compiler.IR.SimpCase Lean.Compiler.IR.ResetReuse Lean.Compiler.IR.NormIds Lean.Compiler.IR.Checker Lean.Compiler.IR.Borrow Lean.Compiler.IR.Boxing Lean.Compiler.IR.RC Lean.Compiler.IR.ExpandResetReuse Lean.Compiler.IR.UnboxResult Lean.Compiler.IR.ElimDeadBranches Lean.Compiler.IR.EmitC Lean.Compiler.IR.CtorLayout Lean.Compiler.IR.Sorry Lean.Compiler.IR.ToIR Lean.Compiler.IR.LLVMBindings Lean.Compiler.IR.EmitLLVM
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -27,6 +27,7 @@ static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___closed_
|
|||
static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda__2___closed__3;
|
||||
static lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__3;
|
||||
static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda__2___closed__12;
|
||||
uint8_t l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__2(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
lean_object* l_Lean_IR_inferBorrow(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___closed__11;
|
||||
|
|
@ -56,6 +57,7 @@ static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___closed_
|
|||
static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda__2___closed__6;
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_IR_0__Lean_IR_compileAux___spec__5(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_178____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___closed__2;
|
||||
static lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__4;
|
||||
static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda__2___closed__17;
|
||||
|
|
@ -64,7 +66,6 @@ static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda_
|
|||
static lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda__2___closed__5;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__8;
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_IR_ExplicitBoxing_requiresBoxedVersion(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_IR_0__Lean_IR_compileAux___spec__3(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_IR_checkDecls(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -119,7 +120,6 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
|||
extern lean_object* l_Lean_Options_empty;
|
||||
lean_object* l_Lean_IR_explicitBoxing(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_IR_0__Lean_IR_compileAux___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -212,7 +212,7 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
|||
x_2 = l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__3;
|
||||
x_3 = l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__6;
|
||||
x_4 = l_Lean_IR_initFn____x40_Lean_Compiler_IR___hyg_5____closed__9;
|
||||
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(x_2, x_3, x_4, x_1);
|
||||
x_5 = l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_178____spec__1(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
@ -695,7 +695,7 @@ x_42 = lean_ctor_get(x_41, 1);
|
|||
lean_inc(x_42);
|
||||
lean_dec(x_41);
|
||||
x_43 = l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda__2___closed__16;
|
||||
x_44 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_6, x_43);
|
||||
x_44 = l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__2(x_6, x_43);
|
||||
if (x_44 == 0)
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46;
|
||||
|
|
@ -878,7 +878,7 @@ x_23 = lean_ctor_get(x_22, 1);
|
|||
lean_inc(x_23);
|
||||
lean_dec(x_22);
|
||||
x_24 = l___private_Lean_Compiler_IR_0__Lean_IR_compileAux___lambda__2___closed__16;
|
||||
x_25 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_2, x_24);
|
||||
x_25 = l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__2(x_2, x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27;
|
||||
|
|
@ -1523,6 +1523,7 @@ lean_object* initialize_Lean_Compiler_IR_ElimDeadBranches(uint8_t builtin, lean_
|
|||
lean_object* initialize_Lean_Compiler_IR_EmitC(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_CtorLayout(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_Sorry(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_ToIR(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_LLVMBindings(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Compiler_IR_EmitLLVM(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
|
|
@ -1584,6 +1585,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Compiler_IR_Sorry(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Compiler_IR_ToIR(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Compiler_IR_LLVMBindings(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
123945
stage0/stdlib/Lean/Compiler/IR/ToIR.c
generated
Normal file
123945
stage0/stdlib/Lean/Compiler/IR/ToIR.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2441
stage0/stdlib/Lean/Compiler/LCNF/Main.c
generated
2441
stage0/stdlib/Lean/Compiler/LCNF/Main.c
generated
File diff suppressed because it is too large
Load diff
658
stage0/stdlib/Lean/CoreM.c
generated
658
stage0/stdlib/Lean/CoreM.c
generated
|
|
@ -23,7 +23,6 @@ static lean_object* l___private_Lean_CoreM_0__Lean_supportedRecursors___closed__
|
|||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_checkMaxHeartbeats___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_enableRealizationsForConst(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__1;
|
||||
static lean_object* l_Lean_Core_instMonadCoreM___closed__1;
|
||||
static lean_object* l_Lean_Core_instMonadCoreM___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_CoreM_0__Lean_Core_withCurrHeartbeatsImp(lean_object*);
|
||||
|
|
@ -50,13 +49,12 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
|||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_5____closed__1;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Lean_CoreM___hyg_4116_;
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_compileDecls_doCompile___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_elem___at_Lean_catchInternalIds___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ConstantVal_instantiateTypeLevelParams(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_initFn____x40_Lean_CoreM___hyg_263____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_ImportM_runCoreM___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_getAndEmptyMessageLog(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkArrow___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -72,6 +70,7 @@ uint8_t l_List_all___rarg(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_PersistentArray_toArray___rarg(lean_object*);
|
||||
static lean_object* l_Lean_compileDecls___lambda__2___closed__2;
|
||||
lean_object* l_Lean_profileitIOUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713_(lean_object*);
|
||||
static lean_object* l_Lean_Core_initFn____x40_Lean_CoreM___hyg_263____closed__15;
|
||||
uint8_t l_Lean_Exception_isMaxRecDepth(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_catchInternalIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -156,7 +155,6 @@ uint8_t lean_usize_dec_eq(size_t, size_t);
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Core_wrapAsyncAsSnapshot___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_5____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_setMessageLog___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_compileDecls_doCompile___lambda__5___closed__1;
|
||||
static double l_Lean_withTraceNode___at_Lean_Core_wrapAsyncAsSnapshot___spec__1___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Core_instantiateValueLevelParams___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -231,6 +229,7 @@ lean_object* lean_lcnf_compile_decls(lean_object*, lean_object*, lean_object*, l
|
|||
extern lean_object* l_Lean_trace_profiler_useHeartbeats;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_compileDecls___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__5;
|
||||
static lean_object* l_Lean_useDiagnosticMsg___lambda__2___closed__10;
|
||||
static lean_object* l___auto____x40_Lean_CoreM___hyg_3975____closed__30;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_saveState(lean_object*);
|
||||
|
|
@ -273,7 +272,8 @@ LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_compileDecls_doCo
|
|||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Core_instantiateTypeLevelParams___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_153____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_withTraceNode___at_Lean_Core_wrapAsyncAsSnapshot___spec__1___lambda__4___closed__3;
|
||||
uint8_t lean_string_validate_utf8(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -364,14 +364,12 @@ lean_object* l_IO_addHeartbeats(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_traceBlock___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_instInhabitedCache___closed__3;
|
||||
static lean_object* l_List_foldlM___at___private_Lean_CoreM_0__Lean_checkUnsupported___spec__2___rarg___lambda__2___closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__3;
|
||||
lean_object* l_instDecidableEqPos___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_CoreM___hyg_3975____closed__8;
|
||||
static lean_object* l___private_Lean_CoreM_0__Lean_supportedRecursors___closed__29;
|
||||
static lean_object* l_Lean_logAt___at_Lean_Core_wrapAsyncAsSnapshot___spec__14___closed__1;
|
||||
static lean_object* l_Lean_compileDecls___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__5;
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_wrapAsyncAsSnapshot(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Core_instMonadLogCoreM___lambda__5(lean_object*);
|
||||
|
|
@ -414,6 +412,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_traceBlock___spec__2___r
|
|||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_async;
|
||||
static lean_object* l___auto____x40_Lean_CoreM___hyg_3975____closed__40;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_compileDecls_doCompile___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_traceBlock___spec__2___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
|
|
@ -485,7 +484,6 @@ LEAN_EXPORT lean_object* l_Lean_Core_wrapAsyncAsSnapshot___rarg___lambda__4(lean
|
|||
static lean_object* l___auto____x40_Lean_CoreM___hyg_3975____closed__20;
|
||||
static lean_object* l_Lean_Core_initFn____x40_Lean_CoreM___hyg_263____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_compileDecls_doCompile___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_enableRealizationsForConst(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Core_wrapAsyncAsSnapshot___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -553,8 +551,10 @@ LEAN_EXPORT lean_object* l_Lean_Core_instantiateValueLevelParams___lambda__1(lea
|
|||
LEAN_EXPORT lean_object* l_Lean_compileDecls(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Environment_PromiseCheckedResult_commitChecked(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_40____closed__5;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_withIncRecDepth___spec__1___rarg___closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_CoreM_toIO(lean_object*);
|
||||
lean_object* lean_task_get_own(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_tryCatchRuntimeEx___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -629,7 +629,6 @@ static lean_object* l_Lean_Core_wrapAsyncAsSnapshot___rarg___lambda__4___closed_
|
|||
LEAN_EXPORT lean_object* l_Lean_Core_SavedState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwInterruptException___at_Lean_Core_checkInterrupted___spec__1___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_40_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_compileDecls_doCompile___spec__12(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadLogCoreM___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadTraceCoreM___lambda__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -689,7 +688,6 @@ LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at___private_Lean_CoreM_
|
|||
LEAN_EXPORT lean_object* l_Lean_logMessageKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_catchInternalIds___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadQuotationCoreM___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__5(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_mkArrowN___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_foldlM___at___private_Lean_CoreM_0__Lean_checkUnsupported___spec__2___rarg___lambda__2___closed__3;
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
|
|
@ -727,7 +725,6 @@ static lean_object* l___auto____x40_Lean_CoreM___hyg_3975____closed__18;
|
|||
static lean_object* l_Lean_traceBlock___rarg___lambda__3___closed__1;
|
||||
static lean_object* l___private_Lean_CoreM_0__Lean_supportedRecursors___closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__2;
|
||||
static lean_object* l_Lean_Core_throwMaxHeartbeat___closed__10;
|
||||
static lean_object* l_Lean_Core_initFn____x40_Lean_CoreM___hyg_263____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_instMonadInfoTreeCoreM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -744,6 +741,7 @@ LEAN_EXPORT uint8_t l_List_foldlM___at___private_Lean_CoreM_0__Lean_checkUnsuppo
|
|||
static lean_object* l___auto____x40_Lean_CoreM___hyg_3975____closed__11;
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_CoreM_0__Lean_supportedRecursors___closed__5;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__2;
|
||||
static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Core_instantiateTypeLevelParams___spec__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_throwMaxHeartbeat___closed__12;
|
||||
|
|
@ -818,7 +816,6 @@ extern lean_object* l_Lean_trace_profiler;
|
|||
uint8_t l_Lean_PersistentArray_isEmpty___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_wrapAsyncAsSnapshot___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_107_(uint8_t, uint8_t);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -949,6 +946,7 @@ LEAN_EXPORT lean_object* l_Lean_Core_getMaxHeartbeats___boxed(lean_object*);
|
|||
static lean_object* l_Lean_useDiagnosticMsg___closed__1;
|
||||
static lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1___closed__1;
|
||||
double lean_float_sub(double, double);
|
||||
static lean_object* l_Lean_compileDecls_doCompile___lambda__4___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_wrapAsync(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_instMonadLogCoreM___lambda__6___closed__1;
|
||||
static lean_object* l___auto____x40_Lean_CoreM___hyg_3975____closed__16;
|
||||
|
|
@ -26096,6 +26094,14 @@ return x_8;
|
|||
static lean_object* _init_l_Lean_compileDecls_doCompile___lambda__4___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_compiler_enableNew;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_compileDecls_doCompile___lambda__4___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_initFn____x40_Lean_CoreM___hyg_5018____closed__1;
|
||||
|
|
@ -26103,291 +26109,308 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14;
|
||||
lean_inc(x_1);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_compileDecls_doCompile___lambda__1___boxed), 5, 1);
|
||||
lean_closure_set(x_9, 0, x_1);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_compileDecls_doCompile___lambda__2___boxed), 5, 2);
|
||||
lean_closure_set(x_10, 0, x_2);
|
||||
lean_closure_set(x_10, 1, x_1);
|
||||
x_11 = l_Lean_compileDecls_doCompile___lambda__4___closed__1;
|
||||
x_12 = 1;
|
||||
x_13 = l_Lean_initFn____x40_Lean_CoreM___hyg_80____closed__3;
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_14 = l_Lean_withTraceNode___at_Lean_compileDecls_doCompile___spec__2(x_11, x_9, x_10, x_12, x_13, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_15);
|
||||
if (lean_obj_tag(x_16) == 12)
|
||||
{
|
||||
if (x_3 == 0)
|
||||
{
|
||||
uint8_t x_17;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
x_17 = !lean_is_exclusive(x_14);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
x_18 = lean_ctor_get(x_14, 0);
|
||||
lean_dec(x_18);
|
||||
x_19 = lean_box(0);
|
||||
lean_ctor_set(x_14, 0, x_19);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_20 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_14);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
lean_ctor_set(x_22, 1, x_20);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_23 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_14);
|
||||
x_24 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_16);
|
||||
x_25 = lean_box(0);
|
||||
x_26 = l_Lean_compileDecls_doCompile___lambda__3(x_24, x_25, x_6, x_7, x_23);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_27 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_14);
|
||||
x_28 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_16);
|
||||
x_29 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_4);
|
||||
x_30 = l___private_Lean_CoreM_0__Lean_checkUnsupported___at_Lean_compileDecls_doCompile___spec__6(x_29, x_6, x_7, x_27);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_31 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_31);
|
||||
x_32 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_30);
|
||||
x_33 = l_Lean_compileDecls_doCompile___lambda__3(x_28, x_31, x_6, x_7, x_32);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_31);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_34;
|
||||
lean_dec(x_28);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_34 = !lean_is_exclusive(x_30);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
return x_30;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_35 = lean_ctor_get(x_30, 0);
|
||||
x_36 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_30);
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_35);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_4);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
uint8_t x_38;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_38 = !lean_is_exclusive(x_14);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40;
|
||||
x_39 = lean_ctor_get(x_14, 0);
|
||||
lean_dec(x_39);
|
||||
x_40 = lean_box(0);
|
||||
lean_ctor_set(x_14, 0, x_40);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
x_41 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_14);
|
||||
x_42 = lean_box(0);
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_41);
|
||||
return x_43;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45;
|
||||
x_44 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_14);
|
||||
x_45 = l_Lean_throwKernelException___at_Lean_compileDecls_doCompile___spec__4(x_16, x_6, x_7, x_44);
|
||||
lean_dec(x_7);
|
||||
return x_45;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
lean_dec(x_4);
|
||||
x_46 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_14);
|
||||
x_47 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_15);
|
||||
x_48 = l_Lean_setEnv___at_Lean_compileDecls_doCompile___spec__12(x_47, x_6, x_7, x_46);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_49;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
x_49 = !lean_is_exclusive(x_14);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_14, 0);
|
||||
x_51 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_14);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_compileDecls_doCompile___lambda__5___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_compiler_enableNew;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; uint8_t x_10;
|
||||
x_8 = lean_ctor_get(x_5, 2);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_Lean_compileDecls_doCompile___lambda__5___closed__1;
|
||||
x_9 = l_Lean_compileDecls_doCompile___lambda__4___closed__1;
|
||||
x_10 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_8, x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_box(0);
|
||||
x_12 = l_Lean_compileDecls_doCompile___lambda__4(x_1, x_8, x_2, x_3, x_11, x_5, x_6, x_7);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16;
|
||||
lean_inc(x_1);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_compileDecls_doCompile___lambda__1___boxed), 5, 1);
|
||||
lean_closure_set(x_11, 0, x_1);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_compileDecls_doCompile___lambda__2___boxed), 5, 2);
|
||||
lean_closure_set(x_12, 0, x_8);
|
||||
lean_closure_set(x_12, 1, x_1);
|
||||
x_13 = l_Lean_compileDecls_doCompile___lambda__4___closed__2;
|
||||
x_14 = 1;
|
||||
x_15 = l_Lean_initFn____x40_Lean_CoreM___hyg_80____closed__3;
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_1);
|
||||
x_13 = lean_lcnf_compile_decls(x_1, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
x_16 = l_Lean_withTraceNode___at_Lean_compileDecls_doCompile___spec__2(x_13, x_11, x_12, x_14, x_15, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_compileDecls_doCompile___lambda__4(x_1, x_8, x_2, x_3, x_14, x_5, x_6, x_15);
|
||||
lean_dec(x_14);
|
||||
lean_object* x_17;
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_17);
|
||||
if (lean_obj_tag(x_18) == 12)
|
||||
{
|
||||
if (x_2 == 0)
|
||||
{
|
||||
uint8_t x_19;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
x_19 = !lean_is_exclusive(x_16);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_16, 0);
|
||||
lean_dec(x_20);
|
||||
x_21 = lean_box(0);
|
||||
lean_ctor_set(x_16, 0, x_21);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_17;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_17 = !lean_is_exclusive(x_13);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
return x_13;
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_16);
|
||||
x_23 = lean_box(0);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_22);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_13, 0);
|
||||
x_19 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_13);
|
||||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
return x_20;
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_25 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_16);
|
||||
x_26 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_18);
|
||||
x_27 = lean_box(0);
|
||||
x_28 = l_Lean_compileDecls_doCompile___lambda__3(x_26, x_27, x_5, x_6, x_25);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_29 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_16);
|
||||
x_30 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_18);
|
||||
x_31 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_3);
|
||||
x_32 = l___private_Lean_CoreM_0__Lean_checkUnsupported___at_Lean_compileDecls_doCompile___spec__6(x_31, x_5, x_6, x_29);
|
||||
if (lean_obj_tag(x_32) == 0)
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
x_35 = l_Lean_compileDecls_doCompile___lambda__3(x_30, x_33, x_5, x_6, x_34);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_33);
|
||||
return x_35;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
lean_dec(x_30);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
x_36 = !lean_is_exclusive(x_32);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_37 = lean_ctor_get(x_32, 0);
|
||||
x_38 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_32);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_3);
|
||||
if (x_2 == 0)
|
||||
{
|
||||
uint8_t x_40;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
x_40 = !lean_is_exclusive(x_16);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
x_41 = lean_ctor_get(x_16, 0);
|
||||
lean_dec(x_41);
|
||||
x_42 = lean_box(0);
|
||||
lean_ctor_set(x_16, 0, x_42);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_16);
|
||||
x_44 = lean_box(0);
|
||||
x_45 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_44);
|
||||
lean_ctor_set(x_45, 1, x_43);
|
||||
return x_45;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47;
|
||||
x_46 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_16);
|
||||
x_47 = l_Lean_throwKernelException___at_Lean_compileDecls_doCompile___spec__4(x_18, x_5, x_6, x_46);
|
||||
lean_dec(x_6);
|
||||
return x_47;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
lean_dec(x_3);
|
||||
x_48 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_16);
|
||||
x_49 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_49);
|
||||
lean_dec(x_17);
|
||||
x_50 = l_Lean_setEnv___at_Lean_compileDecls_doCompile___spec__12(x_49, x_5, x_6, x_48);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
return x_50;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_51;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
x_51 = !lean_is_exclusive(x_16);
|
||||
if (x_51 == 0)
|
||||
{
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_52 = lean_ctor_get(x_16, 0);
|
||||
x_53 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_53);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_16);
|
||||
x_54 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_52);
|
||||
lean_ctor_set(x_54, 1, x_53);
|
||||
return x_54;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_3);
|
||||
x_55 = lean_lcnf_compile_decls(x_1, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_55) == 0)
|
||||
{
|
||||
uint8_t x_56;
|
||||
x_56 = !lean_is_exclusive(x_55);
|
||||
if (x_56 == 0)
|
||||
{
|
||||
return x_55;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58; lean_object* x_59;
|
||||
x_57 = lean_ctor_get(x_55, 0);
|
||||
x_58 = lean_ctor_get(x_55, 1);
|
||||
lean_inc(x_58);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_55);
|
||||
x_59 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_59, 0, x_57);
|
||||
lean_ctor_set(x_59, 1, x_58);
|
||||
return x_59;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (x_2 == 0)
|
||||
{
|
||||
uint8_t x_60;
|
||||
x_60 = !lean_is_exclusive(x_55);
|
||||
if (x_60 == 0)
|
||||
{
|
||||
lean_object* x_61; lean_object* x_62;
|
||||
x_61 = lean_ctor_get(x_55, 0);
|
||||
lean_dec(x_61);
|
||||
x_62 = lean_box(0);
|
||||
lean_ctor_set_tag(x_55, 0);
|
||||
lean_ctor_set(x_55, 0, x_62);
|
||||
return x_55;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
x_63 = lean_ctor_get(x_55, 1);
|
||||
lean_inc(x_63);
|
||||
lean_dec(x_55);
|
||||
x_64 = lean_box(0);
|
||||
x_65 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_64);
|
||||
lean_ctor_set(x_65, 1, x_63);
|
||||
return x_65;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_66;
|
||||
x_66 = !lean_is_exclusive(x_55);
|
||||
if (x_66 == 0)
|
||||
{
|
||||
return x_55;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_67 = lean_ctor_get(x_55, 0);
|
||||
x_68 = lean_ctor_get(x_55, 1);
|
||||
lean_inc(x_68);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_55);
|
||||
x_69 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_67);
|
||||
lean_ctor_set(x_69, 1, x_68);
|
||||
return x_69;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -26428,7 +26451,7 @@ else
|
|||
lean_object* x_16; lean_object* x_17;
|
||||
lean_free_object(x_7);
|
||||
x_16 = lean_box(0);
|
||||
x_17 = l_Lean_compileDecls_doCompile___lambda__5(x_1, x_3, x_2, x_16, x_4, x_5, x_10);
|
||||
x_17 = l_Lean_compileDecls_doCompile___lambda__4(x_1, x_3, x_2, x_16, x_4, x_5, x_10);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
|
|
@ -26465,7 +26488,7 @@ else
|
|||
{
|
||||
lean_object* x_26; lean_object* x_27;
|
||||
x_26 = lean_box(0);
|
||||
x_27 = l_Lean_compileDecls_doCompile___lambda__5(x_1, x_3, x_2, x_26, x_4, x_5, x_19);
|
||||
x_27 = l_Lean_compileDecls_doCompile___lambda__4(x_1, x_3, x_2, x_26, x_4, x_5, x_19);
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
|
|
@ -26685,24 +26708,13 @@ lean_dec(x_2);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10;
|
||||
x_9 = lean_unbox(x_3);
|
||||
lean_dec(x_3);
|
||||
x_10 = l_Lean_compileDecls_doCompile___lambda__4(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_5);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Lean_compileDecls_doCompile___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8; lean_object* x_9;
|
||||
x_8 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_9 = l_Lean_compileDecls_doCompile___lambda__5(x_1, x_8, x_3, x_4, x_5, x_6, x_7);
|
||||
x_9 = l_Lean_compileDecls_doCompile___lambda__4(x_1, x_8, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_4);
|
||||
return x_9;
|
||||
}
|
||||
|
|
@ -29238,7 +29250,7 @@ lean_dec(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -29248,63 +29260,63 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__1;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__1;
|
||||
x_2 = l_Lean_Core_initFn____x40_Lean_CoreM___hyg_263____closed__8;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_CoreM___hyg_5____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__3;
|
||||
x_2 = l_Lean_Core_initFn____x40_Lean_CoreM___hyg_263____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__4;
|
||||
x_2 = l_Lean_Core_initFn____x40_Lean_CoreM___hyg_263____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__5;
|
||||
x_2 = lean_unsigned_to_nat(6589u);
|
||||
x_1 = l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__5;
|
||||
x_2 = lean_unsigned_to_nat(6713u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6589_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_CoreM___hyg_6713_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_CoreM___hyg_114____closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__6;
|
||||
x_4 = l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__6;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -30024,8 +30036,8 @@ l_Lean_compileDecls_doCompile___lambda__1___closed__2 = _init_l_Lean_compileDecl
|
|||
lean_mark_persistent(l_Lean_compileDecls_doCompile___lambda__1___closed__2);
|
||||
l_Lean_compileDecls_doCompile___lambda__4___closed__1 = _init_l_Lean_compileDecls_doCompile___lambda__4___closed__1();
|
||||
lean_mark_persistent(l_Lean_compileDecls_doCompile___lambda__4___closed__1);
|
||||
l_Lean_compileDecls_doCompile___lambda__5___closed__1 = _init_l_Lean_compileDecls_doCompile___lambda__5___closed__1();
|
||||
lean_mark_persistent(l_Lean_compileDecls_doCompile___lambda__5___closed__1);
|
||||
l_Lean_compileDecls_doCompile___lambda__4___closed__2 = _init_l_Lean_compileDecls_doCompile___lambda__4___closed__2();
|
||||
lean_mark_persistent(l_Lean_compileDecls_doCompile___lambda__4___closed__2);
|
||||
l_Lean_compileDecls___lambda__2___closed__1 = _init_l_Lean_compileDecls___lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_compileDecls___lambda__2___closed__1);
|
||||
l_Lean_compileDecls___lambda__2___closed__2 = _init_l_Lean_compileDecls___lambda__2___closed__2();
|
||||
|
|
@ -30061,19 +30073,19 @@ l_Lean_instMonadExceptOfExceptionCoreM___closed__3 = _init_l_Lean_instMonadExcep
|
|||
lean_mark_persistent(l_Lean_instMonadExceptOfExceptionCoreM___closed__3);
|
||||
l_Lean_instMonadExceptOfExceptionCoreM = _init_l_Lean_instMonadExceptOfExceptionCoreM();
|
||||
lean_mark_persistent(l_Lean_instMonadExceptOfExceptionCoreM);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__1 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__1);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__2 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__2);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__3 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__3);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__4 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__4);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__5 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__5);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__6 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6589____closed__6);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_CoreM___hyg_6589_(lean_io_mk_world());
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__1 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__1);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__2 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__2);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__3 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__3);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__4 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__4);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__5 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__5);
|
||||
l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__6 = _init_l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_CoreM___hyg_6713____closed__6);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_CoreM___hyg_6713_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
469
stage0/stdlib/Lean/Data/Json/FromToJson.c
generated
469
stage0/stdlib/Lean/Data/Json/FromToJson.c
generated
|
|
@ -37,6 +37,7 @@ uint64_t lean_uint64_of_nat(lean_object*);
|
|||
static lean_object* l_Lean_instFromJsonEmpty___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonFloat___closed__14___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonFilePath(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonNameMap___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonString;
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonJsonNumber;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
|
|
@ -52,6 +53,7 @@ static lean_object* l_Lean_instFromJsonFloat___closed__8;
|
|||
static double l_Lean_instFromJsonFloat___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonOption(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonJsonNumber(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonNameMap___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonBool(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonUSize___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -71,6 +73,7 @@ LEAN_EXPORT lean_object* l_Lean_instFromJsonRBMapString(lean_object*);
|
|||
lean_object* l_Lean_Json_getObjVal_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonUSize(size_t);
|
||||
static double l_Lean_instFromJsonFloat___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonNameMap___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonName___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonArray___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
|
||||
|
|
@ -98,6 +101,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instFromJsonArray___sp
|
|||
LEAN_EXPORT lean_object* l_Lean_instToJsonList___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_setObjVal_x21(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonNameMap___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instToJsonArray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonFloat___closed__12___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_instToJsonStructured(lean_object*);
|
||||
|
|
@ -121,6 +125,7 @@ lean_object* l_Lean_RBNode_insert___rarg(lean_object*, lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_instFromJsonInt;
|
||||
static lean_object* l_Lean_instFromJsonName___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonJson(lean_object*);
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_System_Platform_numBits;
|
||||
static lean_object* l_Lean_instToJsonJson___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instToJsonArray___spec__1(lean_object*);
|
||||
|
|
@ -132,6 +137,7 @@ lean_object* l_Lean_Syntax_decodeNatLitVal_x3f(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instFromJsonList___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonArray(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_bignumFromJson_x3f(lean_object*);
|
||||
static lean_object* l_Lean_instFromJsonNameMap___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonUInt64___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instFromJsonFloat___closed__14;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
|
|
@ -160,9 +166,11 @@ lean_object* l_id___rarg___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_instFromJsonRBMapString___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_toName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonList___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonNameMap(lean_object*);
|
||||
lean_object* l_Lean_Json_getNat_x3f(lean_object*);
|
||||
static double l_Lean_instFromJsonFloat___closed__7;
|
||||
lean_object* l_Lean_Name_getString_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_instToJsonNameMap___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_bignumToJson(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonList(lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
|
|
@ -171,6 +179,7 @@ size_t lean_usize_add(size_t, size_t);
|
|||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
static double l_Lean_instFromJsonFloat___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_instToJsonNameMap___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonProd___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Json_instFromJsonStructured___closed__1;
|
||||
|
|
@ -186,6 +195,7 @@ uint8_t lean_usize_dec_lt(size_t, size_t);
|
|||
static lean_object* l_Lean_Json_parseTagged___closed__4;
|
||||
static lean_object* l_Lean_instFromJsonFloat___closed__2;
|
||||
static lean_object* l_Lean_instFromJsonOption___rarg___closed__1;
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f(lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
|
|
@ -193,6 +203,7 @@ LEAN_EXPORT lean_object* l_Lean_instToJsonFloat(double);
|
|||
static lean_object* l_Lean_instFromJsonUSize___closed__3;
|
||||
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonOption(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonNameMap(lean_object*);
|
||||
lean_object* l_Lean_Json_getInt_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonJson(lean_object* x_1) {
|
||||
_start:
|
||||
|
|
@ -1698,6 +1709,462 @@ x_3 = lean_box(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonNameMap___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_3, 3);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
x_9 = l_Lean_RBNode_foldM___at_Lean_instFromJsonNameMap___spec__1___rarg(x_1, x_2, x_5);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_10 = !lean_is_exclusive(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = !lean_is_exclusive(x_9);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_14 = lean_ctor_get(x_9, 0);
|
||||
x_15 = l_Lean_instFromJsonName___closed__1;
|
||||
x_16 = lean_string_dec_eq(x_6, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17; uint8_t x_18;
|
||||
lean_inc(x_6);
|
||||
x_17 = l_String_toName(x_6);
|
||||
x_18 = l_Lean_Name_isAnonymous(x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19;
|
||||
lean_free_object(x_9);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_1);
|
||||
x_19 = lean_apply_1(x_1, x_7);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
uint8_t x_20;
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
x_23 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_19);
|
||||
x_24 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_14, x_17, x_23);
|
||||
x_2 = x_24;
|
||||
x_3 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_1);
|
||||
x_26 = l_Lean_instFromJsonName___closed__2;
|
||||
x_27 = lean_string_append(x_26, x_6);
|
||||
lean_dec(x_6);
|
||||
x_28 = l_Lean_instFromJsonArray___rarg___closed__2;
|
||||
x_29 = lean_string_append(x_27, x_28);
|
||||
lean_ctor_set_tag(x_9, 0);
|
||||
lean_ctor_set(x_9, 0, x_29);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30;
|
||||
lean_free_object(x_9);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_1);
|
||||
x_30 = lean_apply_1(x_1, x_7);
|
||||
if (lean_obj_tag(x_30) == 0)
|
||||
{
|
||||
uint8_t x_31;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_31 = !lean_is_exclusive(x_30);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
return x_30;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33;
|
||||
x_32 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_30);
|
||||
x_33 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_34 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_30);
|
||||
x_35 = lean_box(0);
|
||||
x_36 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_14, x_35, x_34);
|
||||
x_2 = x_36;
|
||||
x_3 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; uint8_t x_40;
|
||||
x_38 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_9);
|
||||
x_39 = l_Lean_instFromJsonName___closed__1;
|
||||
x_40 = lean_string_dec_eq(x_6, x_39);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
lean_object* x_41; uint8_t x_42;
|
||||
lean_inc(x_6);
|
||||
x_41 = l_String_toName(x_6);
|
||||
x_42 = l_Lean_Name_isAnonymous(x_41);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
lean_object* x_43;
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_1);
|
||||
x_43 = lean_apply_1(x_1, x_7);
|
||||
if (lean_obj_tag(x_43) == 0)
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46;
|
||||
lean_dec(x_41);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_44 = lean_ctor_get(x_43, 0);
|
||||
lean_inc(x_44);
|
||||
if (lean_is_exclusive(x_43)) {
|
||||
lean_ctor_release(x_43, 0);
|
||||
x_45 = x_43;
|
||||
} else {
|
||||
lean_dec_ref(x_43);
|
||||
x_45 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_45)) {
|
||||
x_46 = lean_alloc_ctor(0, 1, 0);
|
||||
} else {
|
||||
x_46 = x_45;
|
||||
}
|
||||
lean_ctor_set(x_46, 0, x_44);
|
||||
return x_46;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48;
|
||||
x_47 = lean_ctor_get(x_43, 0);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_43);
|
||||
x_48 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_38, x_41, x_47);
|
||||
x_2 = x_48;
|
||||
x_3 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
lean_dec(x_41);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_1);
|
||||
x_50 = l_Lean_instFromJsonName___closed__2;
|
||||
x_51 = lean_string_append(x_50, x_6);
|
||||
lean_dec(x_6);
|
||||
x_52 = l_Lean_instFromJsonArray___rarg___closed__2;
|
||||
x_53 = lean_string_append(x_51, x_52);
|
||||
x_54 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_54, 0, x_53);
|
||||
return x_54;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55;
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_1);
|
||||
x_55 = lean_apply_1(x_1, x_7);
|
||||
if (lean_obj_tag(x_55) == 0)
|
||||
{
|
||||
lean_object* x_56; lean_object* x_57; lean_object* x_58;
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_56 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_56);
|
||||
if (lean_is_exclusive(x_55)) {
|
||||
lean_ctor_release(x_55, 0);
|
||||
x_57 = x_55;
|
||||
} else {
|
||||
lean_dec_ref(x_55);
|
||||
x_57 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_57)) {
|
||||
x_58 = lean_alloc_ctor(0, 1, 0);
|
||||
} else {
|
||||
x_58 = x_57;
|
||||
}
|
||||
lean_ctor_set(x_58, 0, x_56);
|
||||
return x_58;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
x_59 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_59);
|
||||
lean_dec(x_55);
|
||||
x_60 = lean_box(0);
|
||||
x_61 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_38, x_60, x_59);
|
||||
x_2 = x_61;
|
||||
x_3 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonNameMap___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_foldM___at_Lean_instFromJsonNameMap___spec__1___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instFromJsonNameMap___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("expected a `NameMap`, got '", 27, 27);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonNameMap___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (lean_obj_tag(x_2)) {
|
||||
case 0:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_unsigned_to_nat(80u);
|
||||
x_4 = l_Lean_Json_pretty(x_2, x_3);
|
||||
x_5 = l_Lean_instFromJsonNameMap___rarg___closed__1;
|
||||
x_6 = lean_string_append(x_5, x_4);
|
||||
lean_dec(x_4);
|
||||
x_7 = l_Lean_instFromJsonArray___rarg___closed__2;
|
||||
x_8 = lean_string_append(x_6, x_7);
|
||||
x_9 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
return x_9;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_unsigned_to_nat(80u);
|
||||
x_11 = l_Lean_Json_pretty(x_2, x_10);
|
||||
x_12 = l_Lean_instFromJsonNameMap___rarg___closed__1;
|
||||
x_13 = lean_string_append(x_12, x_11);
|
||||
lean_dec(x_11);
|
||||
x_14 = l_Lean_instFromJsonArray___rarg___closed__2;
|
||||
x_15 = lean_string_append(x_13, x_14);
|
||||
x_16 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
return x_16;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_2);
|
||||
x_18 = lean_box(0);
|
||||
x_19 = l_Lean_RBNode_foldM___at_Lean_instFromJsonNameMap___spec__1___rarg(x_1, x_18, x_17);
|
||||
return x_19;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
lean_dec(x_1);
|
||||
x_20 = lean_unsigned_to_nat(80u);
|
||||
lean_inc(x_2);
|
||||
x_21 = l_Lean_Json_pretty(x_2, x_20);
|
||||
x_22 = !lean_is_exclusive(x_2);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_23 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_23);
|
||||
x_24 = l_Lean_instFromJsonNameMap___rarg___closed__1;
|
||||
x_25 = lean_string_append(x_24, x_21);
|
||||
lean_dec(x_21);
|
||||
x_26 = l_Lean_instFromJsonArray___rarg___closed__2;
|
||||
x_27 = lean_string_append(x_25, x_26);
|
||||
lean_ctor_set_tag(x_2, 0);
|
||||
lean_ctor_set(x_2, 0, x_27);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
lean_dec(x_2);
|
||||
x_28 = l_Lean_instFromJsonNameMap___rarg___closed__1;
|
||||
x_29 = lean_string_append(x_28, x_21);
|
||||
lean_dec(x_21);
|
||||
x_30 = l_Lean_instFromJsonArray___rarg___closed__2;
|
||||
x_31 = lean_string_append(x_29, x_30);
|
||||
x_32 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonNameMap(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_instFromJsonNameMap___rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_instToJsonNameMap___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_4 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_3, 3);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
x_8 = l_Lean_RBNode_fold___at_Lean_instToJsonNameMap___spec__1___rarg(x_1, x_2, x_4);
|
||||
x_9 = 1;
|
||||
x_10 = l_Lean_instToJsonName___closed__1;
|
||||
x_11 = l_Lean_Name_toString(x_5, x_9, x_10);
|
||||
lean_inc(x_1);
|
||||
x_12 = lean_apply_1(x_1, x_6);
|
||||
x_13 = l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(x_8, x_11, x_12);
|
||||
x_2 = x_13;
|
||||
x_3 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_instToJsonNameMap___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lean_instToJsonNameMap___spec__1___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonNameMap___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_box(0);
|
||||
x_4 = l_Lean_RBNode_fold___at_Lean_instToJsonNameMap___spec__1___rarg(x_1, x_3, x_2);
|
||||
x_5 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonNameMap(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_instToJsonNameMap___rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_bignumFromJson_x3f___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3602,6 +4069,8 @@ l_Lean_instFromJsonName___closed__3 = _init_l_Lean_instFromJsonName___closed__3(
|
|||
lean_mark_persistent(l_Lean_instFromJsonName___closed__3);
|
||||
l_Lean_instToJsonName___closed__1 = _init_l_Lean_instToJsonName___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonName___closed__1);
|
||||
l_Lean_instFromJsonNameMap___rarg___closed__1 = _init_l_Lean_instFromJsonNameMap___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_instFromJsonNameMap___rarg___closed__1);
|
||||
l_Lean_bignumFromJson_x3f___closed__1 = _init_l_Lean_bignumFromJson_x3f___closed__1();
|
||||
lean_mark_persistent(l_Lean_bignumFromJson_x3f___closed__1);
|
||||
l_Lean_instFromJsonUSize___closed__1 = _init_l_Lean_instFromJsonUSize___closed__1();
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
24
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
|
|
@ -111,7 +111,6 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonS
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1933____closed__63;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1933____closed__5;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_48____closed__5;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1347____spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_598____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1347_(lean_object*);
|
||||
|
|
@ -226,6 +225,7 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonL
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_48_(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_1223_(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_48____closed__4;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_847____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_258____spec__3(lean_object*, lean_object*);
|
||||
|
|
@ -2320,7 +2320,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_451____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -8129,7 +8129,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_14);
|
||||
x_24 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__3;
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
@ -8169,7 +8169,7 @@ lean_inc(x_34);
|
|||
lean_dec(x_25);
|
||||
x_35 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__4;
|
||||
lean_inc(x_1);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_35);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_35);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
uint8_t x_37;
|
||||
|
|
@ -8210,7 +8210,7 @@ lean_inc(x_45);
|
|||
lean_dec(x_36);
|
||||
x_46 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__5;
|
||||
lean_inc(x_1);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_46);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_46);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
uint8_t x_48;
|
||||
|
|
@ -8252,7 +8252,7 @@ lean_inc(x_56);
|
|||
lean_dec(x_47);
|
||||
x_57 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__6;
|
||||
lean_inc(x_1);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_57);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_57);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
{
|
||||
uint8_t x_59;
|
||||
|
|
@ -8295,7 +8295,7 @@ lean_inc(x_67);
|
|||
lean_dec(x_58);
|
||||
x_68 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__7;
|
||||
lean_inc(x_1);
|
||||
x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_68);
|
||||
x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_68);
|
||||
if (lean_obj_tag(x_69) == 0)
|
||||
{
|
||||
uint8_t x_70;
|
||||
|
|
@ -8339,7 +8339,7 @@ lean_inc(x_78);
|
|||
lean_dec(x_69);
|
||||
x_79 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__8;
|
||||
lean_inc(x_1);
|
||||
x_80 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_79);
|
||||
x_80 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_79);
|
||||
if (lean_obj_tag(x_80) == 0)
|
||||
{
|
||||
uint8_t x_81;
|
||||
|
|
@ -8384,7 +8384,7 @@ lean_inc(x_89);
|
|||
lean_dec(x_80);
|
||||
x_90 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__9;
|
||||
lean_inc(x_1);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_90);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_90);
|
||||
if (lean_obj_tag(x_91) == 0)
|
||||
{
|
||||
uint8_t x_92;
|
||||
|
|
@ -8430,7 +8430,7 @@ lean_inc(x_100);
|
|||
lean_dec(x_91);
|
||||
x_101 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__10;
|
||||
lean_inc(x_1);
|
||||
x_102 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_101);
|
||||
x_102 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_101);
|
||||
if (lean_obj_tag(x_102) == 0)
|
||||
{
|
||||
uint8_t x_103;
|
||||
|
|
@ -8525,7 +8525,7 @@ lean_inc(x_122);
|
|||
lean_dec(x_113);
|
||||
x_123 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__12;
|
||||
lean_inc(x_1);
|
||||
x_124 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_123);
|
||||
x_124 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_123);
|
||||
if (lean_obj_tag(x_124) == 0)
|
||||
{
|
||||
uint8_t x_125;
|
||||
|
|
@ -8574,7 +8574,7 @@ lean_inc(x_133);
|
|||
lean_dec(x_124);
|
||||
x_134 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1745____closed__13;
|
||||
lean_inc(x_1);
|
||||
x_135 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_134);
|
||||
x_135 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_134);
|
||||
if (lean_obj_tag(x_135) == 0)
|
||||
{
|
||||
uint8_t x_136;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
4
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
|
|
@ -98,7 +98,6 @@ static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCo
|
|||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_148____closed__19;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonCodeActionDisabled___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_293____spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_885____closed__2;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1932____closed__34;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_885____closed__9;
|
||||
|
|
@ -211,6 +210,7 @@ static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCo
|
|||
static lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__1;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_390____closed__14;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonCodeActionClientCapabilities___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1753____closed__5;
|
||||
static lean_object* l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet___closed__1;
|
||||
|
|
@ -2881,7 +2881,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_839____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
|
|||
23
stage0/stdlib/Lean/Data/NameMap.c
generated
23
stage0/stdlib/Lean/Data/NameMap.c
generated
|
|
@ -27,6 +27,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1
|
|||
LEAN_EXPORT lean_object* l_Lean_NameMap_insert___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSet_contains___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_instInhabited;
|
||||
extern lean_object* l_Lean_Name_instRepr;
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_find_x3f___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSet_append___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -38,6 +39,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameMap_contains___spec__1
|
|||
uint8_t l_Lean_RBNode_isRed___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_filter(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_instRepr___rarg(lean_object*);
|
||||
size_t lean_usize_mul(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_NameSSet_insert___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
|
|
@ -89,9 +91,11 @@ static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_NameSSet_insert___spe
|
|||
static lean_object* l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_NameMap_instForInProdName___closed__1;
|
||||
lean_object* l_Lean_RBMap_instRepr___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_NameSSet_insert___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_filter_go___at_Lean_NameHashSet_filter___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_instRepr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_NameSSet_insert___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_find_x3f___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -177,6 +181,25 @@ x_2 = lean_box(0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_instRepr___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Name_instRepr;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_RBMap_instRepr___rarg___boxed), 4, 2);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
lean_closure_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_instRepr(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_NameMap_instRepr___rarg), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_instEmptyCollection(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
1603
stage0/stdlib/Lean/Elab/Frontend.c
generated
1603
stage0/stdlib/Lean/Elab/Frontend.c
generated
File diff suppressed because it is too large
Load diff
1267
stage0/stdlib/Lean/Elab/Import.c
generated
1267
stage0/stdlib/Lean/Elab/Import.c
generated
File diff suppressed because it is too large
Load diff
108
stage0/stdlib/Lean/Elab/MutualDef.c
generated
108
stage0/stdlib/Lean/Elab/MutualDef.c
generated
|
|
@ -129,7 +129,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_Mutua
|
|||
double lean_float_div(double, double);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -147,6 +146,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_regis
|
|||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__4;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__4___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7(lean_object*, size_t, size_t);
|
||||
|
|
@ -154,7 +154,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_processDeriving(lean_obj
|
|||
lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5693____closed__3;
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -176,6 +175,7 @@ lean_object* l_Lean_profileitM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_a
|
|||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
static lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180_(lean_object*);
|
||||
static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__7;
|
||||
lean_object* l_Lean_Expr_sort___override(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___spec__6(lean_object*, lean_object*);
|
||||
|
|
@ -194,7 +194,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWher
|
|||
lean_object* l_Lean_LocalDecl_replaceFVarId(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_getMessageLog___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabMutualDef_go___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__3;
|
||||
size_t lean_usize_mul(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushMain___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -310,6 +309,7 @@ static lean_object* l_Lean_Elab_addDeclarationRangesForBuiltin___at_Lean_Elab_Te
|
|||
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__18___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabMutualDef_finishElab___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__6(lean_object*, lean_object*, size_t, size_t);
|
||||
|
|
@ -497,7 +497,6 @@ static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_Mu
|
|||
lean_object* l_Lean_Syntax_eqWithInfoAndTraceReuse(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalDecl_setUserName(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_instantiateMVarsProfiling(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -617,6 +616,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesForBuiltin___at_Lean_El
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesForBuiltin___at_Lean_Elab_Term_elabMutualDef_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__8___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -835,6 +835,7 @@ lean_object* l_Lean_LocalDecl_fvarId(lean_object*);
|
|||
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5771____closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified___rarg(lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___spec__7___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__2;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__4___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -842,7 +843,6 @@ LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__L
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_appFn_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__10___closed__1;
|
||||
lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -870,6 +870,7 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_MutualDef_
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__2;
|
||||
static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__1;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getZetaDeltaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -999,6 +1000,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosur
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_NameSet_empty;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__4;
|
||||
LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Term_MutualClosure_main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1270,7 +1272,6 @@ LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_E
|
|||
static lean_object* l_List_mapTR_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage___spec__2___closed__2;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___rarg___lambda__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__7;
|
||||
lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_mapTR_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1332,7 +1333,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_finishElab___lambda__1__
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_finishElab___lambda__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync___lambda__2___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__9;
|
||||
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__7;
|
||||
|
|
@ -1372,6 +1372,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check
|
|||
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__5___closed__5;
|
||||
lean_object* lean_find_expr(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__7;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_elabAsync(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1425,7 +1426,6 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*);
|
|||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__7___lambda__1___closed__1;
|
||||
static double l_Lean_withTraceNode___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___lambda__4___closed__4;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabMutualDef_finishElab___spec__3___closed__3;
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_mkBodyInfo(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_withTraceNode___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___lambda__4___closed__2;
|
||||
|
|
@ -1435,7 +1435,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab
|
|||
lean_object* l_Lean_Elab_fixLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_expandWhereDecls(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__5;
|
||||
lean_object* l_Lean_MessageData_ofName(lean_object*);
|
||||
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1450,6 +1449,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Mutu
|
|||
LEAN_EXPORT uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___rarg___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_getMax_x3f___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -61507,22 +61507,22 @@ lean_dec(x_10);
|
|||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_box(0);
|
||||
x_14 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_13 = lean_box(0);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_ctor_set(x_14, 1, x_9);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = lean_box(0);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_9);
|
||||
x_16 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lambda__3(x_1, x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
|
|
@ -65544,7 +65544,7 @@ lean_dec(x_3);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -65554,83 +65554,83 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__1;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__1;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__8;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__2;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__2;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__10;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__3;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__5() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__4;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__4;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__6() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__5;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__5;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__14;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__7() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__6;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__6;
|
||||
x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__16;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__8() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__7;
|
||||
x_2 = lean_unsigned_to_nat(18177u);
|
||||
x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__7;
|
||||
x_2 = lean_unsigned_to_nat(18180u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__8;
|
||||
x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__8;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -66459,23 +66459,23 @@ l_Lean_Elab_Command_elabMutualDef___closed__5 = _init_l_Lean_Elab_Command_elabMu
|
|||
lean_mark_persistent(l_Lean_Elab_Command_elabMutualDef___closed__5);
|
||||
l_Lean_Elab_Command_elabMutualDef___closed__6 = _init_l_Lean_Elab_Command_elabMutualDef___closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_elabMutualDef___closed__6);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__4);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__5);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__6);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__7 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__7);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__8 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177____closed__8);
|
||||
if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18177_(lean_io_mk_world());
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__1);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__2);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__3);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__4);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__5);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__6);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__7 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__7);
|
||||
l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__8 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180____closed__8);
|
||||
if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_18180_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Elab/ParseImportsFast.c
generated
18
stage0/stdlib/Lean/Elab/ParseImportsFast.c
generated
|
|
@ -23,6 +23,7 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at_Lean_ParseImports_main___
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonImport__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_andthen(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1380____closed__2;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
|
|
@ -38,6 +39,7 @@ static lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_ma
|
|||
extern uint32_t l_Lean_idBeginEscape;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_173____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instToJsonImport__1___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1467____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1625____spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1680____spec__1(size_t, size_t, lean_object*);
|
||||
|
|
@ -112,7 +114,6 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lambda__1___boxed(lea
|
|||
lean_object* l_IO_println___at_Lean_Environment_displayStats___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_State_mkError(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instToJsonImport___closed__1;
|
||||
static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at_Lean_ParseImports_main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_isSubScriptAlnum(uint32_t);
|
||||
|
|
@ -166,7 +167,6 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_ParseImports_State_setPos(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instToJsonPrintImportsResult___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonImport;
|
||||
LEAN_EXPORT lean_object* lean_print_imports_json(lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__2;
|
||||
|
|
@ -4772,7 +4772,7 @@ x_3 = lean_box(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instToJsonImport___closed__1() {
|
||||
static lean_object* _init_l_Lean_instToJsonImport__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -4780,11 +4780,11 @@ x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instToJsonImport() {
|
||||
static lean_object* _init_l_Lean_instToJsonImport__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_instToJsonImport___closed__1;
|
||||
x_1 = l_Lean_instToJsonImport__1___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -5594,10 +5594,10 @@ l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_Par
|
|||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1380____closed__3);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1380____closed__4 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1380____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonImport____x40_Lean_Elab_ParseImportsFast___hyg_1380____closed__4);
|
||||
l_Lean_instToJsonImport___closed__1 = _init_l_Lean_instToJsonImport___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonImport___closed__1);
|
||||
l_Lean_instToJsonImport = _init_l_Lean_instToJsonImport();
|
||||
lean_mark_persistent(l_Lean_instToJsonImport);
|
||||
l_Lean_instToJsonImport__1___closed__1 = _init_l_Lean_instToJsonImport__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonImport__1___closed__1);
|
||||
l_Lean_instToJsonImport__1 = _init_l_Lean_instToJsonImport__1();
|
||||
lean_mark_persistent(l_Lean_instToJsonImport__1);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1467____closed__1 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1467____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1467____closed__1);
|
||||
l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1467____closed__2 = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonParseImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1467____closed__2();
|
||||
|
|
|
|||
454
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
454
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -43,7 +43,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore_x27(lean_object*);
|
||||
|
|
@ -102,6 +102,7 @@ lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__10;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__6___closed__5;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__12;
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_getMessageLog___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_checkSystem(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -113,6 +114,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t);
|
|||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkTacticInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__8;
|
||||
lean_object* l_Lean_Meta_mkLabeledSorry(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_instMonadTermElabM;
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
|
|
@ -121,17 +123,17 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_appendGoals(lean_object*, lean_objec
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMacroExpansion___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainGoal_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withoutRecover___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pushGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_isIncrementalElab___at_Lean_Elab_Tactic_evalTactic_eval___spec__2___closed__2;
|
||||
lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__2;
|
||||
static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focus(lean_object*);
|
||||
uint8_t lean_float_decLt(double, double);
|
||||
|
|
@ -143,7 +145,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToB
|
|||
static lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__4___closed__5;
|
||||
lean_object* l_Lean_MessageData_hasSyntheticSorry(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__4;
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_popMainGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -169,13 +170,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SavedState_restore(lean_object*, uin
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_replaceMainGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894_(lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryTactic(lean_object*);
|
||||
lean_object* l_Lean_Exception_toMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__4___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainModule___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -195,6 +196,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pushGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_InternalExceptionId_getName(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_instAlternativeTacticM___spec__1(lean_object*);
|
||||
|
|
@ -215,12 +217,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkTacticAttribute(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadTacticM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_task_pure(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pushGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_checked_assign(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_eval___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__12;
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Term_reportUnsolvedGoals___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__6___closed__8;
|
||||
static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__4___closed__1;
|
||||
|
|
@ -229,6 +231,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -284,6 +287,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadTacticM;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -302,7 +306,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at
|
|||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*);
|
||||
|
|
@ -320,6 +323,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainDecl(lean_object*, lean_objec
|
|||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_orElse(lean_object*);
|
||||
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instInhabitedTacticM___rarg(lean_object*);
|
||||
lean_object* lean_io_mono_nanos_now(lean_object*);
|
||||
|
|
@ -343,22 +347,19 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_tagUntagged
|
|||
LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Tactic_evalTactic___spec__9(lean_object*);
|
||||
extern lean_object* l_Task_Priority_default;
|
||||
lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pruneSolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__10;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_closeMainGoal___lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_macroAttribute;
|
||||
extern lean_object* l_Lean_warningAsError;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__6;
|
||||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_closeMainGoal___lambda__1___closed__2;
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -400,20 +401,20 @@ static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__1;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Tactic_evalTactic___spec__4___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addTraceNode___spec__1(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
double l_Float_ofScientific(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pruneSolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__11;
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Tactic_evalTactic___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -433,12 +434,14 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___
|
|||
static lean_object* l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_NameSet_empty;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__9;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__3___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Tactic_evalTactic___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAtRaw(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -457,6 +460,7 @@ LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForT
|
|||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_closeMainGoal___lambda__1___closed__4;
|
||||
lean_object* l_Lean_indentExpr(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -472,19 +476,20 @@ uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_appendGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4___closed__2;
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__13;
|
||||
lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__3;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_handleEx___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMainContext(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__14;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withRestoreOrSaveFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -495,10 +500,10 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_
|
|||
extern lean_object* l_Lean_Elab_incrementalAttr;
|
||||
static lean_object* l_Lean_Elab_Tactic_instOrElseTacticM___closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic_handleEx___closed__2;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__11;
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__4___lambda__1(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryCatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_adaptExpander___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
|
|
@ -522,7 +527,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainGoal_loop___boxed(lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_done___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2(lean_object*);
|
||||
extern lean_object* l_Lean_trace_profiler;
|
||||
|
|
@ -544,7 +548,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToB
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_TacticM_runCore(lean_object*);
|
||||
|
|
@ -567,10 +570,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___boxed(lean_object
|
|||
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5___closed__5;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__2;
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__5;
|
||||
|
|
@ -598,13 +600,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTactic(lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_done(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_run___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897____closed__1;
|
||||
static lean_object* l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__2;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_instMonadTacticM___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pushGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_run___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__5;
|
||||
lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instMonad___rarg(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_abortTacticExceptionId;
|
||||
|
|
@ -617,112 +619,134 @@ uint8_t l_Lean_Expr_hasExprMVar(lean_object*);
|
|||
static lean_object* l_Lean_Elab_goalsToMessageData___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withoutRecover(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8;
|
||||
lean_object* x_9;
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_8 = lean_infer_type(x_1, x_3, x_4, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
x_9 = lean_infer_type(x_1, x_4, x_5, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12;
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_8, 1);
|
||||
lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = 1;
|
||||
x_11 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_9);
|
||||
x_12 = 1;
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_12 = l_Lean_Meta_mkLabeledSorry(x_9, x_11, x_11, x_3, x_4, x_5, x_6, x_10);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
x_13 = l_Lean_Meta_mkLabeledSorry(x_10, x_2, x_12, x_4, x_5, x_6, x_7, x_11);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_ctor_get(x_12, 1);
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_15 = l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(x_2, x_13, x_3, x_4, x_5, x_6, x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(x_3, x_14, x_4, x_5, x_6, x_7, x_15);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_17;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_15;
|
||||
x_17 = !lean_is_exclusive(x_13);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_16;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_16 = !lean_is_exclusive(x_12);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_12, 0);
|
||||
x_18 = lean_ctor_get(x_12, 1);
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_13, 0);
|
||||
x_19 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_12);
|
||||
x_19 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_17);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
return x_19;
|
||||
lean_dec(x_13);
|
||||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_20;
|
||||
uint8_t x_21;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_20 = !lean_is_exclusive(x_8);
|
||||
if (x_20 == 0)
|
||||
x_21 = !lean_is_exclusive(x_9);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
return x_8;
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_21 = lean_ctor_get(x_8, 0);
|
||||
x_22 = lean_ctor_get(x_8, 1);
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_9, 0);
|
||||
x_23 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_8);
|
||||
x_23 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_21);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
return x_23;
|
||||
lean_dec(x_9);
|
||||
x_24 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_inc(x_1);
|
||||
x_7 = l_Lean_Expr_mvar___override(x_1);
|
||||
x_8 = l_Lean_Expr_mvar___override(x_1);
|
||||
x_9 = lean_box(x_2);
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_alloc_closure((void*)(l_Lean_Elab_admitGoal___lambda__1), 7, 2);
|
||||
lean_closure_set(x_8, 0, x_7);
|
||||
lean_closure_set(x_8, 1, x_1);
|
||||
x_9 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_8, x_2, x_3, x_4, x_5, x_6);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Elab_admitGoal___lambda__1___boxed), 8, 3);
|
||||
lean_closure_set(x_10, 0, x_8);
|
||||
lean_closure_set(x_10, 1, x_9);
|
||||
lean_closure_set(x_10, 2, x_1);
|
||||
x_11 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10;
|
||||
x_9 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_10 = l_Lean_Elab_admitGoal___lambda__1(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8; lean_object* x_9;
|
||||
x_8 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_9 = l_Lean_Elab_admitGoal(x_1, x_8, x_3, x_4, x_5, x_6, x_7);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
|
|
@ -1839,52 +1863,53 @@ return x_8;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12;
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_1);
|
||||
x_11 = 1;
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_11 = l_Lean_Elab_admitGoal(x_9, x_2, x_3, x_4, x_5, x_6);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
x_12 = l_Lean_Elab_admitGoal(x_9, x_11, x_2, x_3, x_4, x_5, x_6);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_object* x_13;
|
||||
x_13 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_12);
|
||||
x_1 = x_10;
|
||||
x_6 = x_12;
|
||||
x_6 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_14;
|
||||
uint8_t x_15;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_14 = !lean_is_exclusive(x_11);
|
||||
if (x_14 == 0)
|
||||
x_15 = !lean_is_exclusive(x_12);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
return x_11;
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_15 = lean_ctor_get(x_11, 0);
|
||||
x_16 = lean_ctor_get(x_11, 1);
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_16 = lean_ctor_get(x_12, 0);
|
||||
x_17 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_11);
|
||||
x_17 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_15);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
return x_17;
|
||||
lean_dec(x_12);
|
||||
x_18 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -19075,82 +19100,83 @@ lean_inc(x_11);
|
|||
x_16 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
lean_object* x_17; uint8_t x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_16);
|
||||
x_18 = 1;
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_18 = l_Lean_Elab_admitGoal(x_8, x_6, x_7, x_11, x_12, x_17);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
x_19 = l_Lean_Elab_admitGoal(x_8, x_18, x_6, x_7, x_11, x_12, x_17);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_18);
|
||||
x_20 = l_Lean_Elab_Tactic_setGoals(x_9, x_1, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_19);
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_19);
|
||||
x_21 = l_Lean_Elab_Tactic_setGoals(x_9, x_1, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_20);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_20;
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_21;
|
||||
uint8_t x_22;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_21 = !lean_is_exclusive(x_18);
|
||||
if (x_21 == 0)
|
||||
x_22 = !lean_is_exclusive(x_19);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
return x_18;
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_18, 0);
|
||||
x_23 = lean_ctor_get(x_18, 1);
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
x_23 = lean_ctor_get(x_19, 0);
|
||||
x_24 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_18);
|
||||
x_24 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
return x_24;
|
||||
lean_dec(x_19);
|
||||
x_25 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_25, 0, x_23);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_25;
|
||||
uint8_t x_26;
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_25 = !lean_is_exclusive(x_16);
|
||||
if (x_25 == 0)
|
||||
x_26 = !lean_is_exclusive(x_16);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_26 = lean_ctor_get(x_16, 0);
|
||||
x_27 = lean_ctor_get(x_16, 1);
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_27 = lean_ctor_get(x_16, 0);
|
||||
x_28 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_28);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_16);
|
||||
x_28 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_27);
|
||||
return x_28;
|
||||
x_29 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_27);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -25045,7 +25071,7 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -25055,7 +25081,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -25065,27 +25091,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__2;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__2;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__3;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__5() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -25093,17 +25119,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__6() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__4;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__5;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__4;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__7() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -25111,47 +25137,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__8() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__6;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__7;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__6;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__9() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__8;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__8;
|
||||
x_2 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__10() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__9;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__9;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__11() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__10;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__10;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__12() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -25159,17 +25185,17 @@ x_1 = lean_mk_string_unchecked("Basic", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__13() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__11;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__12;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__11;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__12;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__14() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -25177,54 +25203,54 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__15() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__13;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__14;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__13;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__14;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__16() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8853u);
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8856u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__16;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__16;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8894u);
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8897u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__4___closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894____closed__1;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897____closed__1;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -25488,44 +25514,44 @@ l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1 = _init_l_Lean_Elab_Tactic_get
|
|||
lean_mark_persistent(l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1);
|
||||
l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2 = _init_l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__1);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__2);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__3 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__3);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__4 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__4);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__5 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__5);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__6 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__6);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__7 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__7);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__8 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__8);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__9 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__9);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__10 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__10);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__11 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__11);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__12 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__12);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__13 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__13);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__14 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__14);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__15 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__15);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__16 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__16();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853____closed__16);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8853_(lean_io_mk_world());
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__1);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__2);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__3 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__3);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__4 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__4);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__5 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__5);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__6 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__6);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__7 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__7);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__8 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__8);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__9 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__9);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__10 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__10);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__11 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__11);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__12 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__12);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__13 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__13);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__14 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__14);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__15 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__15);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__16 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__16();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856____closed__16);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8856_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894____closed__1);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8894_(lean_io_mk_world());
|
||||
}l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897____closed__1);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8897_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
100
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
100
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
|
|
@ -1409,7 +1409,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange__1
|
|||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_evalOpen___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_admitGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_admitGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__38(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange__1___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange__1___closed__2;
|
||||
|
|
@ -23122,7 +23122,7 @@ lean_inc(x_15);
|
|||
x_60 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_56);
|
||||
if (lean_obj_tag(x_60) == 0)
|
||||
{
|
||||
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71;
|
||||
x_61 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_61);
|
||||
lean_dec(x_60);
|
||||
|
|
@ -23141,20 +23141,20 @@ x_68 = l_Lean_Core_setMessageLog(x_63, x_15, x_16, x_67);
|
|||
x_69 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_69);
|
||||
lean_dec(x_68);
|
||||
x_70 = 1;
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
x_70 = l_Lean_Elab_admitGoal(x_20, x_13, x_14, x_15, x_16, x_69);
|
||||
if (lean_obj_tag(x_70) == 0)
|
||||
x_71 = l_Lean_Elab_admitGoal(x_20, x_70, x_13, x_14, x_15, x_16, x_69);
|
||||
if (lean_obj_tag(x_71) == 0)
|
||||
{
|
||||
lean_object* x_71; uint8_t x_72;
|
||||
x_71 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_71);
|
||||
lean_dec(x_70);
|
||||
x_72 = 1;
|
||||
x_30 = x_72;
|
||||
x_31 = x_71;
|
||||
lean_object* x_72;
|
||||
x_72 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_72);
|
||||
lean_dec(x_71);
|
||||
x_30 = x_70;
|
||||
x_31 = x_72;
|
||||
goto block_39;
|
||||
}
|
||||
else
|
||||
|
|
@ -23172,19 +23172,19 @@ lean_dec(x_11);
|
|||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_3);
|
||||
x_73 = !lean_is_exclusive(x_70);
|
||||
x_73 = !lean_is_exclusive(x_71);
|
||||
if (x_73 == 0)
|
||||
{
|
||||
return x_70;
|
||||
return x_71;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_74; lean_object* x_75; lean_object* x_76;
|
||||
x_74 = lean_ctor_get(x_70, 0);
|
||||
x_75 = lean_ctor_get(x_70, 1);
|
||||
x_74 = lean_ctor_get(x_71, 0);
|
||||
x_75 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_75);
|
||||
lean_inc(x_74);
|
||||
lean_dec(x_70);
|
||||
lean_dec(x_71);
|
||||
x_76 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_74);
|
||||
lean_ctor_set(x_76, 1, x_75);
|
||||
|
|
@ -23314,7 +23314,7 @@ lean_inc(x_15);
|
|||
x_87 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_82);
|
||||
if (lean_obj_tag(x_87) == 0)
|
||||
{
|
||||
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97;
|
||||
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98;
|
||||
x_88 = lean_ctor_get(x_87, 1);
|
||||
lean_inc(x_88);
|
||||
lean_dec(x_87);
|
||||
|
|
@ -23333,20 +23333,20 @@ x_95 = l_Lean_Core_setMessageLog(x_90, x_15, x_16, x_94);
|
|||
x_96 = lean_ctor_get(x_95, 1);
|
||||
lean_inc(x_96);
|
||||
lean_dec(x_95);
|
||||
x_97 = 1;
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
x_97 = l_Lean_Elab_admitGoal(x_20, x_13, x_14, x_15, x_16, x_96);
|
||||
if (lean_obj_tag(x_97) == 0)
|
||||
x_98 = l_Lean_Elab_admitGoal(x_20, x_97, x_13, x_14, x_15, x_16, x_96);
|
||||
if (lean_obj_tag(x_98) == 0)
|
||||
{
|
||||
lean_object* x_98; uint8_t x_99;
|
||||
x_98 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_97);
|
||||
x_99 = 1;
|
||||
x_30 = x_99;
|
||||
x_31 = x_98;
|
||||
lean_object* x_99;
|
||||
x_99 = lean_ctor_get(x_98, 1);
|
||||
lean_inc(x_99);
|
||||
lean_dec(x_98);
|
||||
x_30 = x_97;
|
||||
x_31 = x_99;
|
||||
goto block_39;
|
||||
}
|
||||
else
|
||||
|
|
@ -23364,16 +23364,16 @@ lean_dec(x_11);
|
|||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_3);
|
||||
x_100 = lean_ctor_get(x_97, 0);
|
||||
x_100 = lean_ctor_get(x_98, 0);
|
||||
lean_inc(x_100);
|
||||
x_101 = lean_ctor_get(x_97, 1);
|
||||
x_101 = lean_ctor_get(x_98, 1);
|
||||
lean_inc(x_101);
|
||||
if (lean_is_exclusive(x_97)) {
|
||||
lean_ctor_release(x_97, 0);
|
||||
lean_ctor_release(x_97, 1);
|
||||
x_102 = x_97;
|
||||
if (lean_is_exclusive(x_98)) {
|
||||
lean_ctor_release(x_98, 0);
|
||||
lean_ctor_release(x_98, 1);
|
||||
x_102 = x_98;
|
||||
} else {
|
||||
lean_dec_ref(x_97);
|
||||
lean_dec_ref(x_98);
|
||||
x_102 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_102)) {
|
||||
|
|
@ -23678,7 +23678,7 @@ lean_inc(x_15);
|
|||
x_159 = l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1(x_152, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_153);
|
||||
if (lean_obj_tag(x_159) == 0)
|
||||
{
|
||||
lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169;
|
||||
lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_170;
|
||||
x_160 = lean_ctor_get(x_159, 1);
|
||||
lean_inc(x_160);
|
||||
lean_dec(x_159);
|
||||
|
|
@ -23697,20 +23697,20 @@ x_167 = l_Lean_Core_setMessageLog(x_162, x_15, x_16, x_166);
|
|||
x_168 = lean_ctor_get(x_167, 1);
|
||||
lean_inc(x_168);
|
||||
lean_dec(x_167);
|
||||
x_169 = 1;
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
x_169 = l_Lean_Elab_admitGoal(x_117, x_13, x_14, x_15, x_16, x_168);
|
||||
if (lean_obj_tag(x_169) == 0)
|
||||
x_170 = l_Lean_Elab_admitGoal(x_117, x_169, x_13, x_14, x_15, x_16, x_168);
|
||||
if (lean_obj_tag(x_170) == 0)
|
||||
{
|
||||
lean_object* x_170; uint8_t x_171;
|
||||
x_170 = lean_ctor_get(x_169, 1);
|
||||
lean_inc(x_170);
|
||||
lean_dec(x_169);
|
||||
x_171 = 1;
|
||||
x_127 = x_171;
|
||||
x_128 = x_170;
|
||||
lean_object* x_171;
|
||||
x_171 = lean_ctor_get(x_170, 1);
|
||||
lean_inc(x_171);
|
||||
lean_dec(x_170);
|
||||
x_127 = x_169;
|
||||
x_128 = x_171;
|
||||
goto block_136;
|
||||
}
|
||||
else
|
||||
|
|
@ -23728,16 +23728,16 @@ lean_dec(x_11);
|
|||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_3);
|
||||
x_172 = lean_ctor_get(x_169, 0);
|
||||
x_172 = lean_ctor_get(x_170, 0);
|
||||
lean_inc(x_172);
|
||||
x_173 = lean_ctor_get(x_169, 1);
|
||||
x_173 = lean_ctor_get(x_170, 1);
|
||||
lean_inc(x_173);
|
||||
if (lean_is_exclusive(x_169)) {
|
||||
lean_ctor_release(x_169, 0);
|
||||
lean_ctor_release(x_169, 1);
|
||||
x_174 = x_169;
|
||||
if (lean_is_exclusive(x_170)) {
|
||||
lean_ctor_release(x_170, 0);
|
||||
lean_ctor_release(x_170, 1);
|
||||
x_174 = x_170;
|
||||
} else {
|
||||
lean_dec_ref(x_169);
|
||||
lean_dec_ref(x_170);
|
||||
x_174 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_174)) {
|
||||
|
|
|
|||
45
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
45
stage0/stdlib/Lean/Elab/Tactic/Induction.c
generated
|
|
@ -914,7 +914,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tac
|
|||
static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_elabFunTarget___spec__5___lambda__2___closed__11;
|
||||
static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_withAltsOfOptInductionAlts___rarg___lambda__1___closed__2;
|
||||
static size_t l_Array_zipWithAux___at_Lean_Elab_Tactic_ElimApp_evalAlts_goWithInfo___spec__2___lambda__1___closed__3;
|
||||
lean_object* l_Lean_Elab_admitGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_admitGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Cases_unifyEqs_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_saveAltVarsInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_ElimApp_mkElimApp_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -16766,52 +16766,53 @@ return x_12;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16;
|
||||
x_13 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_1);
|
||||
x_15 = 1;
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_15 = l_Lean_Elab_admitGoal(x_13, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
x_16 = l_Lean_Elab_admitGoal(x_13, x_15, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_15);
|
||||
lean_object* x_17;
|
||||
x_17 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_16);
|
||||
x_1 = x_14;
|
||||
x_10 = x_16;
|
||||
x_10 = x_17;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_18;
|
||||
uint8_t x_19;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_18 = !lean_is_exclusive(x_15);
|
||||
if (x_18 == 0)
|
||||
x_19 = !lean_is_exclusive(x_16);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
return x_15;
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_19 = lean_ctor_get(x_15, 0);
|
||||
x_20 = lean_ctor_get(x_15, 1);
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_20 = lean_ctor_get(x_16, 0);
|
||||
x_21 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_15);
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_19);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
return x_21;
|
||||
lean_dec(x_16);
|
||||
x_22 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_20);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
59
stage0/stdlib/Lean/Elab/Tactic/LibrarySearch.c
generated
59
stage0/stdlib/Lean/Elab/Tactic/LibrarySearch.c
generated
|
|
@ -185,7 +185,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec
|
|||
lean_object* lean_array_get_size(lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
lean_object* l_Lean_Elab_admitGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_admitGoal(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_intros(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_LibrarySearch_evalExact_declRange__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_LibrarySearch_exact_x3f___lambda__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -618,9 +618,10 @@ return x_25;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_LibrarySearch_exact_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = l_Lean_Elab_admitGoal(x_1, x_7, x_8, x_9, x_10, x_11);
|
||||
return x_12;
|
||||
uint8_t x_12; lean_object* x_13;
|
||||
x_12 = 0;
|
||||
x_13 = l_Lean_Elab_admitGoal(x_1, x_12, x_7, x_8, x_9, x_10, x_11);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_LibrarySearch_exact_x3f___lambda__5___closed__1() {
|
||||
|
|
@ -700,35 +701,37 @@ lean_dec(x_24);
|
|||
x_26 = l_Array_isEmpty___rarg(x_2);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27;
|
||||
uint8_t x_27; lean_object* x_28;
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
x_27 = l_Lean_Elab_admitGoal(x_6, x_12, x_13, x_14, x_15, x_25);
|
||||
return x_27;
|
||||
x_27 = 0;
|
||||
x_28 = l_Lean_Elab_admitGoal(x_6, x_27, x_12, x_13, x_14, x_15, x_25);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_28 = l_Lean_Elab_LibrarySearch_exact_x3f___lambda__5___closed__5;
|
||||
x_29 = 2;
|
||||
lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34;
|
||||
x_29 = l_Lean_Elab_LibrarySearch_exact_x3f___lambda__5___closed__5;
|
||||
x_30 = 2;
|
||||
lean_inc(x_14);
|
||||
x_30 = l_Lean_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(x_28, x_29, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25);
|
||||
x_31 = l_Lean_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(x_29, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
x_31 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_30);
|
||||
x_32 = l_Lean_Elab_admitGoal(x_6, x_12, x_13, x_14, x_15, x_31);
|
||||
return x_32;
|
||||
x_32 = lean_ctor_get(x_31, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_31);
|
||||
x_33 = 0;
|
||||
x_34 = l_Lean_Elab_admitGoal(x_6, x_33, x_12, x_13, x_14, x_15, x_32);
|
||||
return x_34;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_33;
|
||||
uint8_t x_35;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
|
|
@ -738,23 +741,23 @@ lean_dec(x_10);
|
|||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
x_33 = !lean_is_exclusive(x_24);
|
||||
if (x_33 == 0)
|
||||
x_35 = !lean_is_exclusive(x_24);
|
||||
if (x_35 == 0)
|
||||
{
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_34 = lean_ctor_get(x_24, 0);
|
||||
x_35 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_35);
|
||||
lean_inc(x_34);
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
x_36 = lean_ctor_get(x_24, 0);
|
||||
x_37 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_37);
|
||||
lean_inc(x_36);
|
||||
lean_dec(x_24);
|
||||
x_36 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_34);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
return x_36;
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_36);
|
||||
lean_ctor_set(x_38, 1, x_37);
|
||||
return x_38;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6168
stage0/stdlib/Lean/Environment.c
generated
6168
stage0/stdlib/Lean/Environment.c
generated
File diff suppressed because it is too large
Load diff
543
stage0/stdlib/Lean/Language/Lean.c
generated
543
stage0/stdlib/Lean/Language/Lean.c
generated
|
|
@ -19,14 +19,14 @@ static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__3___closed__
|
|||
lean_object* lean_profileit(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseHeader___lambda__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__7;
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__2;
|
||||
lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*);
|
||||
lean_object* l_Lean_Option_set___at_Lean_Environment_realizeConst___spec__3(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__5(lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseHeader___lambda__3___closed__3;
|
||||
lean_object* l_Lean_Elab_processHeaderCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__1;
|
||||
static lean_object* l_Lean_Language_Lean_process_doElab___lambda__3___closed__1;
|
||||
lean_object* l_Lean_Language_Lean_instToSnapshotTreeHeaderProcessedSnapshot(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Language_Lean_process_parseCmd___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -106,7 +106,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Language_Lean_pr
|
|||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__3;
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__19(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__3___closed__2;
|
||||
|
|
@ -133,6 +132,7 @@ static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHea
|
|||
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__4___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_doElab___lambda__3___closed__3;
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__5;
|
||||
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__7___closed__2;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Language_Lean_instToSnapshotTreeCommandParsedSnapshot;
|
||||
|
|
@ -156,7 +156,6 @@ static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed_
|
|||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Language_Lean_process_parseCmd___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_processCommands(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__2;
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__1;
|
||||
static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__5;
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__17;
|
||||
|
|
@ -170,18 +169,22 @@ LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__21___bo
|
|||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_toPArray_x27___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__13;
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__1;
|
||||
lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__15(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_HeaderSyntax_startPos(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__10___closed__3;
|
||||
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___closed__2;
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__21;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Language_Lean_process_parseCmd___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__5;
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__6;
|
||||
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_instMonadLiftLeanProcessingMLeanProcessingTIO(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_doElab___closed__3;
|
||||
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6___closed__3;
|
||||
static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Language_Lean_process_parseCmd___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
static lean_object* l_List_mapTR_loop___at_Lean_Language_Lean_process_processHeader___spec__1___closed__2;
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
|
|
@ -224,8 +227,6 @@ lean_object* lean_io_mono_nanos_now(lean_object*);
|
|||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__4;
|
||||
lean_object* l_panic___at_String_fromUTF8_x21___spec__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166_(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__3;
|
||||
lean_object* lean_thunk_get_own(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__7;
|
||||
lean_object* l_Lean_Language_diagnosticsOfHeaderError(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -254,6 +255,7 @@ LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__8_
|
|||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__15;
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
extern lean_object* l_Lean_diagnostics;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_get_set_stderr(lean_object*, lean_object*);
|
||||
|
|
@ -280,11 +282,10 @@ static lean_object* l_List_forIn_x27_loop___at_Lean_Language_Lean_reparseOptions
|
|||
double l_Float_ofScientific(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__6;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_doElab___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__8___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, double, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__19;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Language_Lean_process_parseCmd___spec__2___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -334,7 +335,6 @@ static lean_object* l_Lean_Language_Lean_process_doElab___closed__2;
|
|||
lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__5;
|
||||
lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
lean_object* lean_get_set_stdin(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseHeader___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -356,6 +356,7 @@ LEAN_EXPORT lean_object* l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_proce
|
|||
extern lean_object* l_Lean_Core_stderrAsMessages;
|
||||
extern lean_object* l_Lean_Elab_Command_instInhabitedScope;
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__3;
|
||||
static lean_object* l_Lean_Language_Lean_process_doElab___lambda__3___closed__4;
|
||||
lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__4;
|
||||
|
|
@ -381,6 +382,7 @@ static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Language_Lean_process_
|
|||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_unsetTrailing(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseHeader___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__7;
|
||||
static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__10___closed__1;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Language_Lean_process_parseCmd___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -417,7 +419,6 @@ static lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__16___closed_
|
|||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_parseCmd___lambda__20(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions(lean_object*);
|
||||
static lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__7___closed__3;
|
||||
static lean_object* l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__8;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
|
|
@ -2156,7 +2157,7 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__1() {
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2164,7 +2165,7 @@ x_1 = lean_mk_string_unchecked("experimental", 12, 12);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__2() {
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2172,17 +2173,17 @@ x_1 = lean_mk_string_unchecked("module", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__3() {
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__1;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__2;
|
||||
x_1 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__1;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__2;
|
||||
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4() {
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2190,7 +2191,7 @@ x_1 = lean_mk_string_unchecked("", 0, 0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__5() {
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2198,13 +2199,13 @@ x_1 = lean_mk_string_unchecked("Allow use of module system (experimental)", 41,
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__6() {
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__6() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 0;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_3 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__5;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_3 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__5;
|
||||
x_4 = lean_box(x_1);
|
||||
x_5 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
|
|
@ -2213,25 +2214,25 @@ lean_ctor_set(x_5, 2, x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__7() {
|
||||
static lean_object* _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__3;
|
||||
x_2 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__5;
|
||||
x_3 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__1;
|
||||
x_4 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__2;
|
||||
x_3 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__1;
|
||||
x_4 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__2;
|
||||
x_5 = l_Lean_Name_mkStr5(x_1, x_2, x_1, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__3;
|
||||
x_3 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__6;
|
||||
x_4 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__7;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__3;
|
||||
x_3 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__6;
|
||||
x_4 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__7;
|
||||
x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -3494,7 +3495,7 @@ x_51 = lean_alloc_ctor(3, 1, 0);
|
|||
lean_ctor_set(x_51, 0, x_42);
|
||||
x_52 = l_Lean_MessageData_ofFormat(x_51);
|
||||
x_53 = 0;
|
||||
x_54 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_54 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_55 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_55, 0, x_23);
|
||||
lean_ctor_set(x_55, 1, x_49);
|
||||
|
|
@ -3755,7 +3756,7 @@ x_121 = lean_alloc_ctor(3, 1, 0);
|
|||
lean_ctor_set(x_121, 0, x_112);
|
||||
x_122 = l_Lean_MessageData_ofFormat(x_121);
|
||||
x_123 = 0;
|
||||
x_124 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_124 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_125 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_125, 0, x_93);
|
||||
lean_ctor_set(x_125, 1, x_119);
|
||||
|
|
@ -4101,7 +4102,7 @@ lean_inc(x_18);
|
|||
lean_dec(x_14);
|
||||
x_19 = 0;
|
||||
x_20 = 0;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
lean_inc(x_2);
|
||||
x_22 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_22, 0, x_2);
|
||||
|
|
@ -4295,7 +4296,7 @@ lean_inc(x_18);
|
|||
lean_dec(x_14);
|
||||
x_19 = 0;
|
||||
x_20 = 0;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
lean_inc(x_2);
|
||||
x_22 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_22, 0, x_2);
|
||||
|
|
@ -4645,7 +4646,7 @@ lean_inc(x_18);
|
|||
lean_dec(x_14);
|
||||
x_19 = 0;
|
||||
x_20 = 0;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
lean_inc(x_2);
|
||||
x_22 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_22, 0, x_2);
|
||||
|
|
@ -4827,7 +4828,7 @@ lean_inc(x_18);
|
|||
lean_dec(x_14);
|
||||
x_19 = 0;
|
||||
x_20 = 0;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_21 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
lean_inc(x_2);
|
||||
x_22 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_22, 0, x_2);
|
||||
|
|
@ -5182,7 +5183,7 @@ lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
|||
x_1 = l_Lean_Language_Lean_process_parseCmd___lambda__3___closed__4;
|
||||
x_2 = l_Lean_Language_Lean_process_parseCmd___lambda__3___closed__7;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_4 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_4);
|
||||
|
|
@ -5362,7 +5363,7 @@ lean_dec(x_39);
|
|||
x_42 = l_Lean_FileMap_toPosition(x_41, x_7);
|
||||
x_43 = 0;
|
||||
x_44 = 0;
|
||||
x_45 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_45 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_46 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_46, 0, x_40);
|
||||
lean_ctor_set(x_46, 1, x_42);
|
||||
|
|
@ -5413,7 +5414,7 @@ lean_dec(x_62);
|
|||
x_65 = l_Lean_FileMap_toPosition(x_64, x_7);
|
||||
x_66 = 0;
|
||||
x_67 = 0;
|
||||
x_68 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_68 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_69 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_69, 0, x_63);
|
||||
lean_ctor_set(x_69, 1, x_65);
|
||||
|
|
@ -6850,7 +6851,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_3 = lean_box(0);
|
||||
x_4 = l_Lean_Language_Lean_process_doElab___closed__1;
|
||||
x_5 = 0;
|
||||
|
|
@ -9810,7 +9811,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_3 = l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__15;
|
||||
x_4 = l_Lean_Language_Lean_process_parseCmd___lambda__16___closed__17;
|
||||
x_5 = 0;
|
||||
|
|
@ -15971,7 +15972,7 @@ lean_dec(x_17);
|
|||
x_21 = 0;
|
||||
x_22 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__4;
|
||||
x_23 = 1;
|
||||
x_24 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4;
|
||||
x_24 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4;
|
||||
x_25 = lean_alloc_ctor(0, 2, 17);
|
||||
lean_ctor_set(x_25, 0, x_22);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
|
|
@ -16004,236 +16005,249 @@ return x_37;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, double x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, double x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, double x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19;
|
||||
x_14 = lean_ctor_get_uint32(x_1, sizeof(void*)*3);
|
||||
x_15 = lean_ctor_get(x_1, 2);
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16; uint32_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23;
|
||||
x_14 = l_Lean_Elab_HeaderSyntax_startPos(x_1);
|
||||
x_15 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_1);
|
||||
x_17 = l_Lean_MessageLog_empty;
|
||||
x_18 = 1;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_2);
|
||||
x_19 = l_Lean_Elab_processHeader(x_2, x_10, x_17, x_3, x_14, x_15, x_18, x_16, x_13);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25;
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
x_16 = lean_ctor_get_uint8(x_2, sizeof(void*)*5 + 4);
|
||||
x_17 = lean_ctor_get_uint32(x_2, sizeof(void*)*5);
|
||||
x_18 = lean_ctor_get(x_2, 4);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_2, 3);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_20);
|
||||
x_24 = lean_io_mono_nanos_now(x_21);
|
||||
x_25 = !lean_is_exclusive(x_24);
|
||||
if (x_25 == 0)
|
||||
lean_dec(x_2);
|
||||
x_21 = l_Lean_MessageLog_empty;
|
||||
x_22 = 1;
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_23 = l_Lean_Elab_processHeaderCore(x_14, x_15, x_16, x_3, x_21, x_4, x_17, x_18, x_22, x_19, x_20, x_13);
|
||||
lean_dec(x_14);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; double x_30; double x_31; lean_object* x_32; uint8_t x_33;
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_23);
|
||||
x_26 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_ctor_get(x_24, 1);
|
||||
x_28 = 0;
|
||||
x_29 = lean_unsigned_to_nat(0u);
|
||||
x_30 = l_Float_ofScientific(x_26, x_28, x_29);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_24);
|
||||
x_28 = lean_io_mono_nanos_now(x_25);
|
||||
x_29 = !lean_is_exclusive(x_28);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; double x_34; double x_35; lean_object* x_36; uint8_t x_37;
|
||||
x_30 = lean_ctor_get(x_28, 0);
|
||||
x_31 = lean_ctor_get(x_28, 1);
|
||||
x_32 = 0;
|
||||
x_33 = lean_unsigned_to_nat(0u);
|
||||
x_34 = l_Float_ofScientific(x_30, x_32, x_33);
|
||||
lean_dec(x_30);
|
||||
x_35 = lean_float_div(x_34, x_5);
|
||||
lean_inc(x_27);
|
||||
x_36 = l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(x_27, x_31);
|
||||
x_37 = !lean_is_exclusive(x_36);
|
||||
if (x_37 == 0)
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; uint8_t x_40;
|
||||
x_38 = lean_ctor_get(x_36, 0);
|
||||
x_39 = lean_ctor_get(x_36, 1);
|
||||
x_40 = l_Lean_MessageLog_hasErrors(x_27);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
lean_free_object(x_36);
|
||||
lean_free_object(x_28);
|
||||
x_41 = lean_box(0);
|
||||
x_42 = l_Lean_Language_Lean_process_processHeader___lambda__4(x_26, x_27, x_4, x_1, x_6, x_7, x_8, x_38, x_3, x_9, x_35, x_10, x_41, x_12, x_39);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_4);
|
||||
return x_42;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_26);
|
||||
x_31 = lean_float_div(x_30, x_4);
|
||||
lean_inc(x_23);
|
||||
x_32 = l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(x_23, x_27);
|
||||
x_33 = !lean_is_exclusive(x_32);
|
||||
if (x_33 == 0)
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; uint8_t x_36;
|
||||
x_34 = lean_ctor_get(x_32, 0);
|
||||
x_35 = lean_ctor_get(x_32, 1);
|
||||
x_36 = l_Lean_MessageLog_hasErrors(x_23);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38;
|
||||
lean_free_object(x_32);
|
||||
lean_free_object(x_24);
|
||||
x_37 = lean_box(0);
|
||||
x_38 = l_Lean_Language_Lean_process_processHeader___lambda__4(x_22, x_23, x_3, x_2, x_5, x_6, x_7, x_34, x_8, x_9, x_31, x_10, x_37, x_12, x_35);
|
||||
lean_dec(x_3);
|
||||
return x_38;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_39 = l_Lean_Language_Lean_process_processHeader___lambda__3___closed__9;
|
||||
x_40 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__19;
|
||||
lean_inc(x_5);
|
||||
x_41 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_34);
|
||||
lean_ctor_set(x_41, 2, x_5);
|
||||
lean_ctor_set(x_41, 3, x_40);
|
||||
lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_18);
|
||||
lean_ctor_set(x_24, 1, x_5);
|
||||
lean_ctor_set(x_24, 0, x_41);
|
||||
lean_ctor_set(x_32, 0, x_24);
|
||||
return x_32;
|
||||
lean_dec(x_1);
|
||||
x_43 = l_Lean_Language_Lean_process_processHeader___lambda__3___closed__9;
|
||||
x_44 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__19;
|
||||
lean_inc(x_6);
|
||||
x_45 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_38);
|
||||
lean_ctor_set(x_45, 2, x_6);
|
||||
lean_ctor_set(x_45, 3, x_44);
|
||||
lean_ctor_set_uint8(x_45, sizeof(void*)*4, x_22);
|
||||
lean_ctor_set(x_28, 1, x_6);
|
||||
lean_ctor_set(x_28, 0, x_45);
|
||||
lean_ctor_set(x_36, 0, x_28);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; uint8_t x_44;
|
||||
x_42 = lean_ctor_get(x_32, 0);
|
||||
x_43 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_43);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_32);
|
||||
x_44 = l_Lean_MessageLog_hasErrors(x_23);
|
||||
if (x_44 == 0)
|
||||
lean_object* x_46; lean_object* x_47; uint8_t x_48;
|
||||
x_46 = lean_ctor_get(x_36, 0);
|
||||
x_47 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_36);
|
||||
x_48 = l_Lean_MessageLog_hasErrors(x_27);
|
||||
if (x_48 == 0)
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46;
|
||||
lean_free_object(x_24);
|
||||
x_45 = lean_box(0);
|
||||
x_46 = l_Lean_Language_Lean_process_processHeader___lambda__4(x_22, x_23, x_3, x_2, x_5, x_6, x_7, x_42, x_8, x_9, x_31, x_10, x_45, x_12, x_43);
|
||||
lean_object* x_49; lean_object* x_50;
|
||||
lean_free_object(x_28);
|
||||
x_49 = lean_box(0);
|
||||
x_50 = l_Lean_Language_Lean_process_processHeader___lambda__4(x_26, x_27, x_4, x_1, x_6, x_7, x_8, x_46, x_3, x_9, x_35, x_10, x_49, x_12, x_47);
|
||||
lean_dec(x_3);
|
||||
return x_46;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_47 = l_Lean_Language_Lean_process_processHeader___lambda__3___closed__9;
|
||||
x_48 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__19;
|
||||
lean_inc(x_5);
|
||||
x_49 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_49, 0, x_47);
|
||||
lean_ctor_set(x_49, 1, x_42);
|
||||
lean_ctor_set(x_49, 2, x_5);
|
||||
lean_ctor_set(x_49, 3, x_48);
|
||||
lean_ctor_set_uint8(x_49, sizeof(void*)*4, x_18);
|
||||
lean_ctor_set(x_24, 1, x_5);
|
||||
lean_ctor_set(x_24, 0, x_49);
|
||||
x_50 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_50, 0, x_24);
|
||||
lean_ctor_set(x_50, 1, x_43);
|
||||
lean_dec(x_4);
|
||||
return x_50;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; double x_55; double x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61;
|
||||
x_51 = lean_ctor_get(x_24, 0);
|
||||
x_52 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_52);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_24);
|
||||
x_53 = 0;
|
||||
x_54 = lean_unsigned_to_nat(0u);
|
||||
x_55 = l_Float_ofScientific(x_51, x_53, x_54);
|
||||
lean_dec(x_51);
|
||||
x_56 = lean_float_div(x_55, x_4);
|
||||
lean_inc(x_23);
|
||||
x_57 = l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(x_23, x_52);
|
||||
x_58 = lean_ctor_get(x_57, 0);
|
||||
lean_inc(x_58);
|
||||
x_59 = lean_ctor_get(x_57, 1);
|
||||
lean_inc(x_59);
|
||||
if (lean_is_exclusive(x_57)) {
|
||||
lean_ctor_release(x_57, 0);
|
||||
lean_ctor_release(x_57, 1);
|
||||
x_60 = x_57;
|
||||
} else {
|
||||
lean_dec_ref(x_57);
|
||||
x_60 = lean_box(0);
|
||||
}
|
||||
x_61 = l_Lean_MessageLog_hasErrors(x_23);
|
||||
if (x_61 == 0)
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63;
|
||||
lean_dec(x_60);
|
||||
x_62 = lean_box(0);
|
||||
x_63 = l_Lean_Language_Lean_process_processHeader___lambda__4(x_22, x_23, x_3, x_2, x_5, x_6, x_7, x_58, x_8, x_9, x_56, x_10, x_62, x_12, x_59);
|
||||
lean_dec(x_3);
|
||||
return x_63;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_22);
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_26);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_64 = l_Lean_Language_Lean_process_processHeader___lambda__3___closed__9;
|
||||
x_65 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__19;
|
||||
lean_inc(x_5);
|
||||
x_66 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_66, 0, x_64);
|
||||
lean_ctor_set(x_66, 1, x_58);
|
||||
lean_ctor_set(x_66, 2, x_5);
|
||||
lean_ctor_set(x_66, 3, x_65);
|
||||
lean_ctor_set_uint8(x_66, sizeof(void*)*4, x_18);
|
||||
x_67 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_66);
|
||||
lean_ctor_set(x_67, 1, x_5);
|
||||
if (lean_is_scalar(x_60)) {
|
||||
x_68 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_dec(x_1);
|
||||
x_51 = l_Lean_Language_Lean_process_processHeader___lambda__3___closed__9;
|
||||
x_52 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__19;
|
||||
lean_inc(x_6);
|
||||
x_53 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_53, 0, x_51);
|
||||
lean_ctor_set(x_53, 1, x_46);
|
||||
lean_ctor_set(x_53, 2, x_6);
|
||||
lean_ctor_set(x_53, 3, x_52);
|
||||
lean_ctor_set_uint8(x_53, sizeof(void*)*4, x_22);
|
||||
lean_ctor_set(x_28, 1, x_6);
|
||||
lean_ctor_set(x_28, 0, x_53);
|
||||
x_54 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_28);
|
||||
lean_ctor_set(x_54, 1, x_47);
|
||||
return x_54;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; double x_59; double x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65;
|
||||
x_55 = lean_ctor_get(x_28, 0);
|
||||
x_56 = lean_ctor_get(x_28, 1);
|
||||
lean_inc(x_56);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_28);
|
||||
x_57 = 0;
|
||||
x_58 = lean_unsigned_to_nat(0u);
|
||||
x_59 = l_Float_ofScientific(x_55, x_57, x_58);
|
||||
lean_dec(x_55);
|
||||
x_60 = lean_float_div(x_59, x_5);
|
||||
lean_inc(x_27);
|
||||
x_61 = l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(x_27, x_56);
|
||||
x_62 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_62);
|
||||
x_63 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_63);
|
||||
if (lean_is_exclusive(x_61)) {
|
||||
lean_ctor_release(x_61, 0);
|
||||
lean_ctor_release(x_61, 1);
|
||||
x_64 = x_61;
|
||||
} else {
|
||||
x_68 = x_60;
|
||||
lean_dec_ref(x_61);
|
||||
x_64 = lean_box(0);
|
||||
}
|
||||
lean_ctor_set(x_68, 0, x_67);
|
||||
lean_ctor_set(x_68, 1, x_59);
|
||||
return x_68;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
x_65 = l_Lean_MessageLog_hasErrors(x_27);
|
||||
if (x_65 == 0)
|
||||
{
|
||||
uint8_t x_69;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_object* x_66; lean_object* x_67;
|
||||
lean_dec(x_64);
|
||||
x_66 = lean_box(0);
|
||||
x_67 = l_Lean_Language_Lean_process_processHeader___lambda__4(x_26, x_27, x_4, x_1, x_6, x_7, x_8, x_62, x_3, x_9, x_60, x_10, x_66, x_12, x_63);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_69 = !lean_is_exclusive(x_19);
|
||||
if (x_69 == 0)
|
||||
{
|
||||
return x_19;
|
||||
lean_dec(x_4);
|
||||
return x_67;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71; lean_object* x_72;
|
||||
x_70 = lean_ctor_get(x_19, 0);
|
||||
x_71 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_70);
|
||||
lean_dec(x_19);
|
||||
x_72 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_70);
|
||||
lean_ctor_set(x_72, 1, x_71);
|
||||
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72;
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_26);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_68 = l_Lean_Language_Lean_process_processHeader___lambda__3___closed__9;
|
||||
x_69 = l___private_Lean_Language_Lean_0__Lean_Language_Lean_withHeaderExceptions___rarg___closed__19;
|
||||
lean_inc(x_6);
|
||||
x_70 = lean_alloc_ctor(0, 4, 1);
|
||||
lean_ctor_set(x_70, 0, x_68);
|
||||
lean_ctor_set(x_70, 1, x_62);
|
||||
lean_ctor_set(x_70, 2, x_6);
|
||||
lean_ctor_set(x_70, 3, x_69);
|
||||
lean_ctor_set_uint8(x_70, sizeof(void*)*4, x_22);
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_6);
|
||||
if (lean_is_scalar(x_64)) {
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_72 = x_64;
|
||||
}
|
||||
lean_ctor_set(x_72, 0, x_71);
|
||||
lean_ctor_set(x_72, 1, x_63);
|
||||
return x_72;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_73;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
x_73 = !lean_is_exclusive(x_23);
|
||||
if (x_73 == 0)
|
||||
{
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_74; lean_object* x_75; lean_object* x_76;
|
||||
x_74 = lean_ctor_get(x_23, 0);
|
||||
x_75 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_75);
|
||||
lean_inc(x_74);
|
||||
lean_dec(x_23);
|
||||
x_76 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_74);
|
||||
lean_ctor_set(x_76, 1, x_75);
|
||||
return x_76;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Language_Lean_process_processHeader___lambda__6___closed__1() {
|
||||
_start:
|
||||
|
|
@ -16261,12 +16275,12 @@ lean_ctor_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, double x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, double x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, double x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, double x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_14 = lean_unsigned_to_nat(0u);
|
||||
x_15 = l_Lean_Syntax_getArg(x_2, x_14);
|
||||
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
|
||||
x_16 = l_Lean_Syntax_isNone(x_15);
|
||||
lean_dec(x_15);
|
||||
if (x_16 == 0)
|
||||
|
|
@ -16278,9 +16292,10 @@ if (x_18 == 0)
|
|||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
|
|
@ -16352,7 +16367,7 @@ x_14 = l_Float_ofScientific(x_10, x_12, x_13);
|
|||
lean_dec(x_10);
|
||||
x_15 = l_Lean_Language_Lean_process_processHeader___lambda__7___closed__1;
|
||||
x_16 = lean_float_div(x_14, x_15);
|
||||
x_17 = lean_ctor_get(x_6, 1);
|
||||
x_17 = lean_ctor_get(x_6, 2);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_18);
|
||||
|
|
@ -16364,8 +16379,7 @@ if (x_20 == 0)
|
|||
lean_object* x_21; lean_object* x_22;
|
||||
x_21 = lean_box(0);
|
||||
lean_inc(x_17);
|
||||
x_22 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_6, x_1, x_2, x_15, x_3, x_4, x_5, x_17, x_16, x_17, x_21, x_7, x_11);
|
||||
lean_dec(x_17);
|
||||
x_22 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_1, x_6, x_17, x_2, x_15, x_3, x_4, x_5, x_16, x_17, x_21, x_7, x_11);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
|
|
@ -16376,8 +16390,7 @@ x_24 = 1;
|
|||
lean_inc(x_17);
|
||||
x_25 = l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader___spec__2(x_17, x_23, x_24);
|
||||
x_26 = lean_box(0);
|
||||
x_27 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_6, x_1, x_2, x_15, x_3, x_4, x_5, x_17, x_16, x_25, x_26, x_7, x_11);
|
||||
lean_dec(x_17);
|
||||
x_27 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_1, x_6, x_17, x_2, x_15, x_3, x_4, x_5, x_16, x_25, x_26, x_7, x_11);
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
|
|
@ -16497,14 +16510,13 @@ LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__5_
|
|||
_start:
|
||||
{
|
||||
double x_14; double x_15; lean_object* x_16;
|
||||
x_14 = lean_unbox_float(x_4);
|
||||
lean_dec(x_4);
|
||||
x_14 = lean_unbox_float(x_5);
|
||||
lean_dec(x_5);
|
||||
x_15 = lean_unbox_float(x_9);
|
||||
lean_dec(x_9);
|
||||
x_16 = l_Lean_Language_Lean_process_processHeader___lambda__5(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13);
|
||||
x_16 = l_Lean_Language_Lean_process_processHeader___lambda__5(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
|
|
@ -16512,14 +16524,13 @@ LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__6_
|
|||
_start:
|
||||
{
|
||||
double x_14; double x_15; lean_object* x_16;
|
||||
x_14 = lean_unbox_float(x_4);
|
||||
lean_dec(x_4);
|
||||
x_14 = lean_unbox_float(x_5);
|
||||
lean_dec(x_5);
|
||||
x_15 = lean_unbox_float(x_9);
|
||||
lean_dec(x_9);
|
||||
x_16 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13);
|
||||
x_16 = l_Lean_Language_Lean_process_processHeader___lambda__6(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
|
|
@ -20233,21 +20244,21 @@ l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f_
|
|||
lean_mark_persistent(l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f___closed__4);
|
||||
l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f___closed__5 = _init_l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f___closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Language_Lean_0__Lean_Language_Lean_getNiceCommandStartPos_x3f___closed__5);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__1 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__1();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__1);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__2 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__2();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__2);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__3 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__3();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__3);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__4);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__5 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__5();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__5);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__6 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__6();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__6);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__7 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__7();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166____closed__7);
|
||||
if (builtin) {res = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1166_(lean_io_mk_world());
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__1 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__1();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__1);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__2 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__2();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__2);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__3 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__3();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__3);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__4);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__5 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__5();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__5);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__6 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__6();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__6);
|
||||
l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__7 = _init_l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__7();
|
||||
lean_mark_persistent(l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200____closed__7);
|
||||
if (builtin) {res = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_1200_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Language_Lean_experimental_module = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Language_Lean_experimental_module);
|
||||
|
|
|
|||
261
stage0/stdlib/Lean/Message.c
generated
261
stage0/stdlib/Lean/Message.c
generated
|
|
@ -77,7 +77,6 @@ static lean_object* l_Lean_Kernel_Exception_toMessageData___closed__32;
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_MessageLog_errorsToInfos___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageData_ofSyntax___elambda__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__3;
|
||||
static lean_object* l_Lean_MessageData_formatAux___closed__1;
|
||||
static lean_object* l_Lean_MessageData_formatAux___lambda__2___closed__4;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
|
|
@ -191,7 +190,6 @@ LEAN_EXPORT lean_object* l_Lean_instToMessageDataOfToFormat___rarg(lean_object*)
|
|||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonMessageSeverity____x40_Lean_Message___hyg_164____lambda__1___closed__2;
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonMessageSeverity____x40_Lean_Message___hyg_164____lambda__2___closed__3;
|
||||
lean_object* l_Lean_Json_getBool_x3f(lean_object*);
|
||||
static lean_object* l_Lean_aquote___closed__5;
|
||||
static lean_object* l_Lean_MessageData_instCoeString___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull(lean_object*);
|
||||
|
|
@ -230,7 +228,6 @@ size_t lean_usize_of_nat(lean_object*);
|
|||
static lean_object* l_Lean_MessageData_instCoeArrayExpr___closed__2;
|
||||
static lean_object* l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_instToMessageDataExpr;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MessageData_hasSyntheticSorry_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_MessageData_ofList___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageLog_errorsToInfos(lean_object*);
|
||||
|
|
@ -292,7 +289,6 @@ static lean_object* l___private_Lean_Message_0__Lean_toJsonMessageSeverity____x4
|
|||
static lean_object* l_Lean___aux__Lean__Message______macroRules__Lean__termM_x21____1___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageLog_errorsToInfos___spec__4(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageData_ofExpr___elambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_MessageData_initFn____x40_Lean_Message___hyg_1428____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_instBEqMessageSeverity;
|
||||
LEAN_EXPORT lean_object* l_Lean_Message_kind(lean_object*);
|
||||
|
|
@ -301,13 +297,11 @@ LEAN_EXPORT lean_object* l_Lean_instTypeNameMessageData;
|
|||
LEAN_EXPORT lean_object* l_Lean_MessageData_formatAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_pop(lean_object*);
|
||||
static lean_object* l_Lean_Kernel_Exception_toMessageData___closed__38;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageSeverity_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageLog_errorsToInfos___spec__3(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedMessageLog;
|
||||
LEAN_EXPORT lean_object* l_Lean_instToMessageDataString;
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__22;
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__2;
|
||||
lean_object* lean_array_to_list(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageLog_errorsToInfos___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_MessageLog_getInfoMessages___spec__2___closed__1;
|
||||
|
|
@ -336,7 +330,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_MessageLog_hasErrors__
|
|||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____rarg___closed__2;
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__6;
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonMessageSeverity____x40_Lean_Message___hyg_164____lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__5___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_MessageLog_hasErrors___spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonBaseMessage(lean_object*);
|
||||
lean_object* l_Lean_ppConstNameWithInfos(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -356,6 +349,7 @@ LEAN_EXPORT lean_object* l_Lean_MessageData_ofConstName___elambda__2___boxed(lea
|
|||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__11;
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____rarg___closed__8;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageData_formatAux___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonSerialMessage;
|
||||
|
|
@ -502,7 +496,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_toJsonBaseMessage____x
|
|||
uint8_t lean_float_beq(double, double);
|
||||
lean_object* l_Lean_Level_format(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonMessageSeverity;
|
||||
lean_object* l_String_toName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_MessageLog_getInfoMessages___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_getInfoMessages___spec__5(lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_aquote___closed__2;
|
||||
|
|
@ -513,7 +506,6 @@ lean_object* l_Except_orElseLazy___rarg(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_MessageData_instCoeArrayExpr___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageData_formatAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____rarg___closed__7;
|
||||
static lean_object* l_Lean_instInhabitedMessageLog___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial(lean_object*);
|
||||
|
|
@ -526,6 +518,7 @@ static lean_object* l_Lean_termM_x21_____closed__9;
|
|||
static lean_object* l_Lean_instFromJsonSerialMessage___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageLog_errorsToInfos___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_toMessageList(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_toJsonMessageSeverity____x40_Lean_Message___hyg_125____closed__1;
|
||||
static lean_object* l_Lean_instInhabitedMessageLog___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MessageLog_getInfoMessages___spec__4(lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -592,7 +585,6 @@ static lean_object* l_Lean_Kernel_Exception_toMessageData___closed__20;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_toJsonSerialMessage____x40_Lean_Message___hyg_3511_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedBaseMessage(lean_object*);
|
||||
lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_termM_x21_____closed__6;
|
||||
static lean_object* l_Lean_MessageData_ofSyntax___closed__1;
|
||||
|
|
@ -609,7 +601,6 @@ static lean_object* l_Lean_Kernel_Exception_toMessageData___closed__5;
|
|||
LEAN_EXPORT lean_object* l_Lean_MessageData_instCoeExpr;
|
||||
LEAN_EXPORT lean_object* l_Lean_instToMessageDataSubarray___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Message_toString___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661_(lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -622,10 +613,12 @@ LEAN_EXPORT lean_object* l_Lean_MessageData_kind___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_MessageData_formatAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToJsonBaseMessage(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_toTraceElem___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_dbg_to_string(lean_object*);
|
||||
static lean_object* l_Lean_mkErrorStringWithPos___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageData_instCoeName;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_toTraceElem(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Message_0__Lean_toJsonMessageSeverity____x40_Lean_Message___hyg_125_(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToMessageDataList___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MessageData_instCoeArrayExpr___boxed(lean_object*);
|
||||
|
|
@ -635,7 +628,6 @@ static lean_object* l_Lean_MessageData_instCoeString___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_SerialMessage_instToString(lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____rarg___closed__32;
|
||||
static lean_object* l_Lean_termM_x21_____closed__14;
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____rarg___closed__31;
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonBaseMessage___rarg(lean_object*);
|
||||
static lean_object* l_Lean_instToMessageDataOptionExpr___closed__2;
|
||||
|
|
@ -6705,16 +6697,6 @@ _start:
|
|||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l_Lean_Json_getBool_x3f(x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__5(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l___private_Lean_Message_0__Lean_fromJsonMessageSeverity____x40_Lean_Message___hyg_164_(x_3);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -7220,7 +7202,7 @@ lean_inc(x_35);
|
|||
lean_dec(x_26);
|
||||
x_36 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__3;
|
||||
lean_inc(x_2);
|
||||
x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_2, x_36);
|
||||
x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_2, x_36);
|
||||
if (lean_obj_tag(x_37) == 0)
|
||||
{
|
||||
uint8_t x_38;
|
||||
|
|
@ -7262,7 +7244,7 @@ lean_inc(x_46);
|
|||
lean_dec(x_37);
|
||||
x_47 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__4;
|
||||
lean_inc(x_2);
|
||||
x_48 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__5(x_2, x_47);
|
||||
x_48 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_2, x_47);
|
||||
if (lean_obj_tag(x_48) == 0)
|
||||
{
|
||||
uint8_t x_49;
|
||||
|
|
@ -7305,7 +7287,7 @@ lean_inc(x_57);
|
|||
lean_dec(x_48);
|
||||
x_58 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__5;
|
||||
lean_inc(x_2);
|
||||
x_59 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_2, x_58);
|
||||
x_59 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_2, x_58);
|
||||
if (lean_obj_tag(x_59) == 0)
|
||||
{
|
||||
uint8_t x_60;
|
||||
|
|
@ -7534,15 +7516,6 @@ lean_dec(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__5___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__5(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instFromJsonBaseMessage___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7747,164 +7720,6 @@ x_1 = l_Lean_instToJsonSerialMessage___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("[anonymous]", 11, 11);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("expected a `Name`, got '", 24, 24);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
lean_inc(x_3);
|
||||
x_4 = l_Lean_Json_getStr_x3f(x_3);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
uint8_t x_5;
|
||||
lean_dec(x_3);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_4);
|
||||
x_7 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = !lean_is_exclusive(x_4);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_9 = lean_ctor_get(x_4, 0);
|
||||
x_10 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__1;
|
||||
x_11 = lean_string_dec_eq(x_9, x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; uint8_t x_13;
|
||||
x_12 = l_String_toName(x_9);
|
||||
x_13 = l_Lean_Name_isAnonymous(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_ctor_set(x_4, 0, x_12);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_dec(x_12);
|
||||
x_14 = lean_unsigned_to_nat(80u);
|
||||
x_15 = l_Lean_Json_pretty(x_3, x_14);
|
||||
x_16 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__2;
|
||||
x_17 = lean_string_append(x_16, x_15);
|
||||
lean_dec(x_15);
|
||||
x_18 = l_List_mapTR_loop___at_Lean_MessageData_orList___spec__1___closed__1;
|
||||
x_19 = lean_string_append(x_17, x_18);
|
||||
lean_ctor_set_tag(x_4, 0);
|
||||
lean_ctor_set(x_4, 0, x_19);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20;
|
||||
lean_free_object(x_4);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_3);
|
||||
x_20 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__3;
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
x_21 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_4);
|
||||
x_22 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__1;
|
||||
x_23 = lean_string_dec_eq(x_21, x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_24; uint8_t x_25;
|
||||
x_24 = l_String_toName(x_21);
|
||||
x_25 = l_Lean_Name_isAnonymous(x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_26;
|
||||
lean_dec(x_3);
|
||||
x_26 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_26, 0, x_24);
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
lean_dec(x_24);
|
||||
x_27 = lean_unsigned_to_nat(80u);
|
||||
x_28 = l_Lean_Json_pretty(x_3, x_27);
|
||||
x_29 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__2;
|
||||
x_30 = lean_string_append(x_29, x_28);
|
||||
lean_dec(x_28);
|
||||
x_31 = l_List_mapTR_loop___at_Lean_MessageData_orList___spec__1___closed__1;
|
||||
x_32 = lean_string_append(x_30, x_31);
|
||||
x_33 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34;
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_3);
|
||||
x_34 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__3;
|
||||
return x_34;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -8268,7 +8083,7 @@ lean_inc(x_34);
|
|||
lean_dec(x_25);
|
||||
x_35 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__3;
|
||||
lean_inc(x_1);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_35);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_35);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
uint8_t x_37;
|
||||
|
|
@ -8309,7 +8124,7 @@ lean_inc(x_45);
|
|||
lean_dec(x_36);
|
||||
x_46 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__4;
|
||||
lean_inc(x_1);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__5(x_1, x_46);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_46);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
uint8_t x_48;
|
||||
|
|
@ -8351,7 +8166,7 @@ lean_inc(x_56);
|
|||
lean_dec(x_47);
|
||||
x_57 = l___private_Lean_Message_0__Lean_toJsonBaseMessage____x40_Lean_Message___hyg_2974____rarg___closed__5;
|
||||
lean_inc(x_1);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_57);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_57);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
{
|
||||
uint8_t x_59;
|
||||
|
|
@ -8482,7 +8297,7 @@ x_89 = lean_ctor_get(x_80, 0);
|
|||
lean_inc(x_89);
|
||||
lean_dec(x_80);
|
||||
x_90 = l___private_Lean_Message_0__Lean_toJsonSerialMessage____x40_Lean_Message___hyg_3511____closed__1;
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1(x_1, x_90);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__1(x_1, x_90);
|
||||
if (lean_obj_tag(x_91) == 0)
|
||||
{
|
||||
uint8_t x_92;
|
||||
|
|
@ -8587,24 +8402,6 @@ return x_113;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___lambda__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instFromJsonSerialMessage___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -13456,6 +13253,36 @@ return x_196;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_toTraceElem___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
double x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_4 = l_Lean_MessageData_formatAux___lambda__3___closed__5;
|
||||
x_5 = 1;
|
||||
x_6 = l_Lean_mkErrorStringWithPos___closed__1;
|
||||
x_7 = lean_alloc_ctor(0, 2, 17);
|
||||
lean_ctor_set(x_7, 0, x_3);
|
||||
lean_ctor_set(x_7, 1, x_6);
|
||||
lean_ctor_set_float(x_7, sizeof(void*)*2, x_4);
|
||||
lean_ctor_set_float(x_7, sizeof(void*)*2 + 8, x_4);
|
||||
lean_ctor_set_uint8(x_7, sizeof(void*)*2 + 16, x_5);
|
||||
x_8 = lean_apply_1(x_1, x_2);
|
||||
x_9 = l___private_Lean_Message_0__Lean_fromJsonMessageSeverity____x40_Lean_Message___hyg_164____closed__1;
|
||||
x_10 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_10, 0, x_7);
|
||||
lean_ctor_set(x_10, 1, x_8);
|
||||
lean_ctor_set(x_10, 2, x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_toTraceElem(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_toTraceElem___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Data_Position(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_OpenDecl(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_MetavarContext(uint8_t builtin, lean_object*);
|
||||
|
|
@ -13838,12 +13665,6 @@ l_Lean_instToJsonSerialMessage___closed__1 = _init_l_Lean_instToJsonSerialMessag
|
|||
lean_mark_persistent(l_Lean_instToJsonSerialMessage___closed__1);
|
||||
l_Lean_instToJsonSerialMessage = _init_l_Lean_instToJsonSerialMessage();
|
||||
lean_mark_persistent(l_Lean_instToJsonSerialMessage);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__1);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__2();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__2);
|
||||
l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1___closed__3);
|
||||
l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__1 = _init_l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__1);
|
||||
l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__2 = _init_l___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____closed__2();
|
||||
|
|
|
|||
2201
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
2201
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
File diff suppressed because it is too large
Load diff
356
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing.c
generated
356
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.Arith.CommRing
|
||||
// Imports: Lean.Util.Trace Lean.Meta.Tactic.Grind.Arith.CommRing.Poly Lean.Meta.Tactic.Grind.Arith.CommRing.Types Lean.Meta.Tactic.Grind.Arith.CommRing.RingId Lean.Meta.Tactic.Grind.Arith.CommRing.Internalize Lean.Meta.Tactic.Grind.Arith.CommRing.ToExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Var Lean.Meta.Tactic.Grind.Arith.CommRing.Reify Lean.Meta.Tactic.Grind.Arith.CommRing.EqCnstr Lean.Meta.Tactic.Grind.Arith.CommRing.Proof Lean.Meta.Tactic.Grind.Arith.CommRing.DenoteExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Inv
|
||||
// Imports: Lean.Util.Trace Lean.Meta.Tactic.Grind.Arith.CommRing.Poly Lean.Meta.Tactic.Grind.Arith.CommRing.Types Lean.Meta.Tactic.Grind.Arith.CommRing.RingId Lean.Meta.Tactic.Grind.Arith.CommRing.Internalize Lean.Meta.Tactic.Grind.Arith.CommRing.ToExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Var Lean.Meta.Tactic.Grind.Arith.CommRing.Reify Lean.Meta.Tactic.Grind.Arith.CommRing.EqCnstr Lean.Meta.Tactic.Grind.Arith.CommRing.Proof Lean.Meta.Tactic.Grind.Arith.CommRing.DenoteExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Inv Lean.Meta.Tactic.Grind.Arith.CommRing.PP
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -13,47 +13,51 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_210____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__15;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__18;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__9;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_44____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_252_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_210____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__23;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_252____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_44_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__3;
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_126_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__12;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__14;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__3;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_126____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_44____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__20;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_252____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624_(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__6;
|
||||
|
|
@ -61,41 +65,45 @@ static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing__
|
|||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__5;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_44____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__4;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__16;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__7;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_294____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__10;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_126____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_210_(lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__21;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__3;
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_210____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_126____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__13;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_168____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__19;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__1;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__2;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_252____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378_(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__11;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1() {
|
||||
|
|
@ -565,7 +573,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Comm
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("discard", 7, 7);
|
||||
x_1 = lean_mk_string_unchecked("store", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -606,19 +614,20 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_Comm
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("simp", 4, 4);
|
||||
x_1 = lean_mk_string_unchecked("discard", 7, 7);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_85____closed__1;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3() {
|
||||
|
|
@ -636,13 +645,53 @@ _start:
|
|||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__2;
|
||||
x_3 = 0;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("simp", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__1;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(378u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -650,39 +699,39 @@ x_1 = lean_mk_string_unchecked("superpose", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__1;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(377u);
|
||||
x_2 = lean_unsigned_to_nat(419u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -690,39 +739,39 @@ x_1 = lean_mk_string_unchecked("impEq", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__1;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(418u);
|
||||
x_2 = lean_unsigned_to_nat(460u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -730,40 +779,40 @@ x_1 = lean_mk_string_unchecked("debug", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336____closed__1;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__1;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(459u);
|
||||
x_2 = lean_unsigned_to_nat(501u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -771,40 +820,40 @@ x_1 = lean_mk_string_unchecked("proof", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__1;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__1;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(500u);
|
||||
x_2 = lean_unsigned_to_nat(542u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -812,68 +861,109 @@ x_1 = lean_mk_string_unchecked("check", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__1;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__1;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(541u);
|
||||
x_2 = lean_unsigned_to_nat(583u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__2;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__3;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__1;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(582u);
|
||||
x_2 = lean_unsigned_to_nat(624u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__2;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("simpBasis", 9, 9);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1;
|
||||
x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__1;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__22;
|
||||
x_2 = lean_unsigned_to_nat(665u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__3;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -890,6 +980,7 @@ lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr(uint8_t bu
|
|||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_PP(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -931,6 +1022,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_PP(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_3____closed__2();
|
||||
|
|
@ -1052,56 +1146,74 @@ lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing_
|
|||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_336_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_377_(lean_io_mk_world());
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_378_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_418_(lean_io_mk_world());
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_419_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_459_(lean_io_mk_world());
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_460_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_500_(lean_io_mk_world());
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_501_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_541_(lean_io_mk_world());
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_542_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582____closed__2);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_582_(lean_io_mk_world());
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_583_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624____closed__2);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_624_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665____closed__3);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_665_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -21,7 +21,6 @@ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_Com
|
|||
static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Grind_Arith_CommRing_checkInvariants___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0__Lean_Meta_Grind_Arith_CommRing_checkVars___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux_traverse___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0__Lean_Meta_Grind_Arith_CommRing_checkVars___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_checkInvariants___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0__Lean_Meta_Grind_Arith_CommRing_checkDiseqs___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0__Lean_Meta_Grind_Arith_CommRing_checkBasis___spec__3___closed__6;
|
||||
|
|
@ -134,6 +133,7 @@ lean_object* lean_array_uget(lean_object*, size_t);
|
|||
size_t lean_array_size(lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0__Lean_Meta_Grind_Arith_CommRing_checkBasis___spec__3___closed__1;
|
||||
lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_PolyDerivation_p(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0__Lean_Meta_Grind_Arith_CommRing_checkVars___spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1380,7 +1380,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0
|
|||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
|
|
@ -3226,7 +3226,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0
|
|||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
|
|
@ -3692,7 +3692,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0
|
|||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
|
|
@ -4705,7 +4705,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv_0
|
|||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_11 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
|
|
|
|||
3153
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/PP.c
generated
Normal file
3153
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/PP.c
generated
Normal file
File diff suppressed because it is too large
Load diff
3037
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c
generated
3037
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -24,7 +24,6 @@ lean_object* l_Lean_Meta_getNatValue_x3f(lean_object*, lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_isIntCastInst___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___closed__5;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___closed__7;
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___closed__2;
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -113,6 +112,7 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___closed__6;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_Reify_0__Lean_Meta_Grind_Arith_CommRing_reportAppIssue___closed__2;
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_Grind_Arith_CommRing_isPowInst(lean_object*, lean_object*);
|
||||
|
|
@ -516,7 +516,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___lambda_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
|
||||
x_15 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
|
|
@ -705,7 +705,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___lambda_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
|
||||
x_15 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
|
|
@ -889,7 +889,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___lambda_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
x_16 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
|
|
@ -1037,7 +1037,7 @@ lean_dec(x_17);
|
|||
x_22 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_18);
|
||||
x_23 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_21);
|
||||
x_23 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_21);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
|
|
@ -1197,7 +1197,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___lambda_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
@ -1375,7 +1375,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___lambda_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
@ -1553,7 +1553,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f_go___lambda_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
@ -2516,7 +2516,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__4(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
x_13 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
|
|
@ -2717,7 +2717,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__5(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
x_13 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
|
|
@ -2914,7 +2914,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__6(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
x_16 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
|
|
@ -3127,7 +3127,7 @@ if (x_26 == 0)
|
|||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
x_27 = lean_ctor_get(x_18, 0);
|
||||
x_28 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25);
|
||||
x_28 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25);
|
||||
if (lean_obj_tag(x_28) == 0)
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
|
|
@ -3287,7 +3287,7 @@ lean_object* x_55; lean_object* x_56;
|
|||
x_55 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_18);
|
||||
x_56 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25);
|
||||
x_56 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25);
|
||||
if (lean_obj_tag(x_56) == 0)
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58; uint8_t x_59;
|
||||
|
|
@ -3478,7 +3478,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__8(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
@ -3691,7 +3691,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__9(
|
|||
_start:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
@ -3904,7 +3904,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_reify_x3f___lambda__10
|
|||
_start:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
x_17 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
|
|
|
|||
1153
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Util.c
generated
1153
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Util.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -17,7 +17,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind
|
|||
lean_object* l_Lean_Meta_Grind_markAsCommRingTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -48,6 +47,7 @@ static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_Comm
|
|||
size_t lean_usize_sub(size_t, size_t);
|
||||
uint64_t l_Lean_Meta_Grind_instHashableENodeKey_unsafe__1(lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(lean_object*, lean_object*);
|
||||
|
|
@ -1682,7 +1682,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_mkVar(lean_object* x_1
|
|||
_start:
|
||||
{
|
||||
lean_object* x_12;
|
||||
x_12 = l_Lean_Meta_Grind_Arith_CommRing_getRing(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
x_12 = l_Lean_Meta_Grind_Arith_CommRing_RingM_getRing(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
uint8_t x_13;
|
||||
|
|
|
|||
464
stage0/stdlib/Lean/Meta/Tactic/Grind/PP.c
generated
464
stage0/stdlib/Lean/Meta/Tactic/Grind/PP.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.PP
|
||||
// Imports: Init.Grind.Util Init.Grind.PP Lean.Meta.Tactic.Grind.Types Lean.Meta.Tactic.Grind.Arith.Model
|
||||
// Imports: Init.Grind.Util Init.Grind.PP Lean.Meta.Tactic.Grind.Types Lean.Meta.Tactic.Grind.Arith.Model Lean.Meta.Tactic.Grind.Arith.CommRing.PP
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -55,6 +55,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tact
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__4___closed__1;
|
||||
uint8_t l_Lean_Expr_isApp(lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___spec__1___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__3;
|
||||
static lean_object* l_Lean_Meta_Grind_Goal_ppENodeRef___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -71,6 +72,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at___private_Lean_Me
|
|||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__13;
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__9;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static double l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Goal_ppState___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -80,6 +82,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_Persisten
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___closed__2;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppActiveTheoremPatterns___closed__3;
|
||||
lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_mkEMatchTheoremCore___spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_CommRing_pp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__1___closed__4;
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Meta_Grind_Goal_ppState___spec__7___closed__4;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -143,7 +146,6 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_Goa
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static double l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Goal_ppENodeRef___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -166,16 +168,17 @@ static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppC
|
|||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__12;
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_ppExprArray___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Goal_ppState___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Goal_ppState___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCommRing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_levelZero;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_goalToMessageData_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_pushMsg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_goalToMessageData___lambda__1___closed__2;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___spec__1___closed__3;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__3___closed__1;
|
||||
|
|
@ -224,6 +227,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grin
|
|||
lean_object* lean_nat_abs(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___lambda__1___closed__5;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_Goal_ppENodeDecl___lambda__4___closed__2;
|
||||
lean_object* l_Lean_toTraceElem___at_Lean_Meta_Grind_Arith_CommRing_ppBasis_x3f___spec__10(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppActiveTheoremPatterns___closed__6;
|
||||
lean_object* l_Lean_Expr_isTrue___boxed(lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___spec__1___closed__7;
|
||||
|
|
@ -233,9 +237,11 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_G
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_Goal_ppENodeDecl___lambda__3___closed__3;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCommRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_goalToMessageData___lambda__1___closed__4;
|
||||
lean_object* l_Lean_Meta_Grind_Goal_getEqcs(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__5___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_ppExprArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -274,11 +280,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grin
|
|||
lean_object* l_Lean_Meta_Grind_Goal_getENode_x3f(lean_object*, lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isTrue(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Grind_Goal_ppState___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_ppENodeRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
|
|
@ -289,6 +293,7 @@ static lean_object* l_Lean_Meta_Grind_Goal_ppState___closed__2;
|
|||
uint8_t l_Lean_PersistentArray_isEmpty___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_Goal_ppENodeDecl___lambda__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppActiveTheoremPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_ppExprArray(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppActiveTheoremPatterns___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Goal_ppENodeRef___closed__5;
|
||||
|
|
@ -329,7 +334,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Meta_Grind_Go
|
|||
static lean_object* l_Lean_Meta_Grind_goalToMessageData___lambda__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_Goal_ppENodeDeclValue___spec__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_ppGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Meta_Grind_Goal_ppState___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3408,111 +3412,6 @@ lean_dec(x_1);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
static double _init_l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; double x_3;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = 0;
|
||||
x_3 = l_Float_ofScientific(x_1, x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = lean_array_mk(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; double x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21;
|
||||
x_6 = lean_array_uget(x_4, x_3);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = lean_array_uset(x_4, x_3, x_7);
|
||||
x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_10 = 1;
|
||||
x_11 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
lean_inc(x_1);
|
||||
x_12 = lean_alloc_ctor(0, 2, 17);
|
||||
lean_ctor_set(x_12, 0, x_1);
|
||||
lean_ctor_set(x_12, 1, x_11);
|
||||
lean_ctor_set_float(x_12, sizeof(void*)*2, x_9);
|
||||
lean_ctor_set_float(x_12, sizeof(void*)*2 + 8, x_9);
|
||||
lean_ctor_set_uint8(x_12, sizeof(void*)*2 + 16, x_10);
|
||||
x_13 = l_Lean_MessageData_ofExpr(x_6);
|
||||
x_14 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__9;
|
||||
x_15 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_13);
|
||||
x_16 = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
x_17 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_18 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_18, 0, x_12);
|
||||
lean_ctor_set(x_18, 1, x_16);
|
||||
lean_ctor_set(x_18, 2, x_17);
|
||||
x_19 = 1;
|
||||
x_20 = lean_usize_add(x_3, x_19);
|
||||
x_21 = lean_array_uset(x_8, x_3, x_18);
|
||||
x_3 = x_20;
|
||||
x_4 = x_21;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7; double x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_5 = lean_array_size(x_3);
|
||||
x_6 = 0;
|
||||
x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1(x_4, x_5, x_6, x_3);
|
||||
x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_9 = 1;
|
||||
x_10 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_11 = lean_alloc_ctor(0, 2, 17);
|
||||
lean_ctor_set(x_11, 0, x_1);
|
||||
lean_ctor_set(x_11, 1, x_10);
|
||||
lean_ctor_set_float(x_11, sizeof(void*)*2, x_8);
|
||||
lean_ctor_set_float(x_11, sizeof(void*)*2 + 8, x_8);
|
||||
lean_ctor_set_uint8(x_11, sizeof(void*)*2 + 16, x_9);
|
||||
x_12 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_2);
|
||||
x_13 = l_Lean_MessageData_ofFormat(x_12);
|
||||
x_14 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_14, 0, x_11);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
lean_ctor_set(x_14, 2, x_7);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1(x_1, x_5, x_6, x_4);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_pushMsg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3541,6 +3440,81 @@ lean_dec(x_2);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_ppExprArray___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12;
|
||||
x_6 = lean_array_uget(x_4, x_3);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = lean_array_uset(x_4, x_3, x_7);
|
||||
lean_inc(x_1);
|
||||
x_9 = l_Lean_toTraceElem___at_Lean_Meta_Grind_Arith_CommRing_ppBasis_x3f___spec__10(x_6, x_1);
|
||||
x_10 = 1;
|
||||
x_11 = lean_usize_add(x_3, x_10);
|
||||
x_12 = lean_array_uset(x_8, x_3, x_9);
|
||||
x_3 = x_11;
|
||||
x_4 = x_12;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
static double _init_l_Lean_Meta_Grind_ppExprArray___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; double x_3;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = 0;
|
||||
x_3 = l_Float_ofScientific(x_1, x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_ppExprArray(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7; double x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_5 = lean_array_size(x_3);
|
||||
x_6 = 0;
|
||||
x_7 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_ppExprArray___spec__1(x_4, x_5, x_6, x_3);
|
||||
x_8 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_9 = 1;
|
||||
x_10 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_11 = lean_alloc_ctor(0, 2, 17);
|
||||
lean_ctor_set(x_11, 0, x_1);
|
||||
lean_ctor_set(x_11, 1, x_10);
|
||||
lean_ctor_set_float(x_11, sizeof(void*)*2, x_8);
|
||||
lean_ctor_set_float(x_11, sizeof(void*)*2 + 8, x_8);
|
||||
lean_ctor_set_uint8(x_11, sizeof(void*)*2 + 16, x_9);
|
||||
x_12 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_2);
|
||||
x_13 = l_Lean_MessageData_ofFormat(x_12);
|
||||
x_14 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_14, 0, x_11);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
lean_ctor_set(x_14, 2, x_7);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_ppExprArray___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_mapMUnsafe_map___at_Lean_Meta_Grind_ppExprArray___spec__1(x_1, x_5, x_6, x_4);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_filterTR_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3718,7 +3692,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -4219,7 +4193,7 @@ x_113 = lean_array_mk(x_111);
|
|||
x_114 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_115 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__12;
|
||||
x_116 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_117 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_114, x_115, x_113, x_116);
|
||||
x_117 = l_Lean_Meta_Grind_ppExprArray(x_114, x_115, x_113, x_116);
|
||||
lean_ctor_set(x_37, 0, x_117);
|
||||
lean_ctor_set(x_7, 0, x_37);
|
||||
x_118 = lean_alloc_ctor(1, 1, 0);
|
||||
|
|
@ -4261,7 +4235,7 @@ x_123 = lean_array_mk(x_121);
|
|||
x_124 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_125 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__12;
|
||||
x_126 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_127 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_124, x_125, x_123, x_126);
|
||||
x_127 = l_Lean_Meta_Grind_ppExprArray(x_124, x_125, x_123, x_126);
|
||||
x_128 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_128, 0, x_127);
|
||||
lean_ctor_set(x_7, 0, x_128);
|
||||
|
|
@ -4310,7 +4284,7 @@ x_136 = lean_array_mk(x_134);
|
|||
x_137 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_138 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__13;
|
||||
x_139 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_140 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_137, x_138, x_136, x_139);
|
||||
x_140 = l_Lean_Meta_Grind_ppExprArray(x_137, x_138, x_136, x_139);
|
||||
lean_ctor_set(x_35, 0, x_140);
|
||||
lean_ctor_set(x_29, 1, x_35);
|
||||
x_141 = lean_alloc_ctor(1, 1, 0);
|
||||
|
|
@ -4352,7 +4326,7 @@ x_146 = lean_array_mk(x_144);
|
|||
x_147 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_148 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__13;
|
||||
x_149 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_150 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_147, x_148, x_146, x_149);
|
||||
x_150 = l_Lean_Meta_Grind_ppExprArray(x_147, x_148, x_146, x_149);
|
||||
x_151 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_151, 0, x_150);
|
||||
lean_ctor_set(x_29, 1, x_151);
|
||||
|
|
@ -4626,7 +4600,7 @@ x_200 = lean_array_mk(x_198);
|
|||
x_201 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_202 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__12;
|
||||
x_203 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_204 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_201, x_202, x_200, x_203);
|
||||
x_204 = l_Lean_Meta_Grind_ppExprArray(x_201, x_202, x_200, x_203);
|
||||
if (lean_is_scalar(x_196)) {
|
||||
x_205 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
|
|
@ -4688,7 +4662,7 @@ x_214 = lean_array_mk(x_212);
|
|||
x_215 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_216 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__13;
|
||||
x_217 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_218 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_215, x_216, x_214, x_217);
|
||||
x_218 = l_Lean_Meta_Grind_ppExprArray(x_215, x_216, x_214, x_217);
|
||||
if (lean_is_scalar(x_210)) {
|
||||
x_219 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
|
|
@ -5009,7 +4983,7 @@ x_276 = lean_array_mk(x_274);
|
|||
x_277 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_278 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__12;
|
||||
x_279 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_280 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_277, x_278, x_276, x_279);
|
||||
x_280 = l_Lean_Meta_Grind_ppExprArray(x_277, x_278, x_276, x_279);
|
||||
if (lean_is_scalar(x_272)) {
|
||||
x_281 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
|
|
@ -5082,7 +5056,7 @@ x_292 = lean_array_mk(x_290);
|
|||
x_293 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_294 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__13;
|
||||
x_295 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_296 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_293, x_294, x_292, x_295);
|
||||
x_296 = l_Lean_Meta_Grind_ppExprArray(x_293, x_294, x_292, x_295);
|
||||
if (lean_is_scalar(x_288)) {
|
||||
x_297 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
|
|
@ -5459,7 +5433,7 @@ x_368 = lean_array_mk(x_366);
|
|||
x_369 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_370 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__12;
|
||||
x_371 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_372 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_369, x_370, x_368, x_371);
|
||||
x_372 = l_Lean_Meta_Grind_ppExprArray(x_369, x_370, x_368, x_371);
|
||||
if (lean_is_scalar(x_364)) {
|
||||
x_373 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
|
|
@ -5540,7 +5514,7 @@ x_386 = lean_array_mk(x_384);
|
|||
x_387 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__4;
|
||||
x_388 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__13;
|
||||
x_389 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_390 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_387, x_388, x_386, x_389);
|
||||
x_390 = l_Lean_Meta_Grind_ppExprArray(x_387, x_388, x_386, x_389);
|
||||
if (lean_is_scalar(x_382)) {
|
||||
x_391 = lean_alloc_ctor(1, 1, 0);
|
||||
} else {
|
||||
|
|
@ -5716,13 +5690,10 @@ return x_19;
|
|||
static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
x_2 = lean_array_mk(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__2() {
|
||||
|
|
@ -5732,6 +5703,18 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
|||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
|
|
@ -5745,8 +5728,8 @@ x_8 = lean_box(0);
|
|||
x_9 = lean_box(0);
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Lean_Meta_Grind_Goal_getEqcs(x_1);
|
||||
x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_12 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__2;
|
||||
x_11 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_12 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__3;
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
|
|
@ -5937,7 +5920,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__4;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -5986,7 +5969,7 @@ x_21 = lean_alloc_ctor(7, 2, 0);
|
|||
lean_ctor_set(x_21, 0, x_20);
|
||||
lean_ctor_set(x_21, 1, x_11);
|
||||
x_22 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__5;
|
||||
x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_23 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_24 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_24, 0, x_22);
|
||||
lean_ctor_set(x_24, 1, x_21);
|
||||
|
|
@ -6024,7 +6007,7 @@ x_37 = lean_alloc_ctor(7, 2, 0);
|
|||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_27);
|
||||
x_38 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__5;
|
||||
x_39 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_39 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_40 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_37);
|
||||
|
|
@ -6161,7 +6144,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppActiveTheoremPatterns___closed__2;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -6462,7 +6445,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___spec__1___closed__2;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -6599,7 +6582,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___lambda__1___closed__2;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -6645,7 +6628,7 @@ lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_1
|
|||
x_10 = lean_box(0);
|
||||
x_11 = lean_array_size(x_1);
|
||||
x_12 = 0;
|
||||
x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_13 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_14 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppOffset___spec__1(x_1, x_13, x_10, x_1, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
|
|
@ -7268,7 +7251,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___lambda__1___closed__2;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -7314,7 +7297,7 @@ lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_1
|
|||
x_10 = lean_box(0);
|
||||
x_11 = lean_array_size(x_1);
|
||||
x_12 = 0;
|
||||
x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_13 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_14 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat___spec__1(x_1, x_13, x_10, x_1, x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
|
|
@ -7550,6 +7533,72 @@ lean_dec(x_2);
|
|||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCommRing(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = l_Lean_Meta_Grind_Arith_CommRing_pp_x3f(x_1, x_3, x_4, x_5, x_6, x_7);
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_9);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = !lean_is_exclusive(x_8);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_11 = lean_ctor_get(x_8, 0);
|
||||
lean_dec(x_11);
|
||||
x_12 = lean_box(0);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_2);
|
||||
lean_ctor_set(x_8, 0, x_13);
|
||||
return x_8;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_14 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_8);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_2);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
lean_ctor_set(x_17, 1, x_14);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_8);
|
||||
x_19 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_9);
|
||||
x_20 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_pushMsg(x_19, x_1, x_2, x_3, x_4, x_5, x_6, x_18);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCommRing___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8;
|
||||
x_8 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCommRing(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -8327,7 +8376,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__1___closed__2;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -8429,7 +8478,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__2___closed__3;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -8747,7 +8796,7 @@ if (x_15 == 0)
|
|||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
lean_dec(x_12);
|
||||
x_16 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_16 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_17 = lean_box(0);
|
||||
lean_inc(x_2);
|
||||
x_18 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__5(x_1, x_2, x_16, x_11, x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
|
|
@ -8771,7 +8820,7 @@ x_25 = lean_alloc_ctor(7, 2, 0);
|
|||
lean_ctor_set(x_25, 0, x_23);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
x_26 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds___lambda__2___closed__4;
|
||||
x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_27 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
x_28 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_28, 0, x_26);
|
||||
lean_ctor_set(x_28, 1, x_25);
|
||||
|
|
@ -9024,7 +9073,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___spec__1___closed__2;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -9333,7 +9382,7 @@ if (x_10 == 0)
|
|||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_11 = lean_box(0);
|
||||
x_12 = l_List_reverse___rarg(x_9);
|
||||
x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_13 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
lean_inc(x_12);
|
||||
x_14 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCasesTrace___spec__1(x_13, x_11, x_12, x_12, x_12, x_13, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_12);
|
||||
|
|
@ -9436,7 +9485,7 @@ x_11 = l_Lean_PersistentArray_toArray___rarg(x_10);
|
|||
x_12 = l_Lean_Meta_Grind_goalToMessageData_go___closed__2;
|
||||
x_13 = l_Lean_Meta_Grind_goalToMessageData_go___closed__3;
|
||||
x_14 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__11;
|
||||
x_15 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray(x_12, x_13, x_11, x_14);
|
||||
x_15 = l_Lean_Meta_Grind_ppExprArray(x_12, x_13, x_11, x_14);
|
||||
x_16 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_pushMsg(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
|
|
@ -9510,7 +9559,7 @@ lean_inc(x_3);
|
|||
x_36 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCutsat(x_3, x_35, x_5, x_6, x_7, x_8, x_34);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_37 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_37);
|
||||
x_38 = lean_ctor_get(x_36, 1);
|
||||
|
|
@ -9519,38 +9568,18 @@ lean_dec(x_36);
|
|||
x_39 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_37);
|
||||
x_40 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds(x_2, x_3, x_39, x_5, x_6, x_7, x_8, x_38);
|
||||
return x_40;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_41;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_41 = !lean_is_exclusive(x_36);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
return x_36;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_36, 0);
|
||||
x_43 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_43);
|
||||
x_40 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppCommRing(x_3, x_39, x_5, x_6, x_7, x_8, x_38);
|
||||
x_41 = lean_ctor_get(x_40, 0);
|
||||
lean_inc(x_41);
|
||||
x_42 = lean_ctor_get(x_40, 1);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_36);
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
lean_dec(x_40);
|
||||
x_43 = lean_ctor_get(x_41, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_41);
|
||||
x_44 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppThresholds(x_2, x_3, x_43, x_5, x_6, x_7, x_8, x_42);
|
||||
return x_44;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_45;
|
||||
|
|
@ -9560,19 +9589,19 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_45 = !lean_is_exclusive(x_32);
|
||||
x_45 = !lean_is_exclusive(x_36);
|
||||
if (x_45 == 0)
|
||||
{
|
||||
return x_32;
|
||||
return x_36;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = lean_ctor_get(x_32, 0);
|
||||
x_47 = lean_ctor_get(x_32, 1);
|
||||
x_46 = lean_ctor_get(x_36, 0);
|
||||
x_47 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_36);
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
|
|
@ -9589,19 +9618,19 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_49 = !lean_is_exclusive(x_28);
|
||||
x_49 = !lean_is_exclusive(x_32);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
return x_28;
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_28, 0);
|
||||
x_51 = lean_ctor_get(x_28, 1);
|
||||
x_50 = lean_ctor_get(x_32, 0);
|
||||
x_51 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_28);
|
||||
lean_dec(x_32);
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
|
|
@ -9618,23 +9647,52 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_53 = !lean_is_exclusive(x_20);
|
||||
x_53 = !lean_is_exclusive(x_28);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_28, 0);
|
||||
x_55 = lean_ctor_get(x_28, 1);
|
||||
lean_inc(x_55);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_28);
|
||||
x_56 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_54);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
return x_56;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_57;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_57 = !lean_is_exclusive(x_20);
|
||||
if (x_57 == 0)
|
||||
{
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_20, 0);
|
||||
x_55 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_55);
|
||||
lean_inc(x_54);
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60;
|
||||
x_58 = lean_ctor_get(x_20, 0);
|
||||
x_59 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_20);
|
||||
x_56 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_54);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
return x_56;
|
||||
x_60 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_60, 0, x_58);
|
||||
lean_ctor_set(x_60, 1, x_59);
|
||||
return x_60;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9671,7 +9729,7 @@ _start:
|
|||
{
|
||||
lean_object* x_1; double x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Meta_Grind_goalToMessageData___lambda__1___closed__2;
|
||||
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_ppExprArray___closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Meta_Grind_Goal_ppENodeRef___closed__8;
|
||||
x_5 = lean_alloc_ctor(0, 2, 17);
|
||||
|
|
@ -9864,7 +9922,7 @@ else
|
|||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_13 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_13);
|
||||
x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2;
|
||||
x_14 = l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1;
|
||||
lean_inc(x_13);
|
||||
x_15 = lean_alloc_closure((void*)(l_Lean_Meta_Grind_goalToMessageData___lambda__1), 9, 4);
|
||||
lean_closure_set(x_15, 0, x_1);
|
||||
|
|
@ -9880,6 +9938,7 @@ lean_object* initialize_Init_Grind_Util(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Init_Grind_PP(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Types(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Model(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_PP(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_PP(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -9897,6 +9956,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Grind_Arith_Model(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_PP(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Meta_Grind_Goal_ppENodeRef___closed__1 = _init_l_Lean_Meta_Grind_Goal_ppENodeRef___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Goal_ppENodeRef___closed__1);
|
||||
l_Lean_Meta_Grind_Goal_ppENodeRef___closed__2 = _init_l_Lean_Meta_Grind_Goal_ppENodeRef___closed__2();
|
||||
|
|
@ -9981,9 +10043,7 @@ l_Lean_Meta_Grind_Goal_ppState___closed__2 = _init_l_Lean_Meta_Grind_Goal_ppStat
|
|||
lean_mark_persistent(l_Lean_Meta_Grind_Goal_ppState___closed__2);
|
||||
l_List_forIn_x27_loop___at_Lean_Meta_Grind_ppGoals___spec__1___closed__1 = _init_l_List_forIn_x27_loop___at_Lean_Meta_Grind_ppGoals___spec__1___closed__1();
|
||||
lean_mark_persistent(l_List_forIn_x27_loop___at_Lean_Meta_Grind_ppGoals___spec__1___closed__1);
|
||||
l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__1();
|
||||
l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2();
|
||||
lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppExprArray___spec__1___closed__2);
|
||||
l_Lean_Meta_Grind_ppExprArray___closed__1 = _init_l_Lean_Meta_Grind_ppExprArray___closed__1();
|
||||
l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__1 = _init_l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__1();
|
||||
lean_mark_persistent(l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__1);
|
||||
l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__2 = _init_l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___spec__3___closed__2();
|
||||
|
|
@ -10020,6 +10080,8 @@ l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1 = _i
|
|||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__1);
|
||||
l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__2);
|
||||
l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__3 = _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEqcs___closed__3);
|
||||
l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__1 = _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__1);
|
||||
l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__2 = _init_l___private_Lean_Meta_Tactic_Grind_PP_0__Lean_Meta_Grind_ppEMatchTheorem___closed__2();
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Server/CodeActions/Basic.c
generated
4
stage0/stdlib/Lean/Server/CodeActions/Basic.c
generated
|
|
@ -197,6 +197,7 @@ static lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_1538____spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_fromJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_125____closed__18;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_517____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_517____lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Server_handleCodeAction___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -257,7 +258,6 @@ lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_fromJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_125____closed__12;
|
||||
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_517____closed__26;
|
||||
lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_390_(lean_object*);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Attributes_0__Lean_beqAttributeKind____x40_Lean_Attributes___hyg_162_(uint8_t, uint8_t);
|
||||
lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Server_handleCodeAction___spec__7(lean_object*, lean_object*);
|
||||
|
|
@ -426,7 +426,7 @@ x_24 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_24, 0, x_7);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
x_25 = l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_toJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_59____closed__5;
|
||||
x_26 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_24, x_25);
|
||||
x_26 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_24, x_25);
|
||||
x_27 = l_Lean_Json_mkObj(x_26);
|
||||
return x_27;
|
||||
}
|
||||
|
|
|
|||
83
stage0/stdlib/Lean/Server/FileWorker.c
generated
83
stage0/stdlib/Lean/Server/FileWorker.c
generated
|
|
@ -169,7 +169,6 @@ uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_D
|
|||
static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_headerToImports(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__17;
|
||||
static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__5;
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__19;
|
||||
|
|
@ -474,6 +473,7 @@ static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__5___closed__
|
|||
static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___closed__1;
|
||||
static lean_object* l_Lean_Server_FileWorker_handlePostRequestSpecialCases___lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_sendServerRequest___at_Lean_Server_FileWorker_sendUntypedServerRequest___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_HeaderSyntax_imports(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_emitRequestResponse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__27;
|
||||
static lean_object* l_Lean_Server_FileWorker_handleRequest___closed__1;
|
||||
|
|
@ -544,7 +544,7 @@ extern lean_object* l_Task_Priority_dedicated;
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_initPendingServerRequest___at_Lean_Server_FileWorker_sendUntypedServerRequest___spec__2(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__26;
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Language_Lean_instToSnapshotTreeCommandParsedSnapshot_go(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__31;
|
||||
lean_object* l_Lean_Environment_allImportedModuleNames(lean_object*);
|
||||
|
|
@ -690,7 +690,7 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTasks___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_inServer;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(uint64_t, lean_object*);
|
||||
|
|
@ -21339,36 +21339,41 @@ x_1 = l_Lean_Elab_inServer;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint32_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_7);
|
||||
x_8 = l_Lean_Server_FileWorker_setupImports___lambda__3___closed__1;
|
||||
x_9 = l_Lean_KVMap_mergeBy(x_8, x_2, x_7);
|
||||
x_10 = l_Lean_Server_FileWorker_setupImports___lambda__3___closed__2;
|
||||
x_11 = 1;
|
||||
x_12 = l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader___spec__2(x_9, x_10, x_11);
|
||||
x_13 = l_Lean_Server_FileWorker_setupImports___lambda__3___closed__3;
|
||||
x_14 = l_Lean_Option_set___at_Lean_Environment_realizeConst___spec__3(x_12, x_13, x_11);
|
||||
x_15 = lean_ctor_get(x_3, 1);
|
||||
x_16 = 0;
|
||||
x_17 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_17);
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint32_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_8 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_Lean_Server_FileWorker_setupImports___lambda__3___closed__1;
|
||||
x_10 = l_Lean_KVMap_mergeBy(x_9, x_2, x_8);
|
||||
x_11 = l_Lean_Server_FileWorker_setupImports___lambda__3___closed__2;
|
||||
x_12 = 1;
|
||||
x_13 = l_Lean_Option_setIfNotSet___at_Lean_Language_Lean_process_processHeader___spec__2(x_10, x_11, x_12);
|
||||
x_14 = l_Lean_Server_FileWorker_setupImports___lambda__3___closed__3;
|
||||
x_15 = l_Lean_Option_set___at_Lean_Environment_realizeConst___spec__3(x_13, x_14, x_12);
|
||||
x_16 = lean_ctor_get(x_3, 1);
|
||||
x_17 = 0;
|
||||
x_18 = lean_box(0);
|
||||
x_19 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_15);
|
||||
x_18 = lean_alloc_ctor(0, 3, 4);
|
||||
lean_ctor_set(x_18, 0, x_15);
|
||||
lean_ctor_set(x_18, 1, x_14);
|
||||
lean_ctor_set(x_18, 2, x_17);
|
||||
lean_ctor_set_uint32(x_18, sizeof(void*)*3, x_16);
|
||||
x_19 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_6);
|
||||
return x_20;
|
||||
x_20 = 0;
|
||||
lean_inc(x_16);
|
||||
x_21 = lean_alloc_ctor(0, 5, 5);
|
||||
lean_ctor_set(x_21, 0, x_16);
|
||||
lean_ctor_set(x_21, 1, x_4);
|
||||
lean_ctor_set(x_21, 2, x_15);
|
||||
lean_ctor_set(x_21, 3, x_18);
|
||||
lean_ctor_set(x_21, 4, x_19);
|
||||
lean_ctor_set_uint8(x_21, sizeof(void*)*5 + 4, x_20);
|
||||
lean_ctor_set_uint32(x_21, sizeof(void*)*5, x_17);
|
||||
x_22 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_7);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_setupImports___lambda__4(lean_object* x_1) {
|
||||
|
|
@ -21478,12 +21483,13 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__5(lean_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_8 = l_Lean_Elab_headerToImports(x_1);
|
||||
x_8 = l_Lean_Elab_HeaderSyntax_imports(x_1);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_setupImports___lambda__1), 4, 2);
|
||||
lean_closure_set(x_9, 0, x_2);
|
||||
lean_closure_set(x_9, 1, x_3);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_2);
|
||||
x_10 = l_Lean_Server_FileWorker_setupFile(x_2, x_8, x_9, x_7);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
|
|
@ -21545,6 +21551,7 @@ case 2:
|
|||
{
|
||||
lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_15 = l_Lean_Server_FileWorker_setupImports___lambda__5___closed__1;
|
||||
|
|
@ -21605,6 +21612,7 @@ case 3:
|
|||
{
|
||||
uint8_t x_36;
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
x_36 = !lean_is_exclusive(x_14);
|
||||
|
|
@ -21714,7 +21722,7 @@ default:
|
|||
lean_object* x_69; lean_object* x_70;
|
||||
lean_dec(x_14);
|
||||
x_69 = lean_box(0);
|
||||
x_70 = l_Lean_Server_FileWorker_setupImports___lambda__3(x_11, x_4, x_2, x_69, x_6, x_13);
|
||||
x_70 = l_Lean_Server_FileWorker_setupImports___lambda__3(x_11, x_4, x_2, x_8, x_69, x_6, x_13);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
return x_70;
|
||||
|
|
@ -21725,6 +21733,7 @@ return x_70;
|
|||
else
|
||||
{
|
||||
uint8_t x_87;
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
|
|
@ -21928,15 +21937,15 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7;
|
||||
x_7 = l_Lean_Server_FileWorker_setupImports___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_object* x_8;
|
||||
x_8 = l_Lean_Server_FileWorker_setupImports___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_7;
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__4___boxed(lean_object* x_1) {
|
||||
|
|
|
|||
|
|
@ -242,6 +242,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_collectInfoBasedSemanticTokens
|
|||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleSemanticTokensRange___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Server_FileWorker_computeSemanticTokens___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Server_FileWorker_computeDeltaLspSemanticTokens___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_collectSyntaxBasedSemanticTokens___lambda__2___closed__3;
|
||||
uint8_t l_Lean_LocalDecl_isImplementationDetail(lean_object*);
|
||||
|
|
@ -318,7 +319,6 @@ lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, l
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Server_Requests_0__Lean_Server_overrideStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_SemanticHighlighting___hyg_2982____spec__6___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerPartialStatefulLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_SemanticHighlighting___hyg_2982____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_computeAbsoluteLspSemanticTokens___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_keywordSemanticTokenMap___closed__2;
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Server_FileWorker_collectSyntaxBasedSemanticTokens___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -3685,7 +3685,7 @@ x_20 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_20, 0, x_7);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
x_21 = l___private_Lean_Server_FileWorker_SemanticHighlighting_0__Lean_Server_FileWorker_toJsonAbsoluteLspSemanticToken____x40_Lean_Server_FileWorker_SemanticHighlighting___hyg_381____closed__1;
|
||||
x_22 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_20, x_21);
|
||||
x_22 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_20, x_21);
|
||||
x_23 = l_Lean_Json_mkObj(x_22);
|
||||
return x_23;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -218,6 +218,7 @@ static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetReq
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1595____spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Server_GoTo_0__Lean_Server_fromJsonGoToKind____x40_Lean_Server_GoTo___hyg_67_(lean_object*);
|
||||
lean_object* l_Lean_Elab_Info_docString_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_lazyTraceChildrenToInteractive___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1575____closed__1;
|
||||
|
|
@ -277,7 +278,6 @@ LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lambda__1(lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_2131____spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1725____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1575_(lean_object*);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Widget_msgToInteractive(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_58____closed__16;
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
|
|
@ -792,7 +792,7 @@ x_12 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_12, 0, x_7);
|
||||
lean_ctor_set(x_12, 1, x_11);
|
||||
x_13 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_204____closed__1;
|
||||
x_14 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_12, x_13);
|
||||
x_14 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_12, x_13);
|
||||
x_15 = l_Lean_Json_mkObj(x_14);
|
||||
return x_15;
|
||||
}
|
||||
|
|
@ -826,7 +826,7 @@ x_26 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_26, 0, x_21);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
x_27 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_204____closed__1;
|
||||
x_28 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_26, x_27);
|
||||
x_28 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_26, x_27);
|
||||
x_29 = l_Lean_Json_mkObj(x_28);
|
||||
return x_29;
|
||||
}
|
||||
|
|
@ -1733,7 +1733,7 @@ x_17 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_17, 0, x_8);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
x_18 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_204____closed__1;
|
||||
x_19 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_17, x_18);
|
||||
x_19 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_17, x_18);
|
||||
x_20 = l_Lean_Json_mkObj(x_19);
|
||||
return x_20;
|
||||
}
|
||||
|
|
@ -4602,7 +4602,7 @@ x_5 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_5, 0, x_3);
|
||||
lean_ctor_set(x_5, 1, x_4);
|
||||
x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_204____closed__1;
|
||||
x_7 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_5, x_6);
|
||||
x_7 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_5, x_6);
|
||||
x_8 = l_Lean_Json_mkObj(x_7);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -4837,7 +4837,7 @@ x_12 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_12, 0, x_7);
|
||||
lean_ctor_set(x_12, 1, x_11);
|
||||
x_13 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_204____closed__1;
|
||||
x_14 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_12, x_13);
|
||||
x_14 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_12, x_13);
|
||||
x_15 = l_Lean_Json_mkObj(x_14);
|
||||
return x_15;
|
||||
}
|
||||
|
|
@ -4871,7 +4871,7 @@ x_26 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_26, 0, x_21);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
x_27 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests___hyg_204____closed__1;
|
||||
x_28 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_26, x_27);
|
||||
x_28 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_26, x_27);
|
||||
x_29 = l_Lean_Json_mkObj(x_28);
|
||||
return x_29;
|
||||
}
|
||||
|
|
|
|||
6663
stage0/stdlib/Lean/Setup.c
generated
Normal file
6663
stage0/stdlib/Lean/Setup.c
generated
Normal file
File diff suppressed because it is too large
Load diff
133
stage0/stdlib/Lean/Util/FileSetupInfo.c
generated
133
stage0/stdlib/Lean/Util/FileSetupInfo.c
generated
|
|
@ -56,6 +56,7 @@ lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLe
|
|||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__2;
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____closed__11;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
|
|
@ -71,18 +72,16 @@ static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_F
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("invalid LeanOptions type", 24, 24);
|
||||
x_1 = lean_mk_string_unchecked("expected a `NameMap`, got '", 27, 27);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__1;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("'", 1, 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2(lean_object* x_1, lean_object* x_2) {
|
||||
|
|
@ -90,59 +89,117 @@ _start:
|
|||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 5)
|
||||
switch (lean_obj_tag(x_3)) {
|
||||
case 0:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_4);
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_4 = lean_unsigned_to_nat(80u);
|
||||
x_5 = l_Lean_Json_pretty(x_3, x_4);
|
||||
x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__1;
|
||||
x_7 = lean_string_append(x_6, x_5);
|
||||
lean_dec(x_5);
|
||||
x_8 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__2;
|
||||
x_9 = lean_string_append(x_7, x_8);
|
||||
x_10 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
return x_10;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_11 = lean_unsigned_to_nat(80u);
|
||||
x_12 = l_Lean_Json_pretty(x_3, x_11);
|
||||
x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__1;
|
||||
x_14 = lean_string_append(x_13, x_12);
|
||||
lean_dec(x_12);
|
||||
x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__2;
|
||||
x_16 = lean_string_append(x_14, x_15);
|
||||
x_17 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
return x_17;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_3);
|
||||
x_5 = lean_box(0);
|
||||
x_6 = l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(x_5, x_4);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
x_19 = lean_box(0);
|
||||
x_20 = l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(x_19, x_18);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
uint8_t x_7;
|
||||
x_7 = !lean_is_exclusive(x_6);
|
||||
if (x_7 == 0)
|
||||
uint8_t x_21;
|
||||
x_21 = !lean_is_exclusive(x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
return x_6;
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
return x_9;
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = !lean_is_exclusive(x_6);
|
||||
if (x_10 == 0)
|
||||
uint8_t x_24;
|
||||
x_24 = !lean_is_exclusive(x_20);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
return x_6;
|
||||
return x_20;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_6);
|
||||
x_12 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
return x_12;
|
||||
lean_object* x_25; lean_object* x_26;
|
||||
x_25 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_20);
|
||||
x_26 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
x_27 = lean_unsigned_to_nat(80u);
|
||||
lean_inc(x_3);
|
||||
x_28 = l_Lean_Json_pretty(x_3, x_27);
|
||||
x_29 = !lean_is_exclusive(x_3);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34;
|
||||
x_30 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_30);
|
||||
x_31 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__1;
|
||||
x_32 = lean_string_append(x_31, x_28);
|
||||
lean_dec(x_28);
|
||||
x_33 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__2;
|
||||
x_34 = lean_string_append(x_32, x_33);
|
||||
lean_ctor_set_tag(x_3, 0);
|
||||
lean_ctor_set(x_3, 0, x_34);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
lean_dec(x_3);
|
||||
x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__2;
|
||||
return x_13;
|
||||
x_35 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__1;
|
||||
x_36 = lean_string_append(x_35, x_28);
|
||||
lean_dec(x_28);
|
||||
x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_26____spec__2___closed__2;
|
||||
x_38 = lean_string_append(x_36, x_37);
|
||||
x_39 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_39, 0, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1358
stage0/stdlib/Lean/Util/LeanOptions.c
generated
1358
stage0/stdlib/Lean/Util/LeanOptions.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Util/Profiler.c
generated
8
stage0/stdlib/Lean/Util/Profiler.c
generated
|
|
@ -243,7 +243,6 @@ static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonProfi
|
|||
uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFrameTable____x40_Lean_Util_Profiler___hyg_2850____closed__13;
|
||||
static lean_object* l_Lean_Firefox_instToJsonThread___closed__1;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(lean_object*, lean_object*);
|
||||
double lean_float_negate(double);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__34(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__36___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -428,6 +427,7 @@ static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThrea
|
|||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonProfile____x40_Lean_Util_Profiler___hyg_4702____closed__12;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFrameTable____x40_Lean_Util_Profiler___hyg_2850____closed__38;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonSampleUnits____x40_Lean_Util_Profiler___hyg_472____closed__18;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_4084____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__11(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_1303____closed__11;
|
||||
|
|
@ -654,6 +654,7 @@ static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonResou
|
|||
lean_object* l_Lean_Json_getNat_x3f(lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_1303____closed__26;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonSampleUnits____x40_Lean_Util_Profiler___hyg_472____closed__1;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Firefox_categories___closed__1;
|
||||
static lean_object* l_Lean_Firefox_categories___closed__28;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFrameTable____x40_Lean_Util_Profiler___hyg_2850____closed__45;
|
||||
|
|
@ -753,7 +754,6 @@ static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonProfi
|
|||
lean_object* lean_int_neg(lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonSamplesTable____x40_Lean_Util_Profiler___hyg_1677____closed__23;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Firefox_Profile_export___spec__15___closed__1;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_1303____closed__18;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -1836,7 +1836,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonCategory____x40_Lean_Util_Profiler___hyg_230____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonSerialMessage____x40_Lean_Message___hyg_3661____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -10736,7 +10736,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_14);
|
||||
x_24 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_4084____closed__9;
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_3128____spec__4(x_1, x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Setup_0__Lean_fromJsonImport____x40_Lean_Setup___hyg_190____spec__2(x_1, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
|
|||
14
stage0/stdlib/Lean/Widget/UserWidget.c
generated
14
stage0/stdlib/Lean/Widget/UserWidget.c
generated
|
|
@ -458,6 +458,7 @@ lean_object* l_String_Range_toLspRange(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Widget_UserWidget_0__Lean_Widget_fromJsonUserWidgetDefinition____x40_Lean_Widget_UserWidget___hyg_3720____closed__6;
|
||||
|
|
@ -622,7 +623,6 @@ LEAN_EXPORT lean_object* l_Lean_Widget_showWidgetSpec;
|
|||
LEAN_EXPORT lean_object* l_Lean_Widget_widgetInfosAt_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_elabWidgetInstanceSpecAux___closed__51;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_bignumToJson(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Widget_erasePanelWidget___rarg___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_elabWidgetInstanceSpecAux___closed__50;
|
||||
|
|
@ -8236,7 +8236,7 @@ x_15 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_15, 0, x_8);
|
||||
lean_ctor_set(x_15, 1, x_14);
|
||||
x_16 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__4___closed__9;
|
||||
x_17 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_15, x_16);
|
||||
x_17 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_15, x_16);
|
||||
x_18 = l_Lean_Json_mkObj(x_17);
|
||||
return x_18;
|
||||
}
|
||||
|
|
@ -8571,7 +8571,7 @@ x_7 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
x_8 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__4___closed__9;
|
||||
x_9 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_7, x_8);
|
||||
x_9 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_7, x_8);
|
||||
x_10 = l_Lean_Json_mkObj(x_9);
|
||||
return x_10;
|
||||
}
|
||||
|
|
@ -18954,7 +18954,7 @@ x_14 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_14, 0, x_8);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
x_15 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__4___closed__9;
|
||||
x_16 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_14, x_15);
|
||||
x_16 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_14, x_15);
|
||||
x_17 = l_Lean_Json_mkObj(x_16);
|
||||
return x_17;
|
||||
}
|
||||
|
|
@ -18992,7 +18992,7 @@ x_30 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_30, 0, x_24);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
x_31 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__4___closed__9;
|
||||
x_32 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_30, x_31);
|
||||
x_32 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_30, x_31);
|
||||
x_33 = l_Lean_Json_mkObj(x_32);
|
||||
return x_33;
|
||||
}
|
||||
|
|
@ -20475,7 +20475,7 @@ x_25 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_25, 0, x_10);
|
||||
lean_ctor_set(x_25, 1, x_24);
|
||||
x_26 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__4___closed__9;
|
||||
x_27 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_25, x_26);
|
||||
x_27 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_25, x_26);
|
||||
x_28 = l_Lean_Json_mkObj(x_27);
|
||||
return x_28;
|
||||
}
|
||||
|
|
@ -22146,7 +22146,7 @@ x_6 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_4);
|
||||
x_7 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_240____lambda__4___closed__9;
|
||||
x_8 = l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(x_6, x_7);
|
||||
x_8 = l_List_flatMapTR_go___at___private_Lean_Data_Lsp_Window_0__toJsonShowMessageParams____x40_Lean_Data_Lsp_Window___hyg_245____spec__1(x_6, x_7);
|
||||
x_9 = l_Lean_Json_mkObj(x_8);
|
||||
return x_9;
|
||||
}
|
||||
|
|
|
|||
16
stage0/stdlib/Std/Data/DTreeMap/Internal/Balancing.c
generated
16
stage0/stdlib/Std/Data/DTreeMap/Internal/Balancing.c
generated
|
|
@ -4034,7 +4034,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(174u);
|
||||
x_3 = lean_unsigned_to_nat(178u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -4047,7 +4047,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(175u);
|
||||
x_3 = lean_unsigned_to_nat(179u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -7554,7 +7554,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balanceR_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(268u);
|
||||
x_3 = lean_unsigned_to_nat(272u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balanceR_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -7567,7 +7567,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balanceR_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(269u);
|
||||
x_3 = lean_unsigned_to_nat(273u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balanceR_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -11355,7 +11355,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(385u);
|
||||
x_3 = lean_unsigned_to_nat(389u);
|
||||
x_4 = lean_unsigned_to_nat(36u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -11368,7 +11368,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(386u);
|
||||
x_3 = lean_unsigned_to_nat(390u);
|
||||
x_4 = lean_unsigned_to_nat(22u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -11381,7 +11381,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(375u);
|
||||
x_3 = lean_unsigned_to_nat(379u);
|
||||
x_4 = lean_unsigned_to_nat(36u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -11394,7 +11394,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_balanceL_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(376u);
|
||||
x_3 = lean_unsigned_to_nat(380u);
|
||||
x_4 = lean_unsigned_to_nat(22u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_balance_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
|
|
@ -1875,7 +1875,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(268u);
|
||||
x_3 = lean_unsigned_to_nat(272u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1888,7 +1888,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(269u);
|
||||
x_3 = lean_unsigned_to_nat(273u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -6115,7 +6115,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_maxView_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(174u);
|
||||
x_3 = lean_unsigned_to_nat(178u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_maxView_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -6128,7 +6128,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_minView_x21___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_maxView_x21___rarg___closed__1;
|
||||
x_3 = lean_unsigned_to_nat(175u);
|
||||
x_3 = lean_unsigned_to_nat(179u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_maxView_x21___rarg___closed__2;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
8
stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c
generated
8
stage0/stdlib/Std/Data/DTreeMap/Raw/Basic.c
generated
|
|
@ -1571,7 +1571,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(174u);
|
||||
x_3 = lean_unsigned_to_nat(178u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1584,7 +1584,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(175u);
|
||||
x_3 = lean_unsigned_to_nat(179u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1613,7 +1613,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__6;
|
||||
x_3 = lean_unsigned_to_nat(268u);
|
||||
x_3 = lean_unsigned_to_nat(272u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__7;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1626,7 +1626,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__6;
|
||||
x_3 = lean_unsigned_to_nat(269u);
|
||||
x_3 = lean_unsigned_to_nat(273u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_DTreeMap_Raw_insert___spec__1___rarg___closed__7;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
8
stage0/stdlib/Std/Data/TreeMap/Raw/Basic.c
generated
8
stage0/stdlib/Std/Data/TreeMap/Raw/Basic.c
generated
|
|
@ -1311,7 +1311,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(174u);
|
||||
x_3 = lean_unsigned_to_nat(178u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1324,7 +1324,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(175u);
|
||||
x_3 = lean_unsigned_to_nat(179u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1353,7 +1353,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__6;
|
||||
x_3 = lean_unsigned_to_nat(268u);
|
||||
x_3 = lean_unsigned_to_nat(272u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__7;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1366,7 +1366,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__6;
|
||||
x_3 = lean_unsigned_to_nat(269u);
|
||||
x_3 = lean_unsigned_to_nat(273u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeMap_Raw_insert___spec__1___rarg___closed__7;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
8
stage0/stdlib/Std/Data/TreeSet/Raw/Basic.c
generated
8
stage0/stdlib/Std/Data/TreeSet/Raw/Basic.c
generated
|
|
@ -1065,7 +1065,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(174u);
|
||||
x_3 = lean_unsigned_to_nat(178u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1078,7 +1078,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(175u);
|
||||
x_3 = lean_unsigned_to_nat(179u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1107,7 +1107,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__6;
|
||||
x_3 = lean_unsigned_to_nat(268u);
|
||||
x_3 = lean_unsigned_to_nat(272u);
|
||||
x_4 = lean_unsigned_to_nat(35u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__7;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1120,7 +1120,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__1;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__6;
|
||||
x_3 = lean_unsigned_to_nat(269u);
|
||||
x_3 = lean_unsigned_to_nat(273u);
|
||||
x_4 = lean_unsigned_to_nat(21u);
|
||||
x_5 = l_Std_DTreeMap_Internal_Impl_insert_x21___at_Std_TreeSet_Raw_insert___spec__2___rarg___closed__7;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue