chore: update stage0
This commit is contained in:
parent
6065f08528
commit
a14e542ecb
52 changed files with 89517 additions and 55835 deletions
2
stage0/src/include/lean/lean.h
generated
2
stage0/src/include/lean/lean.h
generated
|
|
@ -1203,8 +1203,6 @@ LEAN_EXPORT bool lean_io_check_canceled_core(void);
|
|||
LEAN_EXPORT void lean_io_cancel_core(b_lean_obj_arg t);
|
||||
/* primitive for implementing `IO.getTaskState : Task a -> IO TaskState` */
|
||||
LEAN_EXPORT uint8_t lean_io_get_task_state_core(b_lean_obj_arg t);
|
||||
/* primitive for implementing `IO.waitAny : List (Task a) -> IO (Task a)` */
|
||||
LEAN_EXPORT b_lean_obj_res lean_io_wait_any_core(b_lean_obj_arg task_list);
|
||||
|
||||
/* External objects */
|
||||
|
||||
|
|
|
|||
7
stage0/src/runtime/io.cpp
generated
7
stage0/src/runtime/io.cpp
generated
|
|
@ -1535,13 +1535,6 @@ extern "C" LEAN_EXPORT obj_res lean_io_wait(obj_arg t, obj_arg) {
|
|||
return io_result_mk_ok(lean_task_get_own(t));
|
||||
}
|
||||
|
||||
extern "C" LEAN_EXPORT obj_res lean_io_wait_any(b_obj_arg task_list, obj_arg) {
|
||||
object * t = lean_io_wait_any_core(task_list);
|
||||
object * v = lean_task_get(t);
|
||||
lean_inc(v);
|
||||
return io_result_mk_ok(v);
|
||||
}
|
||||
|
||||
extern "C" LEAN_EXPORT obj_res lean_io_exit(uint8_t code, obj_arg /* w */) {
|
||||
exit(code);
|
||||
}
|
||||
|
|
|
|||
26
stage0/src/runtime/object.cpp
generated
26
stage0/src/runtime/object.cpp
generated
|
|
@ -847,17 +847,6 @@ class task_manager {
|
|||
}
|
||||
}
|
||||
|
||||
object * wait_any_check(object * task_list) {
|
||||
object * it = task_list;
|
||||
while (!is_scalar(it)) {
|
||||
object * head = lean_ctor_get(it, 0);
|
||||
if (lean_to_task(head)->m_value)
|
||||
return head;
|
||||
it = cnstr_get(it, 1);
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
public:
|
||||
task_manager(unsigned max_std_workers):
|
||||
m_max_std_workers(max_std_workers) {
|
||||
|
|
@ -940,17 +929,6 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
object * wait_any(object * task_list) {
|
||||
if (object * t = wait_any_check(task_list))
|
||||
return t;
|
||||
unique_lock<mutex> lock(m_mutex);
|
||||
while (true) {
|
||||
if (object * t = wait_any_check(task_list))
|
||||
return t;
|
||||
m_task_finished_cv.wait(lock);
|
||||
}
|
||||
}
|
||||
|
||||
void deactivate_task(lean_task_object * t) {
|
||||
unique_lock<mutex> lock(m_mutex);
|
||||
if (object * v = t->m_value) {
|
||||
|
|
@ -1188,10 +1166,6 @@ extern "C" LEAN_EXPORT uint8_t lean_io_get_task_state_core(b_obj_arg t) {
|
|||
return g_task_manager->get_task_state(o);
|
||||
}
|
||||
|
||||
extern "C" LEAN_EXPORT b_obj_res lean_io_wait_any_core(b_obj_arg task_list) {
|
||||
return g_task_manager->wait_any(task_list);
|
||||
}
|
||||
|
||||
obj_res lean_promise_new() {
|
||||
lean_always_assert(g_task_manager);
|
||||
|
||||
|
|
|
|||
1
stage0/src/runtime/object.h
generated
1
stage0/src/runtime/object.h
generated
|
|
@ -287,7 +287,6 @@ inline b_obj_res task_get(b_obj_arg t) { return lean_task_get(t); }
|
|||
inline bool io_check_canceled_core() { return lean_io_check_canceled_core(); }
|
||||
inline void io_cancel_core(b_obj_arg t) { return lean_io_cancel_core(t); }
|
||||
inline bool io_get_task_state_core(b_obj_arg t) { return lean_io_get_task_state_core(t); }
|
||||
inline b_obj_res io_wait_any_core(b_obj_arg task_list) { return lean_io_wait_any_core(task_list); }
|
||||
|
||||
// =======================================
|
||||
// External
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
#include "util/options.h"
|
||||
|
||||
// Dear CI, please update stage 0
|
||||
|
||||
namespace lean {
|
||||
options get_default_options() {
|
||||
options opts;
|
||||
|
|
|
|||
22
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
22
stage0/stdlib/Init/Data/Array/Lemmas.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Array.Lemmas
|
||||
// Imports: Init.Data.Nat.Lemmas Init.Data.List.Range Init.Data.List.Control Init.Data.List.Nat.TakeDrop Init.Data.List.Nat.Modify Init.Data.List.Nat.Basic Init.Data.List.Monadic Init.Data.List.OfFn Init.Data.Array.Bootstrap Init.Data.Array.Mem Init.Data.Array.DecidableEq Init.Data.Array.Lex.Basic Init.Data.Range.Lemmas Init.TacticsExtra Init.Data.List.ToArray
|
||||
// Imports: Init.Data.Nat.Lemmas Init.Data.List.Range Init.Data.List.Nat.TakeDrop Init.Data.List.Nat.Modify Init.Data.List.Nat.Basic Init.Data.List.Monadic Init.Data.List.OfFn Init.Data.Array.Mem Init.Data.Array.DecidableEq Init.Data.Array.Lex.Basic Init.Data.Range.Lemmas Init.TacticsExtra Init.Data.List.ToArray Init.Data.List.Control Init.Data.Array.Basic Init.Data.Array.Bootstrap
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -1657,19 +1657,20 @@ return x_6;
|
|||
}
|
||||
lean_object* initialize_Init_Data_Nat_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Range(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Control(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Nat_TakeDrop(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Nat_Modify(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Nat_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Monadic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_OfFn(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Bootstrap(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Mem(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_DecidableEq(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Lex_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Range_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_TacticsExtra(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_ToArray(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Control(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Bootstrap(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Array_Lemmas(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -1681,9 +1682,6 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_List_Range(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_List_Control(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_List_Nat_TakeDrop(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -1699,9 +1697,6 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_List_OfFn(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Array_Bootstrap(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Array_Mem(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -1720,6 +1715,15 @@ 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);
|
||||
res = initialize_Init_Data_List_Control(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Array_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Array_Bootstrap(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___auto___closed__0____x40_Init_Data_Array_Lemmas___hyg_18471_ = _init_l___auto___closed__0____x40_Init_Data_Array_Lemmas___hyg_18471_();
|
||||
lean_mark_persistent(l___auto___closed__0____x40_Init_Data_Array_Lemmas___hyg_18471_);
|
||||
l___auto___closed__1____x40_Init_Data_Array_Lemmas___hyg_18471_ = _init_l___auto___closed__1____x40_Init_Data_Array_Lemmas___hyg_18471_();
|
||||
|
|
|
|||
92
stage0/stdlib/Init/Data/Slice/Array/Iterator.c
generated
92
stage0/stdlib/Init/Data/Slice/Array/Iterator.c
generated
|
|
@ -21,6 +21,7 @@ static lean_object* l_instIteratorStateSubarrayId___redArg___closed__6;
|
|||
LEAN_EXPORT lean_object* l_Array_instCoeSubarray(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_toArray___redArg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instReprSubarray___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldl___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instIteratorLoopPartialStateSubarrayIdOfMonad___redArg(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Iterators_Map_instIteratorLoopPartial___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_instIteratorStateSubarrayId___redArg___closed__2;
|
||||
|
|
@ -32,6 +33,8 @@ lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instForInSubarray___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Iterators_Types_ULiftIterator_instIterator___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldl___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instForInSubarray___lam__3___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instAppendSubarray___lam__4___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_instIteratorStateSubarrayId___redArg___closed__10;
|
||||
|
|
@ -42,10 +45,11 @@ LEAN_EXPORT lean_object* l_instForInSubarray___lam__1___boxed(lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Subarray_foldlM___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_instToStringSubarray___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_instIteratorStateSubarrayId___redArg___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Subarray_forIn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instForInSubarray___lam__3(lean_object*);
|
||||
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_foldl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Iterators_instIteratorMap___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_forIn___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___Array_ofSubarray_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldlM___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___Array_ofSubarray_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -101,7 +105,6 @@ static lean_object* l_Array_instCoeSubarray___closed__0;
|
|||
LEAN_EXPORT lean_object* l_instIteratorSizePartialStateSubarrayId(lean_object*, lean_object*);
|
||||
static lean_object* l_instIteratorStateSubarrayId___redArg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_instIteratorLoopStateSubarrayIdOfMonad(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_foldl___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instForInSubarray___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_Subarray_repr___redArg___closed__0;
|
||||
static lean_object* l_instIteratorStateSubarrayId___redArg___closed__1;
|
||||
|
|
@ -115,7 +118,6 @@ static lean_object* l_instIteratorStateSubarrayId___redArg___closed__8;
|
|||
lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_ofSubarray___redArg___boxed(lean_object*);
|
||||
static lean_object* l_instIteratorCollectPartialStateSubarrayId___redArg___closed__0;
|
||||
LEAN_EXPORT lean_object* l_foldl___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_ofSubarray___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_Subarray_repr___redArg___closed__1;
|
||||
|
|
@ -806,7 +808,7 @@ x_24 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_23, x_4, x_13
|
|||
return x_24;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_foldl___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldl___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
|
|
@ -816,7 +818,7 @@ lean_ctor_set(x_6, 0, x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_foldl___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldl___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
|
|
@ -829,7 +831,7 @@ x_7 = lean_ctor_get(x_3, 2);
|
|||
lean_inc(x_7);
|
||||
lean_dec_ref(x_3);
|
||||
x_8 = l_Subarray_foldlM___redArg___closed__0;
|
||||
x_9 = lean_alloc_closure((void*)(l_foldl___redArg___lam__1), 4, 1);
|
||||
x_9 = lean_alloc_closure((void*)(l_Subarray_foldl___redArg___lam__1), 4, 1);
|
||||
lean_closure_set(x_9, 0, x_1);
|
||||
x_10 = l_instIteratorCollectStateSubarrayId___redArg___closed__0;
|
||||
x_11 = lean_alloc_closure((void*)(l_instForInSubarray___lam__1___boxed), 2, 1);
|
||||
|
|
@ -845,7 +847,7 @@ x_16 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_15, x_4, x_8,
|
|||
return x_16;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_foldl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 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_object* x_17; lean_object* x_18;
|
||||
|
|
@ -858,7 +860,7 @@ x_9 = lean_ctor_get(x_5, 2);
|
|||
lean_inc(x_9);
|
||||
lean_dec_ref(x_5);
|
||||
x_10 = l_Subarray_foldlM___redArg___closed__0;
|
||||
x_11 = lean_alloc_closure((void*)(l_foldl___redArg___lam__1), 4, 1);
|
||||
x_11 = lean_alloc_closure((void*)(l_Subarray_foldl___redArg___lam__1), 4, 1);
|
||||
lean_closure_set(x_11, 0, x_3);
|
||||
x_12 = l_instIteratorCollectStateSubarrayId___redArg___closed__0;
|
||||
x_13 = lean_alloc_closure((void*)(l_instForInSubarray___lam__1___boxed), 2, 1);
|
||||
|
|
@ -874,6 +876,80 @@ x_18 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_17, x_6, x_10
|
|||
return x_18;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Subarray_forIn___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
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; 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;
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc_ref(x_5);
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_2);
|
||||
x_8 = l_instIteratorStateSubarrayId___redArg___closed__9;
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_9);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc_ref(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
x_11 = lean_alloc_closure((void*)(l_instForInSubarray___lam__1___boxed), 2, 1);
|
||||
lean_closure_set(x_11, 0, x_5);
|
||||
x_12 = l_Subarray_foldlM___redArg___closed__1;
|
||||
x_13 = l_instIteratorCollectStateSubarrayId___redArg___closed__0;
|
||||
x_14 = l_Subarray_foldlM___redArg___closed__0;
|
||||
x_15 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_6);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_7);
|
||||
x_17 = l_instIteratorLoopStateSubarrayIdOfMonad___redArg___closed__0;
|
||||
x_18 = l_Std_Iterators_instIteratorMap___redArg(x_8, x_17, x_13, x_11);
|
||||
x_19 = lean_alloc_closure((void*)(l_instForInSubarray___lam__2), 6, 3);
|
||||
lean_closure_set(x_19, 0, x_10);
|
||||
lean_closure_set(x_19, 1, x_4);
|
||||
lean_closure_set(x_19, 2, x_12);
|
||||
x_20 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_18, x_1, x_14, x_16, x_3, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Subarray_forIn(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; 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_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_8 = lean_ctor_get(x_5, 0);
|
||||
lean_inc_ref(x_8);
|
||||
x_9 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_5, 2);
|
||||
lean_inc(x_10);
|
||||
lean_dec_ref(x_5);
|
||||
x_11 = l_instIteratorStateSubarrayId___redArg___closed__9;
|
||||
x_12 = lean_ctor_get(x_4, 0);
|
||||
lean_inc_ref(x_12);
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc_ref(x_13);
|
||||
lean_dec_ref(x_12);
|
||||
x_14 = lean_alloc_closure((void*)(l_instForInSubarray___lam__1___boxed), 2, 1);
|
||||
lean_closure_set(x_14, 0, x_8);
|
||||
x_15 = l_Subarray_foldlM___redArg___closed__1;
|
||||
x_16 = l_instIteratorCollectStateSubarrayId___redArg___closed__0;
|
||||
x_17 = l_Subarray_foldlM___redArg___closed__0;
|
||||
x_18 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_18, 0, x_9);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_10);
|
||||
x_20 = l_instIteratorLoopStateSubarrayIdOfMonad___redArg___closed__0;
|
||||
x_21 = l_Std_Iterators_instIteratorMap___redArg(x_11, x_20, x_16, x_14);
|
||||
x_22 = lean_alloc_closure((void*)(l_instForInSubarray___lam__2), 6, 3);
|
||||
lean_closure_set(x_22, 0, x_13);
|
||||
lean_closure_set(x_22, 1, x_7);
|
||||
lean_closure_set(x_22, 2, x_15);
|
||||
x_23 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___redArg(x_21, x_4, x_17, x_19, x_6, x_22);
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at___Array_ofSubarray_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
19
stage0/stdlib/Init/Grind/Ring/OfSemiring.c
generated
19
stage0/stdlib/Init/Grind/Ring/OfSemiring.c
generated
|
|
@ -29,12 +29,12 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteS___redArg(lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_denoteSInt(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_Ring_OfSemiring_eq__normS__cert(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RArray_getImpl___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_Expr_denote_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_instHashableExpr;
|
||||
uint8_t l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_5047_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Var_denote___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Var_denote___redArg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Grind_Ring_OfSemiring_npow___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_hashExpr_match__1_splitter___redArg____x40_Init_Grind_Ring_OfSemiring___hyg_315_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Expr_denoteAsRing___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Var_denote___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Grind_Ring_OfSemiring_toQ___redArg(lean_object*, lean_object*);
|
||||
|
|
@ -50,6 +50,7 @@ lean_object* l_Lean_Grind_CommRing_Mon_denote___redArg(lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Expr_denote(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Var_denote(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteS___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_Expr_denote_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_abs(lean_object*);
|
||||
lean_object* l_Lean_Grind_CommRing_Poly_ofVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_Expr_toPoly_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -57,7 +58,6 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_instInhabitedExpr;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Expr_denote___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Grind_CommRing_Poly_ofMon(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_hashExpr_match__1_splitter____x40_Init_Grind_Ring_OfSemiring___hyg_315_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_denoteSInt___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Expr_denote___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -66,6 +66,7 @@ lean_object* l_Lean_Grind_Ring_OfSemiring_add___redArg(lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Expr_denoteAsRing(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_Ring_OfSemiring_instBEqExpr___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteS(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Grind_Ring_OfSemiring_Expr_toPoly_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_instBEqExpr;
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_Ring_OfSemiring_beqExpr____x40_Init_Grind_Ring_OfSemiring___hyg_105_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Expr_denoteAsRing___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -569,7 +570,7 @@ lean_dec_ref(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_hashExpr_match__1_splitter___redArg____x40_Init_Grind_Ring_OfSemiring___hyg_315_(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___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_Expr_denote_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
switch (lean_obj_tag(x_1)) {
|
||||
|
|
@ -647,14 +648,22 @@ return x_19;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_hashExpr_match__1_splitter____x40_Init_Grind_Ring_OfSemiring___hyg_315_(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___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_Expr_denote_match__1_splitter(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_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_hashExpr_match__1_splitter___redArg____x40_Init_Grind_Ring_OfSemiring___hyg_315_(x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
x_8 = l___private_Init_Grind_Ring_OfSemiring_0__Lean_Grind_Ring_OfSemiring_Expr_denote_match__1_splitter___redArg(x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Grind_Ring_OfSemiring_Expr_toPoly_spec__0(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Ring_OfSemiring_Expr_toPoly(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
39
stage0/stdlib/Init/Grind/Ring/Poly.c
generated
39
stage0/stdlib/Init/Grind/Ring/Poly.c
generated
|
|
@ -57,7 +57,6 @@ static lean_object* l_Lean_Grind_CommRing_instReprPoly___closed__0;
|
|||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__11____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_combine_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_eq__gcd__cert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter____x40_Init_Grind_Ring_Poly___hyg_5160_(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_insert_go_match__1_splitter(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Expr_toPolyC_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_eq__gcd__cert_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -222,7 +221,6 @@ static lean_object* l_Lean_Grind_CommRing_Expr_toPoly___closed__0;
|
|||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_denoteAsIntModule___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__5____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPoly___closed__1____x40_Init_Grind_Ring_Poly___hyg_5160_;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter___redArg____x40_Init_Grind_Ring_Poly___hyg_5160_(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__0____x40_Init_Grind_Ring_Poly___hyg_1440_;
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Var_revlex(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_revlex___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -8805,43 +8803,6 @@ lean_dec_ref(x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter___redArg____x40_Init_Grind_Ring_Poly___hyg_5160_(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_ref(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec_ref(x_2);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_1, 2);
|
||||
lean_inc_ref(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
x_9 = lean_apply_3(x_3, x_6, x_7, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter____x40_Init_Grind_Ring_Poly___hyg_5160_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter___redArg____x40_Init_Grind_Ring_Poly___hyg_5160_(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_eq__gcd__cert(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
1685
stage0/stdlib/Init/System/IO.c
generated
1685
stage0/stdlib/Init/System/IO.c
generated
File diff suppressed because it is too large
Load diff
717
stage0/stdlib/Init/Task.c
generated
717
stage0/stdlib/Init/Task.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Task
|
||||
// Imports: Init.Core Init.Data.List.Basic
|
||||
// Imports: Init.Core Init.Data.List.Basic Init.System.Promise
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -13,24 +13,647 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___auto___closed__7____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__12____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__27____x40_Init_Task___hyg_21_;
|
||||
lean_object* lean_io_promise_new(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Task_mapList___redArg(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l___auto___closed__34____x40_Init_Task___hyg_21_;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__25____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__4____x40_Init_Task___hyg_21_;
|
||||
lean_object* lean_task_spawn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__0____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__26____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__8____x40_Init_Task___hyg_21_;
|
||||
lean_object* l_IO_Promise_result_x21___redArg(lean_object*);
|
||||
lean_object* lean_task_bind(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Task_mapList___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__21____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_Task_mapList___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
static lean_object* l___auto___closed__35____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__36____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__20____x40_Init_Task___hyg_21_;
|
||||
lean_object* lean_io_promise_resolve(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_task_pure(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__28____x40_Init_Task___hyg_21_;
|
||||
lean_object* l_Array_empty(lean_object*);
|
||||
static lean_object* l___auto___closed__10____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__14____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg___lam__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_waitAny(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__31____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_IO_waitAny___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__23____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__6____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__11____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__24____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__32____x40_Init_Task___hyg_21_;
|
||||
lean_object* lean_task_get_own(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__42____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__2____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__40____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__33____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__13____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__38____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__19____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__41____x40_Init_Task___hyg_21_;
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
lean_object* l_List_reverse___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg___lam__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__18____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__37____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__16____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__1____x40_Init_Task___hyg_21_;
|
||||
lean_object* l_BaseIO_chainTask___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l___auto___closed__39____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__3____x40_Init_Task___hyg_21_;
|
||||
lean_object* l_Lean_Name_mkStr1(lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__29____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__9____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__15____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__17____x40_Init_Task___hyg_21_;
|
||||
lean_object* l_Lean_mkAtom(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Task_mapList(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
static lean_object* l___auto___closed__22____x40_Init_Task___hyg_21_;
|
||||
static lean_object* l___auto___closed__30____x40_Init_Task___hyg_21_;
|
||||
static lean_object* _init_l___auto___closed__0____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__1____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__2____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__3____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__4____x40_Init_Task___hyg_21_() {
|
||||
_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___closed__3____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__2____x40_Init_Task___hyg_21_;
|
||||
x_3 = l___auto___closed__1____x40_Init_Task___hyg_21_;
|
||||
x_4 = l___auto___closed__0____x40_Init_Task___hyg_21_;
|
||||
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__5____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Array_empty(lean_box(0));
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__6____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__7____x40_Init_Task___hyg_21_() {
|
||||
_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___closed__6____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__2____x40_Init_Task___hyg_21_;
|
||||
x_3 = l___auto___closed__1____x40_Init_Task___hyg_21_;
|
||||
x_4 = l___auto___closed__0____x40_Init_Task___hyg_21_;
|
||||
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__8____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("null", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__9____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___auto___closed__8____x40_Init_Task___hyg_21_;
|
||||
x_2 = l_Lean_Name_mkStr1(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__10____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("exact", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__11____x40_Init_Task___hyg_21_() {
|
||||
_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___closed__10____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__2____x40_Init_Task___hyg_21_;
|
||||
x_3 = l___auto___closed__1____x40_Init_Task___hyg_21_;
|
||||
x_4 = l___auto___closed__0____x40_Init_Task___hyg_21_;
|
||||
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__12____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___auto___closed__10____x40_Init_Task___hyg_21_;
|
||||
x_2 = l_Lean_mkAtom(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__13____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__12____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__14____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Term", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__15____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("app", 3, 3);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__16____x40_Init_Task___hyg_21_() {
|
||||
_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___closed__15____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__14____x40_Init_Task___hyg_21_;
|
||||
x_3 = l___auto___closed__1____x40_Init_Task___hyg_21_;
|
||||
x_4 = l___auto___closed__0____x40_Init_Task___hyg_21_;
|
||||
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__17____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Nat.zero_lt_succ", 16, 16);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__18____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___auto___closed__17____x40_Init_Task___hyg_21_;
|
||||
x_2 = lean_string_utf8_byte_size(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__19____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__18____x40_Init_Task___hyg_21_;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = l___auto___closed__17____x40_Init_Task___hyg_21_;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__20____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Nat", 3, 3);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__21____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("zero_lt_succ", 12, 12);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__22____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__21____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__20____x40_Init_Task___hyg_21_;
|
||||
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__23____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___auto___closed__22____x40_Init_Task___hyg_21_;
|
||||
x_3 = l___auto___closed__19____x40_Init_Task___hyg_21_;
|
||||
x_4 = lean_box(2);
|
||||
x_5 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
lean_ctor_set(x_5, 2, x_2);
|
||||
lean_ctor_set(x_5, 3, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__24____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__23____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__25____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("hole", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__26____x40_Init_Task___hyg_21_() {
|
||||
_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___closed__25____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__14____x40_Init_Task___hyg_21_;
|
||||
x_3 = l___auto___closed__1____x40_Init_Task___hyg_21_;
|
||||
x_4 = l___auto___closed__0____x40_Init_Task___hyg_21_;
|
||||
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__27____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("_", 1, 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__28____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___auto___closed__27____x40_Init_Task___hyg_21_;
|
||||
x_2 = l_Lean_mkAtom(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__29____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__28____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__30____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__29____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__26____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_box(2);
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__31____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__30____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__32____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__31____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__9____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_box(2);
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__33____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__32____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__24____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__34____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__33____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__16____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_box(2);
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__35____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__34____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__13____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__36____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__35____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__11____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_box(2);
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__37____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__36____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__38____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__37____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__9____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_box(2);
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__39____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__38____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__40____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__39____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__7____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_box(2);
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__41____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto___closed__40____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__5____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_array_push(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto___closed__42____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___auto___closed__41____x40_Init_Task___hyg_21_;
|
||||
x_2 = l___auto___closed__4____x40_Init_Task___hyg_21_;
|
||||
x_3 = lean_box(2);
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Task___hyg_21_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___auto___closed__42____x40_Init_Task___hyg_21_;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_io_promise_resolve(x_2, x_1, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(0);
|
||||
x_5 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_alloc_closure((void*)(l_List_forM___at___IO_waitAny_spec__0___redArg___lam__0___boxed), 3, 1);
|
||||
lean_closure_set(x_8, 0, x_1);
|
||||
x_9 = lean_unsigned_to_nat(0u);
|
||||
x_10 = 1;
|
||||
x_11 = l_BaseIO_chainTask___redArg(x_6, x_8, x_9, x_10, x_3);
|
||||
x_12 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec_ref(x_11);
|
||||
x_2 = x_7;
|
||||
x_3 = x_12;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_List_forM___at___IO_waitAny_spec__0___redArg(x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_IO_waitAny___redArg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_3 = lean_io_promise_new(x_2);
|
||||
x_4 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec_ref(x_3);
|
||||
lean_inc(x_4);
|
||||
x_6 = l_List_forM___at___IO_waitAny_spec__0___redArg(x_4, x_1, x_5);
|
||||
x_7 = !lean_is_exclusive(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_8 = lean_ctor_get(x_6, 0);
|
||||
lean_dec(x_8);
|
||||
x_9 = l_IO_Promise_result_x21___redArg(x_4);
|
||||
lean_dec(x_4);
|
||||
x_10 = lean_task_get_own(x_9);
|
||||
lean_ctor_set(x_6, 0, x_10);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_11 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_6);
|
||||
x_12 = l_IO_Promise_result_x21___redArg(x_4);
|
||||
lean_dec(x_4);
|
||||
x_13 = lean_task_get_own(x_12);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_ctor_set(x_14, 1, x_11);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_IO_waitAny(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_IO_waitAny___redArg(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_forM___at___IO_waitAny_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_List_forM___at___IO_waitAny_spec__0___redArg___lam__0(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Task_mapList_go___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -204,6 +827,7 @@ return x_8;
|
|||
}
|
||||
lean_object* initialize_Init_Core(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_System_Promise(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Task(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -215,6 +839,97 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_List_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_System_Promise(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___auto___closed__0____x40_Init_Task___hyg_21_ = _init_l___auto___closed__0____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__0____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__1____x40_Init_Task___hyg_21_ = _init_l___auto___closed__1____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__1____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__2____x40_Init_Task___hyg_21_ = _init_l___auto___closed__2____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__2____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__3____x40_Init_Task___hyg_21_ = _init_l___auto___closed__3____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__3____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__4____x40_Init_Task___hyg_21_ = _init_l___auto___closed__4____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__4____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__5____x40_Init_Task___hyg_21_ = _init_l___auto___closed__5____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__5____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__6____x40_Init_Task___hyg_21_ = _init_l___auto___closed__6____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__6____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__7____x40_Init_Task___hyg_21_ = _init_l___auto___closed__7____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__7____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__8____x40_Init_Task___hyg_21_ = _init_l___auto___closed__8____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__8____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__9____x40_Init_Task___hyg_21_ = _init_l___auto___closed__9____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__9____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__10____x40_Init_Task___hyg_21_ = _init_l___auto___closed__10____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__10____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__11____x40_Init_Task___hyg_21_ = _init_l___auto___closed__11____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__11____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__12____x40_Init_Task___hyg_21_ = _init_l___auto___closed__12____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__12____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__13____x40_Init_Task___hyg_21_ = _init_l___auto___closed__13____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__13____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__14____x40_Init_Task___hyg_21_ = _init_l___auto___closed__14____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__14____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__15____x40_Init_Task___hyg_21_ = _init_l___auto___closed__15____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__15____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__16____x40_Init_Task___hyg_21_ = _init_l___auto___closed__16____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__16____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__17____x40_Init_Task___hyg_21_ = _init_l___auto___closed__17____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__17____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__18____x40_Init_Task___hyg_21_ = _init_l___auto___closed__18____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__18____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__19____x40_Init_Task___hyg_21_ = _init_l___auto___closed__19____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__19____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__20____x40_Init_Task___hyg_21_ = _init_l___auto___closed__20____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__20____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__21____x40_Init_Task___hyg_21_ = _init_l___auto___closed__21____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__21____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__22____x40_Init_Task___hyg_21_ = _init_l___auto___closed__22____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__22____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__23____x40_Init_Task___hyg_21_ = _init_l___auto___closed__23____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__23____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__24____x40_Init_Task___hyg_21_ = _init_l___auto___closed__24____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__24____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__25____x40_Init_Task___hyg_21_ = _init_l___auto___closed__25____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__25____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__26____x40_Init_Task___hyg_21_ = _init_l___auto___closed__26____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__26____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__27____x40_Init_Task___hyg_21_ = _init_l___auto___closed__27____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__27____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__28____x40_Init_Task___hyg_21_ = _init_l___auto___closed__28____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__28____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__29____x40_Init_Task___hyg_21_ = _init_l___auto___closed__29____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__29____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__30____x40_Init_Task___hyg_21_ = _init_l___auto___closed__30____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__30____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__31____x40_Init_Task___hyg_21_ = _init_l___auto___closed__31____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__31____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__32____x40_Init_Task___hyg_21_ = _init_l___auto___closed__32____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__32____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__33____x40_Init_Task___hyg_21_ = _init_l___auto___closed__33____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__33____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__34____x40_Init_Task___hyg_21_ = _init_l___auto___closed__34____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__34____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__35____x40_Init_Task___hyg_21_ = _init_l___auto___closed__35____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__35____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__36____x40_Init_Task___hyg_21_ = _init_l___auto___closed__36____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__36____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__37____x40_Init_Task___hyg_21_ = _init_l___auto___closed__37____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__37____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__38____x40_Init_Task___hyg_21_ = _init_l___auto___closed__38____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__38____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__39____x40_Init_Task___hyg_21_ = _init_l___auto___closed__39____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__39____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__40____x40_Init_Task___hyg_21_ = _init_l___auto___closed__40____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__40____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__41____x40_Init_Task___hyg_21_ = _init_l___auto___closed__41____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__41____x40_Init_Task___hyg_21_);
|
||||
l___auto___closed__42____x40_Init_Task___hyg_21_ = _init_l___auto___closed__42____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto___closed__42____x40_Init_Task___hyg_21_);
|
||||
l___auto____x40_Init_Task___hyg_21_ = _init_l___auto____x40_Init_Task___hyg_21_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Task___hyg_21_);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
6
stage0/stdlib/Lake/Build/Common.c
generated
6
stage0/stdlib/Lake/Build/Common.c
generated
|
|
@ -278,7 +278,6 @@ LEAN_EXPORT lean_object* l_Lake_Job_bindM___at___Lake_buildLeanExe_spec__0___red
|
|||
LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at___Lake_inputBinFile_spec__1_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_buildO___lam__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_buildLeanSharedLib___lam__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Job_bindM___at___Lake_buildLeanExe_spec__0___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_instAlternativeELogTOfMonad___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Job_bindM___at___Lake_buildLeanExe_spec__0___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -354,6 +353,7 @@ lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
|||
static lean_object* l_Lake_checkHashUpToDate___redArg___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_writeBuildTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_buildLeanExe___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_Lake_buildArtifactUnlessUpToDate___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lake_buildAction___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*);
|
||||
|
|
@ -10019,7 +10019,7 @@ x_6 = lean_ctor_get(x_4, 0);
|
|||
x_7 = lean_ctor_get(x_6, 1);
|
||||
lean_inc_ref(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_2, x_7);
|
||||
x_8 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_2, x_7);
|
||||
lean_dec_ref(x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -10049,7 +10049,7 @@ lean_dec(x_4);
|
|||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc_ref(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_2, x_15);
|
||||
x_16 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_2, x_15);
|
||||
lean_dec_ref(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
|
|||
317
stage0/stdlib/Lake/Build/Module.c
generated
317
stage0/stdlib/Lake/Build/Module.c
generated
|
|
@ -244,7 +244,6 @@ lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lake_Module_recFetchSetup___lam__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_formatQuery___at___Lake_Module_exportInfoFacetConfig_spec__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_____private_Lake_Build_Module_0__Lake_computeTransImportsAux_spec__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_Lake_Module_recFetchSetup___lam__0___closed__4;
|
||||
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_ModuleFacet_fetch___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_recFetchSetup___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, 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*);
|
||||
|
|
@ -369,7 +368,6 @@ static lean_object* l_Lake_Module_initFacetConfigs___closed__19;
|
|||
static lean_object* l_Lake_Module_oNoExportFacetConfig___lam__0___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_ensureJob___at___Lake_prepareLeanCommand_spec__1___lam__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_Lake_Build_Module_0__Lake_setupExternalModule___lam__2(lean_object*, lean_object*, lean_object*, size_t, uint8_t, lean_object*, uint8_t, 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_Module_recFetchSetup___lam__0___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_recFetchSetup___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, 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_EXPORT lean_object* l_Lake_Module_headerFacetConfig___lam__0___boxed(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
|
||||
|
|
@ -465,7 +463,6 @@ static lean_object* l_Lake_Module_initFacetConfigs___closed__18;
|
|||
LEAN_EXPORT lean_object* l_Lake_Module_recFetchInput___lam__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Build_Module_0__Lake_setupExternalModule___closed__1;
|
||||
static lean_object* l_Lake_Module_initFacetConfigs___closed__17;
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Module_recBuildLean___lam__0___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_____private_Lake_Build_Module_0__Lake_computeModuleDeps_spec__0___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_Lake_JobState_merge(lean_object*, lean_object*);
|
||||
|
|
@ -559,6 +556,7 @@ static lean_object* l_Lake_Module_initFacetConfigs___closed__16;
|
|||
LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_mkLoadOrder_go(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_____private_Lake_Build_Module_0__Lake_Module_fetchImportLibs_spec__0___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_____private_Lake_Build_Module_0__Lake_mkLoadOrder_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Module_transImportsFacetConfig___closed__0;
|
||||
static lean_object* l_Lake_Module_recBuildDynlib___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_OrdHashSet_insert___at___Lake_Module_recParseImports_spec__0(lean_object*, lean_object*);
|
||||
|
|
@ -814,6 +812,7 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Inte
|
|||
LEAN_EXPORT lean_object* l_Lake_ensureJob___at___Lake_prepareLeanCommand_spec__1___lam__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchTransImportArts_enqueue(uint8_t, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__3;
|
||||
extern lean_object* l_Lake_Module_keyword;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_formatQuery___at___Lake_Module_inputFacetConfig_spec__0___redArg___boxed(lean_object*);
|
||||
|
|
@ -21434,34 +21433,12 @@ return x_2;
|
|||
static lean_object* _init_l_Lake_Module_recFetchSetup___lam__0___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lake_Module_recFetchSetup___lam__0___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint32_t x_4;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = l_Lake_Module_recFetchSetup___lam__0___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 1, 4);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
x_4 = lean_unbox_uint32(x_1);
|
||||
lean_ctor_set_uint32(x_3, sizeof(void*)*1, x_4);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lake_Module_recFetchSetup___lam__0___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(":deps", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lake_Module_recFetchSetup___lam__0___closed__5() {
|
||||
static lean_object* _init_l_Lake_Module_recFetchSetup___lam__0___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -21472,7 +21449,7 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lake_Module_recFetchSetup___lam__0(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, uint8_t x_9, uint8_t 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, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; 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; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_165; lean_object* x_166; lean_object* x_167;
|
||||
uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; 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; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_164; lean_object* x_165; lean_object* x_166;
|
||||
x_83 = lean_ctor_get(x_21, 0);
|
||||
lean_inc_ref(x_83);
|
||||
x_84 = lean_ctor_get_uint8(x_21, sizeof(void*)*3);
|
||||
|
|
@ -21486,15 +21463,15 @@ lean_inc_ref(x_98);
|
|||
lean_dec_ref(x_1);
|
||||
x_99 = l_Lake_Module_recFetchInput___closed__3;
|
||||
x_100 = l_Lake_Module_recFetchSetup___lam__0___closed__1;
|
||||
x_165 = lean_task_get_own(x_98);
|
||||
x_164 = lean_task_get_own(x_98);
|
||||
x_165 = lean_ctor_get(x_164, 1);
|
||||
lean_inc(x_165);
|
||||
lean_dec_ref(x_164);
|
||||
x_166 = lean_ctor_get(x_165, 1);
|
||||
lean_inc(x_166);
|
||||
lean_dec_ref(x_165);
|
||||
x_167 = lean_ctor_get(x_166, 1);
|
||||
lean_inc_ref(x_167);
|
||||
lean_dec(x_166);
|
||||
x_101 = x_167;
|
||||
goto block_164;
|
||||
lean_inc_ref(x_166);
|
||||
lean_dec(x_165);
|
||||
x_101 = x_166;
|
||||
goto block_163;
|
||||
block_38:
|
||||
{
|
||||
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;
|
||||
|
|
@ -21700,7 +21677,7 @@ x_49 = x_22;
|
|||
goto block_82;
|
||||
}
|
||||
}
|
||||
block_164:
|
||||
block_163:
|
||||
{
|
||||
lean_object* x_102; lean_object* x_103; uint8_t x_104;
|
||||
x_102 = lean_ctor_get(x_11, 0);
|
||||
|
|
@ -21711,45 +21688,43 @@ lean_dec_ref(x_11);
|
|||
x_104 = !lean_is_exclusive(x_99);
|
||||
if (x_104 == 0)
|
||||
{
|
||||
lean_object* x_105; uint64_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110;
|
||||
lean_object* x_105; uint64_t x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109;
|
||||
x_105 = lean_ctor_get(x_99, 1);
|
||||
x_106 = lean_ctor_get_uint64(x_99, sizeof(void*)*3);
|
||||
x_107 = lean_ctor_get(x_99, 2);
|
||||
lean_dec(x_107);
|
||||
x_108 = lean_ctor_get(x_99, 0);
|
||||
lean_dec(x_108);
|
||||
x_109 = l_Lake_Module_recFetchSetup___lam__0___closed__3;
|
||||
x_110 = !lean_is_exclusive(x_85);
|
||||
if (x_110 == 0)
|
||||
x_109 = !lean_is_exclusive(x_85);
|
||||
if (x_109 == 0)
|
||||
{
|
||||
lean_object* x_111; uint64_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120;
|
||||
x_111 = lean_ctor_get(x_85, 1);
|
||||
x_112 = lean_ctor_get_uint64(x_85, sizeof(void*)*3);
|
||||
x_113 = lean_ctor_get(x_85, 2);
|
||||
x_114 = lean_ctor_get(x_85, 0);
|
||||
lean_dec(x_114);
|
||||
x_115 = l_Lake_BuildTrace_mix(x_100, x_101);
|
||||
x_116 = l_Lake_BuildTrace_mix(x_115, x_103);
|
||||
lean_object* x_110; uint64_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119;
|
||||
x_110 = lean_ctor_get(x_85, 1);
|
||||
x_111 = lean_ctor_get_uint64(x_85, sizeof(void*)*3);
|
||||
x_112 = lean_ctor_get(x_85, 2);
|
||||
x_113 = lean_ctor_get(x_85, 0);
|
||||
lean_dec(x_113);
|
||||
x_114 = l_Lake_BuildTrace_mix(x_100, x_101);
|
||||
x_115 = l_Lake_BuildTrace_mix(x_114, x_103);
|
||||
lean_inc(x_4);
|
||||
x_117 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_4, x_12);
|
||||
x_118 = l_Lake_Module_recFetchSetup___lam__0___closed__4;
|
||||
x_119 = lean_string_append(x_117, x_118);
|
||||
lean_ctor_set(x_85, 2, x_109);
|
||||
x_116 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_4, x_12);
|
||||
x_117 = l_Lake_Module_recFetchSetup___lam__0___closed__2;
|
||||
x_118 = lean_string_append(x_116, x_117);
|
||||
lean_ctor_set(x_85, 2, x_107);
|
||||
lean_ctor_set(x_85, 1, x_105);
|
||||
lean_ctor_set(x_85, 0, x_119);
|
||||
lean_ctor_set(x_85, 0, x_118);
|
||||
lean_ctor_set_uint64(x_85, sizeof(void*)*3, x_106);
|
||||
x_120 = l_Lake_Module_recFetchSetup___lam__0___closed__5;
|
||||
lean_ctor_set(x_99, 2, x_113);
|
||||
lean_ctor_set(x_99, 1, x_111);
|
||||
lean_ctor_set(x_99, 0, x_120);
|
||||
lean_ctor_set_uint64(x_99, sizeof(void*)*3, x_112);
|
||||
x_119 = l_Lake_Module_recFetchSetup___lam__0___closed__3;
|
||||
lean_ctor_set(x_99, 2, x_112);
|
||||
lean_ctor_set(x_99, 1, x_110);
|
||||
lean_ctor_set(x_99, 0, x_119);
|
||||
lean_ctor_set_uint64(x_99, sizeof(void*)*3, x_111);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_121; lean_object* x_122;
|
||||
x_121 = l_Lake_BuildTrace_mix(x_85, x_116);
|
||||
x_122 = l_Lake_BuildTrace_mix(x_121, x_99);
|
||||
lean_object* x_120; lean_object* x_121;
|
||||
x_120 = l_Lake_BuildTrace_mix(x_85, x_115);
|
||||
x_121 = l_Lake_BuildTrace_mix(x_120, x_99);
|
||||
x_39 = x_102;
|
||||
x_40 = x_16;
|
||||
x_41 = x_17;
|
||||
|
|
@ -21758,69 +21733,69 @@ x_43 = x_19;
|
|||
x_44 = x_20;
|
||||
x_45 = x_83;
|
||||
x_46 = x_84;
|
||||
x_47 = x_122;
|
||||
x_47 = x_121;
|
||||
x_48 = x_86;
|
||||
x_49 = x_22;
|
||||
goto block_82;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_123; uint8_t x_124;
|
||||
x_123 = lean_ctor_get(x_14, 0);
|
||||
x_124 = lean_unbox(x_123);
|
||||
lean_object* x_122; uint8_t x_123;
|
||||
x_122 = lean_ctor_get(x_14, 0);
|
||||
x_123 = lean_unbox(x_122);
|
||||
x_87 = x_99;
|
||||
x_88 = x_102;
|
||||
x_89 = x_116;
|
||||
x_89 = x_115;
|
||||
x_90 = x_85;
|
||||
x_91 = x_124;
|
||||
x_91 = x_123;
|
||||
goto block_97;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_125; uint8_t x_126;
|
||||
x_125 = lean_ctor_get(x_13, 0);
|
||||
x_126 = lean_unbox(x_125);
|
||||
lean_object* x_124; uint8_t x_125;
|
||||
x_124 = lean_ctor_get(x_13, 0);
|
||||
x_125 = lean_unbox(x_124);
|
||||
x_87 = x_99;
|
||||
x_88 = x_102;
|
||||
x_89 = x_116;
|
||||
x_89 = x_115;
|
||||
x_90 = x_85;
|
||||
x_91 = x_126;
|
||||
x_91 = x_125;
|
||||
goto block_97;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_127; uint64_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136;
|
||||
x_127 = lean_ctor_get(x_85, 1);
|
||||
x_128 = lean_ctor_get_uint64(x_85, sizeof(void*)*3);
|
||||
x_129 = lean_ctor_get(x_85, 2);
|
||||
lean_inc(x_129);
|
||||
lean_inc(x_127);
|
||||
lean_object* x_126; uint64_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135;
|
||||
x_126 = lean_ctor_get(x_85, 1);
|
||||
x_127 = lean_ctor_get_uint64(x_85, sizeof(void*)*3);
|
||||
x_128 = lean_ctor_get(x_85, 2);
|
||||
lean_inc(x_128);
|
||||
lean_inc(x_126);
|
||||
lean_dec(x_85);
|
||||
x_130 = l_Lake_BuildTrace_mix(x_100, x_101);
|
||||
x_131 = l_Lake_BuildTrace_mix(x_130, x_103);
|
||||
x_129 = l_Lake_BuildTrace_mix(x_100, x_101);
|
||||
x_130 = l_Lake_BuildTrace_mix(x_129, x_103);
|
||||
lean_inc(x_4);
|
||||
x_132 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_4, x_12);
|
||||
x_133 = l_Lake_Module_recFetchSetup___lam__0___closed__4;
|
||||
x_134 = lean_string_append(x_132, x_133);
|
||||
x_135 = lean_alloc_ctor(0, 3, 8);
|
||||
lean_ctor_set(x_135, 0, x_134);
|
||||
lean_ctor_set(x_135, 1, x_105);
|
||||
lean_ctor_set(x_135, 2, x_109);
|
||||
lean_ctor_set_uint64(x_135, sizeof(void*)*3, x_106);
|
||||
x_136 = l_Lake_Module_recFetchSetup___lam__0___closed__5;
|
||||
lean_ctor_set(x_99, 2, x_129);
|
||||
lean_ctor_set(x_99, 1, x_127);
|
||||
lean_ctor_set(x_99, 0, x_136);
|
||||
lean_ctor_set_uint64(x_99, sizeof(void*)*3, x_128);
|
||||
x_131 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_4, x_12);
|
||||
x_132 = l_Lake_Module_recFetchSetup___lam__0___closed__2;
|
||||
x_133 = lean_string_append(x_131, x_132);
|
||||
x_134 = lean_alloc_ctor(0, 3, 8);
|
||||
lean_ctor_set(x_134, 0, x_133);
|
||||
lean_ctor_set(x_134, 1, x_105);
|
||||
lean_ctor_set(x_134, 2, x_107);
|
||||
lean_ctor_set_uint64(x_134, sizeof(void*)*3, x_106);
|
||||
x_135 = l_Lake_Module_recFetchSetup___lam__0___closed__3;
|
||||
lean_ctor_set(x_99, 2, x_128);
|
||||
lean_ctor_set(x_99, 1, x_126);
|
||||
lean_ctor_set(x_99, 0, x_135);
|
||||
lean_ctor_set_uint64(x_99, sizeof(void*)*3, x_127);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_137; lean_object* x_138;
|
||||
x_137 = l_Lake_BuildTrace_mix(x_135, x_131);
|
||||
x_138 = l_Lake_BuildTrace_mix(x_137, x_99);
|
||||
lean_object* x_136; lean_object* x_137;
|
||||
x_136 = l_Lake_BuildTrace_mix(x_134, x_130);
|
||||
x_137 = l_Lake_BuildTrace_mix(x_136, x_99);
|
||||
x_39 = x_102;
|
||||
x_40 = x_16;
|
||||
x_41 = x_17;
|
||||
|
|
@ -21829,88 +21804,89 @@ x_43 = x_19;
|
|||
x_44 = x_20;
|
||||
x_45 = x_83;
|
||||
x_46 = x_84;
|
||||
x_47 = x_138;
|
||||
x_47 = x_137;
|
||||
x_48 = x_86;
|
||||
x_49 = x_22;
|
||||
goto block_82;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_139; uint8_t x_140;
|
||||
x_139 = lean_ctor_get(x_14, 0);
|
||||
x_140 = lean_unbox(x_139);
|
||||
lean_object* x_138; uint8_t x_139;
|
||||
x_138 = lean_ctor_get(x_14, 0);
|
||||
x_139 = lean_unbox(x_138);
|
||||
x_87 = x_99;
|
||||
x_88 = x_102;
|
||||
x_89 = x_131;
|
||||
x_90 = x_135;
|
||||
x_91 = x_140;
|
||||
x_89 = x_130;
|
||||
x_90 = x_134;
|
||||
x_91 = x_139;
|
||||
goto block_97;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_141; uint8_t x_142;
|
||||
x_141 = lean_ctor_get(x_13, 0);
|
||||
x_142 = lean_unbox(x_141);
|
||||
lean_object* x_140; uint8_t x_141;
|
||||
x_140 = lean_ctor_get(x_13, 0);
|
||||
x_141 = lean_unbox(x_140);
|
||||
x_87 = x_99;
|
||||
x_88 = x_102;
|
||||
x_89 = x_131;
|
||||
x_90 = x_135;
|
||||
x_91 = x_142;
|
||||
x_89 = x_130;
|
||||
x_90 = x_134;
|
||||
x_91 = x_141;
|
||||
goto block_97;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_143; uint64_t x_144; lean_object* x_145; lean_object* x_146; uint64_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157;
|
||||
x_143 = lean_ctor_get(x_99, 1);
|
||||
x_144 = lean_ctor_get_uint64(x_99, sizeof(void*)*3);
|
||||
lean_inc(x_143);
|
||||
lean_object* x_142; uint64_t x_143; lean_object* x_144; lean_object* x_145; uint64_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156;
|
||||
x_142 = lean_ctor_get(x_99, 1);
|
||||
x_143 = lean_ctor_get_uint64(x_99, sizeof(void*)*3);
|
||||
x_144 = lean_ctor_get(x_99, 2);
|
||||
lean_inc(x_144);
|
||||
lean_inc(x_142);
|
||||
lean_dec(x_99);
|
||||
x_145 = l_Lake_Module_recFetchSetup___lam__0___closed__3;
|
||||
x_146 = lean_ctor_get(x_85, 1);
|
||||
lean_inc_ref(x_146);
|
||||
x_147 = lean_ctor_get_uint64(x_85, sizeof(void*)*3);
|
||||
x_148 = lean_ctor_get(x_85, 2);
|
||||
lean_inc_ref(x_148);
|
||||
x_145 = lean_ctor_get(x_85, 1);
|
||||
lean_inc_ref(x_145);
|
||||
x_146 = lean_ctor_get_uint64(x_85, sizeof(void*)*3);
|
||||
x_147 = lean_ctor_get(x_85, 2);
|
||||
lean_inc_ref(x_147);
|
||||
if (lean_is_exclusive(x_85)) {
|
||||
lean_ctor_release(x_85, 0);
|
||||
lean_ctor_release(x_85, 1);
|
||||
lean_ctor_release(x_85, 2);
|
||||
x_149 = x_85;
|
||||
x_148 = x_85;
|
||||
} else {
|
||||
lean_dec_ref(x_85);
|
||||
x_149 = lean_box(0);
|
||||
x_148 = lean_box(0);
|
||||
}
|
||||
x_150 = l_Lake_BuildTrace_mix(x_100, x_101);
|
||||
x_151 = l_Lake_BuildTrace_mix(x_150, x_103);
|
||||
x_149 = l_Lake_BuildTrace_mix(x_100, x_101);
|
||||
x_150 = l_Lake_BuildTrace_mix(x_149, x_103);
|
||||
lean_inc(x_4);
|
||||
x_152 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_4, x_12);
|
||||
x_153 = l_Lake_Module_recFetchSetup___lam__0___closed__4;
|
||||
x_154 = lean_string_append(x_152, x_153);
|
||||
if (lean_is_scalar(x_149)) {
|
||||
x_155 = lean_alloc_ctor(0, 3, 8);
|
||||
x_151 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_4, x_12);
|
||||
x_152 = l_Lake_Module_recFetchSetup___lam__0___closed__2;
|
||||
x_153 = lean_string_append(x_151, x_152);
|
||||
if (lean_is_scalar(x_148)) {
|
||||
x_154 = lean_alloc_ctor(0, 3, 8);
|
||||
} else {
|
||||
x_155 = x_149;
|
||||
x_154 = x_148;
|
||||
}
|
||||
lean_ctor_set(x_155, 0, x_154);
|
||||
lean_ctor_set(x_155, 1, x_143);
|
||||
lean_ctor_set(x_155, 2, x_145);
|
||||
lean_ctor_set_uint64(x_155, sizeof(void*)*3, x_144);
|
||||
x_156 = l_Lake_Module_recFetchSetup___lam__0___closed__5;
|
||||
x_157 = lean_alloc_ctor(0, 3, 8);
|
||||
lean_ctor_set(x_157, 0, x_156);
|
||||
lean_ctor_set(x_157, 1, x_146);
|
||||
lean_ctor_set(x_157, 2, x_148);
|
||||
lean_ctor_set_uint64(x_157, sizeof(void*)*3, x_147);
|
||||
lean_ctor_set(x_154, 0, x_153);
|
||||
lean_ctor_set(x_154, 1, x_142);
|
||||
lean_ctor_set(x_154, 2, x_144);
|
||||
lean_ctor_set_uint64(x_154, sizeof(void*)*3, x_143);
|
||||
x_155 = l_Lake_Module_recFetchSetup___lam__0___closed__3;
|
||||
x_156 = lean_alloc_ctor(0, 3, 8);
|
||||
lean_ctor_set(x_156, 0, x_155);
|
||||
lean_ctor_set(x_156, 1, x_145);
|
||||
lean_ctor_set(x_156, 2, x_147);
|
||||
lean_ctor_set_uint64(x_156, sizeof(void*)*3, x_146);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
lean_object* x_158; lean_object* x_159;
|
||||
x_158 = l_Lake_BuildTrace_mix(x_155, x_151);
|
||||
x_159 = l_Lake_BuildTrace_mix(x_158, x_157);
|
||||
lean_object* x_157; lean_object* x_158;
|
||||
x_157 = l_Lake_BuildTrace_mix(x_154, x_150);
|
||||
x_158 = l_Lake_BuildTrace_mix(x_157, x_156);
|
||||
x_39 = x_102;
|
||||
x_40 = x_16;
|
||||
x_41 = x_17;
|
||||
|
|
@ -21919,34 +21895,34 @@ x_43 = x_19;
|
|||
x_44 = x_20;
|
||||
x_45 = x_83;
|
||||
x_46 = x_84;
|
||||
x_47 = x_159;
|
||||
x_47 = x_158;
|
||||
x_48 = x_86;
|
||||
x_49 = x_22;
|
||||
goto block_82;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_160; uint8_t x_161;
|
||||
x_160 = lean_ctor_get(x_14, 0);
|
||||
x_161 = lean_unbox(x_160);
|
||||
x_87 = x_157;
|
||||
lean_object* x_159; uint8_t x_160;
|
||||
x_159 = lean_ctor_get(x_14, 0);
|
||||
x_160 = lean_unbox(x_159);
|
||||
x_87 = x_156;
|
||||
x_88 = x_102;
|
||||
x_89 = x_151;
|
||||
x_90 = x_155;
|
||||
x_91 = x_161;
|
||||
x_89 = x_150;
|
||||
x_90 = x_154;
|
||||
x_91 = x_160;
|
||||
goto block_97;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_162; uint8_t x_163;
|
||||
x_162 = lean_ctor_get(x_13, 0);
|
||||
x_163 = lean_unbox(x_162);
|
||||
x_87 = x_157;
|
||||
lean_object* x_161; uint8_t x_162;
|
||||
x_161 = lean_ctor_get(x_13, 0);
|
||||
x_162 = lean_unbox(x_161);
|
||||
x_87 = x_156;
|
||||
x_88 = x_102;
|
||||
x_89 = x_151;
|
||||
x_90 = x_155;
|
||||
x_91 = x_163;
|
||||
x_89 = x_150;
|
||||
x_90 = x_154;
|
||||
x_91 = x_162;
|
||||
goto block_97;
|
||||
}
|
||||
}
|
||||
|
|
@ -31770,9 +31746,18 @@ return x_1;
|
|||
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__3() {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = 0;
|
||||
x_2 = l_Lake_Module_recFetchSetup___lam__0___closed__2;
|
||||
x_2 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__2;
|
||||
x_3 = lean_alloc_ctor(0, 1, 4);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set_uint32(x_3, sizeof(void*)*1, x_1);
|
||||
|
|
@ -31809,7 +31794,7 @@ x_16 = 1723;
|
|||
x_17 = lean_string_hash(x_15);
|
||||
x_18 = lean_uint64_mix_hash(x_16, x_17);
|
||||
x_19 = l_Lake_Module_recFetchInput___lam__0___closed__0;
|
||||
x_20 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__2;
|
||||
x_20 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__3;
|
||||
x_21 = lean_alloc_ctor(0, 3, 8);
|
||||
lean_ctor_set(x_21, 0, x_15);
|
||||
lean_ctor_set(x_21, 1, x_19);
|
||||
|
|
@ -31856,7 +31841,7 @@ if (x_5 == 0)
|
|||
{
|
||||
lean_object* x_6; uint8_t x_7;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_2, x_6);
|
||||
x_7 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_2, x_6);
|
||||
lean_dec(x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -31883,7 +31868,7 @@ x_13 = lean_ctor_get(x_4, 1);
|
|||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_4);
|
||||
x_14 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_2, x_12);
|
||||
x_14 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_2, x_12);
|
||||
lean_dec(x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -35063,7 +35048,7 @@ lean_dec_ref(x_178);
|
|||
x_180 = lean_string_append(x_175, x_179);
|
||||
lean_dec_ref(x_179);
|
||||
x_181 = l_Lake_Module_recFetchInput___lam__0___closed__0;
|
||||
x_182 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__2;
|
||||
x_182 = l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__3;
|
||||
x_183 = lean_alloc_ctor(0, 3, 8);
|
||||
lean_ctor_set(x_183, 0, x_180);
|
||||
lean_ctor_set(x_183, 1, x_181);
|
||||
|
|
@ -51378,10 +51363,6 @@ l_Lake_Module_recFetchSetup___lam__0___closed__2 = _init_l_Lake_Module_recFetchS
|
|||
lean_mark_persistent(l_Lake_Module_recFetchSetup___lam__0___closed__2);
|
||||
l_Lake_Module_recFetchSetup___lam__0___closed__3 = _init_l_Lake_Module_recFetchSetup___lam__0___closed__3();
|
||||
lean_mark_persistent(l_Lake_Module_recFetchSetup___lam__0___closed__3);
|
||||
l_Lake_Module_recFetchSetup___lam__0___closed__4 = _init_l_Lake_Module_recFetchSetup___lam__0___closed__4();
|
||||
lean_mark_persistent(l_Lake_Module_recFetchSetup___lam__0___closed__4);
|
||||
l_Lake_Module_recFetchSetup___lam__0___closed__5 = _init_l_Lake_Module_recFetchSetup___lam__0___closed__5();
|
||||
lean_mark_persistent(l_Lake_Module_recFetchSetup___lam__0___closed__5);
|
||||
l_Lake_Module_recFetchSetup___lam__7___closed__0 = _init_l_Lake_Module_recFetchSetup___lam__7___closed__0();
|
||||
lean_mark_persistent(l_Lake_Module_recFetchSetup___lam__7___closed__0);
|
||||
l_Lake_Module_recFetchSetup___lam__7___closed__1 = _init_l_Lake_Module_recFetchSetup___lam__7___closed__1();
|
||||
|
|
@ -51426,6 +51407,8 @@ l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at
|
|||
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__1);
|
||||
l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__2 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__2();
|
||||
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__2);
|
||||
l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__3();
|
||||
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_foldlM___at___Std_DTreeMap_Internal_Impl_foldl___at_____private_Lake_Build_Module_0__Lake_traceOptions_spec__0_spec__0___closed__3);
|
||||
l_Lake_resolveArtifactsUsing_x3f___at___Lake_Module_recBuildLean_spec__2___closed__0 = _init_l_Lake_resolveArtifactsUsing_x3f___at___Lake_Module_recBuildLean_spec__2___closed__0();
|
||||
lean_mark_persistent(l_Lake_resolveArtifactsUsing_x3f___at___Lake_Module_recBuildLean_spec__2___closed__0);
|
||||
l_Lake_resolveArtifactsUsing_x3f___at___Lake_Module_recBuildLean_spec__2___closed__1 = _init_l_Lake_resolveArtifactsUsing_x3f___at___Lake_Module_recBuildLean_spec__2___closed__1();
|
||||
|
|
|
|||
30
stage0/stdlib/Lake/Build/Trace.c
generated
30
stage0/stdlib/Lake/Build/Trace.c
generated
|
|
@ -70,7 +70,6 @@ LEAN_EXPORT lean_object* l_Lake_instComputeTraceArrayOfMonad(lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l_Lake_Hash_toJson___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___Std_Format_joinSep___at___Array_Array_repr___at___Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1370__spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instComputeHashTextFilePathIO___lam__0___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_IO_FS_reprSystemTime____x40_Init_System_IO___hyg_3102____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Hash_ofNat___boxed(lean_object*);
|
||||
static lean_object* l_Lake_BuildTrace_withoutInputs___closed__0;
|
||||
uint64_t lean_string_hash(lean_object*);
|
||||
|
|
@ -79,6 +78,7 @@ static lean_object* l_Lake_reprHash___redArg___closed__2____x40_Lake_Build_Trace
|
|||
LEAN_EXPORT lean_object* l_Lake_computeHash___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Hash_toJson(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lake_computeFileHash(lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_IO_FS_beqSystemTime____x40_Init_System_IO___hyg_3106____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_reprBuildTrace___redArg___closed__0____x40_Lake_Build_Trace___hyg_1370_;
|
||||
LEAN_EXPORT lean_object* l_Lake_instComputeHashArrayOfMonad___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Hash_ofString_x3f(lean_object*);
|
||||
|
|
@ -92,7 +92,6 @@ LEAN_EXPORT lean_object* l_Lake_computeListTrace___redArg___lam__1(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Lake_mixTraceList___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_MTime_instMin;
|
||||
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_FS_beqSystemTime____x40_Init_System_IO___hyg_3160____boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_BuildTrace_mix(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_mixTraceArray___redArg___closed__6;
|
||||
|
|
@ -144,7 +143,6 @@ LEAN_EXPORT lean_object* l_Lake_BuildTrace_checkAgainstTime___boxed(lean_object*
|
|||
lean_object* lean_array_to_list(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_reprHash___redArg____x40_Lake_Build_Trace___hyg_624_(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lake_BuildTrace_ofMTime(lean_object*, lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_reprHash___redArg___closed__7____x40_Lake_Build_Trace___hyg_624_;
|
||||
LEAN_EXPORT lean_object* l_Lake_instComputeTraceIOMTimeOfGetMTime___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_reprHash___redArg___closed__0____x40_Lake_Build_Trace___hyg_624_;
|
||||
|
|
@ -167,6 +165,7 @@ LEAN_EXPORT lean_object* l_Lake_BuildTrace_nil(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lake_computeFileHash___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_MTime_instMin___lam__0___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_mixTraceArray___redArg___closed__7;
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Hash_instToString___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_BuildTrace_instComputeTraceIOOfToStringOfComputeHashOfMonadLiftTOfGetMTime(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_String_anyAux___at___String_toNat_x3f_spec__1(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -185,9 +184,7 @@ LEAN_EXPORT lean_object* l_Lake_BuildTrace_instCoeHash___lam__0(uint64_t);
|
|||
lean_object* l_IO_FS_readFile(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instGetMTimeFilePath;
|
||||
static lean_object* l_Lake_instReprBuildTrace___closed__0;
|
||||
lean_object* l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_instBEqHash___closed__0;
|
||||
lean_object* l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3102_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_mixTraceArray___redArg___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Hash_instMixTrace___closed__0;
|
||||
static lean_object* l_Lake_MTime_instOfNat___closed__1;
|
||||
|
|
@ -203,6 +200,7 @@ LEAN_EXPORT lean_object* l_Lake_MTime_instRepr;
|
|||
LEAN_EXPORT uint8_t l_Lake_decEqHash____x40_Lake_Build_Trace___hyg_534_(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lake_Hash_load_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instGetMTimeTextFilePath___lam__0(lean_object*, lean_object*);
|
||||
lean_object* l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3048_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_getFileMTime(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_BuildTrace_compute(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*);
|
||||
|
|
@ -211,6 +209,7 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
|||
LEAN_EXPORT uint64_t l_Lake_Hash_nil;
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___Array_Array_repr___at___Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1370__spec__0_spec__0(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_Array_repr___at___Lake_reprBuildTrace____x40_Lake_Build_Trace___hyg_1370__spec__0___closed__6;
|
||||
lean_object* l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instComputeTraceListOfMonad___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instComputeHashArrayOfMonad(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instReprBuildTrace;
|
||||
|
|
@ -240,6 +239,7 @@ static lean_object* l_Lake_reprBuildTrace___redArg___closed__3____x40_Lake_Build
|
|||
lean_object* l_instMonadLiftT___lam__0___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_uint64_dec_eq(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lake_reprBuildTrace___redArg____x40_Lake_Build_Trace___hyg_1370_(lean_object*);
|
||||
lean_object* l_IO_FS_reprSystemTime____x40_Init_System_IO___hyg_3048____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_MTime_checkUpToDate___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_reprHash___redArg___closed__6____x40_Lake_Build_Trace___hyg_624_;
|
||||
LEAN_EXPORT lean_object* l_Lake_MTime_checkUpToDate___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2111,7 +2111,7 @@ static lean_object* _init_l_Lake_MTime_instBEq___closed__0() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_IO_FS_beqSystemTime____x40_Init_System_IO___hyg_3160____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_IO_FS_beqSystemTime____x40_Init_System_IO___hyg_3106____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2127,7 +2127,7 @@ static lean_object* _init_l_Lake_MTime_instRepr___closed__0() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_IO_FS_reprSystemTime____x40_Init_System_IO___hyg_3102____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_IO_FS_reprSystemTime____x40_Init_System_IO___hyg_3048____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2143,7 +2143,7 @@ static lean_object* _init_l_Lake_MTime_instOrd___closed__0() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -2175,7 +2175,7 @@ LEAN_EXPORT lean_object* l_Lake_MTime_instMin___lam__0(lean_object* x_1, lean_ob
|
|||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_1, x_2);
|
||||
x_3 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_1, x_2);
|
||||
if (x_3 == 2)
|
||||
{
|
||||
lean_inc_ref(x_2);
|
||||
|
|
@ -2210,7 +2210,7 @@ LEAN_EXPORT lean_object* l_Lake_MTime_instMax___lam__0(lean_object* x_1, lean_ob
|
|||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_1, x_2);
|
||||
x_3 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_1, x_2);
|
||||
if (x_3 == 2)
|
||||
{
|
||||
lean_inc_ref(x_1);
|
||||
|
|
@ -2472,7 +2472,7 @@ if (x_6 == 0)
|
|||
{
|
||||
lean_object* x_7; uint8_t x_8;
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
x_8 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_3, x_7);
|
||||
x_8 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_3, x_7);
|
||||
lean_dec(x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -2499,7 +2499,7 @@ x_14 = lean_ctor_get(x_5, 1);
|
|||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_5);
|
||||
x_15 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_3, x_13);
|
||||
x_15 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_3, x_13);
|
||||
lean_dec(x_13);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
|
|
@ -3067,7 +3067,7 @@ x_41 = lean_alloc_ctor(5, 2, 0);
|
|||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_6);
|
||||
x_42 = l_Lake_reprBuildTrace___redArg___closed__13____x40_Lake_Build_Trace___hyg_1370_;
|
||||
x_43 = l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3102_(x_5);
|
||||
x_43 = l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3048_(x_5);
|
||||
lean_dec_ref(x_5);
|
||||
x_44 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
|
|
@ -3529,7 +3529,7 @@ lean_dec(x_12);
|
|||
x_13 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_13);
|
||||
x_14 = lean_uint64_mix_hash(x_5, x_7);
|
||||
x_15 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_6, x_8);
|
||||
x_15 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_6, x_8);
|
||||
if (x_15 == 2)
|
||||
{
|
||||
lean_dec_ref(x_8);
|
||||
|
|
@ -3553,7 +3553,7 @@ else
|
|||
uint64_t x_16; uint8_t x_17;
|
||||
lean_dec(x_2);
|
||||
x_16 = lean_uint64_mix_hash(x_5, x_7);
|
||||
x_17 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_6, x_8);
|
||||
x_17 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_6, x_8);
|
||||
if (x_17 == 2)
|
||||
{
|
||||
lean_object* x_18;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Config/Artifact.c
generated
4
stage0/stdlib/Lake/Config/Artifact.c
generated
|
|
@ -43,7 +43,7 @@ static lean_object* l_Lake_reprArtifact___redArg___closed__13____x40_Lake_Config
|
|||
static lean_object* l_Lake_reprArtifact___redArg___closed__7____x40_Lake_Config_Artifact___hyg_59_;
|
||||
static lean_object* l_Lake_reprArtifact___redArg___closed__15____x40_Lake_Config_Artifact___hyg_59_;
|
||||
static lean_object* l_Lake_reprArtifact___redArg___closed__9____x40_Lake_Config_Artifact___hyg_59_;
|
||||
lean_object* l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3102_(lean_object*);
|
||||
lean_object* l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3048_(lean_object*);
|
||||
static lean_object* l_Lake_instInhabitedArtifact___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_Artifact_trace(lean_object*);
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
|
|
@ -393,7 +393,7 @@ x_35 = lean_alloc_ctor(5, 2, 0);
|
|||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_6);
|
||||
x_36 = l_Lake_reprArtifact___redArg___closed__16____x40_Lake_Config_Artifact___hyg_59_;
|
||||
x_37 = l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3102_(x_4);
|
||||
x_37 = l_IO_FS_reprSystemTime___redArg____x40_Init_System_IO___hyg_3048_(x_4);
|
||||
x_38 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_36);
|
||||
lean_ctor_set(x_38, 1, x_37);
|
||||
|
|
|
|||
108
stage0/stdlib/Lake/Config/ConfigDecl.c
generated
108
stage0/stdlib/Lake/Config/ConfigDecl.c
generated
|
|
@ -1134,6 +1134,10 @@ switch (lean_obj_tag(x_1)) {
|
|||
case 0:
|
||||
{
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
lean_inc(x_5);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -1157,64 +1161,82 @@ x_14 = lean_string_dec_eq(x_10, x_13);
|
|||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; uint8_t x_16;
|
||||
lean_dec_ref(x_3);
|
||||
x_15 = l___private_Lake_Config_ConfigDecl_0__Lake_ConfigType_match__1_splitter___redArg___closed__2;
|
||||
x_16 = lean_string_dec_eq(x_10, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17; uint8_t x_18;
|
||||
lean_dec_ref(x_4);
|
||||
x_17 = l___private_Lake_Config_ConfigDecl_0__Lake_ConfigType_match__1_splitter___redArg___closed__3;
|
||||
x_18 = lean_string_dec_eq(x_10, x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19; uint8_t x_20;
|
||||
lean_dec_ref(x_6);
|
||||
x_19 = l___private_Lake_Config_ConfigDecl_0__Lake_ConfigType_match__1_splitter___redArg___closed__4;
|
||||
x_20 = lean_string_dec_eq(x_10, x_19);
|
||||
lean_dec_ref(x_10);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21;
|
||||
lean_dec_ref(x_7);
|
||||
x_21 = lean_apply_7(x_8, x_1, lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0));
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22;
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_7);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_6);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_4);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_3);
|
||||
return x_3;
|
||||
x_22 = lean_apply_4(x_7, lean_box(0), lean_box(0), lean_box(0), lean_box(0));
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23;
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_1);
|
||||
x_23 = lean_apply_3(x_6, lean_box(0), lean_box(0), lean_box(0));
|
||||
return x_23;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_24;
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
x_24 = lean_apply_2(x_4, lean_box(0), lean_box(0));
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25;
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_25 = lean_apply_1(x_3, lean_box(0));
|
||||
return x_25;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_10);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
|
|
@ -1222,17 +1244,25 @@ return x_2;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22;
|
||||
lean_object* x_26;
|
||||
lean_dec(x_9);
|
||||
x_22 = lean_apply_7(x_8, x_1, lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0));
|
||||
return x_22;
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
x_26 = lean_apply_7(x_8, x_1, lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0));
|
||||
return x_26;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_23;
|
||||
x_23 = lean_apply_7(x_8, x_1, lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0));
|
||||
return x_23;
|
||||
lean_object* x_27;
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
x_27 = lean_apply_7(x_8, x_1, lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0), lean_box(0));
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1250,11 +1280,7 @@ _start:
|
|||
{
|
||||
lean_object* x_9;
|
||||
x_9 = l___private_Lake_Config_ConfigDecl_0__Lake_ConfigType_match__1_splitter___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, 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);
|
||||
return x_9;
|
||||
}
|
||||
|
|
@ -1264,11 +1290,7 @@ _start:
|
|||
{
|
||||
lean_object* x_10;
|
||||
x_10 = l___private_Lake_Config_ConfigDecl_0__Lake_ConfigType_match__1_splitter(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_10;
|
||||
}
|
||||
|
|
|
|||
10
stage0/stdlib/Lake/Config/Module.c
generated
10
stage0/stdlib/Lake/Config/Module.c
generated
|
|
@ -101,7 +101,6 @@ static uint8_t l_Lake_Module_bcFile_x3f___closed__0;
|
|||
static lean_object* l_Lake_LeanLib_findModuleBySrc_x3f___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_Package_findModule_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_nativeFacets___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
|
||||
lean_object* l_System_FilePath_components(lean_object*);
|
||||
static lean_object* l_Lake_LeanLib_findModuleBySrc_x3f___closed__2;
|
||||
|
|
@ -116,6 +115,7 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at___Lake_LeanLib_rootModules_spec
|
|||
LEAN_EXPORT lean_object* l_Lake_instBEqModule___lam__0___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_ModuleSet_empty___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_srcPath___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_platformIndependent___boxed(lean_object*);
|
||||
lean_object* l_List_foldl___at___Lake_modOfFilePath_spec__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at___Lake_Package_findModule_x3f_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3236,7 +3236,7 @@ lean_dec(x_32);
|
|||
lean_inc(x_33);
|
||||
lean_inc_ref(x_36);
|
||||
lean_ctor_set(x_30, 0, x_36);
|
||||
x_41 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_34, x_35);
|
||||
x_41 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_34, x_35);
|
||||
if (x_41 == 2)
|
||||
{
|
||||
lean_dec_ref(x_35);
|
||||
|
|
@ -3252,7 +3252,7 @@ goto block_40;
|
|||
block_40:
|
||||
{
|
||||
uint8_t x_38;
|
||||
x_38 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_37, x_36);
|
||||
x_38 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_37, x_36);
|
||||
lean_dec_ref(x_36);
|
||||
if (x_38 == 2)
|
||||
{
|
||||
|
|
@ -3298,7 +3298,7 @@ lean_inc_ref(x_46);
|
|||
x_47 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_43);
|
||||
x_52 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_44, x_45);
|
||||
x_52 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_44, x_45);
|
||||
if (x_52 == 2)
|
||||
{
|
||||
lean_dec_ref(x_45);
|
||||
|
|
@ -3314,7 +3314,7 @@ goto block_51;
|
|||
block_51:
|
||||
{
|
||||
uint8_t x_49;
|
||||
x_49 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3234_(x_48, x_46);
|
||||
x_49 = l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(x_48, x_46);
|
||||
lean_dec_ref(x_46);
|
||||
if (x_49 == 2)
|
||||
{
|
||||
|
|
|
|||
124
stage0/stdlib/Lean/BuiltinDocAttr.c
generated
124
stage0/stdlib/Lean/BuiltinDocAttr.c
generated
|
|
@ -190,54 +190,96 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_declareBuiltinDocStringAndRanges_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_4 = lean_st_ref_get(x_2, x_3);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
lean_inc_ref(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_declareBuiltinDocStringAndRanges_spec__0_spec__1___redArg___closed__0;
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc_ref(x_9);
|
||||
x_10 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
x_11 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_12 = 1;
|
||||
x_13 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_11, x_8, x_7, x_1, x_10, x_12);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_st_ref_get(x_2, x_6);
|
||||
x_9 = !lean_is_exclusive(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17;
|
||||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc_ref(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_ctor_set(x_4, 0, x_13);
|
||||
return x_4;
|
||||
x_12 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_declareBuiltinDocStringAndRanges_spec__0_spec__1___redArg___closed__0;
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc_ref(x_13);
|
||||
x_14 = lean_ctor_get(x_13, 2);
|
||||
lean_inc(x_14);
|
||||
lean_dec_ref(x_13);
|
||||
x_15 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_16 = 0;
|
||||
lean_inc(x_1);
|
||||
x_17 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_7, x_1, x_14, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
uint8_t x_18; lean_object* x_19;
|
||||
x_18 = 1;
|
||||
x_19 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_11, x_1, x_14, x_18);
|
||||
lean_dec(x_14);
|
||||
lean_ctor_set(x_8, 0, x_19);
|
||||
return x_8;
|
||||
}
|
||||
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_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_14 = lean_ctor_get(x_4, 0);
|
||||
x_15 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_4);
|
||||
x_16 = lean_ctor_get(x_14, 0);
|
||||
lean_inc_ref(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_declareBuiltinDocStringAndRanges_spec__0_spec__1___redArg___closed__0;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc_ref(x_18);
|
||||
x_19 = lean_ctor_get(x_18, 2);
|
||||
lean_inc(x_19);
|
||||
lean_dec_ref(x_18);
|
||||
x_20 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_21 = 1;
|
||||
x_22 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_20, x_17, x_16, x_1, x_19, x_21);
|
||||
lean_dec(x_19);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_15);
|
||||
return x_23;
|
||||
lean_dec_ref(x_11);
|
||||
lean_dec(x_1);
|
||||
lean_ctor_set(x_8, 0, x_17);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28;
|
||||
x_20 = lean_ctor_get(x_8, 0);
|
||||
x_21 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_8);
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc_ref(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_declareBuiltinDocStringAndRanges_spec__0_spec__1___redArg___closed__0;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc_ref(x_24);
|
||||
x_25 = lean_ctor_get(x_24, 2);
|
||||
lean_inc(x_25);
|
||||
lean_dec_ref(x_24);
|
||||
x_26 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_27 = 0;
|
||||
lean_inc(x_1);
|
||||
x_28 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_7, x_1, x_25, x_27);
|
||||
if (lean_obj_tag(x_28) == 0)
|
||||
{
|
||||
uint8_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = 1;
|
||||
x_30 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_22, x_1, x_25, x_29);
|
||||
lean_dec(x_25);
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_21);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32;
|
||||
lean_dec(x_25);
|
||||
lean_dec_ref(x_22);
|
||||
lean_dec(x_1);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_28);
|
||||
lean_ctor_set(x_32, 1, x_21);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
855
stage0/stdlib/Lean/Compiler/LCNF/ToMono.c
generated
855
stage0/stdlib/Lean/Compiler/LCNF/ToMono.c
generated
File diff suppressed because it is too large
Load diff
66
stage0/stdlib/Lean/DeclarationRange.c
generated
66
stage0/stdlib/Lean/DeclarationRange.c
generated
|
|
@ -20,7 +20,7 @@ static lean_object* l_Lean_addBuiltinDeclarationRanges___closed__0;
|
|||
LEAN_EXPORT lean_object* l_Lean_declRangeExt;
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___redArg___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn___closed__2____x40_Lean_DeclarationRange___hyg_46_;
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn___closed__0____x40_Lean_DeclarationRange___hyg_46_;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -38,6 +38,7 @@ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_5_(lea
|
|||
lean_object* l_Array_empty(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_builtinDeclRanges;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn___lam__0____x40_Lean_DeclarationRange___hyg_46_(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
uint8_t lean_is_no_confusion(lean_object*, lean_object*);
|
||||
|
|
@ -375,21 +376,52 @@ x_4 = l_Lean_addDeclarationRanges___redArg___lam__1(x_1, x_2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_5 = l_Lean_addDeclarationRanges___redArg___lam__0___closed__0;
|
||||
x_6 = lean_ctor_get(x_5, 0);
|
||||
lean_inc_ref(x_6);
|
||||
x_7 = lean_ctor_get(x_6, 2);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
x_8 = 1;
|
||||
x_9 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_1, x_5, x_4, x_2, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
x_10 = lean_apply_2(x_3, lean_box(0), x_9);
|
||||
return x_10;
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10;
|
||||
x_6 = l_Lean_addDeclarationRanges___redArg___lam__0___closed__0;
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
lean_inc_ref(x_7);
|
||||
x_8 = lean_ctor_get(x_7, 2);
|
||||
lean_inc(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
x_9 = 0;
|
||||
lean_inc(x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_10 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_1, x_6, x_2, x_3, x_8, x_9);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
uint8_t x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_11 = 1;
|
||||
x_12 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_1, x_6, x_5, x_3, x_8, x_11);
|
||||
lean_dec(x_8);
|
||||
x_13 = lean_apply_2(x_4, lean_box(0), x_12);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14;
|
||||
lean_dec(x_8);
|
||||
lean_dec_ref(x_5);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_14 = lean_apply_2(x_4, lean_box(0), x_10);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg___lam__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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_findDeclarationRangesCore_x3f___redArg___lam__0), 5, 4);
|
||||
lean_closure_set(x_7, 0, x_1);
|
||||
lean_closure_set(x_7, 1, x_6);
|
||||
lean_closure_set(x_7, 2, x_2);
|
||||
lean_closure_set(x_7, 3, x_3);
|
||||
x_8 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
|
|
@ -408,10 +440,14 @@ x_7 = lean_ctor_get(x_4, 1);
|
|||
lean_inc_ref(x_7);
|
||||
lean_dec_ref(x_4);
|
||||
x_8 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_findDeclarationRangesCore_x3f___redArg___lam__0), 4, 3);
|
||||
lean_inc(x_6);
|
||||
lean_inc_ref(x_5);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_findDeclarationRangesCore_x3f___redArg___lam__1), 6, 5);
|
||||
lean_closure_set(x_9, 0, x_8);
|
||||
lean_closure_set(x_9, 1, x_3);
|
||||
lean_closure_set(x_9, 2, x_7);
|
||||
lean_closure_set(x_9, 3, x_5);
|
||||
lean_closure_set(x_9, 4, x_6);
|
||||
x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_9);
|
||||
return x_10;
|
||||
}
|
||||
|
|
|
|||
124
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
124
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
|
|
@ -38434,54 +38434,96 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_4 = lean_st_ref_get(x_2, x_3);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
lean_inc_ref(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__4___redArg___closed__0;
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc_ref(x_9);
|
||||
x_10 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
x_11 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_12 = 1;
|
||||
x_13 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_11, x_8, x_7, x_1, x_10, x_12);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_st_ref_get(x_2, x_6);
|
||||
x_9 = !lean_is_exclusive(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17;
|
||||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc_ref(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_ctor_set(x_4, 0, x_13);
|
||||
return x_4;
|
||||
x_12 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__4___redArg___closed__0;
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc_ref(x_13);
|
||||
x_14 = lean_ctor_get(x_13, 2);
|
||||
lean_inc(x_14);
|
||||
lean_dec_ref(x_13);
|
||||
x_15 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_16 = 0;
|
||||
lean_inc(x_1);
|
||||
x_17 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_7, x_1, x_14, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
uint8_t x_18; lean_object* x_19;
|
||||
x_18 = 1;
|
||||
x_19 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_11, x_1, x_14, x_18);
|
||||
lean_dec(x_14);
|
||||
lean_ctor_set(x_8, 0, x_19);
|
||||
return x_8;
|
||||
}
|
||||
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_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_14 = lean_ctor_get(x_4, 0);
|
||||
x_15 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_4);
|
||||
x_16 = lean_ctor_get(x_14, 0);
|
||||
lean_inc_ref(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__4___redArg___closed__0;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc_ref(x_18);
|
||||
x_19 = lean_ctor_get(x_18, 2);
|
||||
lean_inc(x_19);
|
||||
lean_dec_ref(x_18);
|
||||
x_20 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_21 = 1;
|
||||
x_22 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_20, x_17, x_16, x_1, x_19, x_21);
|
||||
lean_dec(x_19);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_15);
|
||||
return x_23;
|
||||
lean_dec_ref(x_11);
|
||||
lean_dec(x_1);
|
||||
lean_ctor_set(x_8, 0, x_17);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28;
|
||||
x_20 = lean_ctor_get(x_8, 0);
|
||||
x_21 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_8);
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc_ref(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_Elab_Command_elabAddDeclDoc_spec__4___redArg___closed__0;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc_ref(x_24);
|
||||
x_25 = lean_ctor_get(x_24, 2);
|
||||
lean_inc(x_25);
|
||||
lean_dec_ref(x_24);
|
||||
x_26 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_27 = 0;
|
||||
lean_inc(x_1);
|
||||
x_28 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_7, x_1, x_25, x_27);
|
||||
if (lean_obj_tag(x_28) == 0)
|
||||
{
|
||||
uint8_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = 1;
|
||||
x_30 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_22, x_1, x_25, x_29);
|
||||
lean_dec(x_25);
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_21);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32;
|
||||
lean_dec(x_25);
|
||||
lean_dec_ref(x_22);
|
||||
lean_dec(x_1);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_28);
|
||||
lean_ctor_set(x_32, 1, x_21);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1581
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
1581
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
File diff suppressed because it is too large
Load diff
3803
stage0/stdlib/Lean/Elab/Inductive.c
generated
3803
stage0/stdlib/Lean/Elab/Inductive.c
generated
File diff suppressed because it is too large
Load diff
4064
stage0/stdlib/Lean/Elab/LetRec.c
generated
4064
stage0/stdlib/Lean/Elab/LetRec.c
generated
File diff suppressed because it is too large
Load diff
1357
stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c
generated
1357
stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c
generated
File diff suppressed because it is too large
Load diff
9444
stage0/stdlib/Lean/Elab/Structure.c
generated
9444
stage0/stdlib/Lean/Elab/Structure.c
generated
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
1486
stage0/stdlib/Lean/Elab/Tactic/Do/LetElim.c
generated
1486
stage0/stdlib/Lean/Elab/Tactic/Do/LetElim.c
generated
File diff suppressed because it is too large
Load diff
118
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Cases.c
generated
118
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Cases.c
generated
|
|
@ -50,6 +50,7 @@ lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMCases_spec__9_spec__9___redArg(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___Lean_Elab_Tactic_Do_ProofMode_elabMCases_spec__1___redArg___lam__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_initFn___closed__7____x40_Lean_Elab_Tactic_Do_ProofMode_Cases___hyg_6_;
|
||||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
|
|
@ -154,7 +155,6 @@ lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Tactic_Do_ProofMode_Cases_0__Lean_Elab_Tactic_Do_ProofMode_elabMCases___regBuiltin_Lean_Elab_Tactic_Do_ProofMode_elabMCases__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_MGoal_focusHypWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mCasesExists___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -220,6 +220,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mCasesCore___redArg___l
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMCases_spec__9_spec__9_spec__9_spec__9_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Elab_liftMacroM___at___Lean_Elab_Tactic_Do_ProofMode_elabMCases_spec__1_spec__7___redArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_initFn___closed__3____x40_Lean_Elab_Tactic_Do_ProofMode_Cases___hyg_6_;
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_synthIsAnd___closed__0;
|
||||
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -287,7 +288,6 @@ lean_object* lean_array_get_size(lean_object*);
|
|||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mCasesCore___redArg___lam__2___closed__0;
|
||||
static lean_object* l___private_Lean_Elab_Tactic_Do_ProofMode_Cases_0__Lean_Elab_Tactic_Do_ProofMode_elabMCases___regBuiltin_Lean_Elab_Tactic_Do_ProofMode_elabMCases__1___closed__0;
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_initFn___closed__9____x40_Lean_Elab_Tactic_Do_ProofMode_Cases___hyg_6_;
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mCasesCore___redArg___closed__15;
|
||||
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1338,7 +1338,7 @@ lean_inc_ref(x_6);
|
|||
lean_inc_ref(x_5);
|
||||
lean_inc_ref(x_3);
|
||||
lean_inc(x_1);
|
||||
x_12 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_1, x_3, x_5, x_6);
|
||||
x_12 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_1, x_3, x_5, x_6);
|
||||
x_13 = !lean_is_exclusive(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
|
|
@ -1395,7 +1395,7 @@ lean_inc_ref(x_3);
|
|||
x_34 = l_Lean_mkApp7(x_33, x_3, x_14, x_5, x_6, x_4, x_15, x_20);
|
||||
lean_inc_ref(x_3);
|
||||
lean_inc(x_1);
|
||||
x_35 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_35 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_36 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_36, 0, x_1);
|
||||
lean_ctor_set(x_36, 1, x_3);
|
||||
|
|
@ -1430,7 +1430,7 @@ lean_inc_ref(x_3);
|
|||
x_43 = l_Lean_mkApp7(x_42, x_3, x_14, x_5, x_6, x_4, x_15, x_20);
|
||||
lean_inc_ref(x_3);
|
||||
lean_inc(x_1);
|
||||
x_44 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_44 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_45 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_45, 0, x_1);
|
||||
lean_ctor_set(x_45, 1, x_3);
|
||||
|
|
@ -1483,7 +1483,7 @@ lean_inc_ref(x_3);
|
|||
x_60 = l_Lean_mkApp7(x_59, x_3, x_14, x_5, x_6, x_4, x_15, x_20);
|
||||
lean_inc_ref(x_3);
|
||||
lean_inc(x_1);
|
||||
x_61 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_61 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_62 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_62, 0, x_1);
|
||||
lean_ctor_set(x_62, 1, x_3);
|
||||
|
|
@ -1609,7 +1609,7 @@ lean_inc_ref(x_3);
|
|||
x_91 = l_Lean_mkApp7(x_90, x_3, x_70, x_5, x_6, x_4, x_71, x_76);
|
||||
lean_inc_ref(x_3);
|
||||
lean_inc(x_1);
|
||||
x_92 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_92 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_3, x_5, x_6);
|
||||
x_93 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_93, 0, x_1);
|
||||
lean_ctor_set(x_93, 1, x_3);
|
||||
|
|
@ -2204,7 +2204,7 @@ lean_inc(x_39);
|
|||
lean_inc_ref(x_9);
|
||||
x_59 = l_Lean_mkApp6(x_58, x_9, x_1, x_39, x_10, x_52, x_50);
|
||||
lean_inc(x_51);
|
||||
x_60 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_51, x_9, x_39, x_11);
|
||||
x_60 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_51, x_9, x_39, x_11);
|
||||
lean_ctor_set(x_33, 2, x_60);
|
||||
lean_ctor_set(x_36, 1, x_59);
|
||||
lean_ctor_set(x_36, 0, x_33);
|
||||
|
|
@ -2241,7 +2241,7 @@ lean_inc(x_39);
|
|||
lean_inc_ref(x_9);
|
||||
x_70 = l_Lean_mkApp6(x_69, x_9, x_1, x_39, x_10, x_64, x_61);
|
||||
lean_inc(x_62);
|
||||
x_71 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_62, x_9, x_39, x_11);
|
||||
x_71 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_62, x_9, x_39, x_11);
|
||||
x_72 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_72, 0, x_62);
|
||||
lean_ctor_set(x_72, 1, x_63);
|
||||
|
|
@ -2296,7 +2296,7 @@ lean_inc(x_39);
|
|||
lean_inc_ref(x_9);
|
||||
x_84 = l_Lean_mkApp6(x_83, x_9, x_1, x_39, x_10, x_77, x_73);
|
||||
lean_inc(x_75);
|
||||
x_85 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_75, x_9, x_39, x_11);
|
||||
x_85 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_75, x_9, x_39, x_11);
|
||||
if (lean_is_scalar(x_78)) {
|
||||
x_86 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -2476,7 +2476,7 @@ lean_inc(x_96);
|
|||
lean_inc_ref(x_9);
|
||||
x_116 = l_Lean_mkApp6(x_115, x_9, x_1, x_96, x_10, x_109, x_104);
|
||||
lean_inc(x_107);
|
||||
x_117 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_107, x_9, x_96, x_11);
|
||||
x_117 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_107, x_9, x_96, x_11);
|
||||
if (lean_is_scalar(x_110)) {
|
||||
x_118 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -2727,7 +2727,7 @@ lean_inc(x_138);
|
|||
lean_inc_ref(x_9);
|
||||
x_159 = l_Lean_mkApp6(x_158, x_9, x_1, x_138, x_10, x_152, x_147);
|
||||
lean_inc(x_150);
|
||||
x_160 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_150, x_9, x_138, x_11);
|
||||
x_160 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_150, x_9, x_138, x_11);
|
||||
if (lean_is_scalar(x_153)) {
|
||||
x_161 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -2994,7 +2994,7 @@ lean_inc(x_184);
|
|||
lean_inc_ref(x_9);
|
||||
x_206 = l_Lean_mkApp6(x_205, x_9, x_1, x_184, x_10, x_198, x_193);
|
||||
lean_inc(x_196);
|
||||
x_207 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_196, x_9, x_184, x_11);
|
||||
x_207 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_196, x_9, x_184, x_11);
|
||||
if (lean_is_scalar(x_199)) {
|
||||
x_208 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -3280,7 +3280,7 @@ lean_inc(x_233);
|
|||
lean_inc_ref(x_9);
|
||||
x_256 = l_Lean_mkApp6(x_255, x_9, x_1, x_233, x_10, x_247, x_242);
|
||||
lean_inc(x_245);
|
||||
x_257 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_245, x_9, x_233, x_11);
|
||||
x_257 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_245, x_9, x_233, x_11);
|
||||
if (lean_is_scalar(x_248)) {
|
||||
x_258 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -3993,7 +3993,7 @@ lean_inc_ref(x_5);
|
|||
lean_inc_ref(x_3);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_11 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_1, x_2, x_3, x_5);
|
||||
x_11 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_1, x_2, x_3, x_5);
|
||||
x_12 = !lean_is_exclusive(x_11);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
|
|
@ -4073,8 +4073,8 @@ x_37 = l_Lean_mkApp8(x_36, x_2, x_29, x_3, x_5, x_13, x_32, x_14, x_24);
|
|||
lean_inc(x_29);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_38 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_29, x_3);
|
||||
x_39 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_38, x_5);
|
||||
x_38 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_29, x_3);
|
||||
x_39 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_38, x_5);
|
||||
lean_ctor_set(x_23, 2, x_39);
|
||||
lean_ctor_set(x_27, 1, x_29);
|
||||
lean_ctor_set(x_27, 0, x_20);
|
||||
|
|
@ -4109,8 +4109,8 @@ x_46 = l_Lean_mkApp8(x_45, x_2, x_29, x_3, x_5, x_13, x_42, x_14, x_24);
|
|||
lean_inc(x_29);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_47 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_29, x_3);
|
||||
x_48 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_47, x_5);
|
||||
x_47 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_29, x_3);
|
||||
x_48 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_47, x_5);
|
||||
x_49 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_49, 0, x_40);
|
||||
lean_ctor_set(x_49, 1, x_41);
|
||||
|
|
@ -4163,8 +4163,8 @@ x_58 = l_Lean_mkApp8(x_57, x_2, x_50, x_3, x_5, x_13, x_53, x_14, x_24);
|
|||
lean_inc(x_50);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_59 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_50, x_3);
|
||||
x_60 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_59, x_5);
|
||||
x_59 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_50, x_3);
|
||||
x_60 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_59, x_5);
|
||||
if (lean_is_scalar(x_54)) {
|
||||
x_61 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -4234,8 +4234,8 @@ x_74 = l_Lean_mkApp8(x_73, x_2, x_65, x_3, x_5, x_13, x_69, x_14, x_24);
|
|||
lean_inc(x_65);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_75 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_65, x_3);
|
||||
x_76 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_75, x_5);
|
||||
x_75 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_65, x_3);
|
||||
x_76 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_75, x_5);
|
||||
if (lean_is_scalar(x_70)) {
|
||||
x_77 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -4367,8 +4367,8 @@ x_99 = l_Lean_mkApp8(x_98, x_2, x_90, x_3, x_5, x_13, x_94, x_14, x_85);
|
|||
lean_inc(x_90);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_100 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_90, x_3);
|
||||
x_101 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_100, x_5);
|
||||
x_100 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_90, x_3);
|
||||
x_101 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_100, x_5);
|
||||
if (lean_is_scalar(x_95)) {
|
||||
x_102 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -4517,8 +4517,8 @@ x_127 = l_Lean_mkApp8(x_126, x_2, x_118, x_3, x_5, x_13, x_122, x_14, x_112);
|
|||
lean_inc(x_118);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_128 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_118, x_3);
|
||||
x_129 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_128, x_5);
|
||||
x_128 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_118, x_3);
|
||||
x_129 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_128, x_5);
|
||||
if (lean_is_scalar(x_123)) {
|
||||
x_130 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -4734,8 +4734,8 @@ x_168 = l_Lean_mkApp8(x_167, x_2, x_158, x_3, x_5, x_143, x_162, x_144, x_152);
|
|||
lean_inc(x_158);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_169 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_158, x_3);
|
||||
x_170 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_169, x_5);
|
||||
x_169 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_158, x_3);
|
||||
x_170 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_169, x_5);
|
||||
if (lean_is_scalar(x_163)) {
|
||||
x_171 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -4938,8 +4938,8 @@ lean_inc_ref(x_2);
|
|||
x_33 = l_Lean_mkApp6(x_32, x_2, x_22, x_6, x_5, x_27, x_24);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_34 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_22, x_5);
|
||||
x_35 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_34, x_6);
|
||||
x_34 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_22, x_5);
|
||||
x_35 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_34, x_6);
|
||||
lean_ctor_set(x_19, 2, x_35);
|
||||
lean_ctor_set(x_18, 1, x_33);
|
||||
return x_14;
|
||||
|
|
@ -4969,8 +4969,8 @@ lean_inc_ref(x_2);
|
|||
x_43 = l_Lean_mkApp6(x_42, x_2, x_22, x_6, x_5, x_38, x_24);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_44 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_22, x_5);
|
||||
x_45 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_44, x_6);
|
||||
x_44 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_22, x_5);
|
||||
x_45 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_44, x_6);
|
||||
x_46 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_46, 0, x_36);
|
||||
lean_ctor_set(x_46, 1, x_37);
|
||||
|
|
@ -5018,8 +5018,8 @@ lean_inc_ref(x_2);
|
|||
x_56 = l_Lean_mkApp6(x_55, x_2, x_22, x_6, x_5, x_50, x_47);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_57 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_22, x_5);
|
||||
x_58 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_57, x_6);
|
||||
x_57 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_22, x_5);
|
||||
x_58 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_57, x_6);
|
||||
if (lean_is_scalar(x_51)) {
|
||||
x_59 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -5085,8 +5085,8 @@ lean_inc_ref(x_2);
|
|||
x_73 = l_Lean_mkApp6(x_72, x_2, x_62, x_6, x_5, x_67, x_63);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_74 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_62, x_5);
|
||||
x_75 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_74, x_6);
|
||||
x_74 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_62, x_5);
|
||||
x_75 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_74, x_6);
|
||||
if (lean_is_scalar(x_68)) {
|
||||
x_76 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -5173,8 +5173,8 @@ lean_inc_ref(x_2);
|
|||
x_95 = l_Lean_mkApp6(x_94, x_2, x_84, x_6, x_5, x_89, x_85);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_1);
|
||||
x_96 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_84, x_5);
|
||||
x_97 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_96, x_6);
|
||||
x_96 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_84, x_5);
|
||||
x_97 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_96, x_6);
|
||||
if (lean_is_scalar(x_90)) {
|
||||
x_98 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -6234,7 +6234,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_70);
|
||||
lean_inc_ref(x_2);
|
||||
x_78 = l_Lean_mkApp5(x_77, x_2, x_70, x_3, x_73, x_65);
|
||||
x_79 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_70, x_3);
|
||||
x_79 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_70, x_3);
|
||||
lean_ctor_set(x_64, 2, x_79);
|
||||
lean_ctor_set(x_68, 1, x_78);
|
||||
lean_ctor_set(x_68, 0, x_64);
|
||||
|
|
@ -6265,7 +6265,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_70);
|
||||
lean_inc_ref(x_2);
|
||||
x_86 = l_Lean_mkApp5(x_85, x_2, x_70, x_3, x_82, x_65);
|
||||
x_87 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_70, x_3);
|
||||
x_87 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_70, x_3);
|
||||
x_88 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_88, 0, x_80);
|
||||
lean_ctor_set(x_88, 1, x_81);
|
||||
|
|
@ -6313,7 +6313,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_89);
|
||||
lean_inc_ref(x_2);
|
||||
x_97 = l_Lean_mkApp5(x_96, x_2, x_89, x_3, x_92, x_65);
|
||||
x_98 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_89, x_3);
|
||||
x_98 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_89, x_3);
|
||||
if (lean_is_scalar(x_93)) {
|
||||
x_99 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -6378,7 +6378,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_103);
|
||||
lean_inc_ref(x_2);
|
||||
x_112 = l_Lean_mkApp5(x_111, x_2, x_103, x_3, x_107, x_65);
|
||||
x_113 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_103, x_3);
|
||||
x_113 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_103, x_3);
|
||||
if (lean_is_scalar(x_108)) {
|
||||
x_114 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -6501,7 +6501,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_127);
|
||||
lean_inc_ref(x_2);
|
||||
x_136 = l_Lean_mkApp5(x_135, x_2, x_127, x_3, x_131, x_122);
|
||||
x_137 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_127, x_3);
|
||||
x_137 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_127, x_3);
|
||||
if (lean_is_scalar(x_132)) {
|
||||
x_138 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -6640,7 +6640,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_154);
|
||||
lean_inc_ref(x_2);
|
||||
x_164 = l_Lean_mkApp5(x_163, x_2, x_154, x_3, x_158, x_148);
|
||||
x_165 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_154, x_3);
|
||||
x_165 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_154, x_3);
|
||||
if (lean_is_scalar(x_159)) {
|
||||
x_166 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -6935,7 +6935,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_222);
|
||||
lean_inc_ref(x_2);
|
||||
x_231 = l_Lean_mkApp8(x_230, x_2, x_222, x_206, x_207, x_3, x_226, x_208, x_223);
|
||||
x_232 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_222, x_3);
|
||||
x_232 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_222, x_3);
|
||||
lean_ctor_set(x_217, 2, x_232);
|
||||
lean_ctor_set(x_216, 1, x_231);
|
||||
lean_ctor_set(x_215, 1, x_216);
|
||||
|
|
@ -6963,7 +6963,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_222);
|
||||
lean_inc_ref(x_2);
|
||||
x_239 = l_Lean_mkApp8(x_238, x_2, x_222, x_206, x_207, x_3, x_235, x_208, x_223);
|
||||
x_240 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_222, x_3);
|
||||
x_240 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_222, x_3);
|
||||
x_241 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_241, 0, x_233);
|
||||
lean_ctor_set(x_241, 1, x_234);
|
||||
|
|
@ -7010,7 +7010,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_242);
|
||||
lean_inc_ref(x_2);
|
||||
x_251 = l_Lean_mkApp8(x_250, x_2, x_242, x_206, x_207, x_3, x_246, x_208, x_243);
|
||||
x_252 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_242, x_3);
|
||||
x_252 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_242, x_3);
|
||||
if (lean_is_scalar(x_247)) {
|
||||
x_253 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -7073,7 +7073,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_256);
|
||||
lean_inc_ref(x_2);
|
||||
x_266 = l_Lean_mkApp8(x_265, x_2, x_256, x_206, x_207, x_3, x_261, x_208, x_257);
|
||||
x_267 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_256, x_3);
|
||||
x_267 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_256, x_3);
|
||||
if (lean_is_scalar(x_262)) {
|
||||
x_268 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -7152,7 +7152,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_273);
|
||||
lean_inc_ref(x_2);
|
||||
x_284 = l_Lean_mkApp8(x_283, x_2, x_273, x_206, x_207, x_3, x_279, x_208, x_275);
|
||||
x_285 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_273, x_3);
|
||||
x_285 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_273, x_3);
|
||||
if (lean_is_scalar(x_280)) {
|
||||
x_286 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -7292,7 +7292,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_302);
|
||||
lean_inc_ref(x_2);
|
||||
x_314 = l_Lean_mkApp8(x_313, x_2, x_302, x_206, x_207, x_3, x_308, x_208, x_304);
|
||||
x_315 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_302, x_3);
|
||||
x_315 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_302, x_3);
|
||||
if (lean_is_scalar(x_309)) {
|
||||
x_316 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -7604,7 +7604,7 @@ lean_inc_ref(x_3);
|
|||
lean_inc(x_366);
|
||||
lean_inc_ref(x_2);
|
||||
x_378 = l_Lean_mkApp8(x_377, x_2, x_366, x_353, x_354, x_3, x_372, x_355, x_368);
|
||||
x_379 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_366, x_3);
|
||||
x_379 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_366, x_3);
|
||||
if (lean_is_scalar(x_373)) {
|
||||
x_380 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -7921,7 +7921,7 @@ lean_inc_ref(x_421);
|
|||
x_449 = l_Lean_mkApp3(x_448, x_421, x_422, x_429);
|
||||
lean_inc(x_442);
|
||||
lean_inc_ref(x_421);
|
||||
x_450 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_421, x_442, x_449);
|
||||
x_450 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_421, x_442, x_449);
|
||||
lean_inc_ref(x_445);
|
||||
lean_ctor_set(x_427, 2, x_450);
|
||||
x_451 = l_Lean_Elab_Tactic_Do_ProofMode_mCasesCore___redArg___closed__17;
|
||||
|
|
@ -7956,7 +7956,7 @@ lean_inc_ref(x_421);
|
|||
x_459 = l_Lean_mkApp3(x_458, x_421, x_422, x_429);
|
||||
lean_inc(x_442);
|
||||
lean_inc_ref(x_421);
|
||||
x_460 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_421, x_442, x_459);
|
||||
x_460 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_421, x_442, x_459);
|
||||
lean_inc_ref(x_456);
|
||||
x_461 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_461, 0, x_454);
|
||||
|
|
@ -8008,7 +8008,7 @@ lean_inc_ref(x_421);
|
|||
x_472 = l_Lean_mkApp3(x_471, x_421, x_422, x_429);
|
||||
lean_inc(x_465);
|
||||
lean_inc_ref(x_421);
|
||||
x_473 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_421, x_465, x_472);
|
||||
x_473 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_421, x_465, x_472);
|
||||
lean_inc_ref(x_468);
|
||||
if (lean_is_scalar(x_469)) {
|
||||
x_474 = lean_alloc_ctor(0, 4, 0);
|
||||
|
|
@ -8077,7 +8077,7 @@ lean_inc_ref(x_421);
|
|||
x_489 = l_Lean_mkApp3(x_488, x_421, x_422, x_429);
|
||||
lean_inc(x_481);
|
||||
lean_inc_ref(x_421);
|
||||
x_490 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_421, x_481, x_489);
|
||||
x_490 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_421, x_481, x_489);
|
||||
lean_inc_ref(x_485);
|
||||
if (lean_is_scalar(x_486)) {
|
||||
x_491 = lean_alloc_ctor(0, 4, 0);
|
||||
|
|
@ -8204,7 +8204,7 @@ lean_inc_ref(x_421);
|
|||
x_514 = l_Lean_mkApp3(x_513, x_421, x_422, x_429);
|
||||
lean_inc(x_506);
|
||||
lean_inc_ref(x_421);
|
||||
x_515 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_421, x_506, x_514);
|
||||
x_515 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_421, x_506, x_514);
|
||||
lean_inc_ref(x_510);
|
||||
if (lean_is_scalar(x_511)) {
|
||||
x_516 = lean_alloc_ctor(0, 4, 0);
|
||||
|
|
@ -8482,7 +8482,7 @@ lean_inc_ref(x_541);
|
|||
x_570 = l_Lean_mkApp3(x_569, x_541, x_542, x_549);
|
||||
lean_inc(x_561);
|
||||
lean_inc_ref(x_541);
|
||||
x_571 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_541, x_561, x_570);
|
||||
x_571 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_541, x_561, x_570);
|
||||
lean_inc_ref(x_565);
|
||||
if (lean_is_scalar(x_566)) {
|
||||
x_572 = lean_alloc_ctor(0, 4, 0);
|
||||
|
|
@ -8811,7 +8811,7 @@ lean_inc_ref(x_603);
|
|||
x_633 = l_Lean_mkApp3(x_632, x_603, x_604, x_611);
|
||||
lean_inc(x_624);
|
||||
lean_inc_ref(x_603);
|
||||
x_634 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_603, x_624, x_633);
|
||||
x_634 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_603, x_624, x_633);
|
||||
lean_inc_ref(x_628);
|
||||
if (lean_is_scalar(x_629)) {
|
||||
x_635 = lean_alloc_ctor(0, 4, 0);
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Focus.c
generated
24
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Focus.c
generated
|
|
@ -25,6 +25,7 @@ static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_focusHyp___closed__0;
|
|||
lean_object* l_Lean_mkApp8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_instInhabitedFocusResult;
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_parseHyp_x3f(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_focusHyp___closed__2;
|
||||
|
|
@ -49,7 +50,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_FocusResult_restGoal___
|
|||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_focusHyp___closed__11;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_MGoal_focusHypWithInfo___closed__4;
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_MGoal_focusHypWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_focusHyp___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_MGoal_focusHyp___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -65,6 +65,7 @@ lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_FocusResult_refl(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_parseEmptyHyp_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at___Lean_Elab_Tactic_Do_ProofMode_MGoal_focusHypWithInfo_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_focusHyp___closed__6;
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_MGoal_focusHypWithInfo___closed__2;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
|
|
@ -75,7 +76,6 @@ lean_object* l_Lean_Name_mkStr1(lean_object*);
|
|||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_FocusResult_rewriteHyps___closed__0;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_focusHyp___closed__13;
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_FocusResult_rewriteHyps___closed__1;
|
||||
lean_object* lean_expr_dbg_to_string(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_instInhabitedFocusResult___closed__2;
|
||||
|
|
@ -374,7 +374,7 @@ lean_inc(x_24);
|
|||
lean_inc_ref(x_31);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
x_33 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_21, x_22, x_31, x_24);
|
||||
x_33 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_21, x_22, x_31, x_24);
|
||||
x_34 = !lean_is_exclusive(x_33);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
|
|
@ -430,7 +430,7 @@ lean_inc(x_24);
|
|||
lean_inc_ref(x_49);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
x_51 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_21, x_22, x_49, x_24);
|
||||
x_51 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_21, x_22, x_49, x_24);
|
||||
x_52 = lean_ctor_get(x_51, 0);
|
||||
lean_inc(x_52);
|
||||
x_53 = lean_ctor_get(x_51, 1);
|
||||
|
|
@ -490,7 +490,7 @@ lean_inc(x_24);
|
|||
lean_inc_ref(x_63);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
x_66 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_21, x_22, x_63, x_24);
|
||||
x_66 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_21, x_22, x_63, x_24);
|
||||
x_67 = lean_ctor_get(x_66, 0);
|
||||
lean_inc(x_67);
|
||||
x_68 = lean_ctor_get(x_66, 1);
|
||||
|
|
@ -559,7 +559,7 @@ lean_inc_ref(x_81);
|
|||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
x_83 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_21, x_22, x_23, x_81);
|
||||
x_83 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_21, x_22, x_23, x_81);
|
||||
x_84 = !lean_is_exclusive(x_83);
|
||||
if (x_84 == 0)
|
||||
{
|
||||
|
|
@ -615,7 +615,7 @@ lean_inc_ref(x_99);
|
|||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
x_101 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_21, x_22, x_23, x_99);
|
||||
x_101 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_21, x_22, x_23, x_99);
|
||||
x_102 = lean_ctor_get(x_101, 0);
|
||||
lean_inc(x_102);
|
||||
x_103 = lean_ctor_get(x_101, 1);
|
||||
|
|
@ -675,7 +675,7 @@ lean_inc_ref(x_113);
|
|||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
x_116 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_21, x_22, x_23, x_113);
|
||||
x_116 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_21, x_22, x_23, x_113);
|
||||
x_117 = lean_ctor_get(x_116, 0);
|
||||
lean_inc(x_117);
|
||||
x_118 = lean_ctor_get(x_116, 1);
|
||||
|
|
@ -943,7 +943,7 @@ x_8 = l_Lean_Expr_const___override(x_5, x_7);
|
|||
lean_inc_ref(x_4);
|
||||
lean_inc_ref(x_3);
|
||||
lean_inc_ref(x_2);
|
||||
x_9 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_1, x_2, x_3, x_4);
|
||||
x_9 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_1, x_2, x_3, x_4);
|
||||
x_10 = l_Lean_mkAppB(x_8, x_2, x_9);
|
||||
x_11 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_11, 0, x_4);
|
||||
|
|
@ -1016,7 +1016,7 @@ lean_inc_ref(x_8);
|
|||
lean_dec_ref(x_1);
|
||||
lean_inc_ref(x_5);
|
||||
lean_inc(x_4);
|
||||
x_9 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_4, x_5, x_8, x_7);
|
||||
x_9 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_4, x_5, x_8, x_7);
|
||||
lean_ctor_set(x_2, 2, x_9);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -1037,7 +1037,7 @@ lean_inc_ref(x_14);
|
|||
lean_dec_ref(x_1);
|
||||
lean_inc_ref(x_11);
|
||||
lean_inc(x_10);
|
||||
x_15 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_10, x_11, x_14, x_13);
|
||||
x_15 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_10, x_11, x_14, x_13);
|
||||
x_16 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_16, 0, x_10);
|
||||
lean_ctor_set(x_16, 1, x_11);
|
||||
|
|
@ -1097,7 +1097,7 @@ lean_ctor_set(x_13, 0, x_4);
|
|||
lean_ctor_set(x_13, 1, x_12);
|
||||
x_14 = l_Lean_Expr_const___override(x_11, x_13);
|
||||
lean_inc_ref(x_5);
|
||||
x_15 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_4, x_5, x_9, x_8);
|
||||
x_15 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_4, x_5, x_9, x_8);
|
||||
x_16 = l_Lean_mkApp6(x_14, x_5, x_6, x_15, x_7, x_10, x_3);
|
||||
return x_16;
|
||||
}
|
||||
|
|
|
|||
2392
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Frame.c
generated
2392
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Frame.c
generated
File diff suppressed because it is too large
Load diff
16
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Have.c
generated
16
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Have.c
generated
|
|
@ -32,6 +32,7 @@ lean_object* l_Lean_mkApp8(lean_object*, lean_object*, lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMDup_spec__4_spec__4_spec__4_spec__6(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMDup_spec__4_spec__4___redArg(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
|
|
@ -77,7 +78,6 @@ static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___Lean_Elab_Tactic_D
|
|||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, 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_Do_ProofMode_elabMHave___closed__2;
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMDup_spec__4_spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_elabMHave___closed__0;
|
||||
|
|
@ -117,6 +117,7 @@ static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_elabMDup___lam__0___closed__
|
|||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
static size_t l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMDup_spec__4_spec__4_spec__4___redArg___closed__1;
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_elabMHave___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___Lean_Elab_Tactic_Do_ProofMode_elabMDup_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkCollisionNode___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -144,7 +145,6 @@ uint64_t l_Lean_hashMVarId____x40_Lean_Expr___hyg_1869_(lean_object*);
|
|||
lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_elabMHave(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_elabMHave___lam__0(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*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
|
|
@ -1463,7 +1463,7 @@ x_42 = l_Lean_Elab_Tactic_Do_ProofMode_Hyp_toExpr(x_23);
|
|||
lean_inc_ref(x_34);
|
||||
lean_inc_ref(x_33);
|
||||
lean_inc(x_32);
|
||||
x_43 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_32, x_33, x_34, x_42);
|
||||
x_43 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_32, x_33, x_34, x_42);
|
||||
lean_inc_ref(x_35);
|
||||
lean_inc_ref(x_33);
|
||||
lean_inc(x_32);
|
||||
|
|
@ -1581,7 +1581,7 @@ x_75 = l_Lean_Elab_Tactic_Do_ProofMode_Hyp_toExpr(x_23);
|
|||
lean_inc_ref(x_34);
|
||||
lean_inc_ref(x_33);
|
||||
lean_inc(x_32);
|
||||
x_76 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_32, x_33, x_34, x_75);
|
||||
x_76 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_32, x_33, x_34, x_75);
|
||||
lean_inc_ref(x_35);
|
||||
lean_inc_ref(x_33);
|
||||
lean_inc(x_32);
|
||||
|
|
@ -1743,7 +1743,7 @@ x_115 = l_Lean_Elab_Tactic_Do_ProofMode_Hyp_toExpr(x_23);
|
|||
lean_inc_ref(x_108);
|
||||
lean_inc_ref(x_107);
|
||||
lean_inc(x_106);
|
||||
x_116 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_106, x_107, x_108, x_115);
|
||||
x_116 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_106, x_107, x_108, x_115);
|
||||
lean_inc_ref(x_109);
|
||||
lean_inc_ref(x_107);
|
||||
lean_inc(x_106);
|
||||
|
|
@ -1928,7 +1928,7 @@ x_158 = l_Lean_Elab_Tactic_Do_ProofMode_Hyp_toExpr(x_154);
|
|||
lean_inc_ref(x_149);
|
||||
lean_inc_ref(x_148);
|
||||
lean_inc(x_147);
|
||||
x_159 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_147, x_148, x_149, x_158);
|
||||
x_159 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_147, x_148, x_149, x_158);
|
||||
lean_inc_ref(x_150);
|
||||
lean_inc_ref(x_148);
|
||||
lean_inc(x_147);
|
||||
|
|
@ -2532,7 +2532,7 @@ lean_inc_ref(x_31);
|
|||
lean_inc_ref(x_5);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc(x_4);
|
||||
x_32 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_4, x_2, x_5, x_31);
|
||||
x_32 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_4, x_2, x_5, x_31);
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
|
|
@ -3669,7 +3669,7 @@ lean_inc_ref(x_56);
|
|||
lean_inc_ref(x_31);
|
||||
lean_inc_ref(x_5);
|
||||
lean_inc(x_3);
|
||||
x_64 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_3, x_5, x_31, x_56);
|
||||
x_64 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_3, x_5, x_31, x_56);
|
||||
x_65 = lean_ctor_get(x_64, 0);
|
||||
lean_inc(x_65);
|
||||
x_66 = lean_ctor_get(x_64, 1);
|
||||
|
|
|
|||
4550
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Intro.c
generated
4550
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Intro.c
generated
File diff suppressed because it is too large
Load diff
739
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/MGoal.c
generated
739
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/MGoal.c
generated
File diff suppressed because it is too large
Load diff
12
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Pure.c
generated
12
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Pure.c
generated
|
|
@ -91,7 +91,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___Lean_Elab_Tactic_Do_P
|
|||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_elabMPure___closed__0;
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mPureCore___redArg___closed__5;
|
||||
lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___Lean_Elab_Tactic_Do_ProofMode_elabMPure_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* l_Lean_Elab_Tactic_Do_ProofMode_MGoal_focusHypWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_tacticMpure__intro___closed__1;
|
||||
|
|
@ -126,6 +125,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode___aux__Lean__Elab__Tactic__Do__ProofMode__Pure______macroRules__Lean__Elab__Tactic__Do__ProofMode__tacticMpure__intro__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___Lean_Elab_Tactic_Do_ProofMode_mPureCore_spec__0(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___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMPure_spec__4_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode___aux__Lean__Elab__Tactic__Do__ProofMode__Pure______macroRules__Lean__Elab__Tactic__Do__ProofMode__tacticMpure__intro__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at___Lean_Elab_Tactic_Do_ProofMode_elabMPure_spec__4_spec__4_spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -369,7 +369,7 @@ lean_inc_ref(x_10);
|
|||
lean_inc_ref(x_42);
|
||||
lean_inc_ref(x_9);
|
||||
x_48 = l_Lean_mkApp7(x_47, x_9, x_42, x_10, x_43, x_1, x_11, x_41);
|
||||
x_49 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_12, x_9, x_42, x_10);
|
||||
x_49 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_12, x_9, x_42, x_10);
|
||||
lean_ctor_set(x_32, 2, x_49);
|
||||
lean_ctor_set(x_26, 1, x_48);
|
||||
lean_ctor_set(x_38, 0, x_25);
|
||||
|
|
@ -397,7 +397,7 @@ lean_inc_ref(x_10);
|
|||
lean_inc_ref(x_53);
|
||||
lean_inc_ref(x_9);
|
||||
x_59 = l_Lean_mkApp7(x_58, x_9, x_53, x_10, x_54, x_1, x_11, x_50);
|
||||
x_60 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_12, x_9, x_53, x_10);
|
||||
x_60 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_12, x_9, x_53, x_10);
|
||||
x_61 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_61, 0, x_51);
|
||||
lean_ctor_set(x_61, 1, x_52);
|
||||
|
|
@ -444,7 +444,7 @@ lean_inc_ref(x_10);
|
|||
lean_inc_ref(x_66);
|
||||
lean_inc_ref(x_9);
|
||||
x_73 = l_Lean_mkApp7(x_72, x_9, x_66, x_10, x_67, x_1, x_11, x_62);
|
||||
x_74 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_12, x_9, x_66, x_10);
|
||||
x_74 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_12, x_9, x_66, x_10);
|
||||
if (lean_is_scalar(x_68)) {
|
||||
x_75 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -559,7 +559,7 @@ lean_inc_ref(x_10);
|
|||
lean_inc_ref(x_93);
|
||||
lean_inc_ref(x_9);
|
||||
x_100 = l_Lean_mkApp7(x_99, x_9, x_93, x_10, x_94, x_1, x_11, x_88);
|
||||
x_101 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_12, x_9, x_93, x_10);
|
||||
x_101 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_12, x_9, x_93, x_10);
|
||||
if (lean_is_scalar(x_95)) {
|
||||
x_102 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
@ -691,7 +691,7 @@ lean_inc_ref(x_10);
|
|||
lean_inc_ref(x_123);
|
||||
lean_inc_ref(x_9);
|
||||
x_130 = l_Lean_mkApp7(x_129, x_9, x_123, x_10, x_124, x_1, x_11, x_118);
|
||||
x_131 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd_x21(x_12, x_9, x_123, x_10);
|
||||
x_131 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd_x21(x_12, x_9, x_123, x_10);
|
||||
if (lean_is_scalar(x_125)) {
|
||||
x_132 = lean_alloc_ctor(0, 4, 0);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mRevertForallN___redArg___la
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mRevertForallN___redArg___lam__20(lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___Lean_Meta_withLocalDeclsD___at___Lean_Meta_withLocalDeclsDND___at___Lean_Elab_Tactic_Do_ProofMode_mRevertForallN___at___Lean_Elab_Tactic_Do_ProofMode_elabMRevert_spec__1_spec__4_spec__5_spec__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* l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mRevertForallN___redArg___lam__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_EXPORT lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mRevertForallN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
|
|
@ -315,7 +316,6 @@ lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, l
|
|||
static lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mRevertForallN___redArg___lam__22___closed__14;
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_instAddMessageContextMetaM;
|
||||
extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId;
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
|
|
@ -879,7 +879,7 @@ lean_inc_ref(x_1);
|
|||
x_17 = l_Lean_Elab_Tactic_Do_ProofMode_pushForallContextIntoHyps(x_1, x_16);
|
||||
lean_inc_ref(x_1);
|
||||
lean_inc(x_2);
|
||||
x_18 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_2, x_1, x_17, x_3);
|
||||
x_18 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_2, x_1, x_17, x_3);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
|
|
@ -5973,7 +5973,7 @@ lean_inc_ref(x_45);
|
|||
x_49 = l_Lean_Elab_Tactic_Do_ProofMode_pushForallContextIntoHyps(x_45, x_47);
|
||||
lean_inc_ref(x_45);
|
||||
lean_inc(x_5);
|
||||
x_50 = l_Lean_Elab_Tactic_Do_ProofMode_mkAnd(x_5, x_45, x_49, x_37);
|
||||
x_50 = l_Lean_Elab_Tactic_Do_ProofMode_SPred_mkAnd(x_5, x_45, x_49, x_37);
|
||||
x_51 = lean_ctor_get(x_50, 0);
|
||||
lean_inc(x_51);
|
||||
x_52 = lean_ctor_get(x_50, 1);
|
||||
|
|
|
|||
1461
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Specialize.c
generated
1461
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Specialize.c
generated
File diff suppressed because it is too large
Load diff
5799
stage0/stdlib/Lean/Elab/Tactic/Do/Spec.c
generated
5799
stage0/stdlib/Lean/Elab/Tactic/Do/Spec.c
generated
File diff suppressed because it is too large
Load diff
68054
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
68054
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
File diff suppressed because it is too large
Load diff
10895
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/Basic.c
generated
Normal file
10895
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/Basic.c
generated
Normal file
File diff suppressed because it is too large
Load diff
4706
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/Split.c
generated
Normal file
4706
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/Split.c
generated
Normal file
File diff suppressed because it is too large
Load diff
1289
stage0/stdlib/Lean/Elab/Term.c
generated
1289
stage0/stdlib/Lean/Elab/Term.c
generated
File diff suppressed because it is too large
Load diff
18
stage0/stdlib/Lean/Meta/Match/Match.c
generated
18
stage0/stdlib/Lean/Meta/Match/Match.c
generated
|
|
@ -205,6 +205,7 @@ static lean_object* l_Lean_Meta_Match_addMatcherInfo___at___Lean_Meta_Match_mkMa
|
|||
lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_____private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor_spec__10(lean_object*, uint8_t, 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_Match_mkMatcher(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_compileDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isBitVecValueTransition___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -501,7 +502,6 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Array_mapFinIdxM_map___at
|
|||
static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_mkIncorrectNumberOfPatternsMsg___redArg___closed__8;
|
||||
static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn___closed__15____x40_Lean_Meta_Match_Match___hyg_14781_;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007____boxed(lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn___closed__6____x40_Lean_Meta_Match_Match___hyg_14781_;
|
||||
static lean_object* l_Lean_Meta_Match_logIncorrectNumberOfPatternsAt___redArg___closed__2;
|
||||
|
|
@ -831,7 +831,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Meta_Match_mkMatcher_spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldrM___at___Lean_LocalContext_foldrM___at___Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___at_____private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns_spec__1_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint64_t l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition___lam__0(lean_object*);
|
||||
static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0_spec__0_spec__0_spec__0___closed__1;
|
||||
static lean_object* l_Lean_Meta_Match_mkMatcher___lam__1___closed__6;
|
||||
|
|
@ -929,6 +928,7 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___Array_mapFinIdxM_map___at
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___Lean_Meta_Match_mkMatcher_spec__11___boxed(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_Match_getMkMatcherInputInContext___closed__3;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern(lean_object*);
|
||||
LEAN_EXPORT uint64_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_matcherExt;
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f___lam__0___closed__3;
|
||||
|
|
@ -34723,7 +34723,7 @@ x_1 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instBEqMatcherKey___c
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint64_t l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(lean_object* x_1) {
|
||||
LEAN_EXPORT uint64_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; uint8_t x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8;
|
||||
|
|
@ -34768,11 +34768,11 @@ return x_13;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007____boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint64_t x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_1);
|
||||
x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
x_3 = lean_box_uint64(x_2);
|
||||
return x_3;
|
||||
|
|
@ -34782,7 +34782,7 @@ static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_i
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007____boxed), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007____boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -35019,7 +35019,7 @@ else
|
|||
lean_object* x_8; lean_object* x_9; uint64_t x_10; size_t x_11; size_t x_12; lean_object* x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_8 = lean_array_fget(x_2, x_4);
|
||||
x_9 = lean_array_fget(x_3, x_4);
|
||||
x_10 = l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_8);
|
||||
x_10 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_8);
|
||||
x_11 = lean_uint64_to_usize(x_10);
|
||||
x_12 = 5;
|
||||
x_13 = lean_unsigned_to_nat(1u);
|
||||
|
|
@ -35321,7 +35321,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Meta_Match_
|
|||
_start:
|
||||
{
|
||||
uint64_t x_4; size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_4 = l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_2);
|
||||
x_4 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_2);
|
||||
x_5 = lean_uint64_to_usize(x_4);
|
||||
x_6 = 1;
|
||||
x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Meta_Match_mkMatcherAuxDefinition_spec__1_spec__1___redArg(x_1, x_5, x_6, x_2, x_3);
|
||||
|
|
@ -35922,7 +35922,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_Meta_Matc
|
|||
_start:
|
||||
{
|
||||
uint64_t x_3; size_t x_4; lean_object* x_5;
|
||||
x_3 = l_Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_2);
|
||||
x_3 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hashMatcherKey____x40_Lean_Meta_Match_Match___hyg_11007_(x_2);
|
||||
x_4 = lean_uint64_to_usize(x_3);
|
||||
x_5 = l_Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_Meta_Match_mkMatcherAuxDefinition_spec__8_spec__8___redArg(x_1, x_4, x_2);
|
||||
return x_5;
|
||||
|
|
|
|||
874
stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c
generated
874
stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c
generated
File diff suppressed because it is too large
Load diff
15581
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
15581
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
File diff suppressed because it is too large
Load diff
5
stage0/stdlib/Lean/Server/FileWorker.c
generated
5
stage0/stdlib/Lean/Server/FileWorker.c
generated
|
|
@ -362,7 +362,6 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___IO_FS_Stream_readReq
|
|||
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___Lean_Server_FileWorker_handleRpcConnect_spec__0___redArg(uint64_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_erase___at___Lean_Server_FileWorker_mainLoop_spec__0(lean_object*, uint64_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_WorkerContext_resolveServerRequestResponse(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_wait_any(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___IO_FS_Stream_readRequestAs___at___IO_FS_Stream_readLspRequestAs___at___Lean_Server_FileWorker_initAndRunWorker_spec__0_spec__0_spec__6_spec__6_spec__6(size_t, size_t, lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at___IO_FS_Stream_readLspRequestAs___at___Lean_Server_FileWorker_initAndRunWorker_spec__0_spec__0___closed__45;
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_____private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_sendFileProgress_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -371,6 +370,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Server_FileWor
|
|||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___Lean_Server_FileWorker_runRefreshTasks_sleepWithCancellation_spec__0(lean_object*, uint32_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_setupImports___lam__0___closed__3;
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at___IO_FS_Stream_readLspRequestAs___at___Lean_Server_FileWorker_initAndRunWorker_spec__0_spec__0___closed__23;
|
||||
lean_object* l_IO_waitAny___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at___Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_630____at___Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1885____at___Lean_Server_FileWorker_handlePreRequestSpecialCases_x3f_spec__8_spec__10_spec__10_spec__10(size_t, size_t, lean_object*);
|
||||
lean_object* l_IO_CancelToken_set(lean_object*, lean_object*);
|
||||
|
|
@ -8019,8 +8019,7 @@ x_11 = 0;
|
|||
lean_inc_ref(x_7);
|
||||
x_12 = l_Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_handleTasks_spec__0(x_10, x_11, x_7);
|
||||
x_13 = lean_array_to_list(x_12);
|
||||
x_14 = lean_io_wait_any(x_13, x_9);
|
||||
lean_dec(x_13);
|
||||
x_14 = l_IO_waitAny___redArg(x_13, x_9);
|
||||
x_15 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec_ref(x_14);
|
||||
|
|
|
|||
124
stage0/stdlib/Lean/Server/GoTo.c
generated
124
stage0/stdlib/Lean/Server/GoTo.c
generated
|
|
@ -6005,54 +6005,96 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_locationLinksFromDecl_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_4 = lean_st_ref_get(x_2, x_3);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
lean_inc_ref(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_locationLinksFromDecl_spec__0_spec__1___redArg___closed__0;
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc_ref(x_9);
|
||||
x_10 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
x_11 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_12 = 1;
|
||||
x_13 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_11, x_8, x_7, x_1, x_10, x_12);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_st_ref_get(x_2, x_6);
|
||||
x_9 = !lean_is_exclusive(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17;
|
||||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc_ref(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_ctor_set(x_4, 0, x_13);
|
||||
return x_4;
|
||||
x_12 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_locationLinksFromDecl_spec__0_spec__1___redArg___closed__0;
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc_ref(x_13);
|
||||
x_14 = lean_ctor_get(x_13, 2);
|
||||
lean_inc(x_14);
|
||||
lean_dec_ref(x_13);
|
||||
x_15 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_16 = 0;
|
||||
lean_inc(x_1);
|
||||
x_17 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_7, x_1, x_14, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
uint8_t x_18; lean_object* x_19;
|
||||
x_18 = 1;
|
||||
x_19 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_11, x_1, x_14, x_18);
|
||||
lean_dec(x_14);
|
||||
lean_ctor_set(x_8, 0, x_19);
|
||||
return x_8;
|
||||
}
|
||||
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_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_14 = lean_ctor_get(x_4, 0);
|
||||
x_15 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_4);
|
||||
x_16 = lean_ctor_get(x_14, 0);
|
||||
lean_inc_ref(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_locationLinksFromDecl_spec__0_spec__1___redArg___closed__0;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc_ref(x_18);
|
||||
x_19 = lean_ctor_get(x_18, 2);
|
||||
lean_inc(x_19);
|
||||
lean_dec_ref(x_18);
|
||||
x_20 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_21 = 1;
|
||||
x_22 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_20, x_17, x_16, x_1, x_19, x_21);
|
||||
lean_dec(x_19);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_15);
|
||||
return x_23;
|
||||
lean_dec_ref(x_11);
|
||||
lean_dec(x_1);
|
||||
lean_ctor_set(x_8, 0, x_17);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28;
|
||||
x_20 = lean_ctor_get(x_8, 0);
|
||||
x_21 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_8);
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc_ref(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_locationLinksFromDecl_spec__0_spec__1___redArg___closed__0;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc_ref(x_24);
|
||||
x_25 = lean_ctor_get(x_24, 2);
|
||||
lean_inc(x_25);
|
||||
lean_dec_ref(x_24);
|
||||
x_26 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_27 = 0;
|
||||
lean_inc(x_1);
|
||||
x_28 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_7, x_1, x_25, x_27);
|
||||
if (lean_obj_tag(x_28) == 0)
|
||||
{
|
||||
uint8_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = 1;
|
||||
x_30 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_22, x_1, x_25, x_29);
|
||||
lean_dec(x_25);
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_21);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32;
|
||||
lean_dec(x_25);
|
||||
lean_dec_ref(x_22);
|
||||
lean_dec(x_1);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_28);
|
||||
lean_ctor_set(x_32, 1, x_21);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
124
stage0/stdlib/Lean/Server/References.c
generated
124
stage0/stdlib/Lean/Server/References.c
generated
|
|
@ -952,54 +952,96 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_RefInfo_toLspRefInfo_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_4 = lean_st_ref_get(x_2, x_3);
|
||||
x_5 = !lean_is_exclusive(x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
x_7 = lean_ctor_get(x_5, 0);
|
||||
lean_inc_ref(x_7);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_RefInfo_toLspRefInfo_spec__0_spec__1___redArg___closed__0;
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_inc_ref(x_9);
|
||||
x_10 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_10);
|
||||
lean_dec_ref(x_9);
|
||||
x_11 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_12 = 1;
|
||||
x_13 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_11, x_8, x_7, x_1, x_10, x_12);
|
||||
lean_dec(x_5);
|
||||
x_8 = lean_st_ref_get(x_2, x_6);
|
||||
x_9 = !lean_is_exclusive(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17;
|
||||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc_ref(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_ctor_set(x_4, 0, x_13);
|
||||
return x_4;
|
||||
x_12 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_RefInfo_toLspRefInfo_spec__0_spec__1___redArg___closed__0;
|
||||
x_13 = lean_ctor_get(x_12, 0);
|
||||
lean_inc_ref(x_13);
|
||||
x_14 = lean_ctor_get(x_13, 2);
|
||||
lean_inc(x_14);
|
||||
lean_dec_ref(x_13);
|
||||
x_15 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_16 = 0;
|
||||
lean_inc(x_1);
|
||||
x_17 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_7, x_1, x_14, x_16);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
uint8_t x_18; lean_object* x_19;
|
||||
x_18 = 1;
|
||||
x_19 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_15, x_12, x_11, x_1, x_14, x_18);
|
||||
lean_dec(x_14);
|
||||
lean_ctor_set(x_8, 0, x_19);
|
||||
return x_8;
|
||||
}
|
||||
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_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23;
|
||||
x_14 = lean_ctor_get(x_4, 0);
|
||||
x_15 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_4);
|
||||
x_16 = lean_ctor_get(x_14, 0);
|
||||
lean_inc_ref(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_RefInfo_toLspRefInfo_spec__0_spec__1___redArg___closed__0;
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc_ref(x_18);
|
||||
x_19 = lean_ctor_get(x_18, 2);
|
||||
lean_inc(x_19);
|
||||
lean_dec_ref(x_18);
|
||||
x_20 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_21 = 1;
|
||||
x_22 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_20, x_17, x_16, x_1, x_19, x_21);
|
||||
lean_dec(x_19);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_15);
|
||||
return x_23;
|
||||
lean_dec_ref(x_11);
|
||||
lean_dec(x_1);
|
||||
lean_ctor_set(x_8, 0, x_17);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28;
|
||||
x_20 = lean_ctor_get(x_8, 0);
|
||||
x_21 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_8);
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc_ref(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_findDeclarationRangesCore_x3f___at___Lean_findDeclarationRanges_x3f___at___Lean_Server_RefInfo_toLspRefInfo_spec__0_spec__1___redArg___closed__0;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc_ref(x_24);
|
||||
x_25 = lean_ctor_get(x_24, 2);
|
||||
lean_inc(x_25);
|
||||
lean_dec_ref(x_24);
|
||||
x_26 = l_Lean_instInhabitedDeclarationRanges;
|
||||
x_27 = 0;
|
||||
lean_inc(x_1);
|
||||
x_28 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_7, x_1, x_25, x_27);
|
||||
if (lean_obj_tag(x_28) == 0)
|
||||
{
|
||||
uint8_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = 1;
|
||||
x_30 = l_Lean_MapDeclarationExtension_find_x3f___redArg(x_26, x_23, x_22, x_1, x_25, x_29);
|
||||
lean_dec(x_25);
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_21);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32;
|
||||
lean_dec(x_25);
|
||||
lean_dec_ref(x_22);
|
||||
lean_dec(x_1);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_28);
|
||||
lean_ctor_set(x_32, 1, x_21);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
63
stage0/stdlib/Lean/Server/RequestCancellation.c
generated
63
stage0/stdlib/Lean/Server/RequestCancellation.c
generated
|
|
@ -29,11 +29,13 @@ LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_wasCancelledByEd
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_CancellableM_run___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_CancellableM_checkCancelled___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_cancelByCancelRequest___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_IO_Promise_result_x21___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_CancellableT_checkCancelled___redArg___lam__0___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_cancelByEdit(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_RequestCancellationToken_editCancellationTask___closed__0;
|
||||
lean_object* lean_io_promise_resolve(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_promise_result_opt(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_requestCancellationTask(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_requestCancellationTask___lam__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_requestCancelled;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_toCtorIdx___boxed(lean_object*);
|
||||
|
|
@ -41,6 +43,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_check(lean_object*, l
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_toCtorIdx(lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_check___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_requestCancellationTask___lam__0___boxed(lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_noConfusion___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_wasCancelledByEdit(lean_object*, lean_object*);
|
||||
|
|
@ -55,6 +58,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_wasCancelledByCa
|
|||
lean_object* l_ExceptT_bindCont(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_wasCancelled(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_CancellableT_checkCancelled(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_new(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellation_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_editCancellationTask___boxed(lean_object*);
|
||||
|
|
@ -180,13 +184,44 @@ lean_dec_ref(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_requestCancellationTask___lam__0(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_box(0);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_requestCancellationTask(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7;
|
||||
x_2 = lean_ctor_get(x_1, 2);
|
||||
x_3 = l_IO_Promise_result_x21___redArg(x_2);
|
||||
return x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Server_RequestCancellationToken_requestCancellationTask___lam__0___boxed), 1, 0);
|
||||
x_4 = lean_io_promise_result_opt(x_2);
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = 1;
|
||||
x_7 = lean_task_map(x_3, x_4, x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_requestCancellationTask___lam__0___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Server_RequestCancellationToken_requestCancellationTask___lam__0(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_requestCancellationTask___boxed(lean_object* x_1) {
|
||||
|
|
@ -198,13 +233,25 @@ lean_dec_ref(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Server_RequestCancellationToken_editCancellationTask___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Server_RequestCancellationToken_requestCancellationTask___lam__0___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_editCancellationTask(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7;
|
||||
x_2 = lean_ctor_get(x_1, 3);
|
||||
x_3 = l_IO_Promise_result_x21___redArg(x_2);
|
||||
return x_3;
|
||||
x_3 = l_Lean_Server_RequestCancellationToken_editCancellationTask___closed__0;
|
||||
x_4 = lean_io_promise_result_opt(x_2);
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = 1;
|
||||
x_7 = lean_task_map(x_3, x_4, x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestCancellationToken_editCancellationTask___boxed(lean_object* x_1) {
|
||||
|
|
@ -726,6 +773,8 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Server_ServerTask(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Server_RequestCancellationToken_editCancellationTask___closed__0 = _init_l_Lean_Server_RequestCancellationToken_editCancellationTask___closed__0();
|
||||
lean_mark_persistent(l_Lean_Server_RequestCancellationToken_editCancellationTask___closed__0);
|
||||
l_Lean_Server_RequestCancellation_requestCancelled = _init_l_Lean_Server_RequestCancellation_requestCancelled();
|
||||
lean_mark_persistent(l_Lean_Server_RequestCancellation_requestCancelled);
|
||||
l_Lean_Server_CancellableT_checkCancelled___redArg___lam__1___closed__0 = _init_l_Lean_Server_CancellableT_checkCancelled___redArg___lam__1___closed__0();
|
||||
|
|
|
|||
11
stage0/stdlib/Lean/Server/ServerTask.c
generated
11
stage0/stdlib/Lean/Server/ServerTask.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Server.ServerTask
|
||||
// Imports: Init.System.IO
|
||||
// Imports: Init.Task
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -61,8 +61,8 @@ lean_object* l_Array_empty(lean_object*);
|
|||
static lean_object* l___auto___closed__13____x40_Lean_Server_ServerTask___hyg_842_;
|
||||
static lean_object* l___auto___closed__32____x40_Lean_Server_ServerTask___hyg_842_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_ServerTask_join___redArg___boxed(lean_object*);
|
||||
lean_object* lean_io_wait_any(lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__36____x40_Lean_Server_ServerTask___hyg_842_;
|
||||
lean_object* l_IO_waitAny___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l___auto___closed__41____x40_Lean_Server_ServerTask___hyg_842_;
|
||||
static lean_object* l___auto___closed__18____x40_Lean_Server_ServerTask___hyg_842_;
|
||||
static lean_object* l___auto___closed__33____x40_Lean_Server_ServerTask___hyg_842_;
|
||||
|
|
@ -2010,8 +2010,7 @@ _start:
|
|||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_box(0);
|
||||
x_4 = l_List_mapTR_loop___at___Lean_Server_ServerTask_waitAny_spec__0___redArg(x_1, x_3);
|
||||
x_5 = lean_io_wait_any(x_4, x_2);
|
||||
lean_dec(x_4);
|
||||
x_5 = l_IO_waitAny___redArg(x_4, x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
@ -2089,13 +2088,13 @@ lean_dec_ref(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_System_IO(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Task(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_ServerTask(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_System_IO(builtin, lean_io_mk_world());
|
||||
res = initialize_Init_Task(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Server_ServerTask_join___redArg___closed__0 = _init_l_Lean_Server_ServerTask_join___redArg___closed__0();
|
||||
|
|
|
|||
48
stage0/stdlib/Std/Sat/AIG/Basic.c
generated
48
stage0/stdlib/Std/Sat/AIG/Basic.c
generated
|
|
@ -3394,7 +3394,7 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Std_Sat_AIG_toGraphviz_go___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; uint8_t x_9; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint64_t x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; uint64_t x_43; uint64_t x_44; uint64_t x_45; size_t x_46; size_t x_47; size_t x_48; size_t x_49; size_t x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_64;
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint64_t x_39; uint64_t x_40; uint64_t x_41; uint64_t x_42; uint64_t x_43; uint64_t x_44; uint64_t x_45; size_t x_46; size_t x_47; size_t x_48; size_t x_49; size_t x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_64;
|
||||
x_33 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_ctor_get(x_4, 1);
|
||||
|
|
@ -3545,11 +3545,11 @@ x_10 = l_Nat_reprFast(x_3);
|
|||
x_11 = l_Std_Sat_AIG_toGraphviz_go___redArg___closed__0;
|
||||
lean_inc_ref(x_10);
|
||||
x_12 = lean_string_append(x_10, x_11);
|
||||
lean_inc(x_8);
|
||||
x_13 = l_Nat_reprFast(x_8);
|
||||
lean_inc(x_5);
|
||||
x_13 = l_Nat_reprFast(x_5);
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
lean_dec_ref(x_13);
|
||||
x_15 = l_Std_Sat_AIG_toGraphviz_invEdgeStyle(x_7);
|
||||
x_15 = l_Std_Sat_AIG_toGraphviz_invEdgeStyle(x_8);
|
||||
x_16 = lean_string_append(x_14, x_15);
|
||||
lean_dec_ref(x_15);
|
||||
x_17 = l_Std_Sat_AIG_toGraphviz_go___redArg___closed__1;
|
||||
|
|
@ -3557,8 +3557,8 @@ x_18 = lean_string_append(x_16, x_17);
|
|||
x_19 = lean_string_append(x_18, x_10);
|
||||
lean_dec_ref(x_10);
|
||||
x_20 = lean_string_append(x_19, x_11);
|
||||
lean_inc(x_5);
|
||||
x_21 = l_Nat_reprFast(x_5);
|
||||
lean_inc(x_7);
|
||||
x_21 = l_Nat_reprFast(x_7);
|
||||
x_22 = lean_string_append(x_20, x_21);
|
||||
lean_dec_ref(x_21);
|
||||
x_23 = l_Std_Sat_AIG_toGraphviz_invEdgeStyle(x_9);
|
||||
|
|
@ -3568,22 +3568,22 @@ x_25 = l_Std_Sat_AIG_toGraphviz_go___redArg___closed__2;
|
|||
x_26 = lean_string_append(x_24, x_25);
|
||||
x_27 = lean_string_append(x_1, x_26);
|
||||
lean_dec_ref(x_26);
|
||||
x_28 = l_Std_Sat_AIG_toGraphviz_go___redArg(x_27, x_2, x_8, x_6);
|
||||
x_28 = l_Std_Sat_AIG_toGraphviz_go___redArg(x_27, x_2, x_5, x_6);
|
||||
x_29 = lean_ctor_get(x_28, 0);
|
||||
lean_inc(x_29);
|
||||
x_30 = lean_ctor_get(x_28, 1);
|
||||
lean_inc(x_30);
|
||||
lean_dec_ref(x_28);
|
||||
x_1 = x_29;
|
||||
x_3 = x_5;
|
||||
x_3 = x_7;
|
||||
x_4 = x_30;
|
||||
goto _start;
|
||||
}
|
||||
block_63:
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61;
|
||||
x_58 = lean_nat_shiftr(x_53, x_55);
|
||||
x_59 = lean_nat_land(x_55, x_53);
|
||||
x_58 = lean_nat_shiftr(x_53, x_56);
|
||||
x_59 = lean_nat_land(x_56, x_53);
|
||||
lean_dec(x_53);
|
||||
x_60 = lean_unsigned_to_nat(0u);
|
||||
x_61 = lean_nat_dec_eq(x_59, x_60);
|
||||
|
|
@ -3592,19 +3592,19 @@ if (x_61 == 0)
|
|||
{
|
||||
uint8_t x_62;
|
||||
x_62 = 1;
|
||||
x_5 = x_58;
|
||||
x_6 = x_54;
|
||||
x_7 = x_57;
|
||||
x_8 = x_56;
|
||||
x_5 = x_54;
|
||||
x_6 = x_55;
|
||||
x_7 = x_58;
|
||||
x_8 = x_57;
|
||||
x_9 = x_62;
|
||||
goto block_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_5 = x_58;
|
||||
x_6 = x_54;
|
||||
x_7 = x_57;
|
||||
x_8 = x_56;
|
||||
x_5 = x_54;
|
||||
x_6 = x_55;
|
||||
x_7 = x_58;
|
||||
x_8 = x_57;
|
||||
x_9 = x_52;
|
||||
goto block_32;
|
||||
}
|
||||
|
|
@ -3633,18 +3633,18 @@ if (x_72 == 0)
|
|||
uint8_t x_73;
|
||||
x_73 = 1;
|
||||
x_53 = x_67;
|
||||
x_54 = x_64;
|
||||
x_55 = x_68;
|
||||
x_56 = x_69;
|
||||
x_54 = x_69;
|
||||
x_55 = x_64;
|
||||
x_56 = x_68;
|
||||
x_57 = x_73;
|
||||
goto block_63;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_53 = x_67;
|
||||
x_54 = x_64;
|
||||
x_55 = x_68;
|
||||
x_56 = x_69;
|
||||
x_54 = x_69;
|
||||
x_55 = x_64;
|
||||
x_56 = x_68;
|
||||
x_57 = x_52;
|
||||
goto block_63;
|
||||
}
|
||||
|
|
|
|||
1798
stage0/stdlib/Std/Tactic/Do/Syntax.c
generated
1798
stage0/stdlib/Std/Tactic/Do/Syntax.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue