chore: update stage0
This commit is contained in:
parent
3f47871e73
commit
bf9ddf2c74
75 changed files with 66308 additions and 57871 deletions
11
stage0/src/include/lean/lean.h
generated
11
stage0/src/include/lean/lean.h
generated
|
|
@ -1617,7 +1617,16 @@ static inline uint8_t lean_int_dec_nonneg(b_lean_obj_arg a) {
|
|||
|
||||
/* Bool */
|
||||
|
||||
static inline uint64_t lean_bool_to_uint64(uint8_t a) { return ((uint64_t)a); }
|
||||
static inline uint8_t lean_bool_to_uint8(uint8_t a) { return a; }
|
||||
static inline uint16_t lean_bool_to_uint16(uint8_t a) { return (uint16_t)a; }
|
||||
static inline uint32_t lean_bool_to_uint32(uint8_t a) { return (uint32_t)a; }
|
||||
static inline uint64_t lean_bool_to_uint64(uint8_t a) { return (uint64_t)a; }
|
||||
static inline size_t lean_bool_to_usize(uint8_t a) { return (size_t)a; }
|
||||
static inline uint8_t lean_bool_to_int8(uint8_t a) { return (uint8_t)(int8_t)a; }
|
||||
static inline uint16_t lean_bool_to_int16(uint8_t a) { return (uint16_t)(int16_t)a; }
|
||||
static inline uint32_t lean_bool_to_int32(uint8_t a) { return (uint32_t)(int32_t)a; }
|
||||
static inline uint64_t lean_bool_to_int64(uint8_t a) { return (uint64_t)(int64_t)a; }
|
||||
static inline size_t lean_bool_to_isize(uint8_t a) { return (size_t)(ptrdiff_t)a; }
|
||||
|
||||
|
||||
/* UInt8 */
|
||||
|
|
|
|||
6
stage0/stdlib/Init/Data.c
generated
6
stage0/stdlib/Init/Data.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data
|
||||
// Imports: Init.Data.Basic Init.Data.Nat Init.Data.Bool Init.Data.BitVec Init.Data.Cast Init.Data.Char Init.Data.String Init.Data.List Init.Data.Int Init.Data.Array Init.Data.Array.Subarray.Split Init.Data.ByteArray Init.Data.FloatArray Init.Data.Fin Init.Data.UInt Init.Data.SInt Init.Data.Float Init.Data.Option Init.Data.Ord Init.Data.Random Init.Data.ToString Init.Data.Range Init.Data.Hashable Init.Data.OfScientific Init.Data.Format Init.Data.Stream Init.Data.Prod Init.Data.AC Init.Data.Queue Init.Data.Channel Init.Data.Sum Init.Data.BEq Init.Data.Subtype Init.Data.ULift Init.Data.PLift Init.Data.Zero Init.Data.NeZero Init.Data.Function
|
||||
// Imports: Init.Data.Basic Init.Data.Nat Init.Data.Bool Init.Data.BitVec Init.Data.Cast Init.Data.Char Init.Data.String Init.Data.List Init.Data.Int Init.Data.Array Init.Data.Array.Subarray.Split Init.Data.ByteArray Init.Data.FloatArray Init.Data.Fin Init.Data.UInt Init.Data.SInt Init.Data.Float Init.Data.Option Init.Data.Ord Init.Data.Random Init.Data.ToString Init.Data.Range Init.Data.Hashable Init.Data.OfScientific Init.Data.Format Init.Data.Stream Init.Data.Prod Init.Data.AC Init.Data.Queue Init.Data.Channel Init.Data.Sum Init.Data.BEq Init.Data.Subtype Init.Data.ULift Init.Data.PLift Init.Data.Zero Init.Data.NeZero Init.Data.Function Init.Data.RArray
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -51,6 +51,7 @@ lean_object* initialize_Init_Data_PLift(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Init_Data_Zero(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_NeZero(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Function(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_RArray(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -170,6 +171,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Function(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_RArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
6
stage0/stdlib/Init/Data/Array.c
generated
6
stage0/stdlib/Init/Data/Array.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Array
|
||||
// Imports: Init.Data.Array.Basic Init.Data.Array.QSort Init.Data.Array.BinSearch Init.Data.Array.InsertionSort Init.Data.Array.DecidableEq Init.Data.Array.Mem Init.Data.Array.Attach Init.Data.Array.BasicAux Init.Data.Array.Lemmas Init.Data.Array.TakeDrop Init.Data.Array.Bootstrap Init.Data.Array.GetLit Init.Data.Array.MapIdx Init.Data.Array.Set
|
||||
// Imports: Init.Data.Array.Basic Init.Data.Array.QSort Init.Data.Array.BinSearch Init.Data.Array.InsertionSort Init.Data.Array.DecidableEq Init.Data.Array.Mem Init.Data.Array.Attach Init.Data.Array.BasicAux Init.Data.Array.Lemmas Init.Data.Array.TakeDrop Init.Data.Array.Bootstrap Init.Data.Array.GetLit Init.Data.Array.MapIdx Init.Data.Array.Set Init.Data.Array.Monadic
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -27,6 +27,7 @@ lean_object* initialize_Init_Data_Array_Bootstrap(uint8_t builtin, lean_object*)
|
|||
lean_object* initialize_Init_Data_Array_GetLit(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_MapIdx(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Set(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Monadic(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Array(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -74,6 +75,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Array_Set(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Array_Monadic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
187
stage0/stdlib/Init/Data/Array/Monadic.c
generated
Normal file
187
stage0/stdlib/Init/Data/Array/Monadic.c
generated
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Array.Monadic
|
||||
// Imports: Init.Data.Array.Lemmas Init.Data.Array.Attach Init.Data.List.Monadic
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_forIn_x27__eq__foldlM_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_forIn_x27__eq__foldlM_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_forIn_x27__eq__foldlM_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_forIn_x27__eq__foldlM_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_Array_Monadic_0__List_foldlM__filterMap_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter___rarg___boxed), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_Array_Monadic_0__Array_foldlM__filterMap_match__1_splitter___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_forIn_x27__eq__foldlM_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_2);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_apply_1(x_2, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__List_forIn_x27__eq__foldlM_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Monadic_0__List_forIn_x27__eq__foldlM_match__1_splitter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_forIn_x27__eq__foldlM_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_2);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_apply_1(x_2, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Monadic_0__Array_forIn_x27__eq__foldlM_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Monadic_0__Array_forIn_x27__eq__foldlM_match__1_splitter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_Array_Lemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Array_Attach(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_List_Monadic(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Array_Monadic(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_Data_Array_Lemmas(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Array_Attach(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_List_Monadic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
29
stage0/stdlib/Init/Data/Array/Subarray.c
generated
29
stage0/stdlib/Init/Data/Array/Subarray.c
generated
|
|
@ -32,7 +32,6 @@ static lean_object* l_Array_term_____x5b___x3a___x5d___closed__6;
|
|||
LEAN_EXPORT lean_object* l_Subarray_findSomeRevM_x3f_find___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_foldr___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Subarray_all___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_as(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_allM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_instGetElemNatLtSize___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_ofSubarray___rarg___boxed(lean_object*);
|
||||
|
|
@ -281,8 +280,6 @@ static lean_object* l_Array___aux__Init__Data__Array__Subarray______macroRules__
|
|||
static lean_object* l_Array___aux__Init__Data__Array__Subarray______macroRules__Array__term_____x5b_x3a___x5d__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_as___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_as___rarg___boxed(lean_object*);
|
||||
static lean_object* l_instReprSubarray___rarg___closed__12;
|
||||
lean_object* l_String_toSubstring_x27(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_any(lean_object*);
|
||||
|
|
@ -297,32 +294,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_foldl___spec__1
|
|||
static lean_object* l_instReprSubarray___rarg___closed__10;
|
||||
static lean_object* l_Array___aux__Init__Data__Array__Subarray______macroRules__Array__term_____x5b___x3a___x5d__1___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Subarray_toArray___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_as___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Subarray_as(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Subarray_as___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Subarray_as___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Subarray_as___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Subarray_size___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
894
stage0/stdlib/Init/Data/Nat/Linear.c
generated
894
stage0/stdlib/Init/Data/Nat/Linear.c
generated
File diff suppressed because it is too large
Load diff
66
stage0/stdlib/Init/Data/Option/Basic.c
generated
66
stage0/stdlib/Init/Data/Option/Basic.c
generated
|
|
@ -42,7 +42,6 @@ LEAN_EXPORT lean_object* l_instMonadExceptOfUnitOption___lambda__2___boxed(lean_
|
|||
LEAN_EXPORT lean_object* l_Option_getM(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_toArray(lean_object*);
|
||||
static lean_object* l_instMonadOption___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Option_toMonad___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instMonadExceptOfUnitOption___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instMonadExceptOfUnitOption___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_min___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -64,7 +63,6 @@ LEAN_EXPORT lean_object* l_Option_or(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_instLTOption(lean_object*, lean_object*);
|
||||
static lean_object* l_instMonadOption___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Option_isEqSome___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_toBool___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_instDecidableEq___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_join(lean_object*);
|
||||
static lean_object* l_instMonadOption___closed__1;
|
||||
|
|
@ -82,7 +80,6 @@ LEAN_EXPORT uint8_t l_Option_isSome___rarg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Option_elimM___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_getDM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_elim___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_toMonad(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_get(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_any___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_toList___rarg(lean_object*);
|
||||
|
|
@ -92,11 +89,9 @@ LEAN_EXPORT lean_object* l_Option_instMax___rarg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_instDecidableRelLt___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_instMonadOption___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Option_toBool(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_join___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_sequence___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_instAlternativeOption___closed__2;
|
||||
LEAN_EXPORT uint8_t l_Option_toBool___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_tryCatch(lean_object*);
|
||||
static lean_object* l_instMonadExceptOfUnitOption___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Option_mapM___rarg___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -141,7 +136,6 @@ static lean_object* l_Option_toArray___rarg___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Option_merge___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_liftOption___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instMonadExceptOfUnitOption___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_toMonad___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_instMonadOption___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Option_get___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Option_bindM___rarg___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -328,31 +322,6 @@ x_3 = lean_alloc_closure((void*)(l_Option_getM___rarg), 2, 0);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Option_toMonad___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Option_getM___rarg(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Option_toMonad(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l_Option_toMonad___rarg), 2, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Option_toMonad___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Option_toMonad(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Option_isSome___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -388,41 +357,6 @@ x_3 = lean_box(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Option_toBool___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
uint8_t x_2;
|
||||
x_2 = 0;
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = 1;
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Option_toBool(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Option_toBool___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Option_toBool___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l_Option_toBool___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Option_isNone___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
193
stage0/stdlib/Init/Data/RArray.c
generated
Normal file
193
stage0/stdlib/Init/Data/RArray.c
generated
Normal file
|
|
@ -0,0 +1,193 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.RArray
|
||||
// Imports: Init.PropLemmas
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_getImpl___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instGetElemRArrayNatTrue___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_getImpl(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_getImpl___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_size___rarg___boxed(lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instGetElemRArrayNatTrue___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instGetElemRArrayNatTrue(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_size___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(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(x_8);
|
||||
lean_dec(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_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Init_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_getImpl___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
x_6 = lean_ctor_get(x_1, 2);
|
||||
x_7 = lean_nat_dec_lt(x_2, x_4);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
x_1 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_1 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_getImpl(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RArray_getImpl___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_getImpl___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_RArray_getImpl___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instGetElemRArrayNatTrue___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_RArray_getImpl___rarg(x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instGetElemRArrayNatTrue(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_instGetElemRArrayNatTrue___rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instGetElemRArrayNatTrue___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_instGetElemRArrayNatTrue___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_size___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_unsigned_to_nat(1u);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
x_4 = lean_ctor_get(x_1, 2);
|
||||
x_5 = l_Lean_RArray_size___rarg(x_3);
|
||||
x_6 = l_Lean_RArray_size___rarg(x_4);
|
||||
x_7 = lean_nat_add(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_size(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RArray_size___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_size___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_RArray_size___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_PropLemmas(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_RArray(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_PropLemmas(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
65
stage0/stdlib/Init/Data/SInt/Basic.c
generated
65
stage0/stdlib/Init/Data/SInt/Basic.c
generated
|
|
@ -17,6 +17,8 @@ uint32_t lean_int32_land(uint32_t, uint32_t);
|
|||
LEAN_EXPORT lean_object* l_instAddISize;
|
||||
LEAN_EXPORT lean_object* l_instOfNatInt64___boxed(lean_object*);
|
||||
uint64_t lean_int64_complement(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt32___boxed(lean_object*);
|
||||
size_t lean_bool_to_isize(uint8_t);
|
||||
static lean_object* l_instSubInt64___closed__1;
|
||||
LEAN_EXPORT lean_object* l_ISize_complement___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Int32_decLt___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -116,11 +118,13 @@ LEAN_EXPORT lean_object* l_instDecidableEqISize___boxed(lean_object*, lean_objec
|
|||
LEAN_EXPORT lean_object* l_instToStringISize(size_t);
|
||||
static lean_object* l_instSubInt32___closed__1;
|
||||
LEAN_EXPORT size_t l_Int_toISize(lean_object*);
|
||||
uint64_t lean_bool_to_int64(uint8_t);
|
||||
size_t lean_isize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ISize_decLt___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ISize_mod___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Int64_size___closed__1;
|
||||
LEAN_EXPORT lean_object* l_ISize_decEq___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Bool_toISize___boxed(lean_object*);
|
||||
static lean_object* l_instMulInt32___closed__1;
|
||||
LEAN_EXPORT lean_object* l_instDecidableEqInt64___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Int64_toInt___boxed(lean_object*);
|
||||
|
|
@ -176,6 +180,7 @@ static lean_object* l_instNegInt32___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Int32_lor___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_instMulInt8___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Int32_decLe___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_bool_to_int8(uint8_t);
|
||||
uint8_t lean_int8_neg(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_instMaxISize___boxed(lean_object*, lean_object*);
|
||||
uint16_t lean_int16_add(uint16_t, uint16_t);
|
||||
|
|
@ -226,6 +231,7 @@ static lean_object* l_instOrOpInt64___closed__1;
|
|||
LEAN_EXPORT lean_object* l_instToStringInt16___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Int16_decEq___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_instNegInt8___closed__1;
|
||||
uint32_t lean_bool_to_int32(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Int32_toInt64___boxed(lean_object*);
|
||||
uint8_t lean_int8_shift_right(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Int64_toInt16___boxed(lean_object*);
|
||||
|
|
@ -242,6 +248,7 @@ LEAN_EXPORT lean_object* l_instDivISize;
|
|||
extern lean_object* l_System_Platform_numBits;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
uint16_t lean_int16_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt64___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instXorInt16;
|
||||
uint32_t lean_isize_to_int32(size_t);
|
||||
uint32_t lean_int32_shift_right(uint32_t, uint32_t);
|
||||
|
|
@ -340,6 +347,7 @@ LEAN_EXPORT lean_object* l_Int16_land___boxed(lean_object*, lean_object*);
|
|||
uint8_t lean_int8_dec_lt(uint8_t, uint8_t);
|
||||
lean_object* lean_nat_pow(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Int16_shiftLeft___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt8___boxed(lean_object*);
|
||||
lean_object* lean_int16_to_int(uint16_t);
|
||||
LEAN_EXPORT lean_object* l_instSubInt16;
|
||||
LEAN_EXPORT lean_object* l_instLEInt8;
|
||||
|
|
@ -364,6 +372,7 @@ LEAN_EXPORT lean_object* l_Int8_toBitVec(uint8_t);
|
|||
LEAN_EXPORT lean_object* l_Int8_add___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_instComplementInt8___closed__1;
|
||||
static lean_object* l_instDivInt64___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt16___boxed(lean_object*);
|
||||
uint16_t lean_int16_shift_right(uint16_t, uint16_t);
|
||||
LEAN_EXPORT lean_object* l_instAndOpISize;
|
||||
LEAN_EXPORT lean_object* l_Int32_sub___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -423,6 +432,7 @@ LEAN_EXPORT uint16_t l_instOfNatInt16(lean_object*);
|
|||
uint16_t lean_int16_sub(uint16_t, uint16_t);
|
||||
LEAN_EXPORT lean_object* l_Int32_ofInt___boxed(lean_object*);
|
||||
uint64_t lean_isize_to_int64(size_t);
|
||||
uint16_t lean_bool_to_int16(uint8_t);
|
||||
static lean_object* l_instAndOpInt32___closed__1;
|
||||
LEAN_EXPORT lean_object* l_ISize_sub___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instMaxInt8___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -1100,6 +1110,17 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt8___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_int8(x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int8_decLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1830,6 +1851,17 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt16___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint16_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_int16(x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int16_decLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2582,6 +2614,17 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt32___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint32_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_int32(x_2);
|
||||
x_4 = lean_box_uint32(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int32_decLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3364,6 +3407,17 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toInt64___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint64_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_int64(x_2);
|
||||
x_4 = lean_box_uint64(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int64_decLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -4126,6 +4180,17 @@ x_6 = lean_box(x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toISize___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; size_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_isize(x_2);
|
||||
x_4 = lean_box_usize(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_ISize_decLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
32
stage0/stdlib/Init/Data/String/Basic.c
generated
32
stage0/stdlib/Init/Data/String/Basic.c
generated
|
|
@ -28,7 +28,6 @@ uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_String_stripSuffix(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Iterator_prev(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Pos_isValid___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4226_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_join(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_dropPrefix_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_commonPrefix(lean_object*, lean_object*);
|
||||
|
|
@ -41,7 +40,6 @@ LEAN_EXPORT uint8_t l_String_anyAux___at_String_isNat___spec__1(lean_object*, le
|
|||
LEAN_EXPORT lean_object* l_Substring_commonSuffix_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_String_Iterator_pos(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_str(lean_object*, uint32_t);
|
||||
LEAN_EXPORT lean_object* l_Substring_toNat_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_trimLeft(lean_object*);
|
||||
lean_object* lean_string_utf8_get_opt(lean_object*, lean_object*);
|
||||
|
|
@ -68,6 +66,7 @@ LEAN_EXPORT lean_object* l_String_Iterator_hasNext___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_Iterator_remainingBytes_match__1_splitter___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldrAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_anyAux___at_String_all___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4218____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_revPosOf___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_append_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_takeWhileAux___at_Substring_trimLeft___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -175,7 +174,6 @@ LEAN_EXPORT lean_object* l_String_any___boxed(lean_object*, lean_object*);
|
|||
LEAN_EXPORT uint8_t l_String_Iterator_hasNext(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_mapAux___at_String_toLower___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Iterator_pos___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_str___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_string_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_push_match__1_splitter___rarg(lean_object*, uint32_t, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_all(lean_object*, lean_object*);
|
||||
|
|
@ -296,6 +294,7 @@ LEAN_EXPORT lean_object* l_String_get___boxed(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Substring_prevn___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Char_toString___boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_isPrefixOf(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4218_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_foldr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_anyAux___at_String_isNat___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_posOfAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -303,7 +302,6 @@ LEAN_EXPORT lean_object* l_Substring_drop(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Substring_prevn(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_foldr___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Substring_prev___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4226____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_utf8ByteSize_match__1_splitter___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_dropWhile___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_String_substrEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1751,24 +1749,6 @@ x_1 = l_String_instAppend___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_str(lean_object* x_1, uint32_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_string_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_str___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint32_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox_uint32(x_2);
|
||||
lean_dec(x_2);
|
||||
x_4 = l_String_str(x_1, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_repeatTR_loop___at_String_pushn___spec__1(uint32_t x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1969,7 +1949,7 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4226_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4218_(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;
|
||||
|
|
@ -1992,11 +1972,11 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4226____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4218____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4226_(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4218_(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -2007,7 +1987,7 @@ LEAN_EXPORT uint8_t l_String_instDecidableEqIterator(lean_object* x_1, lean_obje
|
|||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4226_(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_String_Basic_0__String_decEqIterator____x40_Init_Data_String_Basic___hyg_4218_(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
52
stage0/stdlib/Init/Data/UInt/Basic.c
generated
52
stage0/stdlib/Init/Data/UInt/Basic.c
generated
|
|
@ -19,10 +19,12 @@ LEAN_EXPORT uint8_t l_instDecidableLtUInt16(uint16_t, uint16_t);
|
|||
LEAN_EXPORT lean_object* l_instComplementUInt32;
|
||||
LEAN_EXPORT lean_object* l_USize_mul___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_uint16_to_nat(uint16_t);
|
||||
uint32_t lean_bool_to_uint32(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at_UInt16_modn___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instHModUSizeNat;
|
||||
uint8_t lean_uint8_dec_lt(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_instModUInt16;
|
||||
LEAN_EXPORT lean_object* l_Bool_toUInt16___boxed(lean_object*);
|
||||
uint64_t lean_uint64_of_nat_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_USize_lor___boxed(lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
|
|
@ -49,6 +51,7 @@ LEAN_EXPORT lean_object* l_instModUInt8;
|
|||
LEAN_EXPORT lean_object* l_UInt16_xor___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT size_t l_instMaxUSize(size_t, size_t);
|
||||
uint8_t lean_uint16_dec_lt(uint16_t, uint16_t);
|
||||
LEAN_EXPORT lean_object* l_Bool_toUInt8___boxed(lean_object*);
|
||||
static lean_object* l_instHModUSizeNat___closed__1;
|
||||
LEAN_EXPORT lean_object* l_UInt8_decLe___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instMulUInt16;
|
||||
|
|
@ -172,6 +175,7 @@ uint8_t lean_uint8_mul(uint8_t, uint8_t);
|
|||
LEAN_EXPORT lean_object* l_Nat_cast___at_USize_modn___spec__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instShiftRightUInt16;
|
||||
size_t lean_uint32_to_usize(uint32_t);
|
||||
uint16_t lean_bool_to_uint16(uint8_t);
|
||||
static lean_object* l_instXorUInt32___closed__1;
|
||||
LEAN_EXPORT lean_object* l_instShiftLeftUInt32;
|
||||
static lean_object* l_instXorUInt64___closed__1;
|
||||
|
|
@ -201,6 +205,7 @@ LEAN_EXPORT lean_object* l_instSubUInt64;
|
|||
LEAN_EXPORT lean_object* l_UInt8_xor___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instOrOpUInt16;
|
||||
LEAN_EXPORT lean_object* l_UInt32_modn(uint32_t, lean_object*);
|
||||
size_t lean_bool_to_usize(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_instDecidableLtUInt16___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_instComplementUInt64___closed__1;
|
||||
static lean_object* l_instHModUInt8Nat___closed__1;
|
||||
|
|
@ -222,6 +227,7 @@ LEAN_EXPORT lean_object* l_instOrOpUInt64;
|
|||
static lean_object* l_instAndOpUInt16___closed__1;
|
||||
static lean_object* l_instMulUInt8___closed__1;
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
uint8_t lean_bool_to_uint8(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_UInt16_div___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instMulUInt8;
|
||||
LEAN_EXPORT lean_object* l_instShiftLeftUInt64;
|
||||
|
|
@ -229,6 +235,7 @@ LEAN_EXPORT lean_object* l_UInt16_shiftRight___boxed(lean_object*, lean_object*)
|
|||
LEAN_EXPORT lean_object* l_UInt32_xor___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_UInt32_mod___boxed(lean_object*, lean_object*);
|
||||
uint8_t lean_uint8_xor(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Bool_toUInt32___boxed(lean_object*);
|
||||
static lean_object* l_instComplementUInt8___closed__1;
|
||||
static lean_object* l_instComplementUSize___closed__1;
|
||||
LEAN_EXPORT lean_object* l_instHModUInt8Nat;
|
||||
|
|
@ -285,6 +292,7 @@ LEAN_EXPORT lean_object* l_UInt16_modn___boxed(lean_object*, lean_object*);
|
|||
LEAN_EXPORT uint8_t l_instDecidableLeUInt8(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at_UInt16_modn___spec__1___boxed(lean_object*);
|
||||
static lean_object* l_instDivUInt16___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Bool_toUSize___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instAndOpUInt8;
|
||||
static lean_object* l_instSubUInt16___closed__1;
|
||||
static lean_object* l_instOrOpUSize___closed__1;
|
||||
|
|
@ -714,6 +722,17 @@ x_1 = l_instShiftRightUInt8___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toUInt8___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint8_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_uint8(x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_UInt8_decLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1231,6 +1250,17 @@ x_1 = l_instShiftRightUInt16___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toUInt16___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint16_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_uint16(x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_UInt16_decLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1732,6 +1762,17 @@ x_1 = l_instShiftRightUInt32___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toUInt32___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; uint32_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_uint32(x_2);
|
||||
x_4 = lean_box_uint32(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_UInt64_add___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2601,6 +2642,17 @@ x_1 = l_instShiftRightUSize___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Bool_toUSize___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; size_t x_3; lean_object* x_4;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_bool_to_usize(x_2);
|
||||
x_4 = lean_box_usize(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT size_t l_instMaxUSize(size_t x_1, size_t x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
63
stage0/stdlib/Init/Tactics.c
generated
63
stage0/stdlib/Init/Tactics.c
generated
|
|
@ -224,6 +224,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_right;
|
|||
static lean_object* l_Lean_Parser_Tactic_specialize___closed__2;
|
||||
static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__8;
|
||||
static lean_object* l_Lean_Parser_Tactic_dsimpTrace___closed__7;
|
||||
static lean_object* l_Lean_Parser_Tactic_location___closed__11;
|
||||
static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__5;
|
||||
static lean_object* l_Lean_Parser_Tactic_case___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_rewrites__forbidden;
|
||||
|
|
@ -619,6 +620,7 @@ static lean_object* l_Lean_Parser_Tactic_solveByElim___closed__8;
|
|||
static lean_object* l_Lean_Parser_Tactic_letrec___closed__13;
|
||||
static lean_object* l_Lean_Parser_Tactic_simp___closed__15;
|
||||
static lean_object* l_Lean_Parser_Tactic_simp___closed__9;
|
||||
static lean_object* l_Lean_Parser_Tactic_location___closed__10;
|
||||
static lean_object* l_Lean_Parser_Tactic_rwRule___closed__1;
|
||||
static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__3;
|
||||
static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__5;
|
||||
|
|
@ -1763,6 +1765,7 @@ static lean_object* l_Lean_Parser_Tactic_rewrites_x3f___closed__3;
|
|||
static lean_object* l_Lean_Parser_Tactic_valConfigItem___closed__11;
|
||||
static lean_object* l_Lean_Parser_Tactic_assumption___closed__1;
|
||||
static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5;
|
||||
static lean_object* l_Lean_Parser_Tactic_location___closed__9;
|
||||
static lean_object* l_Lean_Parser_Tactic_first___closed__19;
|
||||
static lean_object* l_Lean_Parser_Tactic_change___closed__6;
|
||||
static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSuffices____1___closed__2;
|
||||
|
|
@ -8721,21 +8724,39 @@ static lean_object* _init_l_Lean_Parser_Tactic_location___closed__3() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(" at", 3, 3);
|
||||
x_1 = lean_mk_string_unchecked("ppGroup", 7, 7);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Parser_Tactic_location___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(" at", 3, 3);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Parser_Tactic_location___closed__3;
|
||||
x_1 = l_Lean_Parser_Tactic_location___closed__5;
|
||||
x_2 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__5() {
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
|
|
@ -8749,13 +8770,13 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__6() {
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__7;
|
||||
x_2 = l_Lean_Parser_Tactic_location___closed__4;
|
||||
x_3 = l_Lean_Parser_Tactic_location___closed__5;
|
||||
x_2 = l_Lean_Parser_Tactic_location___closed__6;
|
||||
x_3 = l_Lean_Parser_Tactic_location___closed__7;
|
||||
x_4 = lean_alloc_ctor(2, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -8763,25 +8784,37 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__7() {
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_first___closed__6;
|
||||
x_2 = l_Lean_Parser_Tactic_location___closed__6;
|
||||
x_1 = l_Lean_Parser_Tactic_location___closed__4;
|
||||
x_2 = l_Lean_Parser_Tactic_location___closed__8;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__8() {
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Parser_Tactic_first___closed__6;
|
||||
x_2 = l_Lean_Parser_Tactic_location___closed__9;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser_Tactic_location___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Parser_Tactic_location___closed__1;
|
||||
x_2 = l_Lean_Parser_Tactic_location___closed__2;
|
||||
x_3 = l_Lean_Parser_Tactic_location___closed__7;
|
||||
x_3 = l_Lean_Parser_Tactic_location___closed__10;
|
||||
x_4 = lean_alloc_ctor(9, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -8793,7 +8826,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_location() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Parser_Tactic_location___closed__8;
|
||||
x_1 = l_Lean_Parser_Tactic_location___closed__11;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -26726,6 +26759,12 @@ l_Lean_Parser_Tactic_location___closed__7 = _init_l_Lean_Parser_Tactic_location_
|
|||
lean_mark_persistent(l_Lean_Parser_Tactic_location___closed__7);
|
||||
l_Lean_Parser_Tactic_location___closed__8 = _init_l_Lean_Parser_Tactic_location___closed__8();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_location___closed__8);
|
||||
l_Lean_Parser_Tactic_location___closed__9 = _init_l_Lean_Parser_Tactic_location___closed__9();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_location___closed__9);
|
||||
l_Lean_Parser_Tactic_location___closed__10 = _init_l_Lean_Parser_Tactic_location___closed__10();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_location___closed__10);
|
||||
l_Lean_Parser_Tactic_location___closed__11 = _init_l_Lean_Parser_Tactic_location___closed__11();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_location___closed__11);
|
||||
l_Lean_Parser_Tactic_location = _init_l_Lean_Parser_Tactic_location();
|
||||
lean_mark_persistent(l_Lean_Parser_Tactic_location);
|
||||
l_Lean_Parser_Tactic_change___closed__1 = _init_l_Lean_Parser_Tactic_change___closed__1();
|
||||
|
|
|
|||
1180
stage0/stdlib/Lake/Build/Actions.c
generated
1180
stage0/stdlib/Lake/Build/Actions.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lake/CLI/Init.c
generated
8
stage0/stdlib/Lake/CLI/Init.c
generated
|
|
@ -386,7 +386,7 @@ static lean_object* _init_l_Lake_basicFileContents___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("def hello := \"world\"", 20, 20);
|
||||
x_1 = lean_mk_string_unchecked("def hello := \"world\"\n", 21, 21);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -434,7 +434,7 @@ static lean_object* _init_l_Lake_libRootFileContents___closed__4() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(".Basic", 6, 6);
|
||||
x_1 = lean_mk_string_unchecked(".Basic\n", 7, 7);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -1878,7 +1878,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lake_escapeName_x21___closed__1;
|
||||
x_2 = l_Lake_escapeName_x21___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(200u);
|
||||
x_3 = lean_unsigned_to_nat(202u);
|
||||
x_4 = lean_unsigned_to_nat(23u);
|
||||
x_5 = l_Lake_escapeName_x21___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -1899,7 +1899,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lake_escapeName_x21___closed__1;
|
||||
x_2 = l_Lake_escapeName_x21___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(203u);
|
||||
x_3 = lean_unsigned_to_nat(205u);
|
||||
x_4 = lean_unsigned_to_nat(23u);
|
||||
x_5 = l_Lake_escapeName_x21___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
|
|||
194
stage0/stdlib/Lake/CLI/Main.c
generated
194
stage0/stdlib/Lake/CLI/Main.c
generated
|
|
@ -28,9 +28,9 @@ static lean_object* l_Lake_lake_script_list___closed__2;
|
|||
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_checkTest(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_takeOptArg_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_init___lambda__1___boxed__const__1;
|
||||
static lean_object* l_Lake_lake_ReservoirConfig_currentSchemaVersion___closed__2;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12;
|
||||
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_upload___lambda__1___boxed__const__1;
|
||||
static lean_object* l_Lake_lakeCli___closed__27;
|
||||
|
|
@ -38,6 +38,7 @@ LEAN_EXPORT lean_object* l_Lake_CliStateM_runLoggerIO___rarg___boxed__const__1;
|
|||
LEAN_EXPORT lean_object* l_Lake_lakeOption(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_githash;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_script(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__10;
|
||||
static lean_object* l_Lake_lakeLongOption___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lake_CliStateM_runLogIO___rarg___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lake_translateConfig___lambda__2___closed__1;
|
||||
|
|
@ -74,16 +75,15 @@ static lean_object* l_Lake_parseScriptSpec___closed__1;
|
|||
lean_object* l_Lake_parseTargetSpecs(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
static lean_object* l_Lake_verifyInstall___closed__2;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__11;
|
||||
lean_object* lean_io_rename(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____spec__1(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lake_lake_reservoirConfig___lambda__2___closed__3;
|
||||
static lean_object* l_Lake_lake_build___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_takeOptArg_x27___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instMonadLiftLoggerIOCliStateM(lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_parseLangSpec(lean_object*);
|
||||
static lean_object* l_Lake_lakeCli___closed__13;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__6;
|
||||
lean_object* l_Lake_Package_clean(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_CliM_run___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_translateConfig___lambda__2___boxed__const__1;
|
||||
|
|
@ -95,6 +95,7 @@ LEAN_EXPORT lean_object* l_Lake_lake_lean___lambda__1(lean_object*, lean_object*
|
|||
LEAN_EXPORT lean_object* l_Lake_lake_translateConfig___lambda__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_env___lambda__1___boxed__const__2;
|
||||
static lean_object* l_Lake_lakeCli___closed__10;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__13;
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_Package_lint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_LakeOptions_getInstall(lean_object*);
|
||||
|
|
@ -103,6 +104,7 @@ LEAN_EXPORT lean_object* l_Lake_lakeLongOption___lambda__1___boxed(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Lake_lake_test___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instMonadLiftLogIOCliStateM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_LakeOptions_getLeanInstall(lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Option_repr___at_Lake_verifyInstall___spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lake_lake_versionTags___spec__1___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_script_list___lambda__1___boxed__const__1;
|
||||
|
|
@ -142,6 +144,7 @@ LEAN_EXPORT lean_object* l_Lake_lake_resolveDeps___lambda__1(lean_object*, lean_
|
|||
LEAN_EXPORT lean_object* l_Lake_lake_setupFile(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_lean(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeCli___closed__23;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__7;
|
||||
LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lake_lake_reservoirConfig___spec__8(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lake_lake_reservoirConfig___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lake_lake_reservoirConfig___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -190,6 +193,7 @@ LEAN_EXPORT lean_object* l_Lake_lake_init___lambda__2___boxed(lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Lake_lake_translateConfig(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_lake_lean___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_test___lambda__2___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(lean_object*);
|
||||
static lean_object* l_Lake_lakeCli___closed__8;
|
||||
static lean_object* l_Lake_lakeCli___closed__24;
|
||||
static lean_object* l_Lake_lakeShortOption___closed__5;
|
||||
|
|
@ -207,16 +211,17 @@ LEAN_EXPORT lean_object* l_Lake_LakeOptions_outLv___boxed(lean_object*);
|
|||
static lean_object* l_Lake_lakeLongOption___lambda__2___closed__1;
|
||||
lean_object* l_Lake_logToStream(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_verifyInstall___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_parseTemplateLangSpec(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_lake_env___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_pack___lambda__1___boxed__const__1;
|
||||
lean_object* l_Lake_mkCmdLog(lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__9;
|
||||
LEAN_EXPORT lean_object* l_StateT_lift___at_Lake_lake_new___spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeLongOption___closed__22;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_env___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lake_lake_versionTags___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lake_Verbosity_minLogLv(uint8_t);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__1;
|
||||
static lean_object* l_Lake_lake_scriptCli___closed__3;
|
||||
lean_object* l_Lake_Package_unpack(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_Workspace_findModule_x3f(lean_object*, lean_object*);
|
||||
|
|
@ -225,6 +230,7 @@ lean_object* l_Lake_Package_pack(lean_object*, lean_object*, lean_object*, lean_
|
|||
static lean_object* l_Lake_lakeLongOption___closed__7;
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
static lean_object* l_Lake_lake_setupFile___closed__1;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lake_CliStateM_runLogIO___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_CliError_toString(lean_object*);
|
||||
static lean_object* l_Lake_lakeLongOption___closed__18;
|
||||
|
|
@ -257,18 +263,16 @@ static lean_object* l_Lake_lakeLongOption___closed__16;
|
|||
static lean_object* l_Lake_LakeOptions_getLeanInstall___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_lake_reservoirConfig___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_lake_reservoirConfig___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____spec__1(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_LakeOptions_mkLoadConfig(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_translateConfig___lambda__1___boxed__const__1;
|
||||
lean_object* l_Lake_Workspace_clean(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_script_help(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_setupFile(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_OutStream_logEntry(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__8;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_Lake_lake_update___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lake_checkTest___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_test___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_setConfigOpt(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_lake_env___spec__1___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_exe___boxed__const__1;
|
||||
|
|
@ -299,7 +303,6 @@ LEAN_EXPORT lean_object* l_StateT_bind___at_Lake_lake_script_list___spec__3(lean
|
|||
extern lean_object* l_Lake_defaultLakeDir;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_versionTags___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lake_build___closed__3;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_pack___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_StateT_bind___at_Lake_lake_script_list___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeShortOption___closed__4;
|
||||
|
|
@ -324,6 +327,7 @@ lean_object* l_IO_FS_readFile(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lake_lake_reservoirConfig___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_CliM_run(lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__3;
|
||||
lean_object* l_Lake_ConfigLang_fileExtension(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_unpack___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_lint___lambda__1___boxed__const__1;
|
||||
|
|
@ -362,6 +366,7 @@ static lean_object* l_Lake_lakeLongOption___closed__20;
|
|||
lean_object* l_Lake_LeanExe_fetch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_selfCheck(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_env(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_help(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_serve(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -385,7 +390,7 @@ static lean_object* l_Lake_lakeLongOption___closed__17;
|
|||
lean_object* l_String_toName(lean_object*);
|
||||
lean_object* l_Lake_Workspace_runFetchM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__9;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__8;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lake_lake_lean___spec__3___closed__1;
|
||||
static lean_object* l_Lake_LakeOptions_getLakeInstall___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -402,9 +407,9 @@ LEAN_EXPORT lean_object* l_Lake_lake_reservoirConfig(lean_object*, lean_object*,
|
|||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lake_lake_env___spec__1___closed__1;
|
||||
static lean_object* l_Lake_lake___closed__1;
|
||||
LEAN_EXPORT lean_object* l_liftM___at_Lake_lake_new___spec__1___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__3;
|
||||
lean_object* l_Lake_parsePackageSpec(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeLongOption___lambda__1___closed__2;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__14;
|
||||
lean_object* l_Lake_InitTemplate_ofString_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_lean___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_serve___lambda__2(uint32_t);
|
||||
|
|
@ -418,7 +423,6 @@ LEAN_EXPORT lean_object* l_Lake_lake_build___boxed__const__1;
|
|||
static lean_object* l_Option_repr___at_Lake_verifyInstall___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_script_run___boxed__const__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_test___boxed__const__1;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake___boxed__const__1;
|
||||
static lean_object* l_Lake_lake_selfCheck___closed__1;
|
||||
static lean_object* l_Lake_parseLangSpec___closed__1;
|
||||
|
|
@ -437,7 +441,6 @@ LEAN_EXPORT lean_object* l_Lake_CliStateM_runLoggerIO(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lake_lake_instToJsonReservoirConfig;
|
||||
static lean_object* l_Lake_lakeLongOption___closed__12;
|
||||
static lean_object* l_Lake_lakeCli___closed__22;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__4;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lake_lake_reservoirConfig___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_EStateM_map___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -465,7 +468,6 @@ lean_object* l_IO_FS_writeFile(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_ExceptT_bindCont___at_Lake_lake_new___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_parseTemplateSpec___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_cli___boxed__const__2;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__7;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_new___lambda__3(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_env___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -477,7 +479,6 @@ lean_object* lean_io_wait(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lake_lake_translateConfig___lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_script_list(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_init___lambda__2___boxed__const__1;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lake_verifyInstall(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_StateT_map___at_Lake_lake_test___spec__2(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -497,7 +498,6 @@ LEAN_EXPORT lean_object* l_Lake_lake_lean___lambda__2___boxed__const__1;
|
|||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeLongOption___closed__4;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__14;
|
||||
static uint8_t l_Lake_parseScriptSpec___closed__2;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lake_configFileExists(lean_object*, lean_object*);
|
||||
|
|
@ -526,8 +526,8 @@ static lean_object* l_Lake_LakeOptions_mkLoadConfig___closed__2;
|
|||
lean_object* l_Lake_StrPat_matches(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lake_uiVersionString;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_translateConfig___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__5;
|
||||
static lean_object* l_Lake_lake_test___closed__1;
|
||||
static lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_serve___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_lakeLongOption___closed__21;
|
||||
LEAN_EXPORT lean_object* l_Lake_lake_script___boxed__const__1;
|
||||
|
|
@ -43532,7 +43532,7 @@ x_1 = l_Lake_lake_ReservoirConfig_currentSchemaVersion___closed__2;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -43559,7 +43559,7 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__1() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43567,7 +43567,7 @@ x_1 = lean_mk_string_unchecked("name", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__2() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43575,7 +43575,7 @@ x_1 = lean_mk_string_unchecked("version", 7, 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__3() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43583,7 +43583,7 @@ x_1 = lean_mk_string_unchecked("versionTags", 11, 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__4() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43591,7 +43591,7 @@ x_1 = lean_mk_string_unchecked("description", 11, 11);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__5() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43599,7 +43599,7 @@ x_1 = lean_mk_string_unchecked("keywords", 8, 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__6() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43607,7 +43607,7 @@ x_1 = lean_mk_string_unchecked("homepage", 8, 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__7() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43615,7 +43615,7 @@ x_1 = lean_mk_string_unchecked("license", 7, 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__8() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43623,7 +43623,7 @@ x_1 = lean_mk_string_unchecked("licenseFiles", 12, 12);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__9() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43631,7 +43631,7 @@ x_1 = lean_mk_string_unchecked("doIndex", 7, 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__10() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43639,7 +43639,7 @@ x_1 = lean_mk_string_unchecked("schemaVersion", 13, 13);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__11() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43647,7 +43647,7 @@ x_1 = lean_mk_string_unchecked("platformIndependent", 19, 19);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -43655,11 +43655,11 @@ x_1 = lean_mk_string_unchecked("readmeFile", 10, 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__13() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12;
|
||||
x_1 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12;
|
||||
x_2 = lean_box(0);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -43667,19 +43667,19 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__14() {
|
||||
static lean_object* _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__13;
|
||||
x_2 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__13;
|
||||
x_3 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 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; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
|
|
@ -43709,7 +43709,7 @@ lean_inc(x_13);
|
|||
lean_dec(x_1);
|
||||
x_14 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_2);
|
||||
x_15 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__1;
|
||||
x_15 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__1;
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_14);
|
||||
|
|
@ -43720,7 +43720,7 @@ lean_ctor_set(x_18, 1, x_17);
|
|||
x_19 = l_Lake_StdVer_toString(x_3);
|
||||
x_20 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
x_21 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__2;
|
||||
x_21 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__2;
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
lean_ctor_set(x_22, 1, x_20);
|
||||
|
|
@ -43733,7 +43733,7 @@ x_26 = 0;
|
|||
x_27 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1474____spec__3(x_25, x_26, x_24);
|
||||
x_28 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
x_29 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__3;
|
||||
x_29 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__3;
|
||||
x_30 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_28);
|
||||
|
|
@ -43742,7 +43742,7 @@ lean_ctor_set(x_31, 0, x_30);
|
|||
lean_ctor_set(x_31, 1, x_17);
|
||||
x_32 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_32, 0, x_5);
|
||||
x_33 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__4;
|
||||
x_33 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__4;
|
||||
x_34 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
lean_ctor_set(x_34, 1, x_32);
|
||||
|
|
@ -43753,7 +43753,7 @@ x_36 = lean_array_size(x_6);
|
|||
x_37 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1474____spec__3(x_36, x_26, x_6);
|
||||
x_38 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
x_39 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__5;
|
||||
x_39 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__5;
|
||||
x_40 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_39);
|
||||
lean_ctor_set(x_40, 1, x_38);
|
||||
|
|
@ -43762,7 +43762,7 @@ lean_ctor_set(x_41, 0, x_40);
|
|||
lean_ctor_set(x_41, 1, x_17);
|
||||
x_42 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_42, 0, x_7);
|
||||
x_43 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__6;
|
||||
x_43 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__6;
|
||||
x_44 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_43);
|
||||
lean_ctor_set(x_44, 1, x_42);
|
||||
|
|
@ -43771,7 +43771,7 @@ lean_ctor_set(x_45, 0, x_44);
|
|||
lean_ctor_set(x_45, 1, x_17);
|
||||
x_46 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_46, 0, x_9);
|
||||
x_47 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__7;
|
||||
x_47 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__7;
|
||||
x_48 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_47);
|
||||
lean_ctor_set(x_48, 1, x_46);
|
||||
|
|
@ -43779,10 +43779,10 @@ x_49 = lean_alloc_ctor(1, 2, 0);
|
|||
lean_ctor_set(x_49, 0, x_48);
|
||||
lean_ctor_set(x_49, 1, x_17);
|
||||
x_50 = lean_array_size(x_10);
|
||||
x_51 = l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____spec__1(x_50, x_26, x_10);
|
||||
x_51 = l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____spec__1(x_50, x_26, x_10);
|
||||
x_52 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_52, 0, x_51);
|
||||
x_53 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__8;
|
||||
x_53 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__8;
|
||||
x_54 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_53);
|
||||
lean_ctor_set(x_54, 1, x_52);
|
||||
|
|
@ -43791,7 +43791,7 @@ lean_ctor_set(x_55, 0, x_54);
|
|||
lean_ctor_set(x_55, 1, x_17);
|
||||
x_56 = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(x_56, 0, x_12);
|
||||
x_57 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__9;
|
||||
x_57 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__9;
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_57);
|
||||
lean_ctor_set(x_58, 1, x_56);
|
||||
|
|
@ -43801,7 +43801,7 @@ lean_ctor_set(x_59, 1, x_17);
|
|||
x_60 = l_Lake_StdVer_toString(x_13);
|
||||
x_61 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_61, 0, x_60);
|
||||
x_62 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__10;
|
||||
x_62 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__10;
|
||||
x_63 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_62);
|
||||
lean_ctor_set(x_63, 1, x_61);
|
||||
|
|
@ -43837,7 +43837,7 @@ goto block_123;
|
|||
block_123:
|
||||
{
|
||||
lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_68 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__11;
|
||||
x_68 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__11;
|
||||
x_69 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_68);
|
||||
lean_ctor_set(x_69, 1, x_67);
|
||||
|
|
@ -43847,7 +43847,7 @@ lean_ctor_set(x_70, 1, x_17);
|
|||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84;
|
||||
x_71 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__14;
|
||||
x_71 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__14;
|
||||
x_72 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_72, 0, x_71);
|
||||
lean_ctor_set(x_72, 1, x_66);
|
||||
|
|
@ -43894,7 +43894,7 @@ x_86 = lean_ctor_get(x_11, 0);
|
|||
x_87 = l_Lake_mkRelPathString(x_86);
|
||||
lean_ctor_set_tag(x_11, 3);
|
||||
lean_ctor_set(x_11, 0, x_87);
|
||||
x_88 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12;
|
||||
x_88 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12;
|
||||
x_89 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_89, 0, x_88);
|
||||
lean_ctor_set(x_89, 1, x_11);
|
||||
|
|
@ -43945,7 +43945,7 @@ lean_dec(x_11);
|
|||
x_105 = l_Lake_mkRelPathString(x_104);
|
||||
x_106 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_106, 0, x_105);
|
||||
x_107 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12;
|
||||
x_107 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12;
|
||||
x_108 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_108, 0, x_107);
|
||||
lean_ctor_set(x_108, 1, x_106);
|
||||
|
|
@ -43991,7 +43991,7 @@ return x_122;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
size_t x_4; size_t x_5; lean_object* x_6;
|
||||
|
|
@ -43999,7 +43999,7 @@ x_4 = lean_unbox_usize(x_1);
|
|||
lean_dec(x_1);
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____spec__1(x_4, x_5, x_3);
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____spec__1(x_4, x_5, x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -44007,7 +44007,7 @@ static lean_object* _init_l_Lake_lake_instToJsonReservoirConfig___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -45158,7 +45158,7 @@ lean_ctor_set(x_48, 8, x_25);
|
|||
lean_ctor_set(x_48, 9, x_46);
|
||||
lean_ctor_set(x_48, 10, x_47);
|
||||
lean_ctor_set_uint8(x_48, sizeof(void*)*11, x_45);
|
||||
x_49 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_48);
|
||||
x_49 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_48);
|
||||
x_50 = lean_unsigned_to_nat(80u);
|
||||
x_51 = l_Lean_Json_pretty(x_49, x_50);
|
||||
x_52 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_51, x_31);
|
||||
|
|
@ -45268,7 +45268,7 @@ lean_ctor_set(x_81, 8, x_25);
|
|||
lean_ctor_set(x_81, 9, x_6);
|
||||
lean_ctor_set(x_81, 10, x_80);
|
||||
lean_ctor_set_uint8(x_81, sizeof(void*)*11, x_79);
|
||||
x_82 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_81);
|
||||
x_82 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_81);
|
||||
x_83 = lean_unsigned_to_nat(80u);
|
||||
x_84 = l_Lean_Json_pretty(x_82, x_83);
|
||||
x_85 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_84, x_31);
|
||||
|
|
@ -45410,7 +45410,7 @@ lean_ctor_set(x_129, 8, x_106);
|
|||
lean_ctor_set(x_129, 9, x_127);
|
||||
lean_ctor_set(x_129, 10, x_128);
|
||||
lean_ctor_set_uint8(x_129, sizeof(void*)*11, x_126);
|
||||
x_130 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_129);
|
||||
x_130 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_129);
|
||||
x_131 = lean_unsigned_to_nat(80u);
|
||||
x_132 = l_Lean_Json_pretty(x_130, x_131);
|
||||
x_133 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_132, x_112);
|
||||
|
|
@ -45517,7 +45517,7 @@ lean_ctor_set(x_160, 8, x_106);
|
|||
lean_ctor_set(x_160, 9, x_6);
|
||||
lean_ctor_set(x_160, 10, x_159);
|
||||
lean_ctor_set_uint8(x_160, sizeof(void*)*11, x_158);
|
||||
x_161 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_160);
|
||||
x_161 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_160);
|
||||
x_162 = lean_unsigned_to_nat(80u);
|
||||
x_163 = l_Lean_Json_pretty(x_161, x_162);
|
||||
x_164 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_163, x_112);
|
||||
|
|
@ -45670,7 +45670,7 @@ lean_ctor_set(x_209, 8, x_185);
|
|||
lean_ctor_set(x_209, 9, x_207);
|
||||
lean_ctor_set(x_209, 10, x_208);
|
||||
lean_ctor_set_uint8(x_209, sizeof(void*)*11, x_206);
|
||||
x_210 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_209);
|
||||
x_210 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_209);
|
||||
x_211 = lean_unsigned_to_nat(80u);
|
||||
x_212 = l_Lean_Json_pretty(x_210, x_211);
|
||||
x_213 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_212, x_192);
|
||||
|
|
@ -45782,7 +45782,7 @@ lean_ctor_set(x_241, 8, x_185);
|
|||
lean_ctor_set(x_241, 9, x_6);
|
||||
lean_ctor_set(x_241, 10, x_240);
|
||||
lean_ctor_set_uint8(x_241, sizeof(void*)*11, x_239);
|
||||
x_242 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_241);
|
||||
x_242 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_241);
|
||||
x_243 = lean_unsigned_to_nat(80u);
|
||||
x_244 = l_Lean_Json_pretty(x_242, x_243);
|
||||
x_245 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_244, x_192);
|
||||
|
|
@ -45970,7 +45970,7 @@ lean_ctor_set(x_304, 8, x_280);
|
|||
lean_ctor_set(x_304, 9, x_302);
|
||||
lean_ctor_set(x_304, 10, x_303);
|
||||
lean_ctor_set_uint8(x_304, sizeof(void*)*11, x_301);
|
||||
x_305 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_304);
|
||||
x_305 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_304);
|
||||
x_306 = lean_unsigned_to_nat(80u);
|
||||
x_307 = l_Lean_Json_pretty(x_305, x_306);
|
||||
x_308 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_307, x_287);
|
||||
|
|
@ -46088,7 +46088,7 @@ lean_ctor_set(x_337, 8, x_280);
|
|||
lean_ctor_set(x_337, 9, x_335);
|
||||
lean_ctor_set(x_337, 10, x_336);
|
||||
lean_ctor_set_uint8(x_337, sizeof(void*)*11, x_334);
|
||||
x_338 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_337);
|
||||
x_338 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_337);
|
||||
x_339 = lean_unsigned_to_nat(80u);
|
||||
x_340 = l_Lean_Json_pretty(x_338, x_339);
|
||||
x_341 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_340, x_287);
|
||||
|
|
@ -46438,7 +46438,7 @@ lean_ctor_set(x_48, 8, x_24);
|
|||
lean_ctor_set(x_48, 9, x_46);
|
||||
lean_ctor_set(x_48, 10, x_47);
|
||||
lean_ctor_set_uint8(x_48, sizeof(void*)*11, x_45);
|
||||
x_49 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_48);
|
||||
x_49 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_48);
|
||||
x_50 = lean_unsigned_to_nat(80u);
|
||||
x_51 = l_Lean_Json_pretty(x_49, x_50);
|
||||
x_52 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_51, x_30);
|
||||
|
|
@ -46548,7 +46548,7 @@ lean_ctor_set(x_81, 8, x_24);
|
|||
lean_ctor_set(x_81, 9, x_5);
|
||||
lean_ctor_set(x_81, 10, x_80);
|
||||
lean_ctor_set_uint8(x_81, sizeof(void*)*11, x_79);
|
||||
x_82 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_81);
|
||||
x_82 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_81);
|
||||
x_83 = lean_unsigned_to_nat(80u);
|
||||
x_84 = l_Lean_Json_pretty(x_82, x_83);
|
||||
x_85 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_84, x_30);
|
||||
|
|
@ -46691,7 +46691,7 @@ lean_ctor_set(x_130, 8, x_106);
|
|||
lean_ctor_set(x_130, 9, x_128);
|
||||
lean_ctor_set(x_130, 10, x_129);
|
||||
lean_ctor_set_uint8(x_130, sizeof(void*)*11, x_127);
|
||||
x_131 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_130);
|
||||
x_131 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_130);
|
||||
x_132 = lean_unsigned_to_nat(80u);
|
||||
x_133 = l_Lean_Json_pretty(x_131, x_132);
|
||||
x_134 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_133, x_112);
|
||||
|
|
@ -46798,7 +46798,7 @@ lean_ctor_set(x_161, 8, x_106);
|
|||
lean_ctor_set(x_161, 9, x_5);
|
||||
lean_ctor_set(x_161, 10, x_160);
|
||||
lean_ctor_set_uint8(x_161, sizeof(void*)*11, x_159);
|
||||
x_162 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_161);
|
||||
x_162 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_161);
|
||||
x_163 = lean_unsigned_to_nat(80u);
|
||||
x_164 = l_Lean_Json_pretty(x_162, x_163);
|
||||
x_165 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_164, x_112);
|
||||
|
|
@ -46952,7 +46952,7 @@ lean_ctor_set(x_211, 8, x_186);
|
|||
lean_ctor_set(x_211, 9, x_209);
|
||||
lean_ctor_set(x_211, 10, x_210);
|
||||
lean_ctor_set_uint8(x_211, sizeof(void*)*11, x_208);
|
||||
x_212 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_211);
|
||||
x_212 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_211);
|
||||
x_213 = lean_unsigned_to_nat(80u);
|
||||
x_214 = l_Lean_Json_pretty(x_212, x_213);
|
||||
x_215 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_214, x_193);
|
||||
|
|
@ -47064,7 +47064,7 @@ lean_ctor_set(x_243, 8, x_186);
|
|||
lean_ctor_set(x_243, 9, x_5);
|
||||
lean_ctor_set(x_243, 10, x_242);
|
||||
lean_ctor_set_uint8(x_243, sizeof(void*)*11, x_241);
|
||||
x_244 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_243);
|
||||
x_244 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_243);
|
||||
x_245 = lean_unsigned_to_nat(80u);
|
||||
x_246 = l_Lean_Json_pretty(x_244, x_245);
|
||||
x_247 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_246, x_193);
|
||||
|
|
@ -47253,7 +47253,7 @@ lean_ctor_set(x_307, 8, x_282);
|
|||
lean_ctor_set(x_307, 9, x_305);
|
||||
lean_ctor_set(x_307, 10, x_306);
|
||||
lean_ctor_set_uint8(x_307, sizeof(void*)*11, x_304);
|
||||
x_308 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_307);
|
||||
x_308 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_307);
|
||||
x_309 = lean_unsigned_to_nat(80u);
|
||||
x_310 = l_Lean_Json_pretty(x_308, x_309);
|
||||
x_311 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_310, x_289);
|
||||
|
|
@ -47371,7 +47371,7 @@ lean_ctor_set(x_340, 8, x_282);
|
|||
lean_ctor_set(x_340, 9, x_338);
|
||||
lean_ctor_set(x_340, 10, x_339);
|
||||
lean_ctor_set_uint8(x_340, sizeof(void*)*11, x_337);
|
||||
x_341 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117_(x_340);
|
||||
x_341 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111_(x_340);
|
||||
x_342 = lean_unsigned_to_nat(80u);
|
||||
x_343 = l_Lean_Json_pretty(x_341, x_342);
|
||||
x_344 = l_IO_println___at_Lean_Environment_displayStats___spec__3(x_343, x_289);
|
||||
|
|
@ -53796,34 +53796,34 @@ l_Lake_lake_ReservoirConfig_currentSchemaVersion___closed__2 = _init_l_Lake_lake
|
|||
lean_mark_persistent(l_Lake_lake_ReservoirConfig_currentSchemaVersion___closed__2);
|
||||
l_Lake_lake_ReservoirConfig_currentSchemaVersion = _init_l_Lake_lake_ReservoirConfig_currentSchemaVersion();
|
||||
lean_mark_persistent(l_Lake_lake_ReservoirConfig_currentSchemaVersion);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__1 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__1();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__1);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__2 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__2();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__2);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__3 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__3();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__3);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__4 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__4();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__4);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__5 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__5();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__5);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__6 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__6();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__6);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__7 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__7();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__7);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__8 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__8();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__8);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__9 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__9();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__9);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__10 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__10();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__10);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__11 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__11();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__11);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__12);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__13 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__13();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__13);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__14 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__14();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7117____closed__14);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__1 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__1();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__1);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__2 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__2();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__2);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__3 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__3();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__3);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__4 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__4();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__4);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__5 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__5();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__5);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__6 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__6();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__6);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__7 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__7();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__7);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__8 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__8();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__8);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__9 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__9();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__9);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__10 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__10();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__10);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__11 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__11();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__11);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__12);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__13 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__13();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__13);
|
||||
l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__14 = _init_l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__14();
|
||||
lean_mark_persistent(l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig____x40_Lake_CLI_Main___hyg_7111____closed__14);
|
||||
l_Lake_lake_instToJsonReservoirConfig___closed__1 = _init_l_Lake_lake_instToJsonReservoirConfig___closed__1();
|
||||
lean_mark_persistent(l_Lake_lake_instToJsonReservoirConfig___closed__1);
|
||||
l_Lake_lake_instToJsonReservoirConfig = _init_l_Lake_lake_instToJsonReservoirConfig();
|
||||
|
|
|
|||
710
stage0/stdlib/Lake/Load/Manifest.c
generated
710
stage0/stdlib/Lake/Load/Manifest.c
generated
File diff suppressed because it is too large
Load diff
141
stage0/stdlib/Lake/Util/Log.c
generated
141
stage0/stdlib/Lake/Util/Log.c
generated
|
|
@ -21,7 +21,6 @@ lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lake_LogT_run_x27___rarg___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Log_dropFrom___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_ELogT_replayLog___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_LogT_run___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_MonadLogT_adaptMethods___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Util_Log_0__Lake_reprVerbosity____x40_Lake_Util_Log___hyg_9____closed__2;
|
||||
|
|
@ -365,6 +364,7 @@ LEAN_EXPORT lean_object* l_Lake_LogIO_toBaseIO(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lake_Util_Log_0__Lake_fromJsonLogLevel____x40_Lake_Util_Log___hyg_917____lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lake_instDecidableEqVerbosity(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lake_withExtractLog___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_LogT_takeAndRun___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lake_ELogT_replayLog_x3f___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_ELogT_replayLog_x3f___rarg___lambda__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -3396,7 +3396,7 @@ x_12 = lean_ctor_get(x_3, 0);
|
|||
lean_inc(x_12);
|
||||
lean_dec(x_3);
|
||||
x_13 = l___private_Lake_Util_Log_0__Lake_toJsonLogEntry____x40_Lake_Util_Log___hyg_1398____closed__2;
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_13);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
uint8_t x_15;
|
||||
|
|
@ -3717,80 +3717,83 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lake_logSerialMessage___rarg(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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_3 = lean_ctor_get(x_1, 3);
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_string_utf8_byte_size(x_3);
|
||||
x_5 = l_Lake_logSerialMessage___rarg___closed__1;
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = l_Substring_takeWhileAux(x_3, x_4, x_5, x_6);
|
||||
x_8 = l_Substring_takeRightWhileAux(x_3, x_7, x_5, x_4);
|
||||
x_9 = lean_string_utf8_extract(x_3, x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_3);
|
||||
x_10 = lean_string_utf8_byte_size(x_9);
|
||||
x_11 = lean_nat_dec_eq(x_10, x_6);
|
||||
lean_dec(x_10);
|
||||
x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*5 + 1);
|
||||
x_13 = l_Lake_LogLevel_ofMessageSeverity(x_12);
|
||||
x_14 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_box(0);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
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; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_17 = l_Lake_instInhabitedLogEntry___closed__1;
|
||||
x_18 = lean_string_append(x_17, x_9);
|
||||
lean_dec(x_9);
|
||||
x_19 = l_Lake_logSerialMessage___rarg___closed__2;
|
||||
x_20 = lean_string_append(x_18, x_19);
|
||||
x_21 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_1);
|
||||
x_22 = lean_string_utf8_byte_size(x_21);
|
||||
x_23 = l_Substring_takeWhileAux(x_21, x_22, x_5, x_6);
|
||||
x_24 = l_Substring_takeRightWhileAux(x_21, x_23, x_5, x_22);
|
||||
x_25 = lean_string_utf8_extract(x_21, x_23, x_24);
|
||||
lean_dec(x_24);
|
||||
lean_dec(x_23);
|
||||
lean_dec(x_21);
|
||||
x_26 = lean_string_append(x_20, x_25);
|
||||
x_4 = lean_ctor_get(x_3, 3);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_string_utf8_byte_size(x_4);
|
||||
x_6 = l_Lake_logSerialMessage___rarg___closed__1;
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = l_Substring_takeWhileAux(x_4, x_5, x_6, x_7);
|
||||
x_9 = l_Substring_takeRightWhileAux(x_4, x_8, x_6, x_5);
|
||||
x_10 = lean_string_utf8_extract(x_4, x_8, x_9);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
x_11 = lean_string_utf8_byte_size(x_10);
|
||||
x_12 = lean_nat_dec_eq(x_11, x_7);
|
||||
lean_dec(x_11);
|
||||
x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*5 + 1);
|
||||
x_14 = l_Lake_LogLevel_ofMessageSeverity(x_13);
|
||||
x_15 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_16);
|
||||
x_17 = lean_box(0);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; 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; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_18 = l_Lake_instInhabitedLogEntry___closed__1;
|
||||
x_19 = lean_string_append(x_18, x_10);
|
||||
lean_dec(x_10);
|
||||
x_20 = l_Lake_logSerialMessage___rarg___closed__2;
|
||||
x_21 = lean_string_append(x_19, x_20);
|
||||
x_22 = lean_ctor_get(x_3, 4);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_3);
|
||||
x_23 = lean_string_utf8_byte_size(x_22);
|
||||
x_24 = l_Substring_takeWhileAux(x_22, x_23, x_6, x_7);
|
||||
x_25 = l_Substring_takeRightWhileAux(x_22, x_24, x_6, x_23);
|
||||
x_26 = lean_string_utf8_extract(x_22, x_24, x_25);
|
||||
lean_dec(x_25);
|
||||
x_27 = lean_string_append(x_26, x_17);
|
||||
x_28 = l_Lean_mkErrorStringWithPos(x_14, x_15, x_27, x_16);
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_14);
|
||||
x_29 = lean_alloc_ctor(0, 1, 1);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*1, x_13);
|
||||
x_30 = lean_apply_1(x_2, x_29);
|
||||
return x_30;
|
||||
lean_dec(x_24);
|
||||
lean_dec(x_22);
|
||||
x_27 = lean_string_append(x_21, x_26);
|
||||
lean_dec(x_26);
|
||||
x_28 = lean_string_append(x_27, x_18);
|
||||
x_29 = l_Lean_mkErrorStringWithPos(x_15, x_16, x_28, x_17);
|
||||
lean_dec(x_28);
|
||||
lean_dec(x_15);
|
||||
x_30 = lean_alloc_ctor(0, 1, 1);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_14);
|
||||
x_31 = lean_apply_1(x_2, x_30);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
lean_dec(x_9);
|
||||
x_31 = lean_ctor_get(x_1, 4);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_1);
|
||||
x_32 = lean_string_utf8_byte_size(x_31);
|
||||
x_33 = l_Substring_takeWhileAux(x_31, x_32, x_5, x_6);
|
||||
x_34 = l_Substring_takeRightWhileAux(x_31, x_33, x_5, x_32);
|
||||
x_35 = lean_string_utf8_extract(x_31, x_33, x_34);
|
||||
lean_dec(x_34);
|
||||
lean_dec(x_33);
|
||||
lean_dec(x_31);
|
||||
x_36 = l_Lean_mkErrorStringWithPos(x_14, x_15, x_35, x_16);
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
lean_dec(x_10);
|
||||
x_32 = lean_ctor_get(x_3, 4);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_3);
|
||||
x_33 = lean_string_utf8_byte_size(x_32);
|
||||
x_34 = l_Substring_takeWhileAux(x_32, x_33, x_6, x_7);
|
||||
x_35 = l_Substring_takeRightWhileAux(x_32, x_34, x_6, x_33);
|
||||
x_36 = lean_string_utf8_extract(x_32, x_34, x_35);
|
||||
lean_dec(x_35);
|
||||
lean_dec(x_14);
|
||||
x_37 = lean_alloc_ctor(0, 1, 1);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set_uint8(x_37, sizeof(void*)*1, x_13);
|
||||
x_38 = lean_apply_1(x_2, x_37);
|
||||
return x_38;
|
||||
lean_dec(x_34);
|
||||
lean_dec(x_32);
|
||||
x_37 = l_Lean_mkErrorStringWithPos(x_15, x_16, x_36, x_17);
|
||||
lean_dec(x_36);
|
||||
lean_dec(x_15);
|
||||
x_38 = lean_alloc_ctor(0, 1, 1);
|
||||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_14);
|
||||
x_39 = lean_apply_1(x_2, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Data.c
generated
6
stage0/stdlib/Lean/Data.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Data
|
||||
// Imports: Lean.Data.AssocList Lean.Data.Format Lean.Data.HashMap Lean.Data.HashSet Lean.Data.Json Lean.Data.JsonRpc Lean.Data.KVMap Lean.Data.LBool Lean.Data.LOption Lean.Data.Lsp Lean.Data.Name Lean.Data.NameMap Lean.Data.OpenDecl Lean.Data.Options Lean.Data.PersistentArray Lean.Data.PersistentHashMap Lean.Data.PersistentHashSet Lean.Data.Position Lean.Data.PrefixTree Lean.Data.SMap Lean.Data.Trie Lean.Data.Xml Lean.Data.NameTrie Lean.Data.RBTree Lean.Data.RBMap Lean.Data.Rat
|
||||
// Imports: Lean.Data.AssocList Lean.Data.Format Lean.Data.HashMap Lean.Data.HashSet Lean.Data.Json Lean.Data.JsonRpc Lean.Data.KVMap Lean.Data.LBool Lean.Data.LOption Lean.Data.Lsp Lean.Data.Name Lean.Data.NameMap Lean.Data.OpenDecl Lean.Data.Options Lean.Data.PersistentArray Lean.Data.PersistentHashMap Lean.Data.PersistentHashSet Lean.Data.Position Lean.Data.PrefixTree Lean.Data.SMap Lean.Data.Trie Lean.Data.Xml Lean.Data.NameTrie Lean.Data.RBTree Lean.Data.RBMap Lean.Data.Rat Lean.Data.RArray
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -39,6 +39,7 @@ lean_object* initialize_Lean_Data_NameTrie(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Lean_Data_RBTree(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_RBMap(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Rat(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_RArray(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Data(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -122,6 +123,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Data_Rat(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_RArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
24
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
24
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
|
|
@ -276,6 +276,7 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonS
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_995____closed__7;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_48____lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_626____boxed(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__22;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_794____closed__14;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644_(lean_object*);
|
||||
|
|
@ -335,7 +336,6 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonW
|
|||
static lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_398_(uint8_t);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__64;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_758____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__10;
|
||||
|
|
@ -1955,7 +1955,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_398____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -6929,7 +6929,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_14);
|
||||
x_24 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__3;
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
@ -6969,7 +6969,7 @@ lean_inc(x_34);
|
|||
lean_dec(x_25);
|
||||
x_35 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__4;
|
||||
lean_inc(x_1);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_35);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_35);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
uint8_t x_37;
|
||||
|
|
@ -7010,7 +7010,7 @@ lean_inc(x_45);
|
|||
lean_dec(x_36);
|
||||
x_46 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__5;
|
||||
lean_inc(x_1);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_46);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_46);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
uint8_t x_48;
|
||||
|
|
@ -7052,7 +7052,7 @@ lean_inc(x_56);
|
|||
lean_dec(x_47);
|
||||
x_57 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__6;
|
||||
lean_inc(x_1);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_57);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_57);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
{
|
||||
uint8_t x_59;
|
||||
|
|
@ -7095,7 +7095,7 @@ lean_inc(x_67);
|
|||
lean_dec(x_58);
|
||||
x_68 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__7;
|
||||
lean_inc(x_1);
|
||||
x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_68);
|
||||
x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_68);
|
||||
if (lean_obj_tag(x_69) == 0)
|
||||
{
|
||||
uint8_t x_70;
|
||||
|
|
@ -7139,7 +7139,7 @@ lean_inc(x_78);
|
|||
lean_dec(x_69);
|
||||
x_79 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__8;
|
||||
lean_inc(x_1);
|
||||
x_80 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_79);
|
||||
x_80 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_79);
|
||||
if (lean_obj_tag(x_80) == 0)
|
||||
{
|
||||
uint8_t x_81;
|
||||
|
|
@ -7184,7 +7184,7 @@ lean_inc(x_89);
|
|||
lean_dec(x_80);
|
||||
x_90 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__9;
|
||||
lean_inc(x_1);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_90);
|
||||
x_91 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_90);
|
||||
if (lean_obj_tag(x_91) == 0)
|
||||
{
|
||||
uint8_t x_92;
|
||||
|
|
@ -7230,7 +7230,7 @@ lean_inc(x_100);
|
|||
lean_dec(x_91);
|
||||
x_101 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__10;
|
||||
lean_inc(x_1);
|
||||
x_102 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_101);
|
||||
x_102 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_101);
|
||||
if (lean_obj_tag(x_102) == 0)
|
||||
{
|
||||
uint8_t x_103;
|
||||
|
|
@ -7325,7 +7325,7 @@ lean_inc(x_122);
|
|||
lean_dec(x_113);
|
||||
x_123 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__12;
|
||||
lean_inc(x_1);
|
||||
x_124 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_123);
|
||||
x_124 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_123);
|
||||
if (lean_obj_tag(x_124) == 0)
|
||||
{
|
||||
uint8_t x_125;
|
||||
|
|
@ -7374,7 +7374,7 @@ lean_inc(x_133);
|
|||
lean_dec(x_124);
|
||||
x_134 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__13;
|
||||
lean_inc(x_1);
|
||||
x_135 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_134);
|
||||
x_135 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_134);
|
||||
if (lean_obj_tag(x_135) == 0)
|
||||
{
|
||||
uint8_t x_136;
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
10
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
|
|
@ -18,7 +18,6 @@ static lean_object* l_Lean_Lsp_instToJsonCodeAction___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____spec__5___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____closed__43;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____closed__9;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____spec__4___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049____closed__45;
|
||||
|
|
@ -269,6 +268,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionContext;
|
|||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2411____spec__3(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_884____closed__9;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__23;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2467____spec__4(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___boxed(lean_object*);
|
||||
|
|
@ -308,6 +308,7 @@ static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCo
|
|||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____closed__15;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1627_(lean_object*);
|
||||
static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____spec__3___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1753____closed__4;
|
||||
|
|
@ -368,7 +369,6 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_toCtorIdx(uint8_t);
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionLiteralSupport;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____closed__15;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1130____closed__5;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____closed__39;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_838____closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147_(lean_object*);
|
||||
|
|
@ -2530,7 +2530,7 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -3110,7 +3110,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_838____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -5027,7 +5027,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_14);
|
||||
x_24 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1130____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Data/Lsp/Diagnostics.c
generated
6
stage0/stdlib/Lean/Data/Lsp/Diagnostics.c
generated
|
|
@ -16,7 +16,6 @@ extern "C" {
|
|||
lean_object* l_Lean_JsonNumber_fromNat(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1550____rarg___closed__38;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1550____rarg___closed__36;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_953____closed__5;
|
||||
static lean_object* l_Lean_Lsp_instInhabitedDiagnosticCode___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1550_(lean_object*);
|
||||
|
|
@ -224,6 +223,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_ordDi
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_compareByUserVisible(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2411____spec__3(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___boxed(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2467____spec__4(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_toCtorIdx(uint8_t);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1550____rarg___closed__1;
|
||||
|
|
@ -2148,7 +2148,7 @@ x_12 = lean_ctor_get(x_3, 0);
|
|||
lean_inc(x_12);
|
||||
lean_dec(x_3);
|
||||
x_13 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_901____closed__2;
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_13);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
uint8_t x_15;
|
||||
|
|
@ -7391,7 +7391,7 @@ lean_inc(x_56);
|
|||
lean_dec(x_47);
|
||||
x_57 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_901____closed__2;
|
||||
lean_inc(x_1);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_57);
|
||||
x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_57);
|
||||
if (lean_obj_tag(x_58) == 0)
|
||||
{
|
||||
uint8_t x_59;
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Data/Lsp/InitShutdown.c
generated
8
stage0/stdlib/Lean/Data/Lsp/InitShutdown.c
generated
|
|
@ -14,7 +14,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_522____closed__6;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_966____closed__4;
|
||||
static lean_object* l_Lean_Lsp_instToJsonServerInfo___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -133,6 +132,7 @@ static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonI
|
|||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_28____closed__3;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_796____closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_70____lambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonInitializeParams___spec__7(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_342____closed__8;
|
||||
static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_342____closed__3;
|
||||
|
|
@ -498,7 +498,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_28____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -1951,7 +1951,7 @@ lean_inc(x_1);
|
|||
x_5 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(x_1, x_4);
|
||||
x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_522____closed__3;
|
||||
lean_inc(x_1);
|
||||
x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_6);
|
||||
x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_522____closed__4;
|
||||
lean_inc(x_1);
|
||||
x_9 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(x_1, x_8);
|
||||
|
|
@ -4338,7 +4338,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_28____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
|
|||
356
stage0/stdlib/Lean/Data/NameMap.c
generated
356
stage0/stdlib/Lean/Data/NameMap.c
generated
|
|
@ -14,6 +14,8 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameSet_contains___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filterMap(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBTree_filter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_NameSet_instForInName___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*);
|
||||
|
|
@ -34,22 +36,29 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1
|
|||
size_t lean_uint64_to_usize(uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameMap_contains___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_RBNode_isRed___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_filter(lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
size_t lean_usize_mul(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_NameSSet_insert___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filter___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_NameHashSet_contains(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSet_instAppend;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___at_Lean_NameHashSet_filter___spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Internal_AssocList_length___spec__1___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameMap_contains___spec__1___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_instEmptyCollection;
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_contains___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_find_x3f(lean_object*);
|
||||
lean_object* l_Lean_RBMap_filterMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameMap_contains___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSet_append___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MacroScopesView_isSuffixOf___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -75,6 +84,7 @@ LEAN_EXPORT lean_object* l_Lean_NameSSet_instEmptyCollection;
|
|||
LEAN_EXPORT lean_object* l_Lean_NameSet_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_instForInProdName(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_SMap_contains___at_Lean_NameSSet_contains___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filterMap___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSSet_instInhabited;
|
||||
static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_NameSSet_insert___spec__3___closed__2;
|
||||
static lean_object* l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1___closed__2;
|
||||
|
|
@ -82,6 +92,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1
|
|||
static lean_object* l_Lean_NameMap_instForInProdName___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_NameSSet_insert___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_filter_go___at_Lean_NameHashSet_filter___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_Lean_NameSSet_contains___spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_NameSSet_insert___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_find_x3f___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -111,38 +122,48 @@ uint64_t l_Lean_Name_hash___override(lean_object*);
|
|||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
static lean_object* l_Lean_NameSet_append___closed__1;
|
||||
static lean_object* l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1___closed__5;
|
||||
lean_object* l_Lean_RBMap_filter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_insert(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_empty;
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_NameSSet_insert___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSet_filter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSet_instInhabited;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkNameMap(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___at_Lean_NameHashSet_filter___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_NameHashSet_filter___spec__4(lean_object*, size_t, size_t, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_NameSSet_insert___spec__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at_Lean_NameSSet_contains___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand_go___at_Lean_NameSSet_insert___spec__8(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Name_isSuffixOf(lean_object*, lean_object*);
|
||||
lean_object* l_Std_DHashMap_Internal_AssocList_filter_go___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_NameSSet_contains(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_mergeBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_NameSSet_insert___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_contains(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filter(lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_NameSSet_insert___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_NameSSet_insert___spec__6___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_insert(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_NameMap_insert___spec__3___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_NameSSet_insert___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_NameHashSet_filter___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_List_beq___at_Lean_MacroScopesView_isPrefixOf___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -5198,6 +5219,40 @@ x_3 = l_Lean_NameMap_instForInProdName___closed__2;
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filter___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_NameMap_instForInProdName___closed__1;
|
||||
x_4 = l_Lean_RBMap_filter___rarg(x_3, x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_NameMap_filter___rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filterMap___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_NameMap_instForInProdName___closed__1;
|
||||
x_4 = l_Lean_RBMap_filterMap___rarg(x_3, lean_box(0), x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameMap_filterMap(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_NameMap_filterMap___rarg), 2, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_NameSet_empty() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7783,6 +7838,15 @@ x_1 = l_Lean_NameSet_instAppend___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameSet_filter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_NameMap_instForInProdName___closed__1;
|
||||
x_4 = l_Lean_RBTree_filter___rarg(x_3, x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -9455,6 +9519,298 @@ x_4 = lean_box(x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13;
|
||||
x_6 = lean_array_uget(x_4, x_3);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = lean_array_uset(x_4, x_3, x_7);
|
||||
x_9 = lean_box(0);
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Std_DHashMap_Internal_AssocList_filter_go___rarg(x_1, x_9, x_6);
|
||||
x_11 = 1;
|
||||
x_12 = lean_usize_add(x_3, x_11);
|
||||
x_13 = lean_array_uset(x_8, x_3, x_10);
|
||||
x_3 = x_12;
|
||||
x_4 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_filter_go___at_Lean_NameHashSet_filter___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = lean_ctor_get(x_3, 1);
|
||||
x_7 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_5);
|
||||
x_8 = lean_apply_1(x_1, x_5);
|
||||
x_9 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_free_object(x_3);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
x_3 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_ctor_set(x_3, 2, x_2);
|
||||
x_2 = x_3;
|
||||
x_3 = x_7;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_12 = lean_ctor_get(x_3, 0);
|
||||
x_13 = lean_ctor_get(x_3, 1);
|
||||
x_14 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
lean_inc(x_12);
|
||||
x_15 = lean_apply_1(x_1, x_12);
|
||||
x_16 = lean_unbox(x_15);
|
||||
lean_dec(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
x_3 = x_14;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18;
|
||||
x_18 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_18, 0, x_12);
|
||||
lean_ctor_set(x_18, 1, x_13);
|
||||
lean_ctor_set(x_18, 2, x_2);
|
||||
x_2 = x_18;
|
||||
x_3 = x_14;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___at_Lean_NameHashSet_filter___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13;
|
||||
x_6 = lean_array_uget(x_4, x_3);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = lean_array_uset(x_4, x_3, x_7);
|
||||
x_9 = lean_box(0);
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Std_DHashMap_Internal_AssocList_filter_go___at_Lean_NameHashSet_filter___spec__3(x_1, x_9, x_6);
|
||||
x_11 = 1;
|
||||
x_12 = lean_usize_add(x_3, x_11);
|
||||
x_13 = lean_array_uset(x_8, x_3, x_10);
|
||||
x_3 = x_12;
|
||||
x_4 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_NameHashSet_filter___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_eq(x_2, x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11;
|
||||
x_6 = lean_array_uget(x_1, x_2);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = l_Std_DHashMap_Internal_AssocList_foldlM___at_Std_DHashMap_Internal_AssocList_length___spec__1___rarg(x_7, x_6);
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_nat_add(x_4, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
x_10 = 1;
|
||||
x_11 = lean_usize_add(x_2, x_10);
|
||||
x_2 = x_11;
|
||||
x_4 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_NameHashSet_filter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = !lean_is_exclusive(x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_4 = lean_ctor_get(x_2, 1);
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_5);
|
||||
x_6 = lean_array_size(x_4);
|
||||
x_7 = 0;
|
||||
x_8 = l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___at_Lean_NameHashSet_filter___spec__2(x_1, x_6, x_7, x_4);
|
||||
x_9 = lean_array_get_size(x_8);
|
||||
x_10 = lean_unsigned_to_nat(0u);
|
||||
x_11 = lean_nat_dec_lt(x_10, x_9);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set(x_2, 1, x_8);
|
||||
lean_ctor_set(x_2, 0, x_10);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = lean_nat_dec_le(x_9, x_9);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set(x_2, 1, x_8);
|
||||
lean_ctor_set(x_2, 0, x_10);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_13; lean_object* x_14;
|
||||
x_13 = lean_usize_of_nat(x_9);
|
||||
lean_dec(x_9);
|
||||
x_14 = l_Array_foldlMUnsafe_fold___at_Lean_NameHashSet_filter___spec__4(x_8, x_7, x_13, x_10);
|
||||
lean_ctor_set(x_2, 1, x_8);
|
||||
lean_ctor_set(x_2, 0, x_14);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
x_15 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_2);
|
||||
x_16 = lean_array_size(x_15);
|
||||
x_17 = 0;
|
||||
x_18 = l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___at_Lean_NameHashSet_filter___spec__2(x_1, x_16, x_17, x_15);
|
||||
x_19 = lean_array_get_size(x_18);
|
||||
x_20 = lean_unsigned_to_nat(0u);
|
||||
x_21 = lean_nat_dec_lt(x_20, x_19);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22;
|
||||
lean_dec(x_19);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_20);
|
||||
lean_ctor_set(x_22, 1, x_18);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_23;
|
||||
x_23 = lean_nat_dec_le(x_19, x_19);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_24;
|
||||
lean_dec(x_19);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_20);
|
||||
lean_ctor_set(x_24, 1, x_18);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_25 = lean_usize_of_nat(x_19);
|
||||
lean_dec(x_19);
|
||||
x_26 = l_Array_foldlMUnsafe_fold___at_Lean_NameHashSet_filter___spec__4(x_18, x_17, x_25, x_20);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
lean_ctor_set(x_27, 1, x_18);
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1(x_1, x_5, x_6, x_4);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___at_Lean_NameHashSet_filter___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_mapMUnsafe_map___at_Lean_NameHashSet_filter___spec__1___at_Lean_NameHashSet_filter___spec__2(x_1, x_5, x_6, x_4);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_NameHashSet_filter___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_NameHashSet_filter___spec__4(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_List_beq___at_Lean_MacroScopesView_isPrefixOf___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
424
stage0/stdlib/Lean/Data/RArray.c
generated
Normal file
424
stage0/stdlib/Lean/Data/RArray.c
generated
Normal file
|
|
@ -0,0 +1,424 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Data.RArray
|
||||
// Imports: Init.Data.RArray Lean.ToExpr
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instToExprRArray___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_toExpr___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn_go(lean_object*);
|
||||
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__7;
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__1;
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__8;
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_toExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__5;
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__3;
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_instToExprRArray___rarg___lambda__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn(lean_object*);
|
||||
static lean_object* l_Lean_instToExprRArray___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn_go___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToExprRArray___rarg(lean_object*);
|
||||
static lean_object* l_Lean_RArray_toExpr___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray___rarg___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkRawNatLit(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToExprRArray(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn_go___rarg(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; uint8_t x_9;
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
x_8 = lean_nat_add(x_3, x_7);
|
||||
x_9 = lean_nat_dec_eq(x_8, x_4);
|
||||
lean_dec(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;
|
||||
x_10 = lean_nat_add(x_3, x_4);
|
||||
x_11 = lean_unsigned_to_nat(2u);
|
||||
x_12 = lean_nat_div(x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
lean_inc(x_2);
|
||||
x_13 = l_Lean_RArray_ofFn_go___rarg(x_1, x_2, x_3, x_12, lean_box(0), lean_box(0));
|
||||
lean_inc(x_12);
|
||||
x_14 = l_Lean_RArray_ofFn_go___rarg(x_1, x_2, x_12, x_4, lean_box(0), lean_box(0));
|
||||
x_15 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_15, 0, x_12);
|
||||
lean_ctor_set(x_15, 1, x_13);
|
||||
lean_ctor_set(x_15, 2, x_14);
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_apply_1(x_2, x_3);
|
||||
x_17 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn_go(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RArray_ofFn_go___rarg___boxed), 6, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn_go___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7;
|
||||
x_7 = l_Lean_RArray_ofFn_go___rarg(x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = l_Lean_RArray_ofFn_go___rarg(x_1, x_2, x_4, x_1, lean_box(0), lean_box(0));
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RArray_ofFn___rarg___boxed), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofFn___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_RArray_ofFn___rarg(x_1, x_2, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_array_fget(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray___rarg(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;
|
||||
x_3 = lean_array_get_size(x_1);
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_RArray_ofArray___rarg___lambda__1___boxed), 2, 1);
|
||||
lean_closure_set(x_4, 0, x_1);
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_RArray_ofFn_go___rarg(x_3, x_4, x_5, x_3, lean_box(0), lean_box(0));
|
||||
lean_dec(x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RArray_ofArray___rarg), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_ofArray___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_RArray_ofArray___rarg___lambda__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
lean_dec(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_dec(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(x_8);
|
||||
lean_dec(x_1);
|
||||
x_9 = lean_apply_3(x_3, x_6, x_7, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l___private_Lean_Data_RArray_0____private_Init_Data_RArray_0__Lean_RArray_get__eq__def_match__1_splitter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("RArray", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("leaf", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_RArray_toExpr___rarg___closed__1;
|
||||
x_2 = l_Lean_RArray_toExpr___rarg___closed__2;
|
||||
x_3 = l_Lean_RArray_toExpr___rarg___closed__3;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_RArray_toExpr___rarg___closed__4;
|
||||
x_3 = l_Lean_Expr_const___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("branch", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_RArray_toExpr___rarg___closed__1;
|
||||
x_2 = l_Lean_RArray_toExpr___rarg___closed__2;
|
||||
x_3 = l_Lean_RArray_toExpr___rarg___closed__6;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_RArray_toExpr___rarg___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_RArray_toExpr___rarg___closed__7;
|
||||
x_3 = l_Lean_Expr_const___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_toExpr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_3);
|
||||
x_5 = lean_apply_1(x_2, x_4);
|
||||
x_6 = l_Lean_RArray_toExpr___rarg___closed__5;
|
||||
x_7 = l_Lean_mkAppB(x_6, x_1, x_5);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
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;
|
||||
x_8 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_3);
|
||||
x_11 = l_Lean_mkRawNatLit(x_8);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_12 = l_Lean_RArray_toExpr___rarg(x_1, x_2, x_9);
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_RArray_toExpr___rarg(x_1, x_2, x_10);
|
||||
x_14 = l_Lean_RArray_toExpr___rarg___closed__8;
|
||||
x_15 = l_Lean_mkApp4(x_14, x_1, x_11, x_12, x_13);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RArray_toExpr(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RArray_toExpr___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instToExprRArray___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = l_Lean_RArray_toExpr___rarg(x_3, x_4, x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instToExprRArray___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_RArray_toExpr___rarg___closed__1;
|
||||
x_2 = l_Lean_RArray_toExpr___rarg___closed__2;
|
||||
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instToExprRArray___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_instToExprRArray___rarg___closed__1;
|
||||
x_3 = l_Lean_Expr_const___override(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instToExprRArray___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
lean_inc(x_1);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_instToExprRArray___rarg___lambda__1), 2, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = l_Lean_instToExprRArray___rarg___closed__2;
|
||||
x_5 = l_Lean_Expr_app___override(x_4, x_3);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_2);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instToExprRArray(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_instToExprRArray___rarg), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_RArray(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_ToExpr(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Data_RArray(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_Data_RArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_ToExpr(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_RArray_toExpr___rarg___closed__1 = _init_l_Lean_RArray_toExpr___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__1);
|
||||
l_Lean_RArray_toExpr___rarg___closed__2 = _init_l_Lean_RArray_toExpr___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__2);
|
||||
l_Lean_RArray_toExpr___rarg___closed__3 = _init_l_Lean_RArray_toExpr___rarg___closed__3();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__3);
|
||||
l_Lean_RArray_toExpr___rarg___closed__4 = _init_l_Lean_RArray_toExpr___rarg___closed__4();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__4);
|
||||
l_Lean_RArray_toExpr___rarg___closed__5 = _init_l_Lean_RArray_toExpr___rarg___closed__5();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__5);
|
||||
l_Lean_RArray_toExpr___rarg___closed__6 = _init_l_Lean_RArray_toExpr___rarg___closed__6();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__6);
|
||||
l_Lean_RArray_toExpr___rarg___closed__7 = _init_l_Lean_RArray_toExpr___rarg___closed__7();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__7);
|
||||
l_Lean_RArray_toExpr___rarg___closed__8 = _init_l_Lean_RArray_toExpr___rarg___closed__8();
|
||||
lean_mark_persistent(l_Lean_RArray_toExpr___rarg___closed__8);
|
||||
l_Lean_instToExprRArray___rarg___closed__1 = _init_l_Lean_instToExprRArray___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToExprRArray___rarg___closed__1);
|
||||
l_Lean_instToExprRArray___rarg___closed__2 = _init_l_Lean_instToExprRArray___rarg___closed__2();
|
||||
lean_mark_persistent(l_Lean_instToExprRArray___rarg___closed__2);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
159
stage0/stdlib/Lean/Data/RBMap.c
generated
159
stage0/stdlib/Lean/Data/RBMap.c
generated
|
|
@ -69,6 +69,7 @@ LEAN_EXPORT lean_object* l_Lean_RBMap_forM___rarg(lean_object*, lean_object*, le
|
|||
LEAN_EXPORT lean_object* l_Lean_RBNode_mapM___rarg___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_any(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_RBNode_all___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filter(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBNode_toArray___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_RBMap_forM___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_mergeBy___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -87,6 +88,7 @@ LEAN_EXPORT lean_object* l_Lean_RBMap_max_x21___boxed(lean_object*, lean_object*
|
|||
LEAN_EXPORT lean_object* l_Lean_RBMap_max___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_depth(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_balRight___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filterMap(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_RBMap_forIn___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_balance1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -104,6 +106,7 @@ LEAN_EXPORT lean_object* l_Lean_RBMap_instForInProd___rarg(lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_RBMap_isSingleton(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_contains___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_revFold___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filterMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_min___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_fromArray___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_RBNode_toArray___rarg___closed__1;
|
||||
|
|
@ -144,6 +147,7 @@ LEAN_EXPORT lean_object* l_Lean_RBMap_findCore_x3f(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_RBMap_forIn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_RBMap_forIn___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_isEmpty___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filterMap___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_min___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_RBMap_forM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_findD(lean_object*, lean_object*);
|
||||
|
|
@ -156,12 +160,14 @@ lean_object* l_Nat_max___boxed(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_RBMap_fromArray___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_RBMap_instForInProd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filter___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBColor_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_contains(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkRBMap(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_min_x21___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_max_x21___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filter___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_empty___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedRBMap___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -267,6 +273,7 @@ LEAN_EXPORT lean_object* l_Lean_RBMap_maxDepth___rarg___boxed(lean_object*);
|
|||
static lean_object* l_List_repr___at_Lean_RBMap_instRepr___spec__1___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_balLeft(lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___at_Lean_RBMap_instRepr___spec__1___rarg___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_repr___at_Lean_RBMap_instRepr___spec__1___rarg___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBColor_noConfusion(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_RBNode_isBlack___rarg(lean_object*);
|
||||
|
|
@ -277,6 +284,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_del(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_RBNode_setRed___rarg(lean_object*);
|
||||
static lean_object* l_Prod_repr___at_Lean_RBMap_instRepr___spec__3___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_foldM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filterMap___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_toList___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_find_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_toArray___rarg___boxed(lean_object*);
|
||||
|
|
@ -22767,6 +22775,157 @@ x_3 = lean_alloc_closure((void*)(l_Lean_RBMap_intersectBy___rarg), 6, 0);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filter___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_4, 2);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_9 = l_Lean_RBNode_fold___at_Lean_RBMap_filter___spec__1___rarg(x_1, x_2, x_3, x_5);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_10 = lean_apply_2(x_2, x_6, x_7);
|
||||
x_11 = lean_unbox(x_10);
|
||||
lean_dec(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_3 = x_9;
|
||||
x_4 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13;
|
||||
lean_inc(x_1);
|
||||
x_13 = l_Lean_RBNode_insert___rarg(x_1, x_9, x_6, x_7);
|
||||
x_3 = x_13;
|
||||
x_4 = x_8;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filter___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lean_RBMap_filter___spec__1___rarg), 4, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_box(0);
|
||||
x_5 = l_Lean_RBNode_fold___at_Lean_RBMap_filter___spec__1___rarg(x_1, x_2, x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filter(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_RBMap_filter___rarg), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filterMap___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_6 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_5, 2);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_5, 3);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_5);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_1);
|
||||
x_10 = l_Lean_RBNode_fold___at_Lean_RBMap_filterMap___spec__1___rarg(x_1, lean_box(0), x_3, x_4, x_6);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_7);
|
||||
x_11 = lean_apply_2(x_3, x_7, x_8);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
lean_dec(x_7);
|
||||
x_2 = lean_box(0);
|
||||
x_4 = x_10;
|
||||
x_5 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
x_14 = l_Lean_RBNode_insert___rarg(x_1, x_10, x_7, x_13);
|
||||
x_2 = lean_box(0);
|
||||
x_4 = x_14;
|
||||
x_5 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_filterMap___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_RBNode_fold___at_Lean_RBMap_filterMap___spec__1___rarg), 5, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filterMap___rarg(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;
|
||||
x_5 = lean_box(0);
|
||||
x_6 = l_Lean_RBNode_fold___at_Lean_RBMap_filterMap___spec__1___rarg(x_1, lean_box(0), x_3, x_5, x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBMap_filterMap(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_RBMap_filterMap___rarg), 4, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_rbmapOf___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
40
stage0/stdlib/Lean/Data/RBTree.c
generated
40
stage0/stdlib/Lean/Data/RBTree.c
generated
|
|
@ -17,6 +17,7 @@ LEAN_EXPORT lean_object* l_Lean_RBTree_seteq___rarg___boxed(lean_object*, lean_o
|
|||
LEAN_EXPORT uint8_t l_Lean_RBTree_contains___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_any(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_depth___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_all___at_Lean_RBTree_all___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_toArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_fold(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -96,6 +97,7 @@ LEAN_EXPORT lean_object* l_Lean_RBTree_isEmpty___boxed(lean_object*, lean_object
|
|||
lean_object* l_Lean_RBNode_findCore___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_insert___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_repr___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_find_x3f(lean_object*);
|
||||
lean_object* l_Lean_RBNode_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_instRepr(lean_object*, lean_object*);
|
||||
|
|
@ -103,6 +105,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_any___at_Lean_RBTree_any___spec__1___rarg
|
|||
LEAN_EXPORT lean_object* l_Lean_RBTree_forM___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_instRepr___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_rbtreeOf(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_RBTree_fromList___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_instForIn(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_toList___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -136,7 +139,9 @@ LEAN_EXPORT lean_object* l_Lean_RBTree_toList___boxed(lean_object*, lean_object*
|
|||
LEAN_EXPORT lean_object* l_Lean_RBTree_foldM___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_RBTree_fromList___spec__1(lean_object*);
|
||||
lean_object* l_Lean_RBMap_filter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBNode_fold___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_max(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_RBTree_foldM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_fromArray___rarg___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -1900,6 +1905,41 @@ x_2 = lean_alloc_closure((void*)(l_Lean_RBTree_diff___rarg), 3, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_apply_1(x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_RBTree_filter___rarg___lambda__1___boxed), 3, 1);
|
||||
lean_closure_set(x_4, 0, x_2);
|
||||
x_5 = l_Lean_RBMap_filter___rarg(x_1, x_4, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_RBTree_filter___rarg), 3, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_RBTree_filter___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_RBTree_filter___rarg___lambda__1(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_rbtreeOf___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
37
stage0/stdlib/Lean/Elab/Command.c
generated
37
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -760,7 +760,6 @@ lean_object* lean_nat_sub(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLinters___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Elab_Command___hyg_456____closed__28;
|
||||
static lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4;
|
||||
static lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__14___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -4888,7 +4887,7 @@ static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("_traceMsg", 9, 9);
|
||||
x_1 = lean_mk_string_unchecked("trace", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -15343,30 +15342,22 @@ static lean_object* _init_l_Lean_Elab_Command_withoutCommandIncrementality___rar
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("trace", 5, 5);
|
||||
x_1 = lean_mk_string_unchecked("reuse", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("reuse", 5, 5);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__1;
|
||||
x_1 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__15___closed__1;
|
||||
x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__1;
|
||||
x_3 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2;
|
||||
x_3 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__1;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -15779,7 +15770,7 @@ lean_dec(x_109);
|
|||
x_111 = lean_box(x_1);
|
||||
x_112 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__1___boxed), 2, 1);
|
||||
lean_closure_set(x_112, 0, x_111);
|
||||
x_113 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_113 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2;
|
||||
x_114 = 0;
|
||||
x_115 = l_Lean_KVMap_getBool(x_110, x_113, x_114);
|
||||
lean_dec(x_110);
|
||||
|
|
@ -15820,7 +15811,7 @@ x_123 = lean_unsigned_to_nat(0u);
|
|||
x_124 = l_Lean_Syntax_formatStxAux(x_122, x_114, x_123, x_121);
|
||||
x_125 = l_Std_Format_defWidth;
|
||||
x_126 = lean_format_pretty(x_124, x_125, x_123, x_123);
|
||||
x_127 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4;
|
||||
x_127 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_128 = lean_string_append(x_127, x_126);
|
||||
lean_dec(x_126);
|
||||
x_129 = l_Lean_Elab_Command_instInhabitedScope___closed__2;
|
||||
|
|
@ -15867,7 +15858,7 @@ lean_dec(x_139);
|
|||
x_141 = lean_box(x_1);
|
||||
x_142 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__1___boxed), 2, 1);
|
||||
lean_closure_set(x_142, 0, x_141);
|
||||
x_143 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_143 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2;
|
||||
x_144 = 0;
|
||||
x_145 = l_Lean_KVMap_getBool(x_140, x_143, x_144);
|
||||
lean_dec(x_140);
|
||||
|
|
@ -15908,7 +15899,7 @@ x_154 = lean_unsigned_to_nat(0u);
|
|||
x_155 = l_Lean_Syntax_formatStxAux(x_153, x_144, x_154, x_152);
|
||||
x_156 = l_Std_Format_defWidth;
|
||||
x_157 = lean_format_pretty(x_155, x_156, x_154, x_154);
|
||||
x_158 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4;
|
||||
x_158 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_159 = lean_string_append(x_158, x_157);
|
||||
lean_dec(x_157);
|
||||
x_160 = l_Lean_Elab_Command_instInhabitedScope___closed__2;
|
||||
|
|
@ -15982,7 +15973,7 @@ lean_dec(x_182);
|
|||
x_184 = lean_box(x_1);
|
||||
x_185 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__1___boxed), 2, 1);
|
||||
lean_closure_set(x_185, 0, x_184);
|
||||
x_186 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_186 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2;
|
||||
x_187 = 0;
|
||||
x_188 = l_Lean_KVMap_getBool(x_183, x_186, x_187);
|
||||
lean_dec(x_183);
|
||||
|
|
@ -16050,7 +16041,7 @@ x_199 = lean_unsigned_to_nat(0u);
|
|||
x_200 = l_Lean_Syntax_formatStxAux(x_198, x_187, x_199, x_197);
|
||||
x_201 = l_Std_Format_defWidth;
|
||||
x_202 = lean_format_pretty(x_200, x_201, x_199, x_199);
|
||||
x_203 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4;
|
||||
x_203 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_204 = lean_string_append(x_203, x_202);
|
||||
lean_dec(x_202);
|
||||
x_205 = l_Lean_Elab_Command_instInhabitedScope___closed__2;
|
||||
|
|
@ -16379,7 +16370,7 @@ lean_dec(x_275);
|
|||
x_277 = lean_box(x_1);
|
||||
x_278 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__1___boxed), 2, 1);
|
||||
lean_closure_set(x_278, 0, x_277);
|
||||
x_279 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_279 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2;
|
||||
x_280 = 0;
|
||||
x_281 = l_Lean_KVMap_getBool(x_276, x_279, x_280);
|
||||
lean_dec(x_276);
|
||||
|
|
@ -16455,7 +16446,7 @@ x_292 = lean_unsigned_to_nat(0u);
|
|||
x_293 = l_Lean_Syntax_formatStxAux(x_291, x_280, x_292, x_290);
|
||||
x_294 = l_Std_Format_defWidth;
|
||||
x_295 = lean_format_pretty(x_293, x_294, x_292, x_292);
|
||||
x_296 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4;
|
||||
x_296 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
|
||||
x_297 = lean_string_append(x_296, x_295);
|
||||
lean_dec(x_295);
|
||||
x_298 = l_Lean_Elab_Command_instInhabitedScope___closed__2;
|
||||
|
|
@ -38441,8 +38432,6 @@ l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2 = _init_l_Le
|
|||
lean_mark_persistent(l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2);
|
||||
l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3 = _init_l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3);
|
||||
l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4 = _init_l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__4);
|
||||
l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___closed__1 = _init_l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___closed__1);
|
||||
l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___closed__2 = _init_l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___closed__2();
|
||||
|
|
|
|||
1631
stage0/stdlib/Lean/Elab/PreDefinition/Nonrec/Eqns.c
generated
1631
stage0/stdlib/Lean/Elab/PreDefinition/Nonrec/Eqns.c
generated
File diff suppressed because it is too large
Load diff
1614
stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c
generated
1614
stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c
generated
File diff suppressed because it is too large
Load diff
1871
stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c
generated
1871
stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c
generated
File diff suppressed because it is too large
Load diff
726
stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c
generated
726
stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c
generated
|
|
@ -30,6 +30,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
|||
lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_assignSubsumed___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_mkFix___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_processRec___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -229,6 +230,7 @@ static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Elab_Pre
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___spec__1___rarg___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_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_solveDecreasingGoals___spec__3___lambda__5___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_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__3;
|
||||
LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___boxed(lean_object*);
|
||||
|
|
@ -236,6 +238,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_Pr
|
|||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___closed__4;
|
||||
lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_groupGoalsByFunction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps(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_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__16(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*);
|
||||
|
|
@ -306,6 +309,7 @@ lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_FVarId_getUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -16254,6 +16258,148 @@ lean_dec(x_1);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_10;
|
||||
x_10 = !lean_is_exclusive(x_5);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_5, 1);
|
||||
lean_dec(x_11);
|
||||
lean_ctor_set(x_5, 1, x_1);
|
||||
x_12 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = !lean_is_exclusive(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_ctor_get(x_12, 0);
|
||||
x_15 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_17;
|
||||
x_17 = !lean_is_exclusive(x_12);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_12, 0);
|
||||
x_19 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_12);
|
||||
x_20 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_18);
|
||||
lean_ctor_set(x_20, 1, x_19);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_21 = lean_ctor_get(x_5, 0);
|
||||
x_22 = lean_ctor_get(x_5, 2);
|
||||
x_23 = lean_ctor_get(x_5, 3);
|
||||
x_24 = lean_ctor_get(x_5, 4);
|
||||
x_25 = lean_ctor_get(x_5, 5);
|
||||
x_26 = lean_ctor_get_uint8(x_5, sizeof(void*)*6);
|
||||
x_27 = lean_ctor_get_uint8(x_5, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_25);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_5);
|
||||
x_28 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_28, 0, x_21);
|
||||
lean_ctor_set(x_28, 1, x_1);
|
||||
lean_ctor_set(x_28, 2, x_22);
|
||||
lean_ctor_set(x_28, 3, x_23);
|
||||
lean_ctor_set(x_28, 4, x_24);
|
||||
lean_ctor_set(x_28, 5, x_25);
|
||||
lean_ctor_set_uint8(x_28, sizeof(void*)*6, x_26);
|
||||
lean_ctor_set_uint8(x_28, sizeof(void*)*6 + 1, x_27);
|
||||
x_29 = lean_apply_7(x_2, x_3, x_4, x_28, x_6, x_7, x_8, x_9);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_31);
|
||||
if (lean_is_exclusive(x_29)) {
|
||||
lean_ctor_release(x_29, 0);
|
||||
lean_ctor_release(x_29, 1);
|
||||
x_32 = x_29;
|
||||
} else {
|
||||
lean_dec_ref(x_29);
|
||||
x_32 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_32)) {
|
||||
x_33 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_33 = x_32;
|
||||
}
|
||||
lean_ctor_set(x_33, 0, x_30);
|
||||
lean_ctor_set(x_33, 1, x_31);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_34 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_34);
|
||||
x_35 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_35);
|
||||
if (lean_is_exclusive(x_29)) {
|
||||
lean_ctor_release(x_29, 0);
|
||||
lean_ctor_release(x_29, 1);
|
||||
x_36 = x_29;
|
||||
} else {
|
||||
lean_dec_ref(x_29);
|
||||
x_36 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_36)) {
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_37 = x_36;
|
||||
}
|
||||
lean_ctor_set(x_37, 0, x_34);
|
||||
lean_ctor_set(x_37, 1, x_35);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg), 9, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_WF_mkFix___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -16619,386 +16765,230 @@ return x_16;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
lean_object* x_16;
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_16 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn(x_1, x_2, x_3, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
x_19 = l_Lean_Elab_WF_solveDecreasingGoals(x_5, x_6, x_17, x_11, x_12, x_13, x_14, x_18);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29;
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_2);
|
||||
lean_ctor_set(x_23, 1, x_22);
|
||||
x_24 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_1);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
x_25 = lean_array_mk(x_24);
|
||||
x_26 = 0;
|
||||
x_27 = 1;
|
||||
x_28 = 1;
|
||||
x_29 = l_Lean_Meta_mkLambdaFVars(x_25, x_20, x_26, x_27, x_26, x_28, x_11, x_12, x_13, x_14, x_21);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
x_32 = l_Lean_Expr_app___override(x_7, x_30);
|
||||
x_33 = l_Lean_Meta_mkLambdaFVars(x_8, x_32, x_26, x_27, x_26, x_28, x_11, x_12, x_13, x_14, x_31);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_34;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
x_34 = !lean_is_exclusive(x_29);
|
||||
if (x_34 == 0)
|
||||
{
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_35 = lean_ctor_get(x_29, 0);
|
||||
x_36 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_29);
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_35);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_38;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_38 = !lean_is_exclusive(x_19);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_39 = lean_ctor_get(x_19, 0);
|
||||
x_40 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_19);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
return x_41;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_42;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_42 = !lean_is_exclusive(x_16);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_16, 0);
|
||||
x_44 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_44);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_16);
|
||||
x_45 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
return x_45;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_16 = lean_array_get_size(x_7);
|
||||
x_17 = lean_unsigned_to_nat(0u);
|
||||
x_18 = lean_nat_dec_lt(x_17, x_16);
|
||||
x_19 = lean_ctor_get(x_11, 0);
|
||||
x_19 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_19);
|
||||
x_20 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_11, 2);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_ctor_get(x_11, 3);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_ctor_get(x_11, 4);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_11, 5);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get_uint8(x_11, sizeof(void*)*6);
|
||||
x_26 = lean_ctor_get_uint8(x_11, sizeof(void*)*6 + 1);
|
||||
if (lean_is_exclusive(x_11)) {
|
||||
lean_ctor_release(x_11, 0);
|
||||
lean_ctor_release(x_11, 1);
|
||||
lean_ctor_release(x_11, 2);
|
||||
lean_ctor_release(x_11, 3);
|
||||
lean_ctor_release(x_11, 4);
|
||||
lean_ctor_release(x_11, 5);
|
||||
x_27 = x_11;
|
||||
} else {
|
||||
lean_dec_ref(x_11);
|
||||
x_27 = lean_box(0);
|
||||
}
|
||||
x_28 = lean_unsigned_to_nat(1u);
|
||||
x_29 = lean_nat_dec_lt(x_28, x_16);
|
||||
x_20 = lean_unsigned_to_nat(1u);
|
||||
x_21 = lean_nat_dec_lt(x_20, x_16);
|
||||
lean_dec(x_16);
|
||||
x_30 = lean_ctor_get(x_1, 5);
|
||||
lean_inc(x_30);
|
||||
x_22 = lean_ctor_get(x_1, 5);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_2);
|
||||
x_31 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__2___boxed), 12, 2);
|
||||
lean_closure_set(x_31, 0, x_1);
|
||||
lean_closure_set(x_31, 1, x_2);
|
||||
x_23 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__2___boxed), 12, 2);
|
||||
lean_closure_set(x_23, 0, x_1);
|
||||
lean_closure_set(x_23, 1, x_2);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_102; lean_object* x_103;
|
||||
x_102 = l_Lean_instInhabitedExpr;
|
||||
x_103 = l_outOfBounds___rarg(x_102);
|
||||
x_32 = x_103;
|
||||
goto block_101;
|
||||
lean_object* x_37; lean_object* x_38;
|
||||
x_37 = l_Lean_instInhabitedExpr;
|
||||
x_38 = l_outOfBounds___rarg(x_37);
|
||||
x_24 = x_38;
|
||||
goto block_36;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_104;
|
||||
x_104 = lean_array_fget(x_7, x_17);
|
||||
x_32 = x_104;
|
||||
goto block_101;
|
||||
lean_object* x_39;
|
||||
x_39 = lean_array_fget(x_7, x_17);
|
||||
x_24 = x_39;
|
||||
goto block_36;
|
||||
}
|
||||
block_101:
|
||||
block_36:
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_33 = l_Lean_Expr_fvarId_x21(x_32);
|
||||
x_34 = l_Lean_LocalContext_setUserName(x_20, x_33, x_3);
|
||||
lean_inc(x_32);
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_25 = l_Lean_Expr_fvarId_x21(x_24);
|
||||
x_26 = l_Lean_LocalContext_setUserName(x_19, x_25, x_3);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_2);
|
||||
x_35 = lean_array_push(x_2, x_32);
|
||||
x_36 = l_Lean_Expr_beta(x_30, x_35);
|
||||
if (lean_is_scalar(x_27)) {
|
||||
x_37 = lean_alloc_ctor(0, 6, 2);
|
||||
} else {
|
||||
x_37 = x_27;
|
||||
}
|
||||
lean_ctor_set(x_37, 0, x_19);
|
||||
lean_ctor_set(x_37, 1, x_34);
|
||||
lean_ctor_set(x_37, 2, x_21);
|
||||
lean_ctor_set(x_37, 3, x_22);
|
||||
lean_ctor_set(x_37, 4, x_23);
|
||||
lean_ctor_set(x_37, 5, x_24);
|
||||
lean_ctor_set_uint8(x_37, sizeof(void*)*6, x_25);
|
||||
lean_ctor_set_uint8(x_37, sizeof(void*)*6 + 1, x_26);
|
||||
if (x_29 == 0)
|
||||
x_27 = lean_array_push(x_2, x_24);
|
||||
x_28 = l_Lean_Expr_beta(x_22, x_27);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_38 = l_Lean_instInhabitedExpr;
|
||||
x_39 = l_outOfBounds___rarg(x_38);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_37);
|
||||
lean_inc(x_39);
|
||||
lean_inc(x_32);
|
||||
x_40 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn(x_32, x_39, x_36, x_31, x_9, x_10, x_37, x_12, x_13, x_14, x_15);
|
||||
if (lean_obj_tag(x_40) == 0)
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
x_41 = lean_ctor_get(x_40, 0);
|
||||
lean_inc(x_41);
|
||||
x_42 = lean_ctor_get(x_40, 1);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_40);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_37);
|
||||
x_43 = l_Lean_Elab_WF_solveDecreasingGoals(x_4, x_5, x_41, x_37, x_12, x_13, x_14, x_42);
|
||||
if (lean_obj_tag(x_43) == 0)
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; lean_object* x_53;
|
||||
x_44 = lean_ctor_get(x_43, 0);
|
||||
lean_inc(x_44);
|
||||
x_45 = lean_ctor_get(x_43, 1);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_43);
|
||||
x_46 = lean_box(0);
|
||||
x_47 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_39);
|
||||
lean_ctor_set(x_47, 1, x_46);
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_32);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
x_49 = lean_array_mk(x_48);
|
||||
x_50 = 0;
|
||||
x_51 = 1;
|
||||
x_52 = 1;
|
||||
x_53 = l_Lean_Meta_mkLambdaFVars(x_49, x_44, x_50, x_51, x_50, x_52, x_37, x_12, x_13, x_14, x_45);
|
||||
if (lean_obj_tag(x_53) == 0)
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_54 = lean_ctor_get(x_53, 0);
|
||||
lean_inc(x_54);
|
||||
x_55 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_53);
|
||||
x_56 = l_Lean_Expr_app___override(x_6, x_54);
|
||||
x_57 = l_Lean_Meta_mkLambdaFVars(x_2, x_56, x_50, x_51, x_50, x_52, x_37, x_12, x_13, x_14, x_55);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_37);
|
||||
return x_57;
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_29 = l_Lean_instInhabitedExpr;
|
||||
x_30 = l_outOfBounds___rarg(x_29);
|
||||
x_31 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__3___boxed), 15, 8);
|
||||
lean_closure_set(x_31, 0, x_24);
|
||||
lean_closure_set(x_31, 1, x_30);
|
||||
lean_closure_set(x_31, 2, x_28);
|
||||
lean_closure_set(x_31, 3, x_23);
|
||||
lean_closure_set(x_31, 4, x_4);
|
||||
lean_closure_set(x_31, 5, x_5);
|
||||
lean_closure_set(x_31, 6, x_6);
|
||||
lean_closure_set(x_31, 7, x_2);
|
||||
x_32 = l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg(x_26, x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_58;
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_58 = !lean_is_exclusive(x_53);
|
||||
if (x_58 == 0)
|
||||
{
|
||||
return x_53;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
x_59 = lean_ctor_get(x_53, 0);
|
||||
x_60 = lean_ctor_get(x_53, 1);
|
||||
lean_inc(x_60);
|
||||
lean_inc(x_59);
|
||||
lean_dec(x_53);
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_59);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
return x_61;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_62;
|
||||
lean_dec(x_39);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_62 = !lean_is_exclusive(x_43);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
return x_43;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
x_63 = lean_ctor_get(x_43, 0);
|
||||
x_64 = lean_ctor_get(x_43, 1);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
lean_dec(x_43);
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_63);
|
||||
lean_ctor_set(x_65, 1, x_64);
|
||||
return x_65;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_66;
|
||||
lean_dec(x_39);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
x_66 = !lean_is_exclusive(x_40);
|
||||
if (x_66 == 0)
|
||||
{
|
||||
return x_40;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_67 = lean_ctor_get(x_40, 0);
|
||||
x_68 = lean_ctor_get(x_40, 1);
|
||||
lean_inc(x_68);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_40);
|
||||
x_69 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_69, 0, x_67);
|
||||
lean_ctor_set(x_69, 1, x_68);
|
||||
return x_69;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71;
|
||||
x_70 = lean_array_fget(x_7, x_28);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_37);
|
||||
lean_inc(x_70);
|
||||
lean_inc(x_32);
|
||||
x_71 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn(x_32, x_70, x_36, x_31, x_9, x_10, x_37, x_12, x_13, x_14, x_15);
|
||||
if (lean_obj_tag(x_71) == 0)
|
||||
{
|
||||
lean_object* x_72; lean_object* x_73; lean_object* x_74;
|
||||
x_72 = lean_ctor_get(x_71, 0);
|
||||
lean_inc(x_72);
|
||||
x_73 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_71);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_37);
|
||||
x_74 = l_Lean_Elab_WF_solveDecreasingGoals(x_4, x_5, x_72, x_37, x_12, x_13, x_14, x_73);
|
||||
if (lean_obj_tag(x_74) == 0)
|
||||
{
|
||||
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84;
|
||||
x_75 = lean_ctor_get(x_74, 0);
|
||||
lean_inc(x_75);
|
||||
x_76 = lean_ctor_get(x_74, 1);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_74);
|
||||
x_77 = lean_box(0);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_70);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
x_79 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_79, 0, x_32);
|
||||
lean_ctor_set(x_79, 1, x_78);
|
||||
x_80 = lean_array_mk(x_79);
|
||||
x_81 = 0;
|
||||
x_82 = 1;
|
||||
x_83 = 1;
|
||||
x_84 = l_Lean_Meta_mkLambdaFVars(x_80, x_75, x_81, x_82, x_81, x_83, x_37, x_12, x_13, x_14, x_76);
|
||||
if (lean_obj_tag(x_84) == 0)
|
||||
{
|
||||
lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88;
|
||||
x_85 = lean_ctor_get(x_84, 0);
|
||||
lean_inc(x_85);
|
||||
x_86 = lean_ctor_get(x_84, 1);
|
||||
lean_inc(x_86);
|
||||
lean_dec(x_84);
|
||||
x_87 = l_Lean_Expr_app___override(x_6, x_85);
|
||||
x_88 = l_Lean_Meta_mkLambdaFVars(x_2, x_87, x_81, x_82, x_81, x_83, x_37, x_12, x_13, x_14, x_86);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_37);
|
||||
return x_88;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_89;
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_89 = !lean_is_exclusive(x_84);
|
||||
if (x_89 == 0)
|
||||
{
|
||||
return x_84;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_90; lean_object* x_91; lean_object* x_92;
|
||||
x_90 = lean_ctor_get(x_84, 0);
|
||||
x_91 = lean_ctor_get(x_84, 1);
|
||||
lean_inc(x_91);
|
||||
lean_inc(x_90);
|
||||
lean_dec(x_84);
|
||||
x_92 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_92, 0, x_90);
|
||||
lean_ctor_set(x_92, 1, x_91);
|
||||
return x_92;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_93;
|
||||
lean_dec(x_70);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
x_93 = !lean_is_exclusive(x_74);
|
||||
if (x_93 == 0)
|
||||
{
|
||||
return x_74;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_94; lean_object* x_95; lean_object* x_96;
|
||||
x_94 = lean_ctor_get(x_74, 0);
|
||||
x_95 = lean_ctor_get(x_74, 1);
|
||||
lean_inc(x_95);
|
||||
lean_inc(x_94);
|
||||
lean_dec(x_74);
|
||||
x_96 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_96, 0, x_94);
|
||||
lean_ctor_set(x_96, 1, x_95);
|
||||
return x_96;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_97;
|
||||
lean_dec(x_70);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
x_97 = !lean_is_exclusive(x_71);
|
||||
if (x_97 == 0)
|
||||
{
|
||||
return x_71;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_98; lean_object* x_99; lean_object* x_100;
|
||||
x_98 = lean_ctor_get(x_71, 0);
|
||||
x_99 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_99);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_71);
|
||||
x_100 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_100, 0, x_98);
|
||||
lean_ctor_set(x_100, 1, x_99);
|
||||
return x_100;
|
||||
}
|
||||
}
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_array_fget(x_7, x_20);
|
||||
x_34 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__3___boxed), 15, 8);
|
||||
lean_closure_set(x_34, 0, x_24);
|
||||
lean_closure_set(x_34, 1, x_33);
|
||||
lean_closure_set(x_34, 2, x_28);
|
||||
lean_closure_set(x_34, 3, x_23);
|
||||
lean_closure_set(x_34, 4, x_4);
|
||||
lean_closure_set(x_34, 5, x_5);
|
||||
lean_closure_set(x_34, 6, x_6);
|
||||
lean_closure_set(x_34, 7, x_2);
|
||||
x_35 = l_Lean_Meta_withLCtx_x27___at_Lean_Elab_WF_mkFix___spec__1___rarg(x_26, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17096,7 +17086,7 @@ lean_inc(x_31);
|
|||
lean_dec(x_29);
|
||||
x_32 = l_Lean_Expr_bindingDomain_x21(x_30);
|
||||
lean_dec(x_30);
|
||||
x_33 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__3___boxed), 15, 6);
|
||||
x_33 = lean_alloc_closure((void*)(l_Lean_Elab_WF_mkFix___lambda__4___boxed), 15, 6);
|
||||
lean_closure_set(x_33, 0, x_1);
|
||||
lean_closure_set(x_33, 1, x_2);
|
||||
lean_closure_set(x_33, 2, x_25);
|
||||
|
|
@ -17270,9 +17260,17 @@ _start:
|
|||
{
|
||||
lean_object* x_16;
|
||||
x_16 = l_Lean_Elab_WF_mkFix___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
lean_dec(x_5);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, 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) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = l_Lean_Elab_WF_mkFix___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_4);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
391
stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c
generated
391
stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c
generated
|
|
@ -19,9 +19,7 @@ lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__2;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_instToStringGuessLexRel___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___lambda__2___closed__4;
|
||||
static lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg___closed__2;
|
||||
lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -34,7 +32,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_originalVarNames(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkNatLit(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_eval___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -62,6 +59,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_withUserNames___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_prettyEntry(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_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__30___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -72,7 +70,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectHeaders___rarg(lean_obje
|
|||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_complexMeasures___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*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__32___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_WF_GuessLex_mkProdElem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -83,10 +80,10 @@ static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1;
|
|||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___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_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__28___rarg(lean_object*, 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_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__22;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__8;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure___closed__1;
|
||||
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
||||
|
|
@ -144,7 +141,6 @@ lean_object* l_Lean_getRecAppSyntax_x3f(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__29___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__2___closed__5;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__10;
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
extern uint8_t l_instInhabitedBool;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25;
|
||||
|
|
@ -177,7 +173,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_with
|
|||
LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_casesOnSuffix;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__5;
|
||||
lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
|
||||
lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -185,6 +180,7 @@ LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_comp
|
|||
static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__4;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__14;
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__33___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -197,7 +193,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_wi
|
|||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__1(lean_object*, lean_object*, size_t, 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_WF_applyCleanWfTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__26;
|
||||
lean_object* l_Lean_MVarId_refl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__8;
|
||||
|
|
@ -253,6 +248,7 @@ static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4;
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__4___rarg___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__23;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_reportTermArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21;
|
||||
|
|
@ -282,7 +278,6 @@ static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19;
|
|||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withUserNames(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Array_filterPairsM___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__3___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -324,13 +319,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_Gu
|
|||
static lean_object* l_Lean_Elab_WF_GuessLex_originalVarNames___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__8;
|
||||
uint8_t l_Array_contains___at_Lean_Meta_setMVarUserNamesAt___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_formatTable(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__19;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_toTerminationArguments___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -407,7 +400,6 @@ static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__12;
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__24___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__4;
|
||||
uint8_t l_Lean_Expr_isLit(lean_object*);
|
||||
lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_appArg(lean_object*, lean_object*);
|
||||
|
|
@ -419,9 +411,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_Gu
|
|||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__32___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__21;
|
||||
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__3;
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3;
|
||||
|
|
@ -446,7 +436,6 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_expl
|
|||
lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224_(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -469,10 +458,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_complexMeasures___boxed(lean_ob
|
|||
LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure___boxed__const__1;
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____boxed(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_levelZero;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__22;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__17(lean_object*);
|
||||
extern lean_object* l_Lean_instInhabitedExpr;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -487,6 +476,7 @@ static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__28;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___boxed(lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___lambda__2___closed__5;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__11;
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_panic___at_Lean_Expr_appFn_x21___spec__1(lean_object*);
|
||||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -494,7 +484,6 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_repo
|
|||
lean_object* l_Lean_HasConstCache_containsUnsafe(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -506,11 +495,12 @@ lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_TerminationArgume
|
|||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_hasAnyFVar_visit___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__4___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__23;
|
||||
lean_object* l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__22___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__14___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -530,7 +520,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_Guess
|
|||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__25;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -561,7 +550,6 @@ extern lean_object* l_Std_Format_defWidth;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_guessLex___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_simpleMeasures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -574,7 +562,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_forma
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__24;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
|
||||
|
|
@ -596,17 +583,18 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___rarg(lean_object*, lean
|
|||
static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__2;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__3___closed__1;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__11;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___closed__1;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_initFn____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_8____closed__9;
|
||||
lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__7;
|
||||
|
|
@ -627,17 +615,18 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_gues
|
|||
uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_mayOmitSizeOf___closed__3;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__26;
|
||||
uint8_t l_Lean_Name_hasMacroScopes(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__9;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__25;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_complexMeasures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainNonMutualFailure___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__24;
|
||||
static lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -646,7 +635,6 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRe
|
|||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__7___boxed(lean_object**);
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___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*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -665,6 +653,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_f
|
|||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__21___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_Measure_toString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -682,9 +671,9 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_f
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_create___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_TerminationArgument_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_indentExpr(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__4(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__8___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24;
|
||||
|
|
@ -708,6 +697,7 @@ lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
|
|||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__7;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__2;
|
||||
static lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1___closed__2;
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -720,10 +710,12 @@ lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_toTerminationArguments___spec__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4;
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__9;
|
||||
lean_object* l_Lean_Elab_addAsAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_prettyEntry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_reportTermArgs___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__33___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -759,6 +751,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_wi
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_create___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__9___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__23;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_isNatCmp___closed__4;
|
||||
lean_object* l_Array_ofSubarray___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_simpleMeasures___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -792,6 +785,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_Gu
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5;
|
||||
|
|
@ -809,6 +803,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_Gu
|
|||
uint8_t l_Lean_Expr_hasFVar(lean_object*);
|
||||
lean_object* l_Lean_Elab_ensureNoRecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__19;
|
||||
extern lean_object* l_Lean_instInhabitedName;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -820,6 +815,7 @@ lean_object* lean_array_uget(lean_object*, size_t);
|
|||
lean_object* l_Lean_Expr_fvar___override(lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__9___closed__3;
|
||||
size_t lean_array_size(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__20;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__8___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__30(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -828,8 +824,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_Measure_toString___lambda__1(le
|
|||
lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199_(uint8_t, lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3___boxed__const__1;
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__19___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -853,6 +851,7 @@ lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___s
|
|||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_filterSubsumed___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* 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_WF_GuessLex_GuessLexRel_toNatRel(uint8_t);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_isAuxRecursorWithSuffix(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -862,9 +861,9 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_e
|
|||
LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__13(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(uint8_t, uint8_t);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__14;
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__15;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -877,6 +876,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_WF_GuessLex
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_explainMutualFailure___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__13;
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6(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*);
|
||||
|
|
@ -911,6 +911,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(lean_ob
|
|||
static lean_object* l_Lean_Elab_WF_GuessLex_filterSubsumed___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__21;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofName(lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_measureHeader___closed__1;
|
||||
|
|
@ -923,7 +924,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_wi
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__28___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_explainNonMutualFailure___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -934,6 +934,7 @@ LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Elab_WF_GuessLex_filterSubsumed__
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__30___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_formatTable___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6;
|
||||
lean_object* l_Lean_Meta_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__3;
|
||||
|
|
@ -2870,83 +2871,29 @@ goto _start;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withUserNames___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; uint8_t x_25;
|
||||
x_9 = lean_ctor_get(x_4, 0);
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_9 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get(x_4, 2);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_4, 3);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_ctor_get(x_4, 4);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_ctor_get(x_4, 5);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get_uint8(x_4, sizeof(void*)*6);
|
||||
x_16 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1);
|
||||
x_17 = lean_array_get_size(x_2);
|
||||
x_18 = lean_unsigned_to_nat(0u);
|
||||
x_19 = l_Array_toSubarray___rarg(x_2, x_18, x_17);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_19);
|
||||
lean_ctor_set(x_21, 1, x_10);
|
||||
x_22 = lean_array_size(x_1);
|
||||
x_23 = 0;
|
||||
x_24 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_withUserNames___spec__1(x_1, x_20, x_1, x_22, x_23, x_21, x_4, x_5, x_6, x_7, x_8);
|
||||
x_25 = !lean_is_exclusive(x_4);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_26 = lean_ctor_get(x_4, 5);
|
||||
lean_dec(x_26);
|
||||
x_27 = lean_ctor_get(x_4, 4);
|
||||
lean_dec(x_27);
|
||||
x_28 = lean_ctor_get(x_4, 3);
|
||||
lean_dec(x_28);
|
||||
x_29 = lean_ctor_get(x_4, 2);
|
||||
lean_dec(x_29);
|
||||
x_30 = lean_ctor_get(x_4, 1);
|
||||
lean_dec(x_30);
|
||||
x_31 = lean_ctor_get(x_4, 0);
|
||||
lean_dec(x_31);
|
||||
x_32 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_24);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
lean_ctor_set(x_4, 1, x_34);
|
||||
x_35 = lean_apply_5(x_3, x_4, x_5, x_6, x_7, x_33);
|
||||
return x_35;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
lean_dec(x_4);
|
||||
x_36 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_36);
|
||||
x_37 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_24);
|
||||
x_38 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_36);
|
||||
x_39 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_39, 0, x_9);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
lean_ctor_set(x_39, 2, x_11);
|
||||
lean_ctor_set(x_39, 3, x_12);
|
||||
lean_ctor_set(x_39, 4, x_13);
|
||||
lean_ctor_set(x_39, 5, x_14);
|
||||
lean_ctor_set_uint8(x_39, sizeof(void*)*6, x_15);
|
||||
lean_ctor_set_uint8(x_39, sizeof(void*)*6 + 1, x_16);
|
||||
x_40 = lean_apply_5(x_3, x_39, x_5, x_6, x_7, x_37);
|
||||
return x_40;
|
||||
}
|
||||
x_10 = lean_array_get_size(x_2);
|
||||
x_11 = lean_unsigned_to_nat(0u);
|
||||
x_12 = l_Array_toSubarray___rarg(x_2, x_11, x_10);
|
||||
x_13 = lean_box(0);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_12);
|
||||
lean_ctor_set(x_14, 1, x_9);
|
||||
x_15 = lean_array_size(x_1);
|
||||
x_16 = 0;
|
||||
x_17 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_withUserNames___spec__1(x_1, x_13, x_1, x_15, x_16, x_14, x_4, x_5, x_6, x_7, x_8);
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_18);
|
||||
x_21 = l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg(x_20, x_3, x_4, x_5, x_6, x_7, x_19);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withUserNames(lean_object* x_1) {
|
||||
|
|
@ -19099,7 +19046,7 @@ x_6 = l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg(x_4, x_5, x_3);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__1() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -19107,17 +19054,17 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.lt", 36, 36);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__1;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__1;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -19126,23 +19073,23 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__4() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__2;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__2;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__5() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__4;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__4;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19150,7 +19097,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -19159,23 +19106,23 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__7() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__2;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__2;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__8() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__7;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__7;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19183,7 +19130,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__9() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -19191,33 +19138,33 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.eq", 36, 36);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__10() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__9;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__9;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__11() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__10;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__10;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__12() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__11;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__11;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19225,23 +19172,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__13() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__10;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__10;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__14() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__13;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__13;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19249,7 +19196,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__15() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -19257,33 +19204,33 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.le", 36, 36);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__16() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__15;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__15;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__17() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__16;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__16;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__18() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__17;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__17;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19291,23 +19238,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__19() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__16;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__16;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__20() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__19;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__19;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19315,7 +19262,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__21() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -19323,33 +19270,33 @@ x_1 = lean_mk_string_unchecked("Lean.Elab.WF.GuessLex.GuessLexRel.no_idea", 41,
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__22() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__21;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__21;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__23() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__22;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__22;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__24() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__23;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__23;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19357,23 +19304,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__25() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__25() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__22;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6;
|
||||
x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__22;
|
||||
x_3 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__26() {
|
||||
static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__26() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__25;
|
||||
x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__25;
|
||||
x_2 = 0;
|
||||
x_3 = lean_alloc_ctor(6, 1, 1);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -19381,7 +19328,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224_(uint8_t x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199_(uint8_t x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (x_1) {
|
||||
|
|
@ -19393,14 +19340,14 @@ x_4 = lean_nat_dec_le(x_3, x_2);
|
|||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__5;
|
||||
x_5 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__5;
|
||||
x_6 = l_Repr_addAppParen(x_5, x_2);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__8;
|
||||
x_7 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__8;
|
||||
x_8 = l_Repr_addAppParen(x_7, x_2);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -19413,14 +19360,14 @@ x_10 = lean_nat_dec_le(x_9, x_2);
|
|||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__12;
|
||||
x_11 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__12;
|
||||
x_12 = l_Repr_addAppParen(x_11, x_2);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__14;
|
||||
x_13 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__14;
|
||||
x_14 = l_Repr_addAppParen(x_13, x_2);
|
||||
return x_14;
|
||||
}
|
||||
|
|
@ -19433,14 +19380,14 @@ x_16 = lean_nat_dec_le(x_15, x_2);
|
|||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
x_17 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__18;
|
||||
x_17 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__18;
|
||||
x_18 = l_Repr_addAppParen(x_17, x_2);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__20;
|
||||
x_19 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__20;
|
||||
x_20 = l_Repr_addAppParen(x_19, x_2);
|
||||
return x_20;
|
||||
}
|
||||
|
|
@ -19453,14 +19400,14 @@ x_22 = lean_nat_dec_le(x_21, x_2);
|
|||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
x_23 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__24;
|
||||
x_23 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__24;
|
||||
x_24 = l_Repr_addAppParen(x_23, x_2);
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26;
|
||||
x_25 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__26;
|
||||
x_25 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__26;
|
||||
x_26 = l_Repr_addAppParen(x_25, x_2);
|
||||
return x_26;
|
||||
}
|
||||
|
|
@ -19468,13 +19415,13 @@ return x_26;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_4 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224_(x_3, x_2);
|
||||
x_4 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199_(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -19483,7 +19430,7 @@ static lean_object* _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -35593,58 +35540,58 @@ l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__
|
|||
lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_WF_GuessLex_complexMeasures___spec__10___lambda__3___boxed__const__1);
|
||||
l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__1);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__2);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__3);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__4);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__5);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__6);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__7 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__7);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__8 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__8);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__9 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__9);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__10 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__10);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__11 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__11);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__12 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__12);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__13 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__13);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__14 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__14);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__15 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__15();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__15);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__16 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__16();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__16);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__17 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__17();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__17);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__18 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__18();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__18);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__19 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__19();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__19);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__20 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__20();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__20);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__21 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__21();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__21);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__22 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__22();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__22);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__23 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__23();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__23);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__24 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__24();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__24);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__25 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__25();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__25);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__26 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__26();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4224____closed__26);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__1);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__2);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__3);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__4);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__5);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__6);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__7 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__7);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__8 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__8);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__9 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__9);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__10 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__10);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__11 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__11);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__12 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__12);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__13 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__13);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__14 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__14);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__15 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__15();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__15);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__16 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__16();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__16);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__17 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__17();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__17);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__18 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__18();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__18);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__19 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__19();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__19);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__20 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__20();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__20);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__21 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__21();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__21);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__22 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__22();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__22);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__23 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__23();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__23);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__24 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__24();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__24);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__25 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__25();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__25);
|
||||
l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__26 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__26();
|
||||
lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_4199____closed__26);
|
||||
l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1 = _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1);
|
||||
l_Lean_Elab_WF_GuessLex_instReprGuessLexRel = _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel();
|
||||
|
|
|
|||
|
|
@ -1032,13 +1032,15 @@ x_1 = lean_unsigned_to_nat(10u);
|
|||
x_2 = 1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Meta_Simp_defaultMaxSteps;
|
||||
x_5 = lean_alloc_ctor(0, 2, 4);
|
||||
x_5 = lean_alloc_ctor(0, 2, 6);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
lean_ctor_set(x_5, 1, x_4);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*2, x_2);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 1, x_2);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 2, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 3, x_3);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 3, x_2);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 4, x_2);
|
||||
lean_ctor_set_uint8(x_5, sizeof(void*)*2 + 5, x_3);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14544,7 +14544,7 @@ _start:
|
|||
lean_object* x_14; uint8_t x_15;
|
||||
x_14 = lean_ctor_get(x_2, 5);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*2 + 3);
|
||||
x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*2 + 5);
|
||||
lean_dec(x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
|
|
|
|||
1002
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/BVTrace.c
generated
1002
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/BVTrace.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -956,24 +956,28 @@ goto block_66;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_80; uint8_t x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86;
|
||||
lean_object* x_80; uint8_t x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; uint8_t x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88;
|
||||
x_80 = lean_ctor_get(x_2, 0);
|
||||
x_81 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
|
||||
x_82 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 2);
|
||||
x_83 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 3);
|
||||
x_84 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_84);
|
||||
x_84 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 4);
|
||||
x_85 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 5);
|
||||
x_86 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_86);
|
||||
lean_inc(x_80);
|
||||
lean_dec(x_2);
|
||||
x_85 = 0;
|
||||
x_86 = lean_alloc_ctor(0, 2, 4);
|
||||
lean_ctor_set(x_86, 0, x_80);
|
||||
lean_ctor_set(x_86, 1, x_84);
|
||||
lean_ctor_set_uint8(x_86, sizeof(void*)*2, x_81);
|
||||
lean_ctor_set_uint8(x_86, sizeof(void*)*2 + 1, x_85);
|
||||
lean_ctor_set_uint8(x_86, sizeof(void*)*2 + 2, x_82);
|
||||
lean_ctor_set_uint8(x_86, sizeof(void*)*2 + 3, x_83);
|
||||
x_10 = x_86;
|
||||
x_87 = 0;
|
||||
x_88 = lean_alloc_ctor(0, 2, 6);
|
||||
lean_ctor_set(x_88, 0, x_80);
|
||||
lean_ctor_set(x_88, 1, x_86);
|
||||
lean_ctor_set_uint8(x_88, sizeof(void*)*2, x_81);
|
||||
lean_ctor_set_uint8(x_88, sizeof(void*)*2 + 1, x_87);
|
||||
lean_ctor_set_uint8(x_88, sizeof(void*)*2 + 2, x_82);
|
||||
lean_ctor_set_uint8(x_88, sizeof(void*)*2 + 3, x_83);
|
||||
lean_ctor_set_uint8(x_88, sizeof(void*)*2 + 4, x_84);
|
||||
lean_ctor_set_uint8(x_88, sizeof(void*)*2 + 5, x_85);
|
||||
x_10 = x_88;
|
||||
x_11 = x_76;
|
||||
x_12 = x_77;
|
||||
goto block_66;
|
||||
|
|
@ -981,27 +985,27 @@ goto block_66;
|
|||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_87;
|
||||
uint8_t x_89;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_87 = !lean_is_exclusive(x_68);
|
||||
if (x_87 == 0)
|
||||
x_89 = !lean_is_exclusive(x_68);
|
||||
if (x_89 == 0)
|
||||
{
|
||||
return x_68;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_88; lean_object* x_89; lean_object* x_90;
|
||||
x_88 = lean_ctor_get(x_68, 0);
|
||||
x_89 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_89);
|
||||
lean_inc(x_88);
|
||||
lean_object* x_90; lean_object* x_91; lean_object* x_92;
|
||||
x_90 = lean_ctor_get(x_68, 0);
|
||||
x_91 = lean_ctor_get(x_68, 1);
|
||||
lean_inc(x_91);
|
||||
lean_inc(x_90);
|
||||
lean_dec(x_68);
|
||||
x_90 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_88);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
return x_90;
|
||||
x_92 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_92, 0, x_90);
|
||||
lean_ctor_set(x_92, 1, x_91);
|
||||
return x_92;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
3951
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Normalize.c
generated
3951
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Normalize.c
generated
File diff suppressed because it is too large
Load diff
1906
stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c
generated
1906
stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c
generated
File diff suppressed because it is too large
Load diff
3145
stage0/stdlib/Lean/Elab/Tactic/NormCast.c
generated
3145
stage0/stdlib/Lean/Elab/Tactic/NormCast.c
generated
File diff suppressed because it is too large
Load diff
9909
stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c
generated
9909
stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c
generated
File diff suppressed because it is too large
Load diff
1563
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
1563
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
File diff suppressed because it is too large
Load diff
987
stage0/stdlib/Lean/Elab/Tactic/Simpa.c
generated
987
stage0/stdlib/Lean/Elab/Tactic/Simpa.c
generated
File diff suppressed because it is too large
Load diff
2524
stage0/stdlib/Lean/Message.c
generated
2524
stage0/stdlib/Lean/Message.c
generated
File diff suppressed because it is too large
Load diff
470
stage0/stdlib/Lean/Meta/Basic.c
generated
470
stage0/stdlib/Lean/Meta/Basic.c
generated
|
|
@ -128,9 +128,9 @@ extern lean_object* l_Lean_maxRecDepthErrorMessage;
|
|||
lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withInTypeClassResolution___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withConfig(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__4;
|
||||
lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getTheoremInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_modifyDiag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -220,6 +220,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_FVarId_hasForward
|
|||
LEAN_EXPORT lean_object* l_Lean_MVarId_isReadOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LMVarId_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_processPostponed_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaBoundedTelescope___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1424____closed__5;
|
||||
|
|
@ -290,6 +291,7 @@ extern lean_object* l_Lean_Compiler_inlineAttrs;
|
|||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_object*);
|
||||
static size_t l_Lean_PersistentHashMap_containsAux___at_Lean_Meta_recordSynthPendingFailure___spec__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuick_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__2(lean_object*, lean_object*);
|
||||
|
|
@ -311,12 +313,12 @@ lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*);
|
|||
static lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__3___closed__2;
|
||||
lean_object* l_Lean_EnumAttributes_setValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_trace_profiler_useHeartbeats;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l_Lean_Meta_mkLevelErrorMessage___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_resetSynthInstanceCache(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withCanUnfoldPred___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux___closed__1;
|
||||
lean_object* l_Lean_Expr_mvar___override(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -342,6 +344,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spe
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_normalizeLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_approxDefEqImp(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_365____boxed(lean_object*, lean_object*);
|
||||
|
|
@ -369,6 +372,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___rarg___lambda__1___boxed(
|
|||
lean_object* l_Lean_LocalDecl_index(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_processPostponed___spec__2(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instInhabitedInferTypeCaches___closed__1;
|
||||
uint8_t l_Lean_Expr_hasMVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_getDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -391,8 +395,8 @@ LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Basic_0__Lean_Met
|
|||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__2;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAux(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate(lean_object*);
|
||||
lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2375____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstance___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImp___spec__1(lean_object*);
|
||||
|
|
@ -455,7 +459,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_fullApproxDefEq___rarg(lean_object*, lean_o
|
|||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_abstractRangeM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__3___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -482,6 +485,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTele
|
|||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__18___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ConstantInfo_numLevelParams(lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mapForallTelescope_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Kernel_Diagnostics_recordUnfold___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkLevelStuckErrorMessage(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -514,6 +518,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_instAlternativeMetaM__
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp(lean_object*);
|
||||
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_ppExprWithInfos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_ParamInfo_isExplicit___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -572,7 +577,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDe
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instBEqSynthInstanceCacheKey;
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_FVarId_hasForwardDeps___spec__37(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -587,6 +591,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MetaM_toIO___rarg___lambda__1___boxed(lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_collectForwardDeps(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarWithIdCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27(lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_addExprMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__55(lean_object*, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -644,6 +649,7 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_shouldReduceAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mapError___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instMonadBacktrackSavedStateMetaM___closed__3;
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_FVarId_hasForwardDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkLetFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -665,6 +671,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_saveState___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_whnf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mapMetaM(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__3___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withCanUnfoldPred___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__12(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_MkBinding_collectForwardDeps(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_approxDefEq___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -686,6 +694,7 @@ uint8_t l_Lean_LocalDecl_isLet(lean_object*);
|
|||
LEAN_EXPORT uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_beqAbstractMVarsResult____x40_Lean_Meta_Basic___hyg_710_(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_mkBinding(uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__7;
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_ParamInfo_isInstImplicit(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -807,6 +816,7 @@ LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x4
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_mapForallTelescope___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_maxSynthPendingDepth;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkFunUnit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstances(lean_object*);
|
||||
|
|
@ -840,7 +850,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_B
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withNewLocalInstance___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getResetPostponed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mapErrorImp(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -871,6 +880,7 @@ LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_
|
|||
lean_object* l_Lean_MessageData_ofLevel(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_FVarId_hasForwardDeps___spec__53___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_abstractRangeM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_processPostponed___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__47(lean_object*, lean_object*, size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_FVarId_hasForwardDeps___spec__38___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -932,7 +942,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_processPostpon
|
|||
static lean_object* l_Lean_Meta_instInhabitedDefEqCache___closed__1;
|
||||
lean_object* l_Lean_Core_withRestoreOrSaveFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_instInhabitedAbstractMVarsResult___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -947,14 +956,15 @@ LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_FVarId_hasForwardDe
|
|||
static lean_object* l_Lean_LMVarId_getLevel___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withCanUnfoldPred(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaTelescopeReducing(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_FVarId_hasForwardDeps___spec__27(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__20___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_FVarId_hasForwardDeps___spec__57___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_Expr_getAppFn(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withInTypeClassResolution___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_checkedAssign___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_processPostponed_loop___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -971,11 +981,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_elimMVarDeps(lean_object*, lean_object*, ui
|
|||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshLMVarId___at_Lean_Meta_mkFreshLevelMVar___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_recordSynthPendingFailure___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_getParamNames___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1424____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Meta_Basic_0__Lean_Meta_beqAbstractMVarsResult____x40_Lean_Meta_Basic___hyg_710____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1424____closed__8;
|
||||
|
|
@ -1092,10 +1104,12 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_map2MetaM(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withInTypeClassResolution(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Meta_withInstImplicitAsImplict___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Meta_processPostponed___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getPostponed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing(lean_object*);
|
||||
|
|
@ -1148,6 +1162,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_FVarId_throwUnknown___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Exception_isRuntime(lean_object*);
|
||||
lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
|
|
@ -24854,6 +24869,235 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withConfig___rarg), 5, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withCanUnfoldPred___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = !lean_is_exclusive(x_4);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_10 = lean_ctor_get(x_4, 5);
|
||||
lean_dec(x_10);
|
||||
x_11 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_11, 0, x_1);
|
||||
lean_ctor_set(x_4, 5, x_11);
|
||||
x_12 = lean_apply_7(x_3, lean_box(0), x_2, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_13 = lean_ctor_get(x_4, 0);
|
||||
x_14 = lean_ctor_get(x_4, 1);
|
||||
x_15 = lean_ctor_get(x_4, 2);
|
||||
x_16 = lean_ctor_get(x_4, 3);
|
||||
x_17 = lean_ctor_get(x_4, 4);
|
||||
x_18 = lean_ctor_get_uint8(x_4, sizeof(void*)*6);
|
||||
x_19 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_4);
|
||||
x_20 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_20, 0, x_1);
|
||||
x_21 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_21, 0, x_13);
|
||||
lean_ctor_set(x_21, 1, x_14);
|
||||
lean_ctor_set(x_21, 2, x_15);
|
||||
lean_ctor_set(x_21, 3, x_16);
|
||||
lean_ctor_set(x_21, 4, x_17);
|
||||
lean_ctor_set(x_21, 5, x_20);
|
||||
lean_ctor_set_uint8(x_21, sizeof(void*)*6, x_18);
|
||||
lean_ctor_set_uint8(x_21, sizeof(void*)*6 + 1, x_19);
|
||||
x_22 = lean_apply_7(x_3, lean_box(0), x_2, x_21, x_5, x_6, x_7, x_8);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withCanUnfoldPred___rarg(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;
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_2);
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_Meta_withCanUnfoldPred___rarg___lambda__1), 8, 2);
|
||||
lean_closure_set(x_7, 0, x_4);
|
||||
lean_closure_set(x_7, 1, x_5);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_apply_2(x_8, lean_box(0), x_7);
|
||||
x_10 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_1);
|
||||
x_11 = lean_apply_1(x_10, lean_box(0));
|
||||
x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withCanUnfoldPred(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withCanUnfoldPred___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = !lean_is_exclusive(x_3);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_9 = lean_ctor_get(x_3, 4);
|
||||
x_10 = lean_unsigned_to_nat(1u);
|
||||
x_11 = lean_nat_add(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set(x_3, 4, x_11);
|
||||
x_12 = lean_apply_7(x_2, lean_box(0), x_1, x_3, x_4, x_5, x_6, x_7);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_13 = lean_ctor_get(x_3, 0);
|
||||
x_14 = lean_ctor_get(x_3, 1);
|
||||
x_15 = lean_ctor_get(x_3, 2);
|
||||
x_16 = lean_ctor_get(x_3, 3);
|
||||
x_17 = lean_ctor_get(x_3, 4);
|
||||
x_18 = lean_ctor_get(x_3, 5);
|
||||
x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*6);
|
||||
x_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_3);
|
||||
x_21 = lean_unsigned_to_nat(1u);
|
||||
x_22 = lean_nat_add(x_17, x_21);
|
||||
lean_dec(x_17);
|
||||
x_23 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_23, 0, x_13);
|
||||
lean_ctor_set(x_23, 1, x_14);
|
||||
lean_ctor_set(x_23, 2, x_15);
|
||||
lean_ctor_set(x_23, 3, x_16);
|
||||
lean_ctor_set(x_23, 4, x_22);
|
||||
lean_ctor_set(x_23, 5, x_18);
|
||||
lean_ctor_set_uint8(x_23, sizeof(void*)*6, x_19);
|
||||
lean_ctor_set_uint8(x_23, sizeof(void*)*6 + 1, x_20);
|
||||
x_24 = lean_apply_7(x_2, lean_box(0), x_1, x_23, x_4, x_5, x_6, x_7);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending___rarg(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;
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_alloc_closure((void*)(l_Lean_Meta_withIncSynthPending___rarg___lambda__1), 7, 1);
|
||||
lean_closure_set(x_6, 0, x_4);
|
||||
x_7 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_apply_2(x_7, lean_box(0), x_6);
|
||||
x_9 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_apply_1(x_9, lean_box(0));
|
||||
x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withIncSynthPending___rarg), 4, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withInTypeClassResolution___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = !lean_is_exclusive(x_3);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
uint8_t x_9; lean_object* x_10;
|
||||
x_9 = 1;
|
||||
lean_ctor_set_uint8(x_3, sizeof(void*)*6 + 1, x_9);
|
||||
x_10 = lean_apply_7(x_2, lean_box(0), x_1, x_3, x_4, x_5, x_6, x_7);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_11 = lean_ctor_get(x_3, 0);
|
||||
x_12 = lean_ctor_get(x_3, 1);
|
||||
x_13 = lean_ctor_get(x_3, 2);
|
||||
x_14 = lean_ctor_get(x_3, 3);
|
||||
x_15 = lean_ctor_get(x_3, 4);
|
||||
x_16 = lean_ctor_get(x_3, 5);
|
||||
x_17 = lean_ctor_get_uint8(x_3, sizeof(void*)*6);
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_3);
|
||||
x_18 = 1;
|
||||
x_19 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_19, 0, x_11);
|
||||
lean_ctor_set(x_19, 1, x_12);
|
||||
lean_ctor_set(x_19, 2, x_13);
|
||||
lean_ctor_set(x_19, 3, x_14);
|
||||
lean_ctor_set(x_19, 4, x_15);
|
||||
lean_ctor_set(x_19, 5, x_16);
|
||||
lean_ctor_set_uint8(x_19, sizeof(void*)*6, x_17);
|
||||
lean_ctor_set_uint8(x_19, sizeof(void*)*6 + 1, x_18);
|
||||
x_20 = lean_apply_7(x_2, lean_box(0), x_1, x_19, x_4, x_5, x_6, x_7);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withInTypeClassResolution___rarg(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;
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_alloc_closure((void*)(l_Lean_Meta_withInTypeClassResolution___rarg___lambda__1), 7, 1);
|
||||
lean_closure_set(x_6, 0, x_4);
|
||||
x_7 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_apply_2(x_7, lean_box(0), x_6);
|
||||
x_9 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_apply_1(x_9, lean_box(0));
|
||||
x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withInTypeClassResolution(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withInTypeClassResolution___rarg), 4, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDelta___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -32078,6 +32322,81 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDeclD___rarg), 6, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_10 = l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg(x_8, x_9);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_inc(x_11);
|
||||
x_13 = l_Lean_Expr_fvar___override(x_11);
|
||||
x_14 = !lean_is_exclusive(x_5);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_15 = lean_ctor_get(x_5, 1);
|
||||
x_16 = 0;
|
||||
x_17 = l_Lean_LocalContext_mkLocalDecl(x_15, x_11, x_1, x_3, x_2, x_16);
|
||||
lean_ctor_set(x_5, 1, x_17);
|
||||
x_18 = lean_apply_6(x_4, x_13, x_5, x_6, x_7, x_8, x_12);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_19 = lean_ctor_get(x_5, 0);
|
||||
x_20 = lean_ctor_get(x_5, 1);
|
||||
x_21 = lean_ctor_get(x_5, 2);
|
||||
x_22 = lean_ctor_get(x_5, 3);
|
||||
x_23 = lean_ctor_get(x_5, 4);
|
||||
x_24 = lean_ctor_get(x_5, 5);
|
||||
x_25 = lean_ctor_get_uint8(x_5, sizeof(void*)*6);
|
||||
x_26 = lean_ctor_get_uint8(x_5, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_5);
|
||||
x_27 = 0;
|
||||
x_28 = l_Lean_LocalContext_mkLocalDecl(x_20, x_11, x_1, x_3, x_2, x_27);
|
||||
x_29 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_29, 0, x_19);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
lean_ctor_set(x_29, 2, x_21);
|
||||
lean_ctor_set(x_29, 3, x_22);
|
||||
lean_ctor_set(x_29, 4, x_23);
|
||||
lean_ctor_set(x_29, 5, x_24);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*6, x_25);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*6 + 1, x_26);
|
||||
x_30 = lean_apply_6(x_4, x_13, x_29, x_6, x_7, x_8, x_12);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg___boxed), 9, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_10; lean_object* x_11;
|
||||
x_10 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_11 = l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_withLocalDecls_loop___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -34302,6 +34621,79 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___rarg), 6, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = !lean_is_exclusive(x_4);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
x_10 = lean_ctor_get(x_4, 1);
|
||||
lean_dec(x_10);
|
||||
lean_ctor_set(x_4, 1, x_1);
|
||||
x_11 = lean_apply_7(x_3, lean_box(0), x_2, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_12 = lean_ctor_get(x_4, 0);
|
||||
x_13 = lean_ctor_get(x_4, 2);
|
||||
x_14 = lean_ctor_get(x_4, 3);
|
||||
x_15 = lean_ctor_get(x_4, 4);
|
||||
x_16 = lean_ctor_get(x_4, 5);
|
||||
x_17 = lean_ctor_get_uint8(x_4, sizeof(void*)*6);
|
||||
x_18 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_16);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_4);
|
||||
x_19 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_19, 0, x_12);
|
||||
lean_ctor_set(x_19, 1, x_1);
|
||||
lean_ctor_set(x_19, 2, x_13);
|
||||
lean_ctor_set(x_19, 3, x_14);
|
||||
lean_ctor_set(x_19, 4, x_15);
|
||||
lean_ctor_set(x_19, 5, x_16);
|
||||
lean_ctor_set_uint8(x_19, sizeof(void*)*6, x_17);
|
||||
lean_ctor_set_uint8(x_19, sizeof(void*)*6 + 1, x_18);
|
||||
x_20 = lean_apply_7(x_3, lean_box(0), x_2, x_19, x_5, x_6, x_7, x_8);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___rarg(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;
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_2);
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx_x27___rarg___lambda__1), 8, 2);
|
||||
lean_closure_set(x_7, 0, x_4);
|
||||
lean_closure_set(x_7, 1, x_5);
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_apply_2(x_8, lean_box(0), x_7);
|
||||
x_10 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_1);
|
||||
x_11 = lean_apply_1(x_10, lean_box(0));
|
||||
x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_9, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx_x27___rarg), 5, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVars___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -51206,7 +51598,7 @@ lean_dec(x_2);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__1() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -51216,73 +51608,73 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__2() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__1;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2375____closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__3() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__2;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1424____closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__4() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1424____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__5() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__4;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2375____closed__10;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__6() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__5;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__5;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2375____closed__12;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__7() {
|
||||
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__6;
|
||||
x_2 = lean_unsigned_to_nat(17209u);
|
||||
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__6;
|
||||
x_2 = lean_unsigned_to_nat(17530u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Meta_processPostponed_loop___closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__7;
|
||||
x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__7;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -51684,21 +52076,21 @@ l_Lean_Meta_processPostponed___lambda__1___closed__3 = _init_l_Lean_Meta_process
|
|||
lean_mark_persistent(l_Lean_Meta_processPostponed___lambda__1___closed__3);
|
||||
l_Lean_Meta_processPostponed___lambda__1___closed__4 = _init_l_Lean_Meta_processPostponed___lambda__1___closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_processPostponed___lambda__1___closed__4);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209____closed__7);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17209_(lean_io_mk_world());
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__1();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__1);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__2();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__2);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__3();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__3);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__4();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__4);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__5();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__5);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__6();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__6);
|
||||
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__7();
|
||||
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530____closed__7);
|
||||
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_17530_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
47403
stage0/stdlib/Lean/Meta/Coe.c
generated
47403
stage0/stdlib/Lean/Meta/Coe.c
generated
File diff suppressed because it is too large
Load diff
647
stage0/stdlib/Lean/Meta/DiscrTree.c
generated
647
stage0/stdlib/Lean/Meta/DiscrTree.c
generated
|
|
@ -12720,321 +12720,314 @@ case 2:
|
|||
lean_dec(x_1);
|
||||
if (x_2 == 0)
|
||||
{
|
||||
lean_object* x_18; uint8_t x_19;
|
||||
x_18 = lean_ctor_get(x_4, 0);
|
||||
x_19 = lean_ctor_get_uint8(x_18, 4);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_9, 0);
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
x_18 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_9);
|
||||
x_19 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_9);
|
||||
x_21 = l_Lean_MVarId_isReadOnlyOrSyntheticOpaque(x_20, x_4, x_5, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
x_21 = lean_ctor_get_uint8(x_20, 4);
|
||||
lean_dec(x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22; uint8_t x_23;
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_unbox(x_22);
|
||||
lean_dec(x_22);
|
||||
if (x_23 == 0)
|
||||
lean_dec(x_19);
|
||||
x_23 = l_Lean_MVarId_isReadOnlyOrSyntheticOpaque(x_18, x_4, x_5, x_6, x_7, x_22);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
uint8_t x_24;
|
||||
x_24 = !lean_is_exclusive(x_21);
|
||||
if (x_24 == 0)
|
||||
lean_object* x_24; uint8_t x_25;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_unbox(x_24);
|
||||
lean_dec(x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26;
|
||||
x_25 = lean_ctor_get(x_21, 0);
|
||||
lean_dec(x_25);
|
||||
x_26 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__2;
|
||||
lean_ctor_set(x_21, 0, x_26);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
uint8_t x_26;
|
||||
x_26 = !lean_is_exclusive(x_23);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_27 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_21);
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
x_27 = lean_ctor_get(x_23, 0);
|
||||
lean_dec(x_27);
|
||||
x_28 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__2;
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
return x_29;
|
||||
lean_ctor_set(x_23, 0, x_28);
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_23);
|
||||
x_30 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__2;
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
return x_31;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_30;
|
||||
x_30 = !lean_is_exclusive(x_21);
|
||||
if (x_30 == 0)
|
||||
uint8_t x_32;
|
||||
x_32 = !lean_is_exclusive(x_23);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32;
|
||||
x_31 = lean_ctor_get(x_21, 0);
|
||||
lean_dec(x_31);
|
||||
x_32 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__1;
|
||||
lean_ctor_set(x_21, 0, x_32);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_21);
|
||||
lean_object* x_33; lean_object* x_34;
|
||||
x_33 = lean_ctor_get(x_23, 0);
|
||||
lean_dec(x_33);
|
||||
x_34 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__1;
|
||||
x_35 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
return x_35;
|
||||
lean_ctor_set(x_23, 0, x_34);
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_35 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_23);
|
||||
x_36 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__1;
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_35);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
x_36 = !lean_is_exclusive(x_21);
|
||||
if (x_36 == 0)
|
||||
uint8_t x_38;
|
||||
x_38 = !lean_is_exclusive(x_23);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
return x_21;
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_37 = lean_ctor_get(x_21, 0);
|
||||
x_38 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_21);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41;
|
||||
lean_dec(x_9);
|
||||
x_40 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__2;
|
||||
x_41 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_8);
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_39 = lean_ctor_get(x_23, 0);
|
||||
x_40 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_23);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
return x_41;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43;
|
||||
uint8_t x_42;
|
||||
lean_dec(x_18);
|
||||
x_42 = !lean_is_exclusive(x_19);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44;
|
||||
x_43 = lean_ctor_get(x_19, 0);
|
||||
lean_dec(x_43);
|
||||
x_44 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__2;
|
||||
lean_ctor_set(x_19, 0, x_44);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
x_45 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_19);
|
||||
x_46 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__2;
|
||||
x_47 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_45);
|
||||
return x_47;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49;
|
||||
lean_dec(x_9);
|
||||
x_42 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__1;
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_8);
|
||||
return x_43;
|
||||
x_48 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__1;
|
||||
x_49 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_48);
|
||||
lean_ctor_set(x_49, 1, x_8);
|
||||
return x_49;
|
||||
}
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47;
|
||||
x_44 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_44);
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53;
|
||||
x_50 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_9);
|
||||
x_45 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8);
|
||||
x_46 = lean_ctor_get(x_45, 0);
|
||||
lean_inc(x_46);
|
||||
x_47 = lean_ctor_get_uint8(x_46, 4);
|
||||
lean_dec(x_46);
|
||||
if (x_47 == 0)
|
||||
x_51 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8);
|
||||
x_52 = lean_ctor_get(x_51, 0);
|
||||
lean_inc(x_52);
|
||||
x_53 = lean_ctor_get_uint8(x_52, 4);
|
||||
lean_dec(x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_48 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_45);
|
||||
x_49 = lean_box(0);
|
||||
x_50 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_44, x_49, x_4, x_5, x_6, x_7, x_48);
|
||||
return x_50;
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_51);
|
||||
x_55 = lean_box(0);
|
||||
x_56 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_50, x_55, x_4, x_5, x_6, x_7, x_54);
|
||||
return x_56;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_51; uint8_t x_52;
|
||||
x_51 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_45);
|
||||
x_52 = l_Lean_Expr_hasExprMVar(x_1);
|
||||
if (x_52 == 0)
|
||||
lean_object* x_57; uint8_t x_58;
|
||||
x_57 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_51);
|
||||
x_58 = l_Lean_Expr_hasExprMVar(x_1);
|
||||
if (x_58 == 0)
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54;
|
||||
x_53 = lean_box(0);
|
||||
x_54 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_44, x_53, x_4, x_5, x_6, x_7, x_51);
|
||||
return x_54;
|
||||
lean_object* x_59; lean_object* x_60;
|
||||
x_59 = lean_box(0);
|
||||
x_60 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_50, x_59, x_4, x_5, x_6, x_7, x_57);
|
||||
return x_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; uint8_t x_57;
|
||||
lean_inc(x_44);
|
||||
x_55 = l_Lean_isReducible___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__1(x_44, x_4, x_5, x_6, x_7, x_51);
|
||||
x_56 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_56);
|
||||
x_57 = lean_unbox(x_56);
|
||||
lean_dec(x_56);
|
||||
if (x_57 == 0)
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
|
||||
x_58 = lean_ctor_get(x_55, 1);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_55);
|
||||
x_59 = lean_st_ref_get(x_7, x_58);
|
||||
x_60 = lean_ctor_get(x_59, 0);
|
||||
lean_inc(x_60);
|
||||
x_61 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_61);
|
||||
lean_dec(x_59);
|
||||
x_62 = lean_ctor_get(x_60, 0);
|
||||
lean_object* x_61; lean_object* x_62; uint8_t x_63;
|
||||
lean_inc(x_50);
|
||||
x_61 = l_Lean_isReducible___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__1(x_50, x_4, x_5, x_6, x_7, x_57);
|
||||
x_62 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_62);
|
||||
lean_dec(x_60);
|
||||
x_63 = l_Lean_Meta_isMatcherAppCore_x3f(x_62, x_1);
|
||||
x_63 = lean_unbox(x_62);
|
||||
lean_dec(x_62);
|
||||
if (lean_obj_tag(x_63) == 0)
|
||||
if (x_63 == 0)
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65; uint8_t x_66;
|
||||
lean_inc(x_44);
|
||||
x_64 = l_Lean_isRec___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__1(x_44, x_4, x_5, x_6, x_7, x_61);
|
||||
x_65 = lean_ctor_get(x_64, 0);
|
||||
lean_inc(x_65);
|
||||
x_66 = lean_unbox(x_65);
|
||||
lean_dec(x_65);
|
||||
if (x_66 == 0)
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_67 = lean_ctor_get(x_64, 1);
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_64 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_61);
|
||||
x_65 = lean_st_ref_get(x_7, x_64);
|
||||
x_66 = lean_ctor_get(x_65, 0);
|
||||
lean_inc(x_66);
|
||||
x_67 = lean_ctor_get(x_65, 1);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_64);
|
||||
x_68 = lean_box(0);
|
||||
x_69 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_44, x_68, x_4, x_5, x_6, x_7, x_67);
|
||||
return x_69;
|
||||
}
|
||||
else
|
||||
lean_dec(x_65);
|
||||
x_68 = lean_ctor_get(x_66, 0);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_66);
|
||||
x_69 = l_Lean_Meta_isMatcherAppCore_x3f(x_68, x_1);
|
||||
lean_dec(x_68);
|
||||
if (lean_obj_tag(x_69) == 0)
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71; uint8_t x_72;
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_1);
|
||||
x_70 = lean_ctor_get(x_64, 1);
|
||||
lean_inc(x_70);
|
||||
lean_dec(x_64);
|
||||
x_71 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_70);
|
||||
x_72 = !lean_is_exclusive(x_71);
|
||||
lean_inc(x_50);
|
||||
x_70 = l_Lean_isRec___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__1(x_50, x_4, x_5, x_6, x_7, x_67);
|
||||
x_71 = lean_ctor_get(x_70, 0);
|
||||
lean_inc(x_71);
|
||||
x_72 = lean_unbox(x_71);
|
||||
lean_dec(x_71);
|
||||
if (x_72 == 0)
|
||||
{
|
||||
return x_71;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_73 = lean_ctor_get(x_71, 0);
|
||||
x_74 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_74);
|
||||
x_73 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_71);
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_73);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
lean_dec(x_70);
|
||||
x_74 = lean_box(0);
|
||||
x_75 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_50, x_74, x_4, x_5, x_6, x_7, x_73);
|
||||
return x_75;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; size_t x_89; lean_object* x_90; size_t x_91; lean_object* x_92; lean_object* x_93;
|
||||
x_76 = lean_ctor_get(x_63, 0);
|
||||
lean_object* x_76; lean_object* x_77; uint8_t x_78;
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_1);
|
||||
x_76 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_63);
|
||||
x_77 = lean_unsigned_to_nat(0u);
|
||||
x_78 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_77);
|
||||
x_79 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__3;
|
||||
lean_inc(x_78);
|
||||
x_80 = lean_mk_array(x_78, x_79);
|
||||
x_81 = lean_unsigned_to_nat(1u);
|
||||
x_82 = lean_nat_sub(x_78, x_81);
|
||||
lean_dec(x_78);
|
||||
lean_dec(x_70);
|
||||
x_77 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_76);
|
||||
x_78 = !lean_is_exclusive(x_77);
|
||||
if (x_78 == 0)
|
||||
{
|
||||
return x_77;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_79 = lean_ctor_get(x_77, 0);
|
||||
x_80 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_77);
|
||||
x_81 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_81, 0, x_79);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
return x_81;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_82; lean_object* x_83; lean_object* 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; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; size_t x_95; lean_object* x_96; size_t x_97; lean_object* x_98; lean_object* x_99;
|
||||
x_82 = lean_ctor_get(x_69, 0);
|
||||
lean_inc(x_82);
|
||||
lean_dec(x_69);
|
||||
x_83 = lean_unsigned_to_nat(0u);
|
||||
x_84 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_83);
|
||||
x_85 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__3;
|
||||
lean_inc(x_84);
|
||||
x_86 = lean_mk_array(x_84, x_85);
|
||||
x_87 = lean_unsigned_to_nat(1u);
|
||||
x_88 = lean_nat_sub(x_84, x_87);
|
||||
lean_dec(x_84);
|
||||
lean_inc(x_1);
|
||||
x_83 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_80, x_82);
|
||||
x_84 = l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(x_76);
|
||||
x_85 = lean_ctor_get(x_76, 1);
|
||||
lean_inc(x_85);
|
||||
lean_dec(x_76);
|
||||
x_86 = lean_nat_add(x_84, x_85);
|
||||
lean_dec(x_85);
|
||||
x_87 = l_Array_toSubarray___rarg(x_83, x_84, x_86);
|
||||
x_88 = lean_ctor_get(x_87, 2);
|
||||
lean_inc(x_88);
|
||||
x_89 = lean_usize_of_nat(x_88);
|
||||
lean_dec(x_88);
|
||||
x_90 = lean_ctor_get(x_87, 1);
|
||||
lean_inc(x_90);
|
||||
x_91 = lean_usize_of_nat(x_90);
|
||||
lean_dec(x_90);
|
||||
x_92 = lean_box(0);
|
||||
x_93 = l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__2(x_87, x_89, x_91, x_92, x_4, x_5, x_6, x_7, x_61);
|
||||
lean_dec(x_87);
|
||||
if (lean_obj_tag(x_93) == 0)
|
||||
{
|
||||
lean_object* x_94; lean_object* x_95;
|
||||
x_94 = lean_ctor_get(x_93, 1);
|
||||
x_89 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_86, x_88);
|
||||
x_90 = l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(x_82);
|
||||
x_91 = lean_ctor_get(x_82, 1);
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_82);
|
||||
x_92 = lean_nat_add(x_90, x_91);
|
||||
lean_dec(x_91);
|
||||
x_93 = l_Array_toSubarray___rarg(x_89, x_90, x_92);
|
||||
x_94 = lean_ctor_get(x_93, 2);
|
||||
lean_inc(x_94);
|
||||
x_95 = lean_usize_of_nat(x_94);
|
||||
lean_dec(x_94);
|
||||
x_96 = lean_ctor_get(x_93, 1);
|
||||
lean_inc(x_96);
|
||||
x_97 = lean_usize_of_nat(x_96);
|
||||
lean_dec(x_96);
|
||||
x_98 = lean_box(0);
|
||||
x_99 = l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__2(x_93, x_95, x_97, x_98, x_4, x_5, x_6, x_7, x_67);
|
||||
lean_dec(x_93);
|
||||
x_95 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_44, x_92, x_4, x_5, x_6, x_7, x_94);
|
||||
return x_95;
|
||||
}
|
||||
else
|
||||
if (lean_obj_tag(x_99) == 0)
|
||||
{
|
||||
uint8_t x_96;
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_1);
|
||||
x_96 = !lean_is_exclusive(x_93);
|
||||
if (x_96 == 0)
|
||||
{
|
||||
return x_93;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_97; lean_object* x_98; lean_object* x_99;
|
||||
x_97 = lean_ctor_get(x_93, 0);
|
||||
x_98 = lean_ctor_get(x_93, 1);
|
||||
lean_inc(x_98);
|
||||
lean_inc(x_97);
|
||||
lean_dec(x_93);
|
||||
x_99 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_99, 0, x_97);
|
||||
lean_ctor_set(x_99, 1, x_98);
|
||||
return x_99;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_100; lean_object* x_101; uint8_t x_102;
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_1);
|
||||
x_100 = lean_ctor_get(x_55, 1);
|
||||
lean_object* x_100; lean_object* x_101;
|
||||
x_100 = lean_ctor_get(x_99, 1);
|
||||
lean_inc(x_100);
|
||||
lean_dec(x_55);
|
||||
x_101 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_100);
|
||||
x_102 = !lean_is_exclusive(x_101);
|
||||
if (x_102 == 0)
|
||||
{
|
||||
lean_dec(x_99);
|
||||
x_101 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__1(x_1, x_50, x_98, x_4, x_5, x_6, x_7, x_100);
|
||||
return x_101;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_102;
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_1);
|
||||
x_102 = !lean_is_exclusive(x_99);
|
||||
if (x_102 == 0)
|
||||
{
|
||||
return x_99;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
x_103 = lean_ctor_get(x_101, 0);
|
||||
x_104 = lean_ctor_get(x_101, 1);
|
||||
x_103 = lean_ctor_get(x_99, 0);
|
||||
x_104 = lean_ctor_get(x_99, 1);
|
||||
lean_inc(x_104);
|
||||
lean_inc(x_103);
|
||||
lean_dec(x_101);
|
||||
lean_dec(x_99);
|
||||
x_105 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_105, 0, x_103);
|
||||
lean_ctor_set(x_105, 1, x_104);
|
||||
|
|
@ -13043,91 +13036,121 @@ return x_105;
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_106; lean_object* x_107; uint8_t x_108;
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_1);
|
||||
x_106 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_106);
|
||||
lean_dec(x_61);
|
||||
x_107 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_106);
|
||||
x_108 = !lean_is_exclusive(x_107);
|
||||
if (x_108 == 0)
|
||||
{
|
||||
return x_107;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_109; lean_object* x_110; lean_object* x_111;
|
||||
x_109 = lean_ctor_get(x_107, 0);
|
||||
x_110 = lean_ctor_get(x_107, 1);
|
||||
lean_inc(x_110);
|
||||
lean_inc(x_109);
|
||||
lean_dec(x_107);
|
||||
x_111 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_111, 0, x_109);
|
||||
lean_ctor_set(x_111, 1, x_110);
|
||||
return x_111;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112;
|
||||
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_dec(x_1);
|
||||
x_106 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_106);
|
||||
x_112 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_112);
|
||||
lean_dec(x_9);
|
||||
x_107 = lean_box(0);
|
||||
x_108 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_108, 0, x_106);
|
||||
lean_ctor_set(x_108, 1, x_107);
|
||||
x_109 = lean_array_mk(x_108);
|
||||
x_110 = lean_box(5);
|
||||
x_111 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_111, 0, x_110);
|
||||
lean_ctor_set(x_111, 1, x_109);
|
||||
x_112 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_112, 0, x_111);
|
||||
lean_ctor_set(x_112, 1, x_8);
|
||||
return x_112;
|
||||
x_113 = lean_box(0);
|
||||
x_114 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_114, 0, x_112);
|
||||
lean_ctor_set(x_114, 1, x_113);
|
||||
x_115 = lean_array_mk(x_114);
|
||||
x_116 = lean_box(5);
|
||||
x_117 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_116);
|
||||
lean_ctor_set(x_117, 1, x_115);
|
||||
x_118 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_118, 0, x_117);
|
||||
lean_ctor_set(x_118, 1, x_8);
|
||||
return x_118;
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117;
|
||||
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123;
|
||||
lean_dec(x_1);
|
||||
x_113 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_113);
|
||||
x_119 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_119);
|
||||
lean_dec(x_9);
|
||||
x_114 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_114, 0, x_113);
|
||||
x_115 = l_Lean_Meta_DiscrTree_keysAsPattern_goN___closed__1;
|
||||
x_116 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_116, 0, x_114);
|
||||
lean_ctor_set(x_116, 1, x_115);
|
||||
x_117 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_116);
|
||||
lean_ctor_set(x_117, 1, x_8);
|
||||
return x_117;
|
||||
x_120 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_120, 0, x_119);
|
||||
x_121 = l_Lean_Meta_DiscrTree_keysAsPattern_goN___closed__1;
|
||||
x_122 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_122, 0, x_120);
|
||||
lean_ctor_set(x_122, 1, x_121);
|
||||
x_123 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_123, 0, x_122);
|
||||
lean_ctor_set(x_123, 1, x_8);
|
||||
return x_123;
|
||||
}
|
||||
case 11:
|
||||
{
|
||||
lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131;
|
||||
x_118 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_118);
|
||||
x_119 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_119);
|
||||
x_120 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_120);
|
||||
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* 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; lean_object* x_136; lean_object* x_137;
|
||||
x_124 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_124);
|
||||
x_125 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_125);
|
||||
x_126 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_126);
|
||||
lean_dec(x_9);
|
||||
x_121 = lean_unsigned_to_nat(0u);
|
||||
x_122 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_121);
|
||||
lean_inc(x_122);
|
||||
x_123 = lean_alloc_ctor(6, 3, 0);
|
||||
lean_ctor_set(x_123, 0, x_118);
|
||||
lean_ctor_set(x_123, 1, x_119);
|
||||
lean_ctor_set(x_123, 2, x_122);
|
||||
x_124 = lean_box(0);
|
||||
x_125 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_125, 0, x_120);
|
||||
lean_ctor_set(x_125, 1, x_124);
|
||||
x_126 = lean_array_mk(x_125);
|
||||
x_127 = lean_mk_empty_array_with_capacity(x_122);
|
||||
lean_dec(x_122);
|
||||
x_128 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_127);
|
||||
x_129 = l_Array_append___rarg(x_126, x_128);
|
||||
x_127 = lean_unsigned_to_nat(0u);
|
||||
x_128 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_127);
|
||||
lean_inc(x_128);
|
||||
x_129 = lean_alloc_ctor(6, 3, 0);
|
||||
lean_ctor_set(x_129, 0, x_124);
|
||||
lean_ctor_set(x_129, 1, x_125);
|
||||
lean_ctor_set(x_129, 2, x_128);
|
||||
x_130 = lean_box(0);
|
||||
x_131 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_131, 0, x_126);
|
||||
lean_ctor_set(x_131, 1, x_130);
|
||||
x_132 = lean_array_mk(x_131);
|
||||
x_133 = lean_mk_empty_array_with_capacity(x_128);
|
||||
lean_dec(x_128);
|
||||
x_130 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_130, 0, x_123);
|
||||
lean_ctor_set(x_130, 1, x_129);
|
||||
x_131 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_131, 0, x_130);
|
||||
lean_ctor_set(x_131, 1, x_8);
|
||||
return x_131;
|
||||
x_134 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_133);
|
||||
x_135 = l_Array_append___rarg(x_132, x_134);
|
||||
lean_dec(x_134);
|
||||
x_136 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_136, 0, x_129);
|
||||
lean_ctor_set(x_136, 1, x_135);
|
||||
x_137 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_137, 0, x_136);
|
||||
lean_ctor_set(x_137, 1, x_8);
|
||||
return x_137;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_132; lean_object* x_133;
|
||||
lean_object* x_138; lean_object* x_139;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_1);
|
||||
x_132 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__1;
|
||||
x_133 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_133, 0, x_132);
|
||||
lean_ctor_set(x_133, 1, x_8);
|
||||
return x_133;
|
||||
x_138 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___lambda__2___closed__1;
|
||||
x_139 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_139, 0, x_138);
|
||||
lean_ctor_set(x_139, 1, x_8);
|
||||
return x_139;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
10963
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
10963
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
File diff suppressed because it is too large
Load diff
43
stage0/stdlib/Lean/Meta/GetUnfoldableConst.c
generated
43
stage0/stdlib/Lean/Meta/GetUnfoldableConst.c
generated
|
|
@ -27,6 +27,7 @@ LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_G
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_canUnfold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getUnfoldableConstNoEx_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getUnfoldableConstNoEx_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getUnfoldableConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isReducible___at___private_Lean_Meta_GetUnfoldableConst_0__Lean_Meta_canUnfoldDefault___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -478,33 +479,39 @@ return x_6;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_canUnfold(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;
|
||||
x_7 = lean_ctor_get(x_2, 5);
|
||||
lean_inc(x_7);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
x_7 = l_Lean_Meta_getConfig(x_2, x_3, x_4, x_5, x_6);
|
||||
x_8 = lean_ctor_get(x_2, 5);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_2);
|
||||
x_9 = l___private_Lean_Meta_GetUnfoldableConst_0__Lean_Meta_canUnfoldDefault(x_8, x_1, x_4, x_5, x_6);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_9 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_7);
|
||||
x_11 = l___private_Lean_Meta_GetUnfoldableConst_0__Lean_Meta_canUnfoldDefault(x_9, x_1, x_4, x_5, x_10);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_1);
|
||||
lean_dec(x_8);
|
||||
return x_9;
|
||||
lean_dec(x_9);
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_10 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_10);
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_12 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_7);
|
||||
x_11 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_2);
|
||||
x_12 = lean_apply_5(x_10, x_11, x_1, x_4, x_5, x_6);
|
||||
return x_12;
|
||||
x_14 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_8);
|
||||
x_15 = lean_apply_5(x_14, x_12, x_1, x_4, x_5, x_13);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
288
stage0/stdlib/Lean/Meta/InferType.c
generated
288
stage0/stdlib/Lean/Meta/InferType.c
generated
|
|
@ -28,7 +28,7 @@ static lean_object* l_Lean_Meta_throwFunctionExpected___rarg___closed__2;
|
|||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___private_Lean_Meta_InferType_0__Lean_Meta_checkInferTypeCache___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_right(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_typeFormerTypeLevel_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferLambdaType___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -84,7 +84,6 @@ lean_object* lean_array_fget(lean_object*, lean_object*);
|
|||
lean_object* l_Lean_Meta_forallTelescope___at_Lean_Meta_mapForallTelescope_x27___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Expr_instantiateBetaRevRange___closed__1;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_throwUnknownMVar___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_environment_find(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_arrowDomainsN___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -210,7 +209,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_throwIncorrectNumberOfLevels___rarg(lean_ob
|
|||
static lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__8;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalContext_mkLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Meta_arrowDomainsN___lambda__2___closed__1;
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_instantiateBetaRevRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -229,6 +227,7 @@ static lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__7;
|
|||
LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Meta_arrowDomainsN___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_throwUnknownMVar(lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_ExprStructEq_instHashable;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isProofQuickApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -249,10 +248,8 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*)
|
|||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Expr_instantiateBetaRevRange_visit___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isArrowProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Expr_instantiateBetaRevRange_visit___closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27(lean_object*);
|
||||
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isProofQuick(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalDecl_type(lean_object*);
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
|
|
@ -21492,81 +21489,6 @@ return x_59;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_10 = l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg(x_8, x_9);
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
lean_inc(x_11);
|
||||
x_13 = l_Lean_Expr_fvar___override(x_11);
|
||||
x_14 = !lean_is_exclusive(x_5);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_15 = lean_ctor_get(x_5, 1);
|
||||
x_16 = 0;
|
||||
x_17 = l_Lean_LocalContext_mkLocalDecl(x_15, x_11, x_1, x_3, x_2, x_16);
|
||||
lean_ctor_set(x_5, 1, x_17);
|
||||
x_18 = lean_apply_6(x_4, x_13, x_5, x_6, x_7, x_8, x_12);
|
||||
return x_18;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_19 = lean_ctor_get(x_5, 0);
|
||||
x_20 = lean_ctor_get(x_5, 1);
|
||||
x_21 = lean_ctor_get(x_5, 2);
|
||||
x_22 = lean_ctor_get(x_5, 3);
|
||||
x_23 = lean_ctor_get(x_5, 4);
|
||||
x_24 = lean_ctor_get(x_5, 5);
|
||||
x_25 = lean_ctor_get_uint8(x_5, sizeof(void*)*6);
|
||||
x_26 = lean_ctor_get_uint8(x_5, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_5);
|
||||
x_27 = 0;
|
||||
x_28 = l_Lean_LocalContext_mkLocalDecl(x_20, x_11, x_1, x_3, x_2, x_27);
|
||||
x_29 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_29, 0, x_19);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
lean_ctor_set(x_29, 2, x_21);
|
||||
lean_ctor_set(x_29, 3, x_22);
|
||||
lean_ctor_set(x_29, 4, x_23);
|
||||
lean_ctor_set(x_29, 5, x_24);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*6, x_25);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*6 + 1, x_26);
|
||||
x_30 = lean_apply_6(x_4, x_13, x_29, x_6, x_7, x_8, x_12);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27___rarg___boxed), 9, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_10; lean_object* x_11;
|
||||
x_10 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_11 = l___private_Lean_Meta_InferType_0__Lean_Meta_withLocalDecl_x27___rarg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_typeFormerTypeLevelQuick(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -21605,6 +21527,15 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_typeFormerTypeLevel_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_array_push(x_1, x_3);
|
||||
x_10 = l_Lean_Meta_typeFormerTypeLevel_go(x_2, x_9, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_typeFormerTypeLevel_go___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -21638,7 +21569,7 @@ return x_10;
|
|||
}
|
||||
case 7:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_11 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_1, 1);
|
||||
|
|
@ -21649,171 +21580,136 @@ x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8);
|
|||
lean_dec(x_1);
|
||||
x_15 = lean_expr_instantiate_rev(x_12, x_2);
|
||||
lean_dec(x_12);
|
||||
x_16 = l_Lean_mkFreshFVarId___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1___rarg(x_6, x_7);
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_16, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_17);
|
||||
x_19 = l_Lean_Expr_fvar___override(x_17);
|
||||
x_20 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_21);
|
||||
x_22 = 0;
|
||||
x_23 = l_Lean_LocalContext_mkLocalDecl(x_21, x_17, x_11, x_15, x_14, x_22);
|
||||
x_24 = lean_ctor_get(x_3, 2);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_3, 3);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_3, 4);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_ctor_get(x_3, 5);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*6);
|
||||
x_29 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1);
|
||||
lean_dec(x_3);
|
||||
x_30 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_30, 0, x_20);
|
||||
lean_ctor_set(x_30, 1, x_23);
|
||||
lean_ctor_set(x_30, 2, x_24);
|
||||
lean_ctor_set(x_30, 3, x_25);
|
||||
lean_ctor_set(x_30, 4, x_26);
|
||||
lean_ctor_set(x_30, 5, x_27);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*6, x_28);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*6 + 1, x_29);
|
||||
x_31 = lean_array_push(x_2, x_19);
|
||||
x_1 = x_13;
|
||||
x_2 = x_31;
|
||||
x_3 = x_30;
|
||||
x_7 = x_18;
|
||||
goto _start;
|
||||
x_16 = lean_alloc_closure((void*)(l_Lean_Meta_typeFormerTypeLevel_go___lambda__1), 8, 2);
|
||||
lean_closure_set(x_16, 0, x_2);
|
||||
lean_closure_set(x_16, 1, x_13);
|
||||
x_17 = l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate___rarg(x_11, x_14, x_15, x_16, x_3, x_4, x_5, x_6, x_7);
|
||||
return x_17;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34;
|
||||
x_33 = lean_expr_instantiate_rev(x_1, x_2);
|
||||
lean_object* x_18; lean_object* x_19;
|
||||
x_18 = lean_expr_instantiate_rev(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_34 = l_Lean_Meta_whnfD(x_33, x_3, x_4, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_34) == 0)
|
||||
x_19 = l_Lean_Meta_whnfD(x_18, x_3, x_4, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_35;
|
||||
x_35 = lean_ctor_get(x_34, 0);
|
||||
lean_inc(x_35);
|
||||
switch (lean_obj_tag(x_35)) {
|
||||
lean_object* x_20;
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
switch (lean_obj_tag(x_20)) {
|
||||
case 3:
|
||||
{
|
||||
uint8_t x_36;
|
||||
uint8_t x_21;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_36 = !lean_is_exclusive(x_34);
|
||||
if (x_36 == 0)
|
||||
x_21 = !lean_is_exclusive(x_19);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_37 = lean_ctor_get(x_34, 0);
|
||||
lean_dec(x_37);
|
||||
x_38 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_35);
|
||||
x_39 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_39, 0, x_38);
|
||||
lean_ctor_set(x_34, 0, x_39);
|
||||
return x_34;
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_22 = lean_ctor_get(x_19, 0);
|
||||
lean_dec(x_22);
|
||||
x_23 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_20);
|
||||
x_24 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_19, 0, x_24);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
x_40 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_34);
|
||||
x_41 = lean_ctor_get(x_35, 0);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_35);
|
||||
x_42 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_40);
|
||||
return x_43;
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
x_25 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_19);
|
||||
x_26 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_20);
|
||||
x_27 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_25);
|
||||
return x_28;
|
||||
}
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45;
|
||||
x_44 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_34);
|
||||
x_45 = l_Lean_Meta_typeFormerTypeLevel_go___closed__1;
|
||||
x_1 = x_35;
|
||||
x_2 = x_45;
|
||||
x_7 = x_44;
|
||||
lean_object* x_29; lean_object* x_30;
|
||||
x_29 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_19);
|
||||
x_30 = l_Lean_Meta_typeFormerTypeLevel_go___closed__1;
|
||||
x_1 = x_20;
|
||||
x_2 = x_30;
|
||||
x_7 = x_29;
|
||||
goto _start;
|
||||
}
|
||||
default:
|
||||
{
|
||||
uint8_t x_47;
|
||||
lean_dec(x_35);
|
||||
uint8_t x_32;
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_47 = !lean_is_exclusive(x_34);
|
||||
if (x_47 == 0)
|
||||
x_32 = !lean_is_exclusive(x_19);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49;
|
||||
x_48 = lean_ctor_get(x_34, 0);
|
||||
lean_dec(x_48);
|
||||
x_49 = lean_box(0);
|
||||
lean_ctor_set(x_34, 0, x_49);
|
||||
return x_34;
|
||||
lean_object* x_33; lean_object* x_34;
|
||||
x_33 = lean_ctor_get(x_19, 0);
|
||||
lean_dec(x_33);
|
||||
x_34 = lean_box(0);
|
||||
lean_ctor_set(x_19, 0, x_34);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_34);
|
||||
x_51 = lean_box(0);
|
||||
x_52 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_51);
|
||||
lean_ctor_set(x_52, 1, x_50);
|
||||
return x_52;
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_35 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_19);
|
||||
x_36 = lean_box(0);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_35);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_53;
|
||||
uint8_t x_38;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_53 = !lean_is_exclusive(x_34);
|
||||
if (x_53 == 0)
|
||||
x_38 = !lean_is_exclusive(x_19);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
return x_34;
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_34, 0);
|
||||
x_55 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_55);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_34);
|
||||
x_56 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_54);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
return x_56;
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_39 = lean_ctor_get(x_19, 0);
|
||||
x_40 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_19);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
return x_41;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
761
stage0/stdlib/Lean/Meta/LazyDiscrTree.c
generated
761
stage0/stdlib/Lean/Meta/LazyDiscrTree.c
generated
|
|
@ -3384,341 +3384,332 @@ case 2:
|
|||
lean_dec(x_1);
|
||||
if (x_2 == 0)
|
||||
{
|
||||
lean_object* x_18; uint8_t x_19;
|
||||
x_18 = lean_ctor_get(x_4, 0);
|
||||
x_19 = lean_ctor_get_uint8(x_18, 4);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21;
|
||||
x_20 = lean_ctor_get(x_9, 0);
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
x_18 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_9);
|
||||
x_19 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_9);
|
||||
x_21 = l_Lean_MVarId_isReadOnlyOrSyntheticOpaque(x_20, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
x_21 = lean_ctor_get_uint8(x_20, 4);
|
||||
lean_dec(x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22; uint8_t x_23;
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_object* x_22; lean_object* x_23;
|
||||
x_22 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_22);
|
||||
x_23 = lean_unbox(x_22);
|
||||
lean_dec(x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
uint8_t x_24;
|
||||
x_24 = !lean_is_exclusive(x_21);
|
||||
if (x_24 == 0)
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26;
|
||||
x_25 = lean_ctor_get(x_21, 0);
|
||||
lean_dec(x_25);
|
||||
x_26 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__1;
|
||||
lean_ctor_set(x_21, 0, x_26);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_27 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_21);
|
||||
x_28 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__1;
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_27);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_30;
|
||||
x_30 = !lean_is_exclusive(x_21);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32;
|
||||
x_31 = lean_ctor_get(x_21, 0);
|
||||
lean_dec(x_31);
|
||||
x_32 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
lean_ctor_set(x_21, 0, x_32);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_21);
|
||||
x_34 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
x_35 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
x_36 = !lean_is_exclusive(x_21);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_37 = lean_ctor_get(x_21, 0);
|
||||
x_38 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_21);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_19);
|
||||
x_23 = l_Lean_MVarId_isReadOnlyOrSyntheticOpaque(x_18, x_4, x_5, x_6, x_7, x_22);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_40 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__1;
|
||||
x_41 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_40);
|
||||
lean_ctor_set(x_41, 1, x_8);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
lean_object* x_24; uint8_t x_25;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_unbox(x_24);
|
||||
lean_dec(x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
x_26 = !lean_is_exclusive(x_23);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
x_27 = lean_ctor_get(x_23, 0);
|
||||
lean_dec(x_27);
|
||||
x_28 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__1;
|
||||
lean_ctor_set(x_23, 0, x_28);
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_29 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_23);
|
||||
x_30 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__1;
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
return x_31;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_32;
|
||||
x_32 = !lean_is_exclusive(x_23);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34;
|
||||
x_33 = lean_ctor_get(x_23, 0);
|
||||
lean_dec(x_33);
|
||||
x_34 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
lean_ctor_set(x_23, 0, x_34);
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_35 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_23);
|
||||
x_36 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_35);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_38;
|
||||
x_38 = !lean_is_exclusive(x_23);
|
||||
if (x_38 == 0)
|
||||
{
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
x_39 = lean_ctor_get(x_23, 0);
|
||||
x_40 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_40);
|
||||
lean_inc(x_39);
|
||||
lean_dec(x_23);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_39);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
return x_41;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43;
|
||||
uint8_t x_42;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_42 = !lean_is_exclusive(x_19);
|
||||
if (x_42 == 0)
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44;
|
||||
x_43 = lean_ctor_get(x_19, 0);
|
||||
lean_dec(x_43);
|
||||
x_44 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__1;
|
||||
lean_ctor_set(x_19, 0, x_44);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
x_45 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_19);
|
||||
x_46 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__1;
|
||||
x_47 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_45);
|
||||
return x_47;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_42 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
lean_ctor_set(x_43, 1, x_8);
|
||||
return x_43;
|
||||
x_48 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
x_49 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_48);
|
||||
lean_ctor_set(x_49, 1, x_8);
|
||||
return x_49;
|
||||
}
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47;
|
||||
x_44 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_44);
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53;
|
||||
x_50 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_9);
|
||||
x_45 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8);
|
||||
x_46 = lean_ctor_get(x_45, 0);
|
||||
lean_inc(x_46);
|
||||
x_47 = lean_ctor_get_uint8(x_46, 4);
|
||||
lean_dec(x_46);
|
||||
if (x_47 == 0)
|
||||
x_51 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8);
|
||||
x_52 = lean_ctor_get(x_51, 0);
|
||||
lean_inc(x_52);
|
||||
x_53 = lean_ctor_get_uint8(x_52, 4);
|
||||
lean_dec(x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_48 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_45);
|
||||
x_49 = lean_box(0);
|
||||
x_50 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_44, x_49, x_4, x_5, x_6, x_7, x_48);
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_51);
|
||||
x_55 = lean_box(0);
|
||||
x_56 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_50, x_55, x_4, x_5, x_6, x_7, x_54);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_50;
|
||||
return x_56;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_51; uint8_t x_52;
|
||||
x_51 = lean_ctor_get(x_45, 1);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_45);
|
||||
x_52 = l_Lean_Expr_hasExprMVar(x_1);
|
||||
if (x_52 == 0)
|
||||
lean_object* x_57; uint8_t x_58;
|
||||
x_57 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_57);
|
||||
lean_dec(x_51);
|
||||
x_58 = l_Lean_Expr_hasExprMVar(x_1);
|
||||
if (x_58 == 0)
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54;
|
||||
x_53 = lean_box(0);
|
||||
x_54 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_44, x_53, x_4, x_5, x_6, x_7, x_51);
|
||||
lean_object* x_59; lean_object* x_60;
|
||||
x_59 = lean_box(0);
|
||||
x_60 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_50, x_59, x_4, x_5, x_6, x_7, x_57);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_54;
|
||||
return x_60;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; uint8_t x_57;
|
||||
lean_inc(x_44);
|
||||
x_55 = l_Lean_isReducible___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__1(x_44, x_4, x_5, x_6, x_7, x_51);
|
||||
x_56 = lean_ctor_get(x_55, 0);
|
||||
lean_inc(x_56);
|
||||
x_57 = lean_unbox(x_56);
|
||||
lean_dec(x_56);
|
||||
if (x_57 == 0)
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
|
||||
x_58 = lean_ctor_get(x_55, 1);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_55);
|
||||
x_59 = lean_st_ref_get(x_7, x_58);
|
||||
x_60 = lean_ctor_get(x_59, 0);
|
||||
lean_inc(x_60);
|
||||
x_61 = lean_ctor_get(x_59, 1);
|
||||
lean_inc(x_61);
|
||||
lean_dec(x_59);
|
||||
x_62 = lean_ctor_get(x_60, 0);
|
||||
lean_object* x_61; lean_object* x_62; uint8_t x_63;
|
||||
lean_inc(x_50);
|
||||
x_61 = l_Lean_isReducible___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__1(x_50, x_4, x_5, x_6, x_7, x_57);
|
||||
x_62 = lean_ctor_get(x_61, 0);
|
||||
lean_inc(x_62);
|
||||
lean_dec(x_60);
|
||||
x_63 = l_Lean_Meta_isMatcherAppCore_x3f(x_62, x_1);
|
||||
x_63 = lean_unbox(x_62);
|
||||
lean_dec(x_62);
|
||||
if (lean_obj_tag(x_63) == 0)
|
||||
if (x_63 == 0)
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65; uint8_t x_66;
|
||||
lean_inc(x_44);
|
||||
x_64 = l_Lean_isRec___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__1(x_44, x_4, x_5, x_6, x_7, x_61);
|
||||
x_65 = lean_ctor_get(x_64, 0);
|
||||
lean_inc(x_65);
|
||||
x_66 = lean_unbox(x_65);
|
||||
lean_dec(x_65);
|
||||
if (x_66 == 0)
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_67 = lean_ctor_get(x_64, 1);
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_64 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_64);
|
||||
lean_dec(x_61);
|
||||
x_65 = lean_st_ref_get(x_7, x_64);
|
||||
x_66 = lean_ctor_get(x_65, 0);
|
||||
lean_inc(x_66);
|
||||
x_67 = lean_ctor_get(x_65, 1);
|
||||
lean_inc(x_67);
|
||||
lean_dec(x_64);
|
||||
x_68 = lean_box(0);
|
||||
x_69 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_44, x_68, x_4, x_5, x_6, x_7, x_67);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_69;
|
||||
}
|
||||
else
|
||||
lean_dec(x_65);
|
||||
x_68 = lean_ctor_get(x_66, 0);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_66);
|
||||
x_69 = l_Lean_Meta_isMatcherAppCore_x3f(x_68, x_1);
|
||||
lean_dec(x_68);
|
||||
if (lean_obj_tag(x_69) == 0)
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71; uint8_t x_72;
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_70 = lean_ctor_get(x_64, 1);
|
||||
lean_inc(x_70);
|
||||
lean_dec(x_64);
|
||||
x_71 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_70);
|
||||
x_72 = !lean_is_exclusive(x_71);
|
||||
lean_inc(x_50);
|
||||
x_70 = l_Lean_isRec___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__1(x_50, x_4, x_5, x_6, x_7, x_67);
|
||||
x_71 = lean_ctor_get(x_70, 0);
|
||||
lean_inc(x_71);
|
||||
x_72 = lean_unbox(x_71);
|
||||
lean_dec(x_71);
|
||||
if (x_72 == 0)
|
||||
{
|
||||
return x_71;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_73 = lean_ctor_get(x_71, 0);
|
||||
x_74 = lean_ctor_get(x_71, 1);
|
||||
lean_inc(x_74);
|
||||
x_73 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_73);
|
||||
lean_dec(x_71);
|
||||
x_75 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_73);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
lean_dec(x_70);
|
||||
x_74 = lean_box(0);
|
||||
x_75 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_50, x_74, x_4, x_5, x_6, x_7, x_73);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_75;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; size_t x_89; lean_object* x_90; size_t x_91; lean_object* x_92; lean_object* x_93;
|
||||
x_76 = lean_ctor_get(x_63, 0);
|
||||
lean_object* x_76; lean_object* x_77; uint8_t x_78;
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_76 = lean_ctor_get(x_70, 1);
|
||||
lean_inc(x_76);
|
||||
lean_dec(x_63);
|
||||
x_77 = lean_unsigned_to_nat(0u);
|
||||
x_78 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_77);
|
||||
x_79 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__2;
|
||||
lean_inc(x_78);
|
||||
x_80 = lean_mk_array(x_78, x_79);
|
||||
x_81 = lean_unsigned_to_nat(1u);
|
||||
x_82 = lean_nat_sub(x_78, x_81);
|
||||
lean_dec(x_78);
|
||||
lean_dec(x_70);
|
||||
x_77 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_76);
|
||||
x_78 = !lean_is_exclusive(x_77);
|
||||
if (x_78 == 0)
|
||||
{
|
||||
return x_77;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_79 = lean_ctor_get(x_77, 0);
|
||||
x_80 = lean_ctor_get(x_77, 1);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_77);
|
||||
x_81 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_81, 0, x_79);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
return x_81;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_82; lean_object* x_83; lean_object* 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; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; size_t x_95; lean_object* x_96; size_t x_97; lean_object* x_98; lean_object* x_99;
|
||||
x_82 = lean_ctor_get(x_69, 0);
|
||||
lean_inc(x_82);
|
||||
lean_dec(x_69);
|
||||
x_83 = lean_unsigned_to_nat(0u);
|
||||
x_84 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_83);
|
||||
x_85 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__3___closed__2;
|
||||
lean_inc(x_84);
|
||||
x_86 = lean_mk_array(x_84, x_85);
|
||||
x_87 = lean_unsigned_to_nat(1u);
|
||||
x_88 = lean_nat_sub(x_84, x_87);
|
||||
lean_dec(x_84);
|
||||
lean_inc(x_1);
|
||||
x_83 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_80, x_82);
|
||||
x_84 = l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(x_76);
|
||||
x_85 = lean_ctor_get(x_76, 1);
|
||||
lean_inc(x_85);
|
||||
lean_dec(x_76);
|
||||
x_86 = lean_nat_add(x_84, x_85);
|
||||
lean_dec(x_85);
|
||||
x_87 = l_Array_toSubarray___rarg(x_83, x_84, x_86);
|
||||
x_88 = lean_ctor_get(x_87, 2);
|
||||
lean_inc(x_88);
|
||||
x_89 = lean_usize_of_nat(x_88);
|
||||
lean_dec(x_88);
|
||||
x_90 = lean_ctor_get(x_87, 1);
|
||||
lean_inc(x_90);
|
||||
x_91 = lean_usize_of_nat(x_90);
|
||||
lean_dec(x_90);
|
||||
x_92 = lean_box(0);
|
||||
x_93 = l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__2(x_87, x_89, x_91, x_92, x_4, x_5, x_6, x_7, x_61);
|
||||
lean_dec(x_87);
|
||||
if (lean_obj_tag(x_93) == 0)
|
||||
{
|
||||
lean_object* x_94; lean_object* x_95;
|
||||
x_94 = lean_ctor_get(x_93, 1);
|
||||
x_89 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_86, x_88);
|
||||
x_90 = l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(x_82);
|
||||
x_91 = lean_ctor_get(x_82, 1);
|
||||
lean_inc(x_91);
|
||||
lean_dec(x_82);
|
||||
x_92 = lean_nat_add(x_90, x_91);
|
||||
lean_dec(x_91);
|
||||
x_93 = l_Array_toSubarray___rarg(x_89, x_90, x_92);
|
||||
x_94 = lean_ctor_get(x_93, 2);
|
||||
lean_inc(x_94);
|
||||
x_95 = lean_usize_of_nat(x_94);
|
||||
lean_dec(x_94);
|
||||
x_96 = lean_ctor_get(x_93, 1);
|
||||
lean_inc(x_96);
|
||||
x_97 = lean_usize_of_nat(x_96);
|
||||
lean_dec(x_96);
|
||||
x_98 = lean_box(0);
|
||||
x_99 = l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_getKeyArgs___spec__2(x_93, x_95, x_97, x_98, x_4, x_5, x_6, x_7, x_67);
|
||||
lean_dec(x_93);
|
||||
x_95 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_44, x_92, x_4, x_5, x_6, x_7, x_94);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_95;
|
||||
}
|
||||
else
|
||||
if (lean_obj_tag(x_99) == 0)
|
||||
{
|
||||
uint8_t x_96;
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_96 = !lean_is_exclusive(x_93);
|
||||
if (x_96 == 0)
|
||||
{
|
||||
return x_93;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_97; lean_object* x_98; lean_object* x_99;
|
||||
x_97 = lean_ctor_get(x_93, 0);
|
||||
x_98 = lean_ctor_get(x_93, 1);
|
||||
lean_inc(x_98);
|
||||
lean_inc(x_97);
|
||||
lean_dec(x_93);
|
||||
x_99 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_99, 0, x_97);
|
||||
lean_ctor_set(x_99, 1, x_98);
|
||||
return x_99;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_100; lean_object* x_101; uint8_t x_102;
|
||||
lean_dec(x_44);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_100 = lean_ctor_get(x_55, 1);
|
||||
lean_object* x_100; lean_object* x_101;
|
||||
x_100 = lean_ctor_get(x_99, 1);
|
||||
lean_inc(x_100);
|
||||
lean_dec(x_55);
|
||||
x_101 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_100);
|
||||
x_102 = !lean_is_exclusive(x_101);
|
||||
if (x_102 == 0)
|
||||
{
|
||||
lean_dec(x_99);
|
||||
x_101 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__1(x_1, x_50, x_98, x_4, x_5, x_6, x_7, x_100);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_101;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_102;
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_102 = !lean_is_exclusive(x_99);
|
||||
if (x_102 == 0)
|
||||
{
|
||||
return x_99;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
x_103 = lean_ctor_get(x_101, 0);
|
||||
x_104 = lean_ctor_get(x_101, 1);
|
||||
x_103 = lean_ctor_get(x_99, 0);
|
||||
x_104 = lean_ctor_get(x_99, 1);
|
||||
lean_inc(x_104);
|
||||
lean_inc(x_103);
|
||||
lean_dec(x_101);
|
||||
lean_dec(x_99);
|
||||
x_105 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_105, 0, x_103);
|
||||
lean_ctor_set(x_105, 1, x_104);
|
||||
|
|
@ -3727,142 +3718,174 @@ return x_105;
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
case 7:
|
||||
else
|
||||
{
|
||||
lean_object* x_106; lean_object* x_107; uint8_t x_108;
|
||||
lean_dec(x_1);
|
||||
x_106 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_106);
|
||||
x_107 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_107);
|
||||
lean_dec(x_9);
|
||||
x_108 = l_Lean_Expr_hasLooseBVars(x_107);
|
||||
if (x_108 == 0)
|
||||
{
|
||||
lean_object* x_109;
|
||||
x_109 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2(x_106, x_107, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_109;
|
||||
lean_dec(x_1);
|
||||
x_106 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_106);
|
||||
lean_dec(x_61);
|
||||
x_107 = l_Lean_Meta_throwIsDefEqStuck___rarg(x_106);
|
||||
x_108 = !lean_is_exclusive(x_107);
|
||||
if (x_108 == 0)
|
||||
{
|
||||
return x_107;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_110; lean_object* x_111; lean_object* x_112;
|
||||
x_110 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_elimLooseBVarsByBeta___closed__1;
|
||||
x_111 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_elimLooseBVarsByBeta___closed__2;
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_112 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_107, x_110, x_111, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_112) == 0)
|
||||
lean_object* x_109; lean_object* x_110; lean_object* x_111;
|
||||
x_109 = lean_ctor_get(x_107, 0);
|
||||
x_110 = lean_ctor_get(x_107, 1);
|
||||
lean_inc(x_110);
|
||||
lean_inc(x_109);
|
||||
lean_dec(x_107);
|
||||
x_111 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_111, 0, x_109);
|
||||
lean_ctor_set(x_111, 1, x_110);
|
||||
return x_111;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
lean_object* x_113; lean_object* x_114; lean_object* x_115;
|
||||
x_113 = lean_ctor_get(x_112, 0);
|
||||
lean_object* x_112; lean_object* x_113; uint8_t x_114;
|
||||
lean_dec(x_1);
|
||||
x_112 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_112);
|
||||
x_113 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_113);
|
||||
x_114 = lean_ctor_get(x_112, 1);
|
||||
lean_inc(x_114);
|
||||
lean_dec(x_112);
|
||||
x_115 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2(x_106, x_113, x_4, x_5, x_6, x_7, x_114);
|
||||
lean_dec(x_9);
|
||||
x_114 = l_Lean_Expr_hasLooseBVars(x_113);
|
||||
if (x_114 == 0)
|
||||
{
|
||||
lean_object* x_115;
|
||||
x_115 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2(x_112, x_113, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
return x_115;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_116;
|
||||
lean_dec(x_106);
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118;
|
||||
x_116 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_elimLooseBVarsByBeta___closed__1;
|
||||
x_117 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_elimLooseBVarsByBeta___closed__2;
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_118 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_113, x_116, x_117, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_118) == 0)
|
||||
{
|
||||
lean_object* x_119; lean_object* x_120; lean_object* x_121;
|
||||
x_119 = lean_ctor_get(x_118, 0);
|
||||
lean_inc(x_119);
|
||||
x_120 = lean_ctor_get(x_118, 1);
|
||||
lean_inc(x_120);
|
||||
lean_dec(x_118);
|
||||
x_121 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2(x_112, x_119, x_4, x_5, x_6, x_7, x_120);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_116 = !lean_is_exclusive(x_112);
|
||||
if (x_116 == 0)
|
||||
{
|
||||
return x_112;
|
||||
return x_121;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_117; lean_object* x_118; lean_object* x_119;
|
||||
x_117 = lean_ctor_get(x_112, 0);
|
||||
x_118 = lean_ctor_get(x_112, 1);
|
||||
lean_inc(x_118);
|
||||
lean_inc(x_117);
|
||||
uint8_t x_122;
|
||||
lean_dec(x_112);
|
||||
x_119 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_119, 0, x_117);
|
||||
lean_ctor_set(x_119, 1, x_118);
|
||||
return x_119;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_122 = !lean_is_exclusive(x_118);
|
||||
if (x_122 == 0)
|
||||
{
|
||||
return x_118;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_123; lean_object* x_124; lean_object* x_125;
|
||||
x_123 = lean_ctor_get(x_118, 0);
|
||||
x_124 = lean_ctor_get(x_118, 1);
|
||||
lean_inc(x_124);
|
||||
lean_inc(x_123);
|
||||
lean_dec(x_118);
|
||||
x_125 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_125, 0, x_123);
|
||||
lean_ctor_set(x_125, 1, x_124);
|
||||
return x_125;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124;
|
||||
lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_120 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_120);
|
||||
x_126 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_126);
|
||||
lean_dec(x_9);
|
||||
x_121 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_121, 0, x_120);
|
||||
x_122 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__1;
|
||||
x_123 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_123, 0, x_121);
|
||||
lean_ctor_set(x_123, 1, x_122);
|
||||
x_124 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_124, 0, x_123);
|
||||
lean_ctor_set(x_124, 1, x_8);
|
||||
return x_124;
|
||||
x_127 = lean_alloc_ctor(2, 1, 0);
|
||||
lean_ctor_set(x_127, 0, x_126);
|
||||
x_128 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__1;
|
||||
x_129 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_129, 0, x_127);
|
||||
lean_ctor_set(x_129, 1, x_128);
|
||||
x_130 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_130, 0, x_129);
|
||||
lean_ctor_set(x_130, 1, x_8);
|
||||
return x_130;
|
||||
}
|
||||
case 11:
|
||||
{
|
||||
lean_object* x_125; lean_object* x_126; lean_object* 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; lean_object* x_136; lean_object* x_137; lean_object* x_138;
|
||||
lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_125 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_125);
|
||||
x_126 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_126);
|
||||
x_127 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_127);
|
||||
x_131 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_131);
|
||||
x_132 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_132);
|
||||
x_133 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_133);
|
||||
lean_dec(x_9);
|
||||
x_128 = lean_unsigned_to_nat(0u);
|
||||
x_129 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_128);
|
||||
lean_inc(x_129);
|
||||
x_130 = lean_alloc_ctor(6, 3, 0);
|
||||
lean_ctor_set(x_130, 0, x_125);
|
||||
lean_ctor_set(x_130, 1, x_126);
|
||||
lean_ctor_set(x_130, 2, x_129);
|
||||
x_131 = lean_box(0);
|
||||
x_132 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_132, 0, x_127);
|
||||
lean_ctor_set(x_132, 1, x_131);
|
||||
x_133 = lean_array_mk(x_132);
|
||||
x_134 = lean_mk_empty_array_with_capacity(x_129);
|
||||
lean_dec(x_129);
|
||||
x_135 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_134);
|
||||
x_136 = l_Array_append___rarg(x_133, x_135);
|
||||
x_134 = lean_unsigned_to_nat(0u);
|
||||
x_135 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_134);
|
||||
lean_inc(x_135);
|
||||
x_136 = lean_alloc_ctor(6, 3, 0);
|
||||
lean_ctor_set(x_136, 0, x_131);
|
||||
lean_ctor_set(x_136, 1, x_132);
|
||||
lean_ctor_set(x_136, 2, x_135);
|
||||
x_137 = lean_box(0);
|
||||
x_138 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_138, 0, x_133);
|
||||
lean_ctor_set(x_138, 1, x_137);
|
||||
x_139 = lean_array_mk(x_138);
|
||||
x_140 = lean_mk_empty_array_with_capacity(x_135);
|
||||
lean_dec(x_135);
|
||||
x_137 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_137, 0, x_130);
|
||||
lean_ctor_set(x_137, 1, x_136);
|
||||
x_138 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_138, 0, x_137);
|
||||
lean_ctor_set(x_138, 1, x_8);
|
||||
return x_138;
|
||||
x_141 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_140);
|
||||
x_142 = l_Array_append___rarg(x_139, x_141);
|
||||
lean_dec(x_141);
|
||||
x_143 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_143, 0, x_136);
|
||||
lean_ctor_set(x_143, 1, x_142);
|
||||
x_144 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_144, 0, x_143);
|
||||
lean_ctor_set(x_144, 1, x_8);
|
||||
return x_144;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_139; lean_object* x_140;
|
||||
lean_object* x_145; lean_object* x_146;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_1);
|
||||
x_139 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
x_140 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_140, 0, x_139);
|
||||
lean_ctor_set(x_140, 1, x_8);
|
||||
return x_140;
|
||||
x_145 = l___private_Lean_Meta_LazyDiscrTree_0__Lean_Meta_LazyDiscrTree_MatchClone_getKeyArgs___lambda__2___closed__2;
|
||||
x_146 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_146, 0, x_145);
|
||||
lean_ctor_set(x_146, 1, x_8);
|
||||
return x_146;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1572
stage0/stdlib/Lean/Meta/LevelDefEq.c
generated
1572
stage0/stdlib/Lean/Meta/LevelDefEq.c
generated
File diff suppressed because it is too large
Load diff
293
stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c
generated
293
stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c
generated
|
|
@ -48,7 +48,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lea
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1___rarg___lambda__1(lean_object*, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_withUserNames___at_Lean_Meta_MatcherApp_inferMatchType___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__8___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -221,6 +220,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__25(le
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__14___rarg___lambda__8(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_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__8___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__8___rarg___lambda__2(lean_object*, lean_object*, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_MatcherApp_transform___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_withUserNames___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__11___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -237,6 +237,7 @@ static lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__2
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__6(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__3___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_MatcherApp_transform___spec__6___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -299,7 +300,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_
|
|||
lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_inferMatchType___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_MatcherApp_transform___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_transform___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__13___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*);
|
||||
|
|
@ -311,12 +311,14 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_MatcherApp_transform___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
lean_object* l_Array_mapMUnsafe_map___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__20(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*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_inferMatchType___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Meta_MatcherApp_inferMatchType___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_transform___spec__2___rarg___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_updateAlts___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Meta_MatcherApp_inferMatchType___spec__4___lambda__4___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__20___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__9___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___rarg___lambda__24___boxed(lean_object**);
|
||||
|
|
@ -3656,7 +3658,149 @@ return x_28;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = !lean_is_exclusive(x_3);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_ctor_get(x_3, 1);
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
x_10 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
uint8_t x_11;
|
||||
x_11 = !lean_is_exclusive(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_12 = lean_ctor_get(x_10, 0);
|
||||
x_13 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_12);
|
||||
lean_ctor_set(x_14, 1, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_15;
|
||||
x_15 = !lean_is_exclusive(x_10);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_16 = lean_ctor_get(x_10, 0);
|
||||
x_17 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_10);
|
||||
x_18 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_16);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
return x_18;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_19 = lean_ctor_get(x_3, 0);
|
||||
x_20 = lean_ctor_get(x_3, 2);
|
||||
x_21 = lean_ctor_get(x_3, 3);
|
||||
x_22 = lean_ctor_get(x_3, 4);
|
||||
x_23 = lean_ctor_get(x_3, 5);
|
||||
x_24 = lean_ctor_get_uint8(x_3, sizeof(void*)*6);
|
||||
x_25 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_21);
|
||||
lean_inc(x_20);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_3);
|
||||
x_26 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_26, 0, x_19);
|
||||
lean_ctor_set(x_26, 1, x_1);
|
||||
lean_ctor_set(x_26, 2, x_20);
|
||||
lean_ctor_set(x_26, 3, x_21);
|
||||
lean_ctor_set(x_26, 4, x_22);
|
||||
lean_ctor_set(x_26, 5, x_23);
|
||||
lean_ctor_set_uint8(x_26, sizeof(void*)*6, x_24);
|
||||
lean_ctor_set_uint8(x_26, sizeof(void*)*6 + 1, x_25);
|
||||
x_27 = lean_apply_5(x_2, x_26, x_4, x_5, x_6, x_7);
|
||||
if (lean_obj_tag(x_27) == 0)
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_28 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_28);
|
||||
x_29 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_29);
|
||||
if (lean_is_exclusive(x_27)) {
|
||||
lean_ctor_release(x_27, 0);
|
||||
lean_ctor_release(x_27, 1);
|
||||
x_30 = x_27;
|
||||
} else {
|
||||
lean_dec_ref(x_27);
|
||||
x_30 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_30)) {
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_31 = x_30;
|
||||
}
|
||||
lean_ctor_set(x_31, 0, x_28);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
return x_31;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_32 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_33);
|
||||
if (lean_is_exclusive(x_27)) {
|
||||
lean_ctor_release(x_27, 0);
|
||||
lean_ctor_release(x_27, 1);
|
||||
x_34 = x_27;
|
||||
} else {
|
||||
lean_dec_ref(x_27);
|
||||
x_34 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_34)) {
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_35 = x_34;
|
||||
}
|
||||
lean_ctor_set(x_35, 0, x_32);
|
||||
lean_ctor_set(x_35, 1, x_33);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg), 7, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
|
|
@ -3688,130 +3832,43 @@ return x_4;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_9;
|
||||
x_9 = !lean_is_exclusive(x_4);
|
||||
if (x_9 == 0)
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_9 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_9);
|
||||
x_10 = l_Array_zip___rarg(x_1, x_2);
|
||||
x_11 = lean_array_get_size(x_10);
|
||||
x_12 = lean_unsigned_to_nat(0u);
|
||||
x_13 = lean_nat_dec_lt(x_12, x_11);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_10 = lean_ctor_get(x_4, 1);
|
||||
x_11 = l_Array_zip___rarg(x_1, x_2);
|
||||
x_12 = lean_array_get_size(x_11);
|
||||
x_13 = lean_unsigned_to_nat(0u);
|
||||
x_14 = lean_nat_dec_lt(x_13, x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15;
|
||||
lean_dec(x_12);
|
||||
lean_object* x_14;
|
||||
lean_dec(x_11);
|
||||
x_15 = lean_apply_5(x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_15;
|
||||
lean_dec(x_10);
|
||||
x_14 = l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg(x_9, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_16;
|
||||
x_16 = lean_nat_dec_le(x_12, x_12);
|
||||
if (x_16 == 0)
|
||||
uint8_t x_15;
|
||||
x_15 = lean_nat_dec_le(x_11, x_11);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_17;
|
||||
lean_dec(x_12);
|
||||
lean_object* x_16;
|
||||
lean_dec(x_11);
|
||||
x_17 = lean_apply_5(x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_17;
|
||||
lean_dec(x_10);
|
||||
x_16 = l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg(x_9, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_16;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_18 = 0;
|
||||
x_19 = lean_usize_of_nat(x_12);
|
||||
lean_dec(x_12);
|
||||
x_20 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1(x_11, x_18, x_19, x_10);
|
||||
size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_17 = 0;
|
||||
x_18 = lean_usize_of_nat(x_11);
|
||||
lean_dec(x_11);
|
||||
lean_ctor_set(x_4, 1, x_20);
|
||||
x_21 = lean_apply_5(x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_21;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33;
|
||||
x_22 = lean_ctor_get(x_4, 0);
|
||||
x_23 = lean_ctor_get(x_4, 1);
|
||||
x_24 = lean_ctor_get(x_4, 2);
|
||||
x_25 = lean_ctor_get(x_4, 3);
|
||||
x_26 = lean_ctor_get(x_4, 4);
|
||||
x_27 = lean_ctor_get(x_4, 5);
|
||||
x_28 = lean_ctor_get_uint8(x_4, sizeof(void*)*6);
|
||||
x_29 = lean_ctor_get_uint8(x_4, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_27);
|
||||
lean_inc(x_26);
|
||||
lean_inc(x_25);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_23);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_4);
|
||||
x_30 = l_Array_zip___rarg(x_1, x_2);
|
||||
x_31 = lean_array_get_size(x_30);
|
||||
x_32 = lean_unsigned_to_nat(0u);
|
||||
x_33 = lean_nat_dec_lt(x_32, x_31);
|
||||
if (x_33 == 0)
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
lean_dec(x_31);
|
||||
lean_dec(x_30);
|
||||
x_34 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_34, 0, x_22);
|
||||
lean_ctor_set(x_34, 1, x_23);
|
||||
lean_ctor_set(x_34, 2, x_24);
|
||||
lean_ctor_set(x_34, 3, x_25);
|
||||
lean_ctor_set(x_34, 4, x_26);
|
||||
lean_ctor_set(x_34, 5, x_27);
|
||||
lean_ctor_set_uint8(x_34, sizeof(void*)*6, x_28);
|
||||
lean_ctor_set_uint8(x_34, sizeof(void*)*6 + 1, x_29);
|
||||
x_35 = lean_apply_5(x_3, x_34, x_5, x_6, x_7, x_8);
|
||||
return x_35;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
x_36 = lean_nat_dec_le(x_31, x_31);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38;
|
||||
lean_dec(x_31);
|
||||
lean_dec(x_30);
|
||||
x_37 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_37, 0, x_22);
|
||||
lean_ctor_set(x_37, 1, x_23);
|
||||
lean_ctor_set(x_37, 2, x_24);
|
||||
lean_ctor_set(x_37, 3, x_25);
|
||||
lean_ctor_set(x_37, 4, x_26);
|
||||
lean_ctor_set(x_37, 5, x_27);
|
||||
lean_ctor_set_uint8(x_37, sizeof(void*)*6, x_28);
|
||||
lean_ctor_set_uint8(x_37, sizeof(void*)*6 + 1, x_29);
|
||||
x_38 = lean_apply_5(x_3, x_37, x_5, x_6, x_7, x_8);
|
||||
return x_38;
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
x_39 = 0;
|
||||
x_40 = lean_usize_of_nat(x_31);
|
||||
lean_dec(x_31);
|
||||
x_41 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1(x_30, x_39, x_40, x_23);
|
||||
lean_dec(x_30);
|
||||
x_42 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_42, 0, x_22);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
lean_ctor_set(x_42, 2, x_24);
|
||||
lean_ctor_set(x_42, 3, x_25);
|
||||
lean_ctor_set(x_42, 4, x_26);
|
||||
lean_ctor_set(x_42, 5, x_27);
|
||||
lean_ctor_set_uint8(x_42, sizeof(void*)*6, x_28);
|
||||
lean_ctor_set_uint8(x_42, sizeof(void*)*6 + 1, x_29);
|
||||
x_43 = lean_apply_5(x_3, x_42, x_5, x_6, x_7, x_8);
|
||||
return x_43;
|
||||
}
|
||||
x_19 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__2(x_10, x_17, x_18, x_9);
|
||||
lean_dec(x_10);
|
||||
x_20 = l_Lean_Meta_withLCtx_x27___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___rarg(x_19, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3824,7 +3881,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatcherApp_Transfor
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
|
|
@ -3832,7 +3889,7 @@ x_5 = lean_unbox_usize(x_2);
|
|||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__1(x_1, x_5, x_6, x_4);
|
||||
x_7 = l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_withUserNamesImpl___spec__2(x_1, x_5, x_6, x_4);
|
||||
lean_dec(x_1);
|
||||
return x_7;
|
||||
}
|
||||
|
|
|
|||
685
stage0/stdlib/Lean/Meta/SynthInstance.c
generated
685
stage0/stdlib/Lean/Meta/SynthInstance.c
generated
File diff suppressed because it is too large
Load diff
824
stage0/stdlib/Lean/Meta/Tactic/AC/Main.c
generated
824
stage0/stdlib/Lean/Meta/Tactic/AC/Main.c
generated
File diff suppressed because it is too large
Load diff
2966
stage0/stdlib/Lean/Meta/Tactic/Acyclic.c
generated
2966
stage0/stdlib/Lean/Meta/Tactic/Acyclic.c
generated
File diff suppressed because it is too large
Load diff
9
stage0/stdlib/Lean/Meta/Tactic/Apply.c
generated
9
stage0/stdlib/Lean/Meta/Tactic/Apply.c
generated
|
|
@ -124,7 +124,6 @@ static lean_object* l_Lean_MVarId_splitAndCore_go___closed__4;
|
|||
extern uint8_t l_Lean_instInhabitedBinderInfo;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_synthAppInstances_step___spec__1___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_synthAppInstances_step___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -6103,14 +6102,6 @@ x_7 = l_Lean_MVarId_splitAndCore(x_1, x_2, x_3, x_4, x_5, x_6);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitAnd(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;
|
||||
x_7 = l_Lean_MVarId_splitAndCore(x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_MVarId_exfalso___lambda__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
774
stage0/stdlib/Lean/Meta/Tactic/Grind/Preprocessor.c
generated
774
stage0/stdlib/Lean/Meta/Tactic/Grind/Preprocessor.c
generated
|
|
@ -23,7 +23,6 @@ static lean_object* l_Lean_Meta_Grind_Preprocessor_introNext___lambda__5___close
|
|||
lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Preprocessor_instInhabitedContext___closed__10;
|
||||
static lean_object* l_Lean_Meta_Grind_Preprocessor_introNext___lambda__5___closed__4;
|
||||
uint32_t l_UInt32_ofNatTruncate(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Meta_Grind_Preprocessor_introNext___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_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Preprocessor_instInhabitedState___closed__4;
|
||||
|
|
@ -51,7 +50,7 @@ static lean_object* l_Lean_Meta_Grind_Preprocessor_instInhabitedContext___closed
|
|||
LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_Grind_Preprocessor_introNext___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Preprocessor_simp___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Preprocessor_introNext___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static uint32_t l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
static lean_object* l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Grind_Preprocessor_instInhabitedState___closed__2;
|
||||
LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_Grind_Preprocessor_introNext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -86,6 +85,7 @@ lean_object* l_ShareCommon_mkStateImpl(lean_object*);
|
|||
lean_object* l_Lean_FVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_Grind_Preprocessor_introNext___spec__4___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forM___at_Lean_Meta_Grind_Preprocessor_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isArrow(lean_object*);
|
||||
lean_object* l_Lean_MVarId_clearAuxDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_abstractNestedProofs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -134,7 +134,6 @@ lean_object* l_Lean_MVarId_ensureProp(lean_object*, lean_object*, lean_object*,
|
|||
static lean_object* l_Lean_Meta_Grind_Preprocessor_instInhabitedContext___closed__9;
|
||||
extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps;
|
||||
static lean_object* l_Lean_Meta_Grind_Preprocessor_instInhabitedContext___closed__8;
|
||||
static lean_object* l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10;
|
||||
lean_object* l_Lean_Expr_fvar___override(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Grind_Preprocessor_applyCases_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Meta_Grind_Preprocessor_introNext___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -461,16 +460,7 @@ lean_ctor_set_uint8(x_6, sizeof(void*)*2 + 18, x_4);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static uint32_t _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint32_t x_2;
|
||||
x_1 = lean_unsigned_to_nat(2u);
|
||||
x_2 = l_UInt32_ofNatTruncate(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -479,23 +469,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5;
|
||||
x_1 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__6() {
|
||||
_start:
|
||||
{
|
||||
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 5;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__6;
|
||||
x_3 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5;
|
||||
x_3 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
|
||||
lean_ctor_set(x_5, 0, x_2);
|
||||
|
|
@ -506,12 +496,12 @@ lean_ctor_set_usize(x_5, 4, x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_Grind_Preprocessor_instInhabitedContext___closed__7;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__7;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
|
|
@ -520,24 +510,24 @@ lean_ctor_set(x_3, 3, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9() {
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_Grind_Preprocessor_instInhabitedState___closed__1;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__8;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__7;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10() {
|
||||
static lean_object* _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__7;
|
||||
x_1 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__8;
|
||||
x_2 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__6;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
|
|
@ -547,463 +537,400 @@ return x_3;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15;
|
||||
x_9 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__1;
|
||||
x_10 = l_Lean_Meta_SimpExtension_getTheorems(x_9, x_6, x_7, x_8);
|
||||
x_11 = !lean_is_exclusive(x_10);
|
||||
if (x_11 == 0)
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__2;
|
||||
x_14 = l_Lean_Meta_Simp_SimprocExtension_getSimprocs(x_13, x_6, x_7, x_12);
|
||||
x_15 = !lean_is_exclusive(x_14);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_12 = lean_ctor_get(x_10, 0);
|
||||
x_13 = lean_ctor_get(x_10, 1);
|
||||
x_14 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__2;
|
||||
x_15 = l_Lean_Meta_Simp_SimprocExtension_getSimprocs(x_14, x_6, x_7, x_13);
|
||||
x_16 = !lean_is_exclusive(x_15);
|
||||
if (x_16 == 0)
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
x_17 = lean_box(0);
|
||||
lean_ctor_set_tag(x_14, 1);
|
||||
lean_ctor_set(x_14, 1, x_17);
|
||||
x_18 = lean_array_mk(x_14);
|
||||
x_19 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_7, x_16);
|
||||
x_20 = !lean_is_exclusive(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21;
|
||||
x_17 = lean_ctor_get(x_15, 1);
|
||||
x_18 = lean_box(0);
|
||||
lean_ctor_set_tag(x_15, 1);
|
||||
lean_ctor_set(x_15, 1, x_18);
|
||||
x_19 = lean_array_mk(x_15);
|
||||
x_20 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_7, x_17);
|
||||
x_21 = !lean_is_exclusive(x_20);
|
||||
if (x_21 == 0)
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_21 = lean_ctor_get(x_19, 0);
|
||||
x_22 = lean_ctor_get(x_19, 1);
|
||||
lean_ctor_set_tag(x_19, 1);
|
||||
lean_ctor_set(x_19, 1, x_17);
|
||||
lean_ctor_set(x_19, 0, x_11);
|
||||
x_23 = lean_array_mk(x_19);
|
||||
x_24 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3;
|
||||
x_25 = l_Lean_Meta_Simp_mkContext(x_24, x_23, x_21, x_4, x_5, x_6, x_7, x_22);
|
||||
x_26 = !lean_is_exclusive(x_25);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint32_t x_26; lean_object* x_27; uint32_t x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
x_23 = lean_ctor_get(x_20, 1);
|
||||
lean_ctor_set_tag(x_20, 1);
|
||||
lean_ctor_set(x_20, 1, x_18);
|
||||
lean_ctor_set(x_20, 0, x_12);
|
||||
x_24 = lean_array_mk(x_20);
|
||||
x_25 = lean_box(0);
|
||||
x_26 = 0;
|
||||
x_27 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3;
|
||||
x_28 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
x_29 = lean_unsigned_to_nat(0u);
|
||||
x_30 = 0;
|
||||
x_31 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_31, 0, x_27);
|
||||
lean_ctor_set(x_31, 1, x_24);
|
||||
lean_ctor_set(x_31, 2, x_22);
|
||||
lean_ctor_set(x_31, 3, x_25);
|
||||
lean_ctor_set(x_31, 4, x_29);
|
||||
lean_ctor_set_uint32(x_31, sizeof(void*)*5, x_28);
|
||||
lean_ctor_set_uint32(x_31, sizeof(void*)*5 + 4, x_26);
|
||||
lean_ctor_set_uint8(x_31, sizeof(void*)*5 + 8, x_30);
|
||||
lean_ctor_set(x_10, 1, x_19);
|
||||
lean_ctor_set(x_10, 0, x_31);
|
||||
x_32 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10;
|
||||
x_33 = lean_st_mk_ref(x_32, x_23);
|
||||
x_34 = lean_ctor_get(x_33, 0);
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_27 = lean_ctor_get(x_25, 1);
|
||||
lean_ctor_set(x_25, 1, x_18);
|
||||
x_28 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9;
|
||||
x_29 = lean_st_mk_ref(x_28, x_27);
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
lean_inc(x_30);
|
||||
x_32 = lean_apply_9(x_1, x_25, x_30, x_2, x_3, x_4, x_5, x_6, x_7, x_31);
|
||||
if (lean_obj_tag(x_32) == 0)
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36;
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_34);
|
||||
x_35 = lean_ctor_get(x_33, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_33);
|
||||
lean_inc(x_34);
|
||||
x_36 = lean_apply_9(x_1, x_10, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_35);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
lean_dec(x_32);
|
||||
x_35 = lean_st_ref_get(x_30, x_34);
|
||||
lean_dec(x_30);
|
||||
x_36 = !lean_is_exclusive(x_35);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40;
|
||||
x_37 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_37);
|
||||
x_38 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_36);
|
||||
x_39 = lean_st_ref_get(x_34, x_38);
|
||||
lean_dec(x_34);
|
||||
x_40 = !lean_is_exclusive(x_39);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
lean_object* x_41;
|
||||
x_41 = lean_ctor_get(x_39, 0);
|
||||
lean_dec(x_41);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
return x_39;
|
||||
lean_object* x_37;
|
||||
x_37 = lean_ctor_get(x_35, 0);
|
||||
lean_dec(x_37);
|
||||
lean_ctor_set(x_35, 0, x_33);
|
||||
return x_35;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43;
|
||||
x_42 = lean_ctor_get(x_39, 1);
|
||||
lean_object* x_38; lean_object* x_39;
|
||||
x_38 = lean_ctor_get(x_35, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_35);
|
||||
x_39 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_33);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_40;
|
||||
lean_dec(x_30);
|
||||
x_40 = !lean_is_exclusive(x_32);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; lean_object* x_43;
|
||||
x_41 = lean_ctor_get(x_32, 0);
|
||||
x_42 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_39);
|
||||
x_43 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_37);
|
||||
lean_inc(x_41);
|
||||
lean_dec(x_32);
|
||||
x_43 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_41);
|
||||
lean_ctor_set(x_43, 1, x_42);
|
||||
return x_43;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_44;
|
||||
lean_dec(x_34);
|
||||
x_44 = !lean_is_exclusive(x_36);
|
||||
if (x_44 == 0)
|
||||
{
|
||||
return x_36;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
x_45 = lean_ctor_get(x_36, 0);
|
||||
x_46 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_46);
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51;
|
||||
x_44 = lean_ctor_get(x_25, 0);
|
||||
x_45 = lean_ctor_get(x_25, 1);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_36);
|
||||
x_47 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_45);
|
||||
lean_ctor_set(x_47, 1, x_46);
|
||||
return x_47;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint32_t x_53; lean_object* x_54; uint32_t x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
|
||||
x_48 = lean_ctor_get(x_20, 0);
|
||||
x_49 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_44);
|
||||
lean_dec(x_25);
|
||||
x_46 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_44);
|
||||
lean_ctor_set(x_46, 1, x_18);
|
||||
x_47 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9;
|
||||
x_48 = lean_st_mk_ref(x_47, x_45);
|
||||
x_49 = lean_ctor_get(x_48, 0);
|
||||
lean_inc(x_49);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_20);
|
||||
x_50 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_50, 0, x_12);
|
||||
lean_ctor_set(x_50, 1, x_18);
|
||||
x_51 = lean_array_mk(x_50);
|
||||
x_52 = lean_box(0);
|
||||
x_53 = 0;
|
||||
x_54 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3;
|
||||
x_55 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
x_56 = lean_unsigned_to_nat(0u);
|
||||
x_57 = 0;
|
||||
x_58 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_58, 0, x_54);
|
||||
lean_ctor_set(x_58, 1, x_51);
|
||||
lean_ctor_set(x_58, 2, x_48);
|
||||
lean_ctor_set(x_58, 3, x_52);
|
||||
lean_ctor_set(x_58, 4, x_56);
|
||||
lean_ctor_set_uint32(x_58, sizeof(void*)*5, x_55);
|
||||
lean_ctor_set_uint32(x_58, sizeof(void*)*5 + 4, x_53);
|
||||
lean_ctor_set_uint8(x_58, sizeof(void*)*5 + 8, x_57);
|
||||
lean_ctor_set(x_10, 1, x_19);
|
||||
lean_ctor_set(x_10, 0, x_58);
|
||||
x_59 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10;
|
||||
x_60 = lean_st_mk_ref(x_59, x_49);
|
||||
x_61 = lean_ctor_get(x_60, 0);
|
||||
lean_inc(x_61);
|
||||
x_62 = lean_ctor_get(x_60, 1);
|
||||
x_50 = lean_ctor_get(x_48, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_48);
|
||||
lean_inc(x_49);
|
||||
x_51 = lean_apply_9(x_1, x_46, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_50);
|
||||
if (lean_obj_tag(x_51) == 0)
|
||||
{
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_52 = lean_ctor_get(x_51, 0);
|
||||
lean_inc(x_52);
|
||||
x_53 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_51);
|
||||
x_54 = lean_st_ref_get(x_49, x_53);
|
||||
lean_dec(x_49);
|
||||
x_55 = lean_ctor_get(x_54, 1);
|
||||
lean_inc(x_55);
|
||||
if (lean_is_exclusive(x_54)) {
|
||||
lean_ctor_release(x_54, 0);
|
||||
lean_ctor_release(x_54, 1);
|
||||
x_56 = x_54;
|
||||
} else {
|
||||
lean_dec_ref(x_54);
|
||||
x_56 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_56)) {
|
||||
x_57 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_57 = x_56;
|
||||
}
|
||||
lean_ctor_set(x_57, 0, x_52);
|
||||
lean_ctor_set(x_57, 1, x_55);
|
||||
return x_57;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
lean_dec(x_49);
|
||||
x_58 = lean_ctor_get(x_51, 0);
|
||||
lean_inc(x_58);
|
||||
x_59 = lean_ctor_get(x_51, 1);
|
||||
lean_inc(x_59);
|
||||
if (lean_is_exclusive(x_51)) {
|
||||
lean_ctor_release(x_51, 0);
|
||||
lean_ctor_release(x_51, 1);
|
||||
x_60 = x_51;
|
||||
} else {
|
||||
lean_dec_ref(x_51);
|
||||
x_60 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_60)) {
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_61 = x_60;
|
||||
}
|
||||
lean_ctor_set(x_61, 0, x_58);
|
||||
lean_ctor_set(x_61, 1, x_59);
|
||||
return x_61;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76;
|
||||
x_62 = lean_ctor_get(x_19, 0);
|
||||
x_63 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_63);
|
||||
lean_inc(x_62);
|
||||
lean_dec(x_60);
|
||||
lean_inc(x_61);
|
||||
x_63 = lean_apply_9(x_1, x_10, x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_62);
|
||||
if (lean_obj_tag(x_63) == 0)
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69;
|
||||
x_64 = lean_ctor_get(x_63, 0);
|
||||
lean_inc(x_64);
|
||||
x_65 = lean_ctor_get(x_63, 1);
|
||||
lean_inc(x_65);
|
||||
lean_dec(x_63);
|
||||
x_66 = lean_st_ref_get(x_61, x_65);
|
||||
lean_dec(x_61);
|
||||
x_67 = lean_ctor_get(x_66, 1);
|
||||
lean_inc(x_67);
|
||||
if (lean_is_exclusive(x_66)) {
|
||||
lean_ctor_release(x_66, 0);
|
||||
lean_ctor_release(x_66, 1);
|
||||
x_68 = x_66;
|
||||
lean_dec(x_19);
|
||||
x_64 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_11);
|
||||
lean_ctor_set(x_64, 1, x_17);
|
||||
x_65 = lean_array_mk(x_64);
|
||||
x_66 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3;
|
||||
x_67 = l_Lean_Meta_Simp_mkContext(x_66, x_65, x_62, x_4, x_5, x_6, x_7, x_63);
|
||||
x_68 = lean_ctor_get(x_67, 0);
|
||||
lean_inc(x_68);
|
||||
x_69 = lean_ctor_get(x_67, 1);
|
||||
lean_inc(x_69);
|
||||
if (lean_is_exclusive(x_67)) {
|
||||
lean_ctor_release(x_67, 0);
|
||||
lean_ctor_release(x_67, 1);
|
||||
x_70 = x_67;
|
||||
} else {
|
||||
lean_dec_ref(x_66);
|
||||
x_68 = lean_box(0);
|
||||
lean_dec_ref(x_67);
|
||||
x_70 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_68)) {
|
||||
x_69 = lean_alloc_ctor(0, 2, 0);
|
||||
if (lean_is_scalar(x_70)) {
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_69 = x_68;
|
||||
x_71 = x_70;
|
||||
}
|
||||
lean_ctor_set(x_69, 0, x_64);
|
||||
lean_ctor_set(x_69, 1, x_67);
|
||||
return x_69;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73;
|
||||
lean_dec(x_61);
|
||||
x_70 = lean_ctor_get(x_63, 0);
|
||||
lean_inc(x_70);
|
||||
x_71 = lean_ctor_get(x_63, 1);
|
||||
lean_inc(x_71);
|
||||
if (lean_is_exclusive(x_63)) {
|
||||
lean_ctor_release(x_63, 0);
|
||||
lean_ctor_release(x_63, 1);
|
||||
x_72 = x_63;
|
||||
} else {
|
||||
lean_dec_ref(x_63);
|
||||
x_72 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_72)) {
|
||||
x_73 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_73 = x_72;
|
||||
}
|
||||
lean_ctor_set(x_73, 0, x_70);
|
||||
lean_ctor_set(x_73, 1, x_71);
|
||||
return x_73;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint32_t x_86; lean_object* x_87; uint32_t x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96;
|
||||
x_74 = lean_ctor_get(x_15, 0);
|
||||
x_75 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_75);
|
||||
lean_ctor_set(x_71, 0, x_68);
|
||||
lean_ctor_set(x_71, 1, x_18);
|
||||
x_72 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9;
|
||||
x_73 = lean_st_mk_ref(x_72, x_69);
|
||||
x_74 = lean_ctor_get(x_73, 0);
|
||||
lean_inc(x_74);
|
||||
lean_dec(x_15);
|
||||
x_76 = lean_box(0);
|
||||
x_77 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_74);
|
||||
lean_ctor_set(x_77, 1, x_76);
|
||||
x_78 = lean_array_mk(x_77);
|
||||
x_79 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_7, x_75);
|
||||
x_80 = lean_ctor_get(x_79, 0);
|
||||
x_75 = lean_ctor_get(x_73, 1);
|
||||
lean_inc(x_75);
|
||||
lean_dec(x_73);
|
||||
lean_inc(x_74);
|
||||
x_76 = lean_apply_9(x_1, x_71, x_74, x_2, x_3, x_4, x_5, x_6, x_7, x_75);
|
||||
if (lean_obj_tag(x_76) == 0)
|
||||
{
|
||||
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82;
|
||||
x_77 = lean_ctor_get(x_76, 0);
|
||||
lean_inc(x_77);
|
||||
x_78 = lean_ctor_get(x_76, 1);
|
||||
lean_inc(x_78);
|
||||
lean_dec(x_76);
|
||||
x_79 = lean_st_ref_get(x_74, x_78);
|
||||
lean_dec(x_74);
|
||||
x_80 = lean_ctor_get(x_79, 1);
|
||||
lean_inc(x_80);
|
||||
x_81 = lean_ctor_get(x_79, 1);
|
||||
lean_inc(x_81);
|
||||
if (lean_is_exclusive(x_79)) {
|
||||
lean_ctor_release(x_79, 0);
|
||||
lean_ctor_release(x_79, 1);
|
||||
x_82 = x_79;
|
||||
x_81 = x_79;
|
||||
} else {
|
||||
lean_dec_ref(x_79);
|
||||
x_82 = lean_box(0);
|
||||
x_81 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_82)) {
|
||||
x_83 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_81)) {
|
||||
x_82 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_83 = x_82;
|
||||
lean_ctor_set_tag(x_83, 1);
|
||||
x_82 = x_81;
|
||||
}
|
||||
lean_ctor_set(x_83, 0, x_12);
|
||||
lean_ctor_set(x_83, 1, x_76);
|
||||
x_84 = lean_array_mk(x_83);
|
||||
x_85 = lean_box(0);
|
||||
x_86 = 0;
|
||||
x_87 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3;
|
||||
x_88 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
x_89 = lean_unsigned_to_nat(0u);
|
||||
x_90 = 0;
|
||||
x_91 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_91, 0, x_87);
|
||||
lean_ctor_set(x_91, 1, x_84);
|
||||
lean_ctor_set(x_91, 2, x_80);
|
||||
lean_ctor_set(x_91, 3, x_85);
|
||||
lean_ctor_set(x_91, 4, x_89);
|
||||
lean_ctor_set_uint32(x_91, sizeof(void*)*5, x_88);
|
||||
lean_ctor_set_uint32(x_91, sizeof(void*)*5 + 4, x_86);
|
||||
lean_ctor_set_uint8(x_91, sizeof(void*)*5 + 8, x_90);
|
||||
lean_ctor_set(x_10, 1, x_78);
|
||||
lean_ctor_set(x_10, 0, x_91);
|
||||
x_92 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10;
|
||||
x_93 = lean_st_mk_ref(x_92, x_81);
|
||||
x_94 = lean_ctor_get(x_93, 0);
|
||||
lean_inc(x_94);
|
||||
x_95 = lean_ctor_get(x_93, 1);
|
||||
lean_inc(x_95);
|
||||
lean_dec(x_93);
|
||||
lean_inc(x_94);
|
||||
x_96 = lean_apply_9(x_1, x_10, x_94, x_2, x_3, x_4, x_5, x_6, x_7, x_95);
|
||||
if (lean_obj_tag(x_96) == 0)
|
||||
lean_ctor_set(x_82, 0, x_77);
|
||||
lean_ctor_set(x_82, 1, x_80);
|
||||
return x_82;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102;
|
||||
x_97 = lean_ctor_get(x_96, 0);
|
||||
lean_inc(x_97);
|
||||
x_98 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_96);
|
||||
x_99 = lean_st_ref_get(x_94, x_98);
|
||||
lean_dec(x_94);
|
||||
x_100 = lean_ctor_get(x_99, 1);
|
||||
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86;
|
||||
lean_dec(x_74);
|
||||
x_83 = lean_ctor_get(x_76, 0);
|
||||
lean_inc(x_83);
|
||||
x_84 = lean_ctor_get(x_76, 1);
|
||||
lean_inc(x_84);
|
||||
if (lean_is_exclusive(x_76)) {
|
||||
lean_ctor_release(x_76, 0);
|
||||
lean_ctor_release(x_76, 1);
|
||||
x_85 = x_76;
|
||||
} else {
|
||||
lean_dec_ref(x_76);
|
||||
x_85 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_85)) {
|
||||
x_86 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_86 = x_85;
|
||||
}
|
||||
lean_ctor_set(x_86, 0, x_83);
|
||||
lean_ctor_set(x_86, 1, x_84);
|
||||
return x_86;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108;
|
||||
x_87 = lean_ctor_get(x_14, 0);
|
||||
x_88 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_88);
|
||||
lean_inc(x_87);
|
||||
lean_dec(x_14);
|
||||
x_89 = lean_box(0);
|
||||
x_90 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_87);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
x_91 = lean_array_mk(x_90);
|
||||
x_92 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_7, x_88);
|
||||
x_93 = lean_ctor_get(x_92, 0);
|
||||
lean_inc(x_93);
|
||||
x_94 = lean_ctor_get(x_92, 1);
|
||||
lean_inc(x_94);
|
||||
if (lean_is_exclusive(x_92)) {
|
||||
lean_ctor_release(x_92, 0);
|
||||
lean_ctor_release(x_92, 1);
|
||||
x_95 = x_92;
|
||||
} else {
|
||||
lean_dec_ref(x_92);
|
||||
x_95 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_95)) {
|
||||
x_96 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_96 = x_95;
|
||||
lean_ctor_set_tag(x_96, 1);
|
||||
}
|
||||
lean_ctor_set(x_96, 0, x_11);
|
||||
lean_ctor_set(x_96, 1, x_89);
|
||||
x_97 = lean_array_mk(x_96);
|
||||
x_98 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3;
|
||||
x_99 = l_Lean_Meta_Simp_mkContext(x_98, x_97, x_93, x_4, x_5, x_6, x_7, x_94);
|
||||
x_100 = lean_ctor_get(x_99, 0);
|
||||
lean_inc(x_100);
|
||||
x_101 = lean_ctor_get(x_99, 1);
|
||||
lean_inc(x_101);
|
||||
if (lean_is_exclusive(x_99)) {
|
||||
lean_ctor_release(x_99, 0);
|
||||
lean_ctor_release(x_99, 1);
|
||||
x_101 = x_99;
|
||||
x_102 = x_99;
|
||||
} else {
|
||||
lean_dec_ref(x_99);
|
||||
x_101 = lean_box(0);
|
||||
x_102 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_101)) {
|
||||
x_102 = lean_alloc_ctor(0, 2, 0);
|
||||
if (lean_is_scalar(x_102)) {
|
||||
x_103 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_102 = x_101;
|
||||
x_103 = x_102;
|
||||
}
|
||||
lean_ctor_set(x_102, 0, x_97);
|
||||
lean_ctor_set(x_102, 1, x_100);
|
||||
return x_102;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106;
|
||||
lean_dec(x_94);
|
||||
x_103 = lean_ctor_get(x_96, 0);
|
||||
lean_inc(x_103);
|
||||
x_104 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_104);
|
||||
if (lean_is_exclusive(x_96)) {
|
||||
lean_ctor_release(x_96, 0);
|
||||
lean_ctor_release(x_96, 1);
|
||||
x_105 = x_96;
|
||||
} else {
|
||||
lean_dec_ref(x_96);
|
||||
x_105 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_105)) {
|
||||
x_106 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_106 = x_105;
|
||||
}
|
||||
lean_ctor_set(x_106, 0, x_103);
|
||||
lean_ctor_set(x_106, 1, x_104);
|
||||
return x_106;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* 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; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint32_t x_124; lean_object* x_125; uint32_t x_126; lean_object* x_127; uint8_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;
|
||||
x_107 = lean_ctor_get(x_10, 0);
|
||||
x_108 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_108);
|
||||
lean_ctor_set(x_103, 0, x_100);
|
||||
lean_ctor_set(x_103, 1, x_91);
|
||||
x_104 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9;
|
||||
x_105 = lean_st_mk_ref(x_104, x_101);
|
||||
x_106 = lean_ctor_get(x_105, 0);
|
||||
lean_inc(x_106);
|
||||
x_107 = lean_ctor_get(x_105, 1);
|
||||
lean_inc(x_107);
|
||||
lean_dec(x_10);
|
||||
x_109 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__2;
|
||||
x_110 = l_Lean_Meta_Simp_SimprocExtension_getSimprocs(x_109, x_6, x_7, x_108);
|
||||
x_111 = lean_ctor_get(x_110, 0);
|
||||
lean_inc(x_111);
|
||||
x_112 = lean_ctor_get(x_110, 1);
|
||||
lean_dec(x_105);
|
||||
lean_inc(x_106);
|
||||
x_108 = lean_apply_9(x_1, x_103, x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_107);
|
||||
if (lean_obj_tag(x_108) == 0)
|
||||
{
|
||||
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114;
|
||||
x_109 = lean_ctor_get(x_108, 0);
|
||||
lean_inc(x_109);
|
||||
x_110 = lean_ctor_get(x_108, 1);
|
||||
lean_inc(x_110);
|
||||
lean_dec(x_108);
|
||||
x_111 = lean_st_ref_get(x_106, x_110);
|
||||
lean_dec(x_106);
|
||||
x_112 = lean_ctor_get(x_111, 1);
|
||||
lean_inc(x_112);
|
||||
if (lean_is_exclusive(x_110)) {
|
||||
lean_ctor_release(x_110, 0);
|
||||
lean_ctor_release(x_110, 1);
|
||||
x_113 = x_110;
|
||||
if (lean_is_exclusive(x_111)) {
|
||||
lean_ctor_release(x_111, 0);
|
||||
lean_ctor_release(x_111, 1);
|
||||
x_113 = x_111;
|
||||
} else {
|
||||
lean_dec_ref(x_110);
|
||||
lean_dec_ref(x_111);
|
||||
x_113 = lean_box(0);
|
||||
}
|
||||
x_114 = lean_box(0);
|
||||
if (lean_is_scalar(x_113)) {
|
||||
x_115 = lean_alloc_ctor(1, 2, 0);
|
||||
x_114 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_115 = x_113;
|
||||
lean_ctor_set_tag(x_115, 1);
|
||||
x_114 = x_113;
|
||||
}
|
||||
lean_ctor_set(x_115, 0, x_111);
|
||||
lean_ctor_set(x_115, 1, x_114);
|
||||
x_116 = lean_array_mk(x_115);
|
||||
x_117 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_7, x_112);
|
||||
x_118 = lean_ctor_get(x_117, 0);
|
||||
lean_inc(x_118);
|
||||
x_119 = lean_ctor_get(x_117, 1);
|
||||
lean_inc(x_119);
|
||||
if (lean_is_exclusive(x_117)) {
|
||||
lean_ctor_release(x_117, 0);
|
||||
lean_ctor_release(x_117, 1);
|
||||
x_120 = x_117;
|
||||
} else {
|
||||
lean_dec_ref(x_117);
|
||||
x_120 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_120)) {
|
||||
x_121 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_121 = x_120;
|
||||
lean_ctor_set_tag(x_121, 1);
|
||||
}
|
||||
lean_ctor_set(x_121, 0, x_107);
|
||||
lean_ctor_set(x_121, 1, x_114);
|
||||
x_122 = lean_array_mk(x_121);
|
||||
x_123 = lean_box(0);
|
||||
x_124 = 0;
|
||||
x_125 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3;
|
||||
x_126 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4;
|
||||
x_127 = lean_unsigned_to_nat(0u);
|
||||
x_128 = 0;
|
||||
x_129 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_129, 0, x_125);
|
||||
lean_ctor_set(x_129, 1, x_122);
|
||||
lean_ctor_set(x_129, 2, x_118);
|
||||
lean_ctor_set(x_129, 3, x_123);
|
||||
lean_ctor_set(x_129, 4, x_127);
|
||||
lean_ctor_set_uint32(x_129, sizeof(void*)*5, x_126);
|
||||
lean_ctor_set_uint32(x_129, sizeof(void*)*5 + 4, x_124);
|
||||
lean_ctor_set_uint8(x_129, sizeof(void*)*5 + 8, x_128);
|
||||
x_130 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_130, 0, x_129);
|
||||
lean_ctor_set(x_130, 1, x_116);
|
||||
x_131 = l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10;
|
||||
x_132 = lean_st_mk_ref(x_131, x_119);
|
||||
x_133 = lean_ctor_get(x_132, 0);
|
||||
lean_inc(x_133);
|
||||
x_134 = lean_ctor_get(x_132, 1);
|
||||
lean_inc(x_134);
|
||||
lean_dec(x_132);
|
||||
lean_inc(x_133);
|
||||
x_135 = lean_apply_9(x_1, x_130, x_133, x_2, x_3, x_4, x_5, x_6, x_7, x_134);
|
||||
if (lean_obj_tag(x_135) == 0)
|
||||
{
|
||||
lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141;
|
||||
x_136 = lean_ctor_get(x_135, 0);
|
||||
lean_inc(x_136);
|
||||
x_137 = lean_ctor_get(x_135, 1);
|
||||
lean_inc(x_137);
|
||||
lean_dec(x_135);
|
||||
x_138 = lean_st_ref_get(x_133, x_137);
|
||||
lean_dec(x_133);
|
||||
x_139 = lean_ctor_get(x_138, 1);
|
||||
lean_inc(x_139);
|
||||
if (lean_is_exclusive(x_138)) {
|
||||
lean_ctor_release(x_138, 0);
|
||||
lean_ctor_release(x_138, 1);
|
||||
x_140 = x_138;
|
||||
} else {
|
||||
lean_dec_ref(x_138);
|
||||
x_140 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_140)) {
|
||||
x_141 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_141 = x_140;
|
||||
}
|
||||
lean_ctor_set(x_141, 0, x_136);
|
||||
lean_ctor_set(x_141, 1, x_139);
|
||||
return x_141;
|
||||
lean_ctor_set(x_114, 0, x_109);
|
||||
lean_ctor_set(x_114, 1, x_112);
|
||||
return x_114;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145;
|
||||
lean_dec(x_133);
|
||||
x_142 = lean_ctor_get(x_135, 0);
|
||||
lean_inc(x_142);
|
||||
x_143 = lean_ctor_get(x_135, 1);
|
||||
lean_inc(x_143);
|
||||
if (lean_is_exclusive(x_135)) {
|
||||
lean_ctor_release(x_135, 0);
|
||||
lean_ctor_release(x_135, 1);
|
||||
x_144 = x_135;
|
||||
lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118;
|
||||
lean_dec(x_106);
|
||||
x_115 = lean_ctor_get(x_108, 0);
|
||||
lean_inc(x_115);
|
||||
x_116 = lean_ctor_get(x_108, 1);
|
||||
lean_inc(x_116);
|
||||
if (lean_is_exclusive(x_108)) {
|
||||
lean_ctor_release(x_108, 0);
|
||||
lean_ctor_release(x_108, 1);
|
||||
x_117 = x_108;
|
||||
} else {
|
||||
lean_dec_ref(x_135);
|
||||
x_144 = lean_box(0);
|
||||
lean_dec_ref(x_108);
|
||||
x_117 = lean_box(0);
|
||||
}
|
||||
if (lean_is_scalar(x_144)) {
|
||||
x_145 = lean_alloc_ctor(1, 2, 0);
|
||||
if (lean_is_scalar(x_117)) {
|
||||
x_118 = lean_alloc_ctor(1, 2, 0);
|
||||
} else {
|
||||
x_145 = x_144;
|
||||
x_118 = x_117;
|
||||
}
|
||||
lean_ctor_set(x_145, 0, x_142);
|
||||
lean_ctor_set(x_145, 1, x_143);
|
||||
return x_145;
|
||||
lean_ctor_set(x_118, 0, x_115);
|
||||
lean_ctor_set(x_118, 1, x_116);
|
||||
return x_118;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5128,6 +5055,7 @@ lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__2)
|
|||
l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3 = _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__3);
|
||||
l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4 = _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__4);
|
||||
l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5 = _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__5);
|
||||
l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__6 = _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__6();
|
||||
|
|
@ -5138,8 +5066,6 @@ l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__8 = _init_l_Lean_Meta_G
|
|||
lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__8);
|
||||
l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9 = _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__9);
|
||||
l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10 = _init_l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_PreM_run___rarg___closed__10);
|
||||
l_Lean_Meta_Grind_Preprocessor_introNext___lambda__5___closed__1 = _init_l_Lean_Meta_Grind_Preprocessor_introNext___lambda__5___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Grind_Preprocessor_introNext___lambda__5___closed__1);
|
||||
l_Lean_Meta_Grind_Preprocessor_introNext___lambda__5___closed__2 = _init_l_Lean_Meta_Grind_Preprocessor_introNext___lambda__5___closed__2();
|
||||
|
|
|
|||
384
stage0/stdlib/Lean/Meta/Tactic/Intro.c
generated
384
stage0/stdlib/Lean/Meta/Tactic/Intro.c
generated
|
|
@ -14,6 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkFreshBinderNameForTacticCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp_mkAuxNameWithoutGivenName___closed__1;
|
||||
|
|
@ -31,16 +32,15 @@ lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean
|
|||
uint8_t l_Lean_Expr_isLetFun(lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_tactic_hygienic;
|
||||
lean_object* l_Lean_instantiateMVars___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__4;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__8;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__1;
|
||||
lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*);
|
||||
static lean_object* l_Lean_Meta_mkFreshBinderNameForTactic___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_intro1P(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkFreshBinderNameForTacticCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshBinderNameForTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___spec__1(size_t, size_t, lean_object*);
|
||||
|
|
@ -49,25 +49,23 @@ lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_intro1Core___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp_mkAuxNameWithoutGivenName___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1;
|
||||
lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withNewLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__3;
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
lean_object* l_ReaderT_instMonadLift(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__7;
|
||||
lean_object* l_outOfBounds___rarg(lean_object*);
|
||||
lean_object* l_Lean_MVarId_assign___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_LocalContext_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_introNCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshBinderNameForTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
|
|
@ -76,7 +74,6 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp_mkAuxNameWithoutGivenName___lambda__1(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__5;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__4;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__6;
|
||||
extern lean_object* l_Lean_Meta_instMonadMetaM;
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_introN(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -86,26 +83,30 @@ lean_object* l_instMonadControlTOfPure___rarg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__3;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Core_instMonadNameGeneratorCoreM;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__4;
|
||||
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__5;
|
||||
uint8_t l_Lean_BinderInfo_isExplicit(uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp(lean_object*);
|
||||
lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__7;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp_mkAuxNameWithoutGivenName___closed__2;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_intro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__1;
|
||||
lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLCtx_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Core_instMonadCoreM;
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_introNP(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__6;
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__5;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__1___closed__4;
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -114,7 +115,6 @@ size_t lean_array_size(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_MVarId_intro1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNameImp_mkAuxNameWithoutGivenName___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_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__6;
|
||||
lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_headBeta(lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
|
|
@ -132,6 +132,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_mkAuxNa
|
|||
uint8_t l_Lean_Expr_isForall(lean_object*);
|
||||
lean_object* l_Lean_Expr_mvarId_x21(lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__2;
|
||||
lean_object* l_ReaderT_instMonad___rarg(lean_object*);
|
||||
lean_object* l_Lean_mkFreshFVarId___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1006,7 +1007,7 @@ lean_inc(x_8);
|
|||
x_86 = l_Lean_Expr_letFun_x3f(x_8);
|
||||
if (lean_obj_tag(x_86) == 0)
|
||||
{
|
||||
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101;
|
||||
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94;
|
||||
x_87 = lean_array_get_size(x_5);
|
||||
x_88 = lean_expr_instantiate_rev_range(x_8, x_6, x_87, x_5);
|
||||
lean_dec(x_8);
|
||||
|
|
@ -1021,122 +1022,101 @@ lean_closure_set(x_89, 4, x_4);
|
|||
lean_closure_set(x_89, 5, x_5);
|
||||
lean_closure_set(x_89, 6, x_87);
|
||||
lean_closure_set(x_89, 7, x_7);
|
||||
x_90 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_90);
|
||||
x_91 = lean_ctor_get(x_9, 2);
|
||||
lean_inc(x_91);
|
||||
x_92 = lean_ctor_get(x_9, 3);
|
||||
lean_inc(x_92);
|
||||
x_93 = lean_ctor_get(x_9, 4);
|
||||
lean_inc(x_93);
|
||||
x_94 = lean_ctor_get(x_9, 5);
|
||||
lean_inc(x_94);
|
||||
x_95 = lean_ctor_get_uint8(x_9, sizeof(void*)*6);
|
||||
x_96 = lean_ctor_get_uint8(x_9, sizeof(void*)*6 + 1);
|
||||
lean_dec(x_9);
|
||||
x_97 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_97, 0, x_90);
|
||||
lean_ctor_set(x_97, 1, x_4);
|
||||
lean_ctor_set(x_97, 2, x_91);
|
||||
lean_ctor_set(x_97, 3, x_92);
|
||||
lean_ctor_set(x_97, 4, x_93);
|
||||
lean_ctor_set(x_97, 5, x_94);
|
||||
lean_ctor_set_uint8(x_97, sizeof(void*)*6, x_95);
|
||||
lean_ctor_set_uint8(x_97, sizeof(void*)*6 + 1, x_96);
|
||||
x_98 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3;
|
||||
x_99 = l_Lean_Meta_instMonadMetaM;
|
||||
x_100 = l_Lean_Meta_withNewLocalInstances___rarg(x_98, x_99, lean_box(0), x_5, x_6, x_89);
|
||||
x_101 = lean_apply_5(x_100, x_97, x_10, x_11, x_12, x_13);
|
||||
return x_101;
|
||||
x_90 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3;
|
||||
x_91 = l_Lean_Meta_instMonadMetaM;
|
||||
x_92 = l_Lean_Meta_withNewLocalInstances___rarg(x_90, x_91, lean_box(0), x_5, x_6, x_89);
|
||||
x_93 = l_Lean_Meta_withLCtx_x27___rarg(x_90, x_91, lean_box(0), x_4, x_92);
|
||||
x_94 = lean_apply_5(x_93, x_9, x_10, x_11, x_12, x_13);
|
||||
return x_94;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* 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_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109;
|
||||
lean_dec(x_8);
|
||||
x_102 = lean_ctor_get(x_86, 0);
|
||||
lean_inc(x_102);
|
||||
x_95 = lean_ctor_get(x_86, 0);
|
||||
lean_inc(x_95);
|
||||
lean_dec(x_86);
|
||||
x_103 = lean_ctor_get(x_102, 1);
|
||||
lean_inc(x_103);
|
||||
x_104 = lean_ctor_get(x_103, 1);
|
||||
lean_inc(x_104);
|
||||
x_105 = lean_ctor_get(x_102, 0);
|
||||
lean_inc(x_105);
|
||||
x_96 = lean_ctor_get(x_95, 1);
|
||||
lean_inc(x_96);
|
||||
x_97 = lean_ctor_get(x_96, 1);
|
||||
lean_inc(x_97);
|
||||
x_98 = lean_ctor_get(x_95, 0);
|
||||
lean_inc(x_98);
|
||||
lean_dec(x_95);
|
||||
x_99 = lean_ctor_get(x_96, 0);
|
||||
lean_inc(x_99);
|
||||
lean_dec(x_96);
|
||||
x_100 = lean_ctor_get(x_97, 0);
|
||||
lean_inc(x_100);
|
||||
x_101 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_101);
|
||||
lean_dec(x_97);
|
||||
x_102 = lean_array_get_size(x_5);
|
||||
x_103 = lean_expr_instantiate_rev_range(x_99, x_6, x_102, x_5);
|
||||
lean_dec(x_99);
|
||||
x_104 = l_Lean_Expr_headBeta(x_103);
|
||||
x_105 = lean_expr_instantiate_rev_range(x_100, x_6, x_102, x_5);
|
||||
lean_dec(x_102);
|
||||
x_106 = lean_ctor_get(x_103, 0);
|
||||
lean_inc(x_106);
|
||||
lean_dec(x_103);
|
||||
x_107 = lean_ctor_get(x_104, 0);
|
||||
lean_inc(x_107);
|
||||
x_108 = lean_ctor_get(x_104, 1);
|
||||
lean_inc(x_108);
|
||||
lean_dec(x_104);
|
||||
x_109 = lean_array_get_size(x_5);
|
||||
x_110 = lean_expr_instantiate_rev_range(x_106, x_6, x_109, x_5);
|
||||
lean_dec(x_106);
|
||||
x_111 = l_Lean_Expr_headBeta(x_110);
|
||||
x_112 = lean_expr_instantiate_rev_range(x_107, x_6, x_109, x_5);
|
||||
lean_dec(x_109);
|
||||
lean_dec(x_107);
|
||||
x_113 = l_Lean_Meta_instMonadMetaM;
|
||||
x_114 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__7;
|
||||
x_115 = l_Lean_mkFreshFVarId___rarg(x_113, x_114);
|
||||
lean_dec(x_100);
|
||||
x_106 = l_Lean_Meta_instMonadMetaM;
|
||||
x_107 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__7;
|
||||
x_108 = l_Lean_mkFreshFVarId___rarg(x_106, x_107);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
x_116 = lean_apply_5(x_115, x_9, x_10, x_11, x_12, x_13);
|
||||
if (lean_obj_tag(x_116) == 0)
|
||||
x_109 = lean_apply_5(x_108, x_9, x_10, x_11, x_12, x_13);
|
||||
if (lean_obj_tag(x_109) == 0)
|
||||
{
|
||||
lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121;
|
||||
x_117 = lean_ctor_get(x_116, 0);
|
||||
lean_inc(x_117);
|
||||
x_118 = lean_ctor_get(x_116, 1);
|
||||
lean_inc(x_118);
|
||||
lean_dec(x_116);
|
||||
x_119 = 1;
|
||||
x_120 = lean_box(x_119);
|
||||
lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114;
|
||||
x_110 = lean_ctor_get(x_109, 0);
|
||||
lean_inc(x_110);
|
||||
x_111 = lean_ctor_get(x_109, 1);
|
||||
lean_inc(x_111);
|
||||
lean_dec(x_109);
|
||||
x_112 = 1;
|
||||
x_113 = lean_box(x_112);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_4);
|
||||
x_121 = lean_apply_9(x_2, x_4, x_105, x_120, x_7, x_9, x_10, x_11, x_12, x_118);
|
||||
if (lean_obj_tag(x_121) == 0)
|
||||
x_114 = lean_apply_9(x_2, x_4, x_98, x_113, x_7, x_9, x_10, x_11, x_12, x_111);
|
||||
if (lean_obj_tag(x_114) == 0)
|
||||
{
|
||||
lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130;
|
||||
x_122 = lean_ctor_get(x_121, 0);
|
||||
lean_inc(x_122);
|
||||
x_123 = lean_ctor_get(x_121, 1);
|
||||
lean_inc(x_123);
|
||||
lean_dec(x_121);
|
||||
x_124 = lean_ctor_get(x_122, 0);
|
||||
lean_inc(x_124);
|
||||
x_125 = lean_ctor_get(x_122, 1);
|
||||
lean_inc(x_125);
|
||||
lean_dec(x_122);
|
||||
x_126 = 0;
|
||||
x_127 = 0;
|
||||
lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123;
|
||||
x_115 = lean_ctor_get(x_114, 0);
|
||||
lean_inc(x_115);
|
||||
x_116 = lean_ctor_get(x_114, 1);
|
||||
lean_inc(x_116);
|
||||
lean_dec(x_114);
|
||||
x_117 = lean_ctor_get(x_115, 0);
|
||||
lean_inc(x_117);
|
||||
x_128 = l_Lean_LocalContext_mkLetDecl(x_4, x_117, x_124, x_111, x_112, x_126, x_127);
|
||||
x_129 = l_Lean_Expr_fvar___override(x_117);
|
||||
x_130 = lean_array_push(x_5, x_129);
|
||||
x_118 = lean_ctor_get(x_115, 1);
|
||||
lean_inc(x_118);
|
||||
lean_dec(x_115);
|
||||
x_119 = 0;
|
||||
x_120 = 0;
|
||||
lean_inc(x_110);
|
||||
x_121 = l_Lean_LocalContext_mkLetDecl(x_4, x_110, x_117, x_104, x_105, x_119, x_120);
|
||||
x_122 = l_Lean_Expr_fvar___override(x_110);
|
||||
x_123 = lean_array_push(x_5, x_122);
|
||||
x_3 = x_17;
|
||||
x_4 = x_128;
|
||||
x_5 = x_130;
|
||||
x_7 = x_125;
|
||||
x_8 = x_108;
|
||||
x_13 = x_123;
|
||||
x_4 = x_121;
|
||||
x_5 = x_123;
|
||||
x_7 = x_118;
|
||||
x_8 = x_101;
|
||||
x_13 = x_116;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_132;
|
||||
lean_dec(x_117);
|
||||
lean_dec(x_112);
|
||||
lean_dec(x_111);
|
||||
lean_dec(x_108);
|
||||
uint8_t x_125;
|
||||
lean_dec(x_110);
|
||||
lean_dec(x_105);
|
||||
lean_dec(x_104);
|
||||
lean_dec(x_101);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
|
|
@ -1147,33 +1127,33 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_132 = !lean_is_exclusive(x_121);
|
||||
if (x_132 == 0)
|
||||
x_125 = !lean_is_exclusive(x_114);
|
||||
if (x_125 == 0)
|
||||
{
|
||||
return x_121;
|
||||
return x_114;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_133; lean_object* x_134; lean_object* x_135;
|
||||
x_133 = lean_ctor_get(x_121, 0);
|
||||
x_134 = lean_ctor_get(x_121, 1);
|
||||
lean_inc(x_134);
|
||||
lean_inc(x_133);
|
||||
lean_dec(x_121);
|
||||
x_135 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_135, 0, x_133);
|
||||
lean_ctor_set(x_135, 1, x_134);
|
||||
return x_135;
|
||||
lean_object* x_126; lean_object* x_127; lean_object* x_128;
|
||||
x_126 = lean_ctor_get(x_114, 0);
|
||||
x_127 = lean_ctor_get(x_114, 1);
|
||||
lean_inc(x_127);
|
||||
lean_inc(x_126);
|
||||
lean_dec(x_114);
|
||||
x_128 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_128, 0, x_126);
|
||||
lean_ctor_set(x_128, 1, x_127);
|
||||
return x_128;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_136;
|
||||
lean_dec(x_112);
|
||||
lean_dec(x_111);
|
||||
lean_dec(x_108);
|
||||
uint8_t x_129;
|
||||
lean_dec(x_105);
|
||||
lean_dec(x_104);
|
||||
lean_dec(x_101);
|
||||
lean_dec(x_98);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
|
|
@ -1185,23 +1165,23 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_136 = !lean_is_exclusive(x_116);
|
||||
if (x_136 == 0)
|
||||
x_129 = !lean_is_exclusive(x_109);
|
||||
if (x_129 == 0)
|
||||
{
|
||||
return x_116;
|
||||
return x_109;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_137; lean_object* x_138; lean_object* x_139;
|
||||
x_137 = lean_ctor_get(x_116, 0);
|
||||
x_138 = lean_ctor_get(x_116, 1);
|
||||
lean_inc(x_138);
|
||||
lean_inc(x_137);
|
||||
lean_dec(x_116);
|
||||
x_139 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_139, 0, x_137);
|
||||
lean_ctor_set(x_139, 1, x_138);
|
||||
return x_139;
|
||||
lean_object* x_130; lean_object* x_131; lean_object* x_132;
|
||||
x_130 = lean_ctor_get(x_109, 0);
|
||||
x_131 = lean_ctor_get(x_109, 1);
|
||||
lean_inc(x_131);
|
||||
lean_inc(x_130);
|
||||
lean_dec(x_109);
|
||||
x_132 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_132, 0, x_130);
|
||||
lean_ctor_set(x_132, 1, x_131);
|
||||
return x_132;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1210,63 +1190,25 @@ return x_139;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143;
|
||||
lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_140 = lean_array_get_size(x_5);
|
||||
x_141 = lean_expr_instantiate_rev_range(x_8, x_6, x_140, x_5);
|
||||
lean_dec(x_140);
|
||||
x_133 = lean_array_get_size(x_5);
|
||||
x_134 = lean_expr_instantiate_rev_range(x_8, x_6, x_133, x_5);
|
||||
lean_dec(x_133);
|
||||
lean_dec(x_8);
|
||||
lean_inc(x_5);
|
||||
x_142 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__2), 8, 3);
|
||||
lean_closure_set(x_142, 0, x_1);
|
||||
lean_closure_set(x_142, 1, x_141);
|
||||
lean_closure_set(x_142, 2, x_5);
|
||||
x_143 = !lean_is_exclusive(x_9);
|
||||
if (x_143 == 0)
|
||||
{
|
||||
lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148;
|
||||
x_144 = lean_ctor_get(x_9, 1);
|
||||
lean_dec(x_144);
|
||||
lean_ctor_set(x_9, 1, x_4);
|
||||
x_145 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3;
|
||||
x_146 = l_Lean_Meta_instMonadMetaM;
|
||||
x_147 = l_Lean_Meta_withNewLocalInstances___rarg(x_145, x_146, lean_box(0), x_5, x_6, x_142);
|
||||
x_148 = lean_apply_5(x_147, x_9, x_10, x_11, x_12, x_13);
|
||||
return x_148;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; uint8_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160;
|
||||
x_149 = lean_ctor_get(x_9, 0);
|
||||
x_150 = lean_ctor_get(x_9, 2);
|
||||
x_151 = lean_ctor_get(x_9, 3);
|
||||
x_152 = lean_ctor_get(x_9, 4);
|
||||
x_153 = lean_ctor_get(x_9, 5);
|
||||
x_154 = lean_ctor_get_uint8(x_9, sizeof(void*)*6);
|
||||
x_155 = lean_ctor_get_uint8(x_9, sizeof(void*)*6 + 1);
|
||||
lean_inc(x_153);
|
||||
lean_inc(x_152);
|
||||
lean_inc(x_151);
|
||||
lean_inc(x_150);
|
||||
lean_inc(x_149);
|
||||
lean_dec(x_9);
|
||||
x_156 = lean_alloc_ctor(0, 6, 2);
|
||||
lean_ctor_set(x_156, 0, x_149);
|
||||
lean_ctor_set(x_156, 1, x_4);
|
||||
lean_ctor_set(x_156, 2, x_150);
|
||||
lean_ctor_set(x_156, 3, x_151);
|
||||
lean_ctor_set(x_156, 4, x_152);
|
||||
lean_ctor_set(x_156, 5, x_153);
|
||||
lean_ctor_set_uint8(x_156, sizeof(void*)*6, x_154);
|
||||
lean_ctor_set_uint8(x_156, sizeof(void*)*6 + 1, x_155);
|
||||
x_157 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3;
|
||||
x_158 = l_Lean_Meta_instMonadMetaM;
|
||||
x_159 = l_Lean_Meta_withNewLocalInstances___rarg(x_157, x_158, lean_box(0), x_5, x_6, x_142);
|
||||
x_160 = lean_apply_5(x_159, x_156, x_10, x_11, x_12, x_13);
|
||||
return x_160;
|
||||
}
|
||||
x_135 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___lambda__2), 8, 3);
|
||||
lean_closure_set(x_135, 0, x_1);
|
||||
lean_closure_set(x_135, 1, x_134);
|
||||
lean_closure_set(x_135, 2, x_5);
|
||||
x_136 = l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__3;
|
||||
x_137 = l_Lean_Meta_instMonadMetaM;
|
||||
x_138 = l_Lean_Meta_withNewLocalInstances___rarg(x_136, x_137, lean_box(0), x_5, x_6, x_135);
|
||||
x_139 = l_Lean_Meta_withLCtx_x27___rarg(x_136, x_137, lean_box(0), x_4, x_138);
|
||||
x_140 = lean_apply_5(x_139, x_9, x_10, x_11, x_12, x_13);
|
||||
return x_140;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1545,7 +1487,7 @@ x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1553,7 +1495,7 @@ x_1 = lean_mk_string_unchecked("tactic", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1561,17 +1503,17 @@ x_1 = lean_mk_string_unchecked("hygienic", 8, 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__2;
|
||||
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1579,13 +1521,13 @@ x_1 = lean_mk_string_unchecked("make sure tactics are hygienic", 30, 30);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__5() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = 1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__4;
|
||||
x_4 = lean_box(x_1);
|
||||
x_5 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
|
|
@ -1594,7 +1536,7 @@ lean_ctor_set(x_5, 2, x_3);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1602,7 +1544,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1610,25 +1552,25 @@ x_1 = lean_mk_string_unchecked("Meta", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__7;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__7;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__2;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__3;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__5;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__3;
|
||||
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__5;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__8;
|
||||
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -2642,23 +2584,23 @@ l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__
|
|||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__7);
|
||||
l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1___closed__1 = _init_l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp___rarg___lambda__1___closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926____closed__8);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_926_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867____closed__8);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Intro___hyg_867_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Meta_tactic_hygienic = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Meta_tactic_hygienic);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.LinearArith.Nat.Basic
|
||||
// Imports: Lean.Meta.Check Lean.Meta.Offset Lean.Meta.AppBuilder Lean.Meta.KExprMap
|
||||
// Imports: Lean.Meta.Check Lean.Meta.Offset Lean.Meta.AppBuilder Lean.Meta.KExprMap Lean.Data.RArray
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -20,6 +20,7 @@ static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_M
|
|||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExprCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_279____closed__16;
|
||||
lean_object* l_Lean_Meta_isInstHAddNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkNatLit(lean_object*);
|
||||
lean_object* l_Lean_RArray_toExpr___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__8;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExprCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_279____closed__11;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprPolyCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_358____boxed(lean_object*, lean_object*);
|
||||
|
|
@ -30,7 +31,7 @@ static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearExpr_visit___closed_
|
|||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearExpr_visit___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExprCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_279____closed__6;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExprCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_279____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_toContextExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_toContextExpr(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__13;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_instToExprLinearCnstr___closed__2;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f___lambda__9___closed__2;
|
||||
|
|
@ -57,6 +58,7 @@ static lean_object* l_Lean_Meta_Linear_Nat_LinearExpr_toExpr___closed__6;
|
|||
static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprPolyCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_358____spec__3___closed__7;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f___closed__21;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearExpr___closed__1;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_toContextExpr___closed__3;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_run___rarg___closed__1;
|
||||
|
|
@ -94,6 +96,7 @@ static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Nat_
|
|||
static lean_object* l_Lean_Meta_Linear_Nat_instToExprLinearCnstr___closed__3;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_LinearCnstr_toExpr___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_ToLinear_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_toContextExpr___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_ToLinear_run(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExprCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_279____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -112,6 +115,7 @@ extern lean_object* l___private_Lean_Expr_0__Lean_natAddFn;
|
|||
static lean_object* l_Lean_Meta_Linear_Nat_reflTrue___closed__6;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_LinearExpr_toExpr___closed__14;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_LinearCnstr_toExpr___closed__9;
|
||||
lean_object* l_Lean_RArray_ofArray___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprPolyCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_358____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f___closed__9;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_LinearExpr_toExpr___closed__9;
|
||||
|
|
@ -126,7 +130,6 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearExpr_visit___closed__16;
|
||||
LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprPolyCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_358____spec__3(lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__3;
|
||||
lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_LinearExpr_toArith(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -205,9 +208,9 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f___closed__5;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__10;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExprCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_279____closed__32;
|
||||
lean_object* l_Lean_Meta_mkListLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearExpr_visit___closed__11;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_LinearCnstr_toExpr___closed__5;
|
||||
lean_object* l_id___rarg___boxed(lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f___closed__20;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__14;
|
||||
|
|
@ -255,6 +258,7 @@ static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearExpr_visit___closed_
|
|||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_LinearExpr_toExpr___closed__15;
|
||||
static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprPolyCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_358____spec__3___closed__5;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_toContextExpr___closed__4;
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_LinearExpr_toExpr___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_LinearExpr_toArith___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__4;
|
||||
|
|
@ -285,6 +289,7 @@ LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Nat_
|
|||
static lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearExpr_visit___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExprCnstr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_279____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_ToLinear_toLinearCnstr_x3f___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Linear_Nat_toContextExpr___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_instReprExprCnstr__lean;
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__1() {
|
||||
_start:
|
||||
|
|
@ -7017,16 +7022,70 @@ x_3 = l_Lean_Expr_const___override(x_2, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_toContextExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
static lean_object* _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_7 = lean_array_to_list(x_1);
|
||||
x_8 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__1;
|
||||
x_9 = l_Lean_Meta_mkListLit(x_8, x_7, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = l_Lean_mkNatLit(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__2;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_id___rarg___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__1;
|
||||
x_2 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__4;
|
||||
x_3 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__3;
|
||||
x_4 = l_Lean_RArray_toExpr___rarg(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Nat_toContextExpr(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
x_2 = lean_array_get_size(x_1);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = lean_nat_dec_lt(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_dec(x_1);
|
||||
x_5 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__5;
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_6 = l_Lean_RArray_ofArray___rarg(x_1, lean_box(0));
|
||||
x_7 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__1;
|
||||
x_8 = l_Lean_Meta_Linear_Nat_toContextExpr___closed__4;
|
||||
x_9 = l_Lean_RArray_toExpr___rarg(x_7, x_8, x_6);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Linear_Nat_reflTrue___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7110,6 +7169,7 @@ lean_object* initialize_Lean_Meta_Check(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Lean_Meta_Offset(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_AppBuilder(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_KExprMap(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_RArray(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_LinearArith_Nat_Basic(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -7127,6 +7187,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_KExprMap(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_RArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__1);
|
||||
l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Nat_Basic_0__Lean_Meta_Linear_Nat_reprExpr____x40_Lean_Meta_Tactic_LinearArith_Nat_Basic___hyg_4____closed__2();
|
||||
|
|
@ -7457,6 +7520,14 @@ l_Lean_Meta_Linear_Nat_ToLinear_run___rarg___closed__4 = _init_l_Lean_Meta_Linea
|
|||
lean_mark_persistent(l_Lean_Meta_Linear_Nat_ToLinear_run___rarg___closed__4);
|
||||
l_Lean_Meta_Linear_Nat_toContextExpr___closed__1 = _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Linear_Nat_toContextExpr___closed__1);
|
||||
l_Lean_Meta_Linear_Nat_toContextExpr___closed__2 = _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Linear_Nat_toContextExpr___closed__2);
|
||||
l_Lean_Meta_Linear_Nat_toContextExpr___closed__3 = _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Linear_Nat_toContextExpr___closed__3);
|
||||
l_Lean_Meta_Linear_Nat_toContextExpr___closed__4 = _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_Linear_Nat_toContextExpr___closed__4);
|
||||
l_Lean_Meta_Linear_Nat_toContextExpr___closed__5 = _init_l_Lean_Meta_Linear_Nat_toContextExpr___closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_Linear_Nat_toContextExpr___closed__5);
|
||||
l_Lean_Meta_Linear_Nat_reflTrue___closed__1 = _init_l_Lean_Meta_Linear_Nat_reflTrue___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Linear_Nat_reflTrue___closed__1);
|
||||
l_Lean_Meta_Linear_Nat_reflTrue___closed__2 = _init_l_Lean_Meta_Linear_Nat_reflTrue___closed__2();
|
||||
|
|
|
|||
1921
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Nat/Simp.c
generated
1921
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Nat/Simp.c
generated
File diff suppressed because it is too large
Load diff
29
stage0/stdlib/Lean/Meta/Tactic/Rewrites.c
generated
29
stage0/stdlib/Lean/Meta/Tactic/Rewrites.c
generated
|
|
@ -19,6 +19,7 @@ static uint8_t l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_rewriteCandi
|
|||
lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_rwLemma___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1333____lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_List_mapTR_loop___at_Lean_Meta_Rewrites_rewriteCandidates___spec__6___closed__6;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___lambda__1___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__4___closed__3;
|
||||
|
|
@ -49,7 +50,6 @@ uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_solveByElim___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_SideConditions_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1343_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -148,6 +148,7 @@ LEAN_EXPORT lean_object* l_Array_insertionSort_swapLoop___at_Lean_Meta_Rewrites_
|
|||
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_foldlM___at_Lean_Meta_Rewrites_getSubexpressionMatches___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1273_(lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Rewrites_droppedKeys___closed__2;
|
||||
lean_object* l_Lean_Meta_LazyDiscrTree_createModuleTreeRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -187,6 +188,7 @@ static lean_object* l_Lean_Meta_Rewrites_RewriteResult_newGoal___closed__1;
|
|||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1333_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Rewrites_createModuleTreeRef___closed__1;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_rewriteCandidates___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -225,7 +227,6 @@ static lean_object* l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__4___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_solveByElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_5____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1343____lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_getLocalHyps___at_Lean_MVarId_symmSaturate___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Rewrites_getSubexpressionMatches___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_RewriteResult_ppResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -238,7 +239,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rew
|
|||
LEAN_EXPORT lean_object* l_Lean_Expr_traverseChildren___at_Lean_Meta_Rewrites_getSubexpressionMatches___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_LazyDiscrTree_InitEntry_fromExpr___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_discrTreeConfig;
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Meta_Rewrites_takeListAux___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_findRewrites___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -325,7 +325,6 @@ size_t lean_usize_sub(size_t, size_t);
|
|||
lean_object* lean_array_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_getSubexpressionMatches(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1283_(lean_object*);
|
||||
uint8_t l_Substring_beq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
|
|
@ -2242,14 +2241,6 @@ lean_dec(x_2);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Rewrites_discrTreeConfig() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__1___closed__5;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_List_elem___at_Lean_Meta_Rewrites_localHypotheses___spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3477,7 +3468,7 @@ x_8 = l_Lean_Meta_LazyDiscrTree_createModuleTreeRef___rarg(x_6, x_7, x_1, x_2, x
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1283_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1273_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -3519,7 +3510,7 @@ x_1 = l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_instInhabitedE
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1343____lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1333____lambda__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -3544,12 +3535,12 @@ return x_7;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1343_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1333_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = lean_box(0);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1343____lambda__1), 2, 1);
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1333____lambda__1), 2, 1);
|
||||
lean_closure_set(x_3, 0, x_2);
|
||||
x_4 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_3, x_1);
|
||||
return x_4;
|
||||
|
|
@ -20966,8 +20957,6 @@ l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__
|
|||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__5___closed__1);
|
||||
l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__6___closed__1 = _init_l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__6___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_addImport___lambda__6___closed__1);
|
||||
l_Lean_Meta_Rewrites_discrTreeConfig = _init_l_Lean_Meta_Rewrites_discrTreeConfig();
|
||||
lean_mark_persistent(l_Lean_Meta_Rewrites_discrTreeConfig);
|
||||
l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___lambda__1___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___lambda__1___closed__1);
|
||||
l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___lambda__1___closed__2 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Rewrites_localHypotheses___spec__2___lambda__1___closed__2();
|
||||
|
|
@ -20992,7 +20981,7 @@ l_Lean_Meta_Rewrites_droppedKeys = _init_l_Lean_Meta_Rewrites_droppedKeys();
|
|||
lean_mark_persistent(l_Lean_Meta_Rewrites_droppedKeys);
|
||||
l_Lean_Meta_Rewrites_createModuleTreeRef___closed__1 = _init_l_Lean_Meta_Rewrites_createModuleTreeRef___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Rewrites_createModuleTreeRef___closed__1);
|
||||
if (builtin) {res = l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1283_(lean_io_mk_world());
|
||||
if (builtin) {res = l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1273_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_ExtState_default = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_ExtState_default);
|
||||
|
|
@ -21001,7 +20990,7 @@ lean_dec_ref(res);
|
|||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_instInhabitedExtState___closed__1);
|
||||
l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_instInhabitedExtState = _init_l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_instInhabitedExtState();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_instInhabitedExtState);
|
||||
if (builtin) {res = l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1343_(lean_io_mk_world());
|
||||
if (builtin) {res = l_Lean_Meta_Rewrites_initFn____x40_Lean_Meta_Tactic_Rewrites___hyg_1333_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_ext = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Rewrites_0__Lean_Meta_Rewrites_ext);
|
||||
|
|
|
|||
207
stage0/stdlib/Lean/Meta/Tactic/Simp/Attr.c
generated
207
stage0/stdlib/Lean/Meta/Tactic/Simp/Attr.c
generated
|
|
@ -28,7 +28,6 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
|||
static lean_object* l_Lean_Meta_mkSimpAttr___lambda__2___closed__2;
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpAttr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint32_t l_UInt32_ofNatTruncate(lean_object*);
|
||||
lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_Attr___hyg_9____closed__8;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_Attr___hyg_888____closed__1;
|
||||
|
|
@ -61,7 +60,6 @@ static lean_object* l_Lean_Meta_mkSimpAttr___lambda__2___closed__16;
|
|||
lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SimpTheorems_unfoldEvenWithEqns(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_registerSimpAttr___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___rarg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpAttr___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_Attr___hyg_9____closed__5;
|
||||
|
|
@ -89,8 +87,7 @@ lean_object* l_Lean_Syntax_getKind(lean_object*);
|
|||
static lean_object* l_Lean_Meta_mkSimpAttr___lambda__2___closed__17;
|
||||
uint8_t l_Lean_PersistentHashMap_contains___at_Lean_Meta_SimpTheorems_erase___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SimpTheorems_ignoreEquations(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static uint32_t l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_Attr___hyg_793_;
|
||||
lean_object* l_Lean_Meta_getEqnsFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_Attr___hyg_862____closed__3;
|
||||
|
|
@ -117,8 +114,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SimpTheorems_erase___at_Lean_Meta_mkSimpAtt
|
|||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_Attr___hyg_862____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_warningAsError;
|
||||
lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_simpExtension;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
|
|
@ -166,12 +164,10 @@ lean_object* l_Lean_ScopedEnvExtension_getState___rarg(lean_object*, lean_object
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_mkSimpAttr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ScopedEnvExtension_addCore___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1;
|
||||
static lean_object* l_Lean_Meta_mkSimpAttr___lambda__2___closed__7;
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SimpTheorems_erase___at_Lean_Meta_mkSimpAttr___spec__3___lambda__1___closed__4;
|
||||
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Origin_converse(lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
|
|
@ -200,6 +196,7 @@ LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Meta_mkSimpAttr___spec__5___boxed(
|
|||
LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_Meta_mkSimpAttr___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SimpTheorems_eraseCore(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Lean_Meta_Tactic_Simp_Attr___hyg_9____closed__6;
|
||||
static lean_object* l_Lean_Meta_Simp_Context_mkDefault___closed__1;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofName(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_registerSimpAttr___spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -3549,7 +3546,7 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_Simp_Context_mkDefault___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -3583,165 +3580,62 @@ lean_ctor_set_uint8(x_6, sizeof(void*)*2 + 18, x_4);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static uint32_t _init_l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2() {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint32_t x_2;
|
||||
x_1 = lean_unsigned_to_nat(2u);
|
||||
x_2 = l_UInt32_ofNatTruncate(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_6 = l_Lean_Meta_getSimpTheorems___closed__1;
|
||||
x_7 = l_Lean_Meta_SimpExtension_getTheorems(x_6, x_3, x_4, x_5);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_4, x_9);
|
||||
x_11 = !lean_is_exclusive(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = l_Lean_Meta_getSimpTheorems___closed__1;
|
||||
x_5 = l_Lean_Meta_SimpExtension_getTheorems(x_4, x_1, x_2, x_3);
|
||||
x_6 = !lean_is_exclusive(x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_7 = lean_ctor_get(x_5, 1);
|
||||
x_8 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_2, x_7);
|
||||
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; uint32_t x_14; lean_object* x_15; uint32_t x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19;
|
||||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_box(0);
|
||||
lean_ctor_set_tag(x_5, 1);
|
||||
lean_ctor_set(x_5, 1, x_11);
|
||||
x_12 = lean_array_mk(x_5);
|
||||
x_13 = lean_box(0);
|
||||
x_14 = 0;
|
||||
x_15 = l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1;
|
||||
x_16 = l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2;
|
||||
x_17 = lean_unsigned_to_nat(0u);
|
||||
x_18 = 0;
|
||||
x_19 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_19, 0, x_15);
|
||||
lean_ctor_set(x_19, 1, x_12);
|
||||
lean_ctor_set(x_19, 2, x_10);
|
||||
lean_ctor_set(x_19, 3, x_13);
|
||||
lean_ctor_set(x_19, 4, x_17);
|
||||
lean_ctor_set_uint32(x_19, sizeof(void*)*5, x_16);
|
||||
lean_ctor_set_uint32(x_19, sizeof(void*)*5 + 4, x_14);
|
||||
lean_ctor_set_uint8(x_19, sizeof(void*)*5 + 8, x_18);
|
||||
lean_ctor_set(x_8, 0, x_19);
|
||||
return x_8;
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_12 = lean_ctor_get(x_10, 0);
|
||||
x_13 = lean_ctor_get(x_10, 1);
|
||||
x_14 = lean_box(0);
|
||||
lean_ctor_set_tag(x_10, 1);
|
||||
lean_ctor_set(x_10, 1, x_14);
|
||||
lean_ctor_set(x_10, 0, x_8);
|
||||
x_15 = lean_array_mk(x_10);
|
||||
x_16 = l_Lean_Meta_Simp_Context_mkDefault___closed__1;
|
||||
x_17 = l_Lean_Meta_Simp_mkContext(x_16, x_15, x_12, x_1, x_2, x_3, x_4, x_13);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint32_t x_25; lean_object* x_26; uint32_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
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_box(0);
|
||||
lean_ctor_set_tag(x_5, 1);
|
||||
lean_ctor_set(x_5, 1, x_22);
|
||||
x_23 = lean_array_mk(x_5);
|
||||
x_24 = lean_box(0);
|
||||
x_25 = 0;
|
||||
x_26 = l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1;
|
||||
x_27 = l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2;
|
||||
x_28 = lean_unsigned_to_nat(0u);
|
||||
x_29 = 0;
|
||||
x_30 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_30, 0, x_26);
|
||||
lean_ctor_set(x_30, 1, x_23);
|
||||
lean_ctor_set(x_30, 2, x_20);
|
||||
lean_ctor_set(x_30, 3, x_24);
|
||||
lean_ctor_set(x_30, 4, x_28);
|
||||
lean_ctor_set_uint32(x_30, sizeof(void*)*5, x_27);
|
||||
lean_ctor_set_uint32(x_30, sizeof(void*)*5 + 4, x_25);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*5 + 8, x_29);
|
||||
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_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint32_t x_42; lean_object* x_43; uint32_t x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_32 = lean_ctor_get(x_5, 0);
|
||||
x_33 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_33);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_5);
|
||||
x_34 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_2, x_33);
|
||||
x_35 = lean_ctor_get(x_34, 0);
|
||||
lean_inc(x_35);
|
||||
x_36 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_36);
|
||||
if (lean_is_exclusive(x_34)) {
|
||||
lean_ctor_release(x_34, 0);
|
||||
lean_ctor_release(x_34, 1);
|
||||
x_37 = x_34;
|
||||
} else {
|
||||
lean_dec_ref(x_34);
|
||||
x_37 = lean_box(0);
|
||||
}
|
||||
x_38 = lean_box(0);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_32);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
x_40 = lean_array_mk(x_39);
|
||||
x_41 = lean_box(0);
|
||||
x_42 = 0;
|
||||
x_43 = l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1;
|
||||
x_44 = l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2;
|
||||
x_45 = lean_unsigned_to_nat(0u);
|
||||
x_46 = 0;
|
||||
x_47 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_47, 0, x_43);
|
||||
lean_ctor_set(x_47, 1, x_40);
|
||||
lean_ctor_set(x_47, 2, x_35);
|
||||
lean_ctor_set(x_47, 3, x_41);
|
||||
lean_ctor_set(x_47, 4, x_45);
|
||||
lean_ctor_set_uint32(x_47, sizeof(void*)*5, x_44);
|
||||
lean_ctor_set_uint32(x_47, sizeof(void*)*5 + 4, x_42);
|
||||
lean_ctor_set_uint8(x_47, sizeof(void*)*5 + 8, x_46);
|
||||
if (lean_is_scalar(x_37)) {
|
||||
x_48 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_48 = x_37;
|
||||
}
|
||||
lean_ctor_set(x_48, 0, x_47);
|
||||
lean_ctor_set(x_48, 1, x_36);
|
||||
return x_48;
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_18 = lean_ctor_get(x_10, 0);
|
||||
x_19 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_10);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_8);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
x_22 = lean_array_mk(x_21);
|
||||
x_23 = l_Lean_Meta_Simp_Context_mkDefault___closed__1;
|
||||
x_24 = l_Lean_Meta_Simp_mkContext(x_23, x_22, x_18, x_1, x_2, x_3, x_4, x_19);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_Context_mkDefault___rarg___boxed), 3, 0);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Meta_Simp_Context_mkDefault___rarg(x_1, x_2, x_3);
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_Meta_Simp_Context_mkDefault(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Meta_Simp_Context_mkDefault(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Meta_Tactic_Simp_Types(uint8_t builtin, lean_object*);
|
||||
|
|
@ -3919,9 +3813,8 @@ lean_dec_ref(res);
|
|||
lean_mark_persistent(l_Lean_Meta_getSimpTheorems___closed__1);
|
||||
l_Lean_Meta_getSEvalTheorems___closed__1 = _init_l_Lean_Meta_getSEvalTheorems___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_getSEvalTheorems___closed__1);
|
||||
l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1 = _init_l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__1);
|
||||
l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2 = _init_l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2();
|
||||
l_Lean_Meta_Simp_Context_mkDefault___closed__1 = _init_l_Lean_Meta_Simp_Context_mkDefault___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Simp_Context_mkDefault___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
7430
stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c
generated
7430
stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c
generated
File diff suppressed because it is too large
Load diff
183
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
183
stage0/stdlib/Lean/Meta/Tactic/Simp/Rewrite.c
generated
|
|
@ -69,7 +69,6 @@ static lean_object* l_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___closed_
|
|||
lean_object* l_Lean_Meta_unifyEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___spec__6___closed__2;
|
||||
uint32_t l_UInt32_ofNatTruncate(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Simp_rewritePost___spec__1___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_synthesizeArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*);
|
||||
|
|
@ -368,6 +367,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Meta_ppOrigin___at_Lean_Meta_Simp_discharge_x3f_x27___spec__1___closed__8;
|
||||
lean_object* l_Lean_Meta_Simp_recordTheoremWithBadKeys(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Simp_simpUsingDecide___lambda__1___closed__12;
|
||||
lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isArrow(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Simp_sevalGround___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -375,7 +375,7 @@ static lean_object* l_Lean_Meta_Simp_seval___closed__5;
|
|||
static lean_object* l_Lean_getConstInfo___at_Lean_Meta_Simp_discharge_x3f_x27___spec__3___closed__4;
|
||||
uint8_t l_Lean_Meta_Linear_parentIsTarget(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_rewrite_x3f_rewriteUsingIndex_x3f(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_DiscrTree_getMatchWithExtra___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Simp_simpMatchCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_Simp_rewrite_x3f_rewriteUsingIndex_x3f___spec__3___closed__2;
|
||||
|
|
@ -411,7 +411,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_Simp_discharge_x3f_
|
|||
lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simpGround___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instDecidableEqDischargeResult___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkMethods___elambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore_go___lambda__4___closed__2;
|
||||
|
|
@ -449,7 +449,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_drewritePre___lambda__1(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Simp_simpUsingDecide___lambda__1___closed__15;
|
||||
lean_object* l_Lean_Meta_mkOfEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static uint32_t l_Lean_Meta_Simp_mkSEvalContext___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Simp_simpMatchDiscrs_x3f___spec__1___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -26456,147 +26455,62 @@ lean_ctor_set_uint8(x_6, sizeof(void*)*2 + 18, x_4);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static uint32_t _init_l_Lean_Meta_Simp_mkSEvalContext___closed__3() {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint32_t x_2;
|
||||
x_1 = lean_unsigned_to_nat(2u);
|
||||
x_2 = l_UInt32_ofNatTruncate(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_6 = l_Lean_Meta_Simp_mkSEvalContext___closed__1;
|
||||
x_7 = l_Lean_Meta_SimpExtension_getTheorems(x_6, x_3, x_4, x_5);
|
||||
x_8 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_ctor_get(x_7, 1);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_4, x_9);
|
||||
x_11 = !lean_is_exclusive(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = l_Lean_Meta_Simp_mkSEvalContext___closed__1;
|
||||
x_5 = l_Lean_Meta_SimpExtension_getTheorems(x_4, x_1, x_2, x_3);
|
||||
x_6 = !lean_is_exclusive(x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_7 = lean_ctor_get(x_5, 1);
|
||||
x_8 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_2, x_7);
|
||||
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; uint32_t x_14; lean_object* x_15; uint32_t x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19;
|
||||
x_10 = lean_ctor_get(x_8, 0);
|
||||
x_11 = lean_box(0);
|
||||
lean_ctor_set_tag(x_5, 1);
|
||||
lean_ctor_set(x_5, 1, x_11);
|
||||
x_12 = lean_array_mk(x_5);
|
||||
x_13 = lean_box(0);
|
||||
x_14 = 0;
|
||||
x_15 = l_Lean_Meta_Simp_mkSEvalContext___closed__2;
|
||||
x_16 = l_Lean_Meta_Simp_mkSEvalContext___closed__3;
|
||||
x_17 = lean_unsigned_to_nat(0u);
|
||||
x_18 = 0;
|
||||
x_19 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_19, 0, x_15);
|
||||
lean_ctor_set(x_19, 1, x_12);
|
||||
lean_ctor_set(x_19, 2, x_10);
|
||||
lean_ctor_set(x_19, 3, x_13);
|
||||
lean_ctor_set(x_19, 4, x_17);
|
||||
lean_ctor_set_uint32(x_19, sizeof(void*)*5, x_16);
|
||||
lean_ctor_set_uint32(x_19, sizeof(void*)*5 + 4, x_14);
|
||||
lean_ctor_set_uint8(x_19, sizeof(void*)*5 + 8, x_18);
|
||||
lean_ctor_set(x_8, 0, x_19);
|
||||
return x_8;
|
||||
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_12 = lean_ctor_get(x_10, 0);
|
||||
x_13 = lean_ctor_get(x_10, 1);
|
||||
x_14 = lean_box(0);
|
||||
lean_ctor_set_tag(x_10, 1);
|
||||
lean_ctor_set(x_10, 1, x_14);
|
||||
lean_ctor_set(x_10, 0, x_8);
|
||||
x_15 = lean_array_mk(x_10);
|
||||
x_16 = l_Lean_Meta_Simp_mkSEvalContext___closed__2;
|
||||
x_17 = l_Lean_Meta_Simp_mkContext(x_16, x_15, x_12, x_1, x_2, x_3, x_4, x_13);
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint32_t x_25; lean_object* x_26; uint32_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31;
|
||||
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_box(0);
|
||||
lean_ctor_set_tag(x_5, 1);
|
||||
lean_ctor_set(x_5, 1, x_22);
|
||||
x_23 = lean_array_mk(x_5);
|
||||
x_24 = lean_box(0);
|
||||
x_25 = 0;
|
||||
x_26 = l_Lean_Meta_Simp_mkSEvalContext___closed__2;
|
||||
x_27 = l_Lean_Meta_Simp_mkSEvalContext___closed__3;
|
||||
x_28 = lean_unsigned_to_nat(0u);
|
||||
x_29 = 0;
|
||||
x_30 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_30, 0, x_26);
|
||||
lean_ctor_set(x_30, 1, x_23);
|
||||
lean_ctor_set(x_30, 2, x_20);
|
||||
lean_ctor_set(x_30, 3, x_24);
|
||||
lean_ctor_set(x_30, 4, x_28);
|
||||
lean_ctor_set_uint32(x_30, sizeof(void*)*5, x_27);
|
||||
lean_ctor_set_uint32(x_30, sizeof(void*)*5 + 4, x_25);
|
||||
lean_ctor_set_uint8(x_30, sizeof(void*)*5 + 8, x_29);
|
||||
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_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint32_t x_42; lean_object* x_43; uint32_t x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_32 = lean_ctor_get(x_5, 0);
|
||||
x_33 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_33);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_5);
|
||||
x_34 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_2, x_33);
|
||||
x_35 = lean_ctor_get(x_34, 0);
|
||||
lean_inc(x_35);
|
||||
x_36 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_36);
|
||||
if (lean_is_exclusive(x_34)) {
|
||||
lean_ctor_release(x_34, 0);
|
||||
lean_ctor_release(x_34, 1);
|
||||
x_37 = x_34;
|
||||
} else {
|
||||
lean_dec_ref(x_34);
|
||||
x_37 = lean_box(0);
|
||||
}
|
||||
x_38 = lean_box(0);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_32);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
x_40 = lean_array_mk(x_39);
|
||||
x_41 = lean_box(0);
|
||||
x_42 = 0;
|
||||
x_43 = l_Lean_Meta_Simp_mkSEvalContext___closed__2;
|
||||
x_44 = l_Lean_Meta_Simp_mkSEvalContext___closed__3;
|
||||
x_45 = lean_unsigned_to_nat(0u);
|
||||
x_46 = 0;
|
||||
x_47 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_47, 0, x_43);
|
||||
lean_ctor_set(x_47, 1, x_40);
|
||||
lean_ctor_set(x_47, 2, x_35);
|
||||
lean_ctor_set(x_47, 3, x_41);
|
||||
lean_ctor_set(x_47, 4, x_45);
|
||||
lean_ctor_set_uint32(x_47, sizeof(void*)*5, x_44);
|
||||
lean_ctor_set_uint32(x_47, sizeof(void*)*5 + 4, x_42);
|
||||
lean_ctor_set_uint8(x_47, sizeof(void*)*5 + 8, x_46);
|
||||
if (lean_is_scalar(x_37)) {
|
||||
x_48 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_48 = x_37;
|
||||
}
|
||||
lean_ctor_set(x_48, 0, x_47);
|
||||
lean_ctor_set(x_48, 1, x_36);
|
||||
return x_48;
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_18 = lean_ctor_get(x_10, 0);
|
||||
x_19 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_10);
|
||||
x_20 = lean_box(0);
|
||||
x_21 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_8);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
x_22 = lean_array_mk(x_21);
|
||||
x_23 = l_Lean_Meta_Simp_mkSEvalContext___closed__2;
|
||||
x_24 = l_Lean_Meta_Simp_mkContext(x_23, x_22, x_18, x_1, x_2, x_3, x_4, x_19);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Simp_mkSEvalContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Meta_Simp_mkSEvalContext(x_1, x_2, x_3);
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_Meta_Simp_mkSEvalContext(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Simp_seval___closed__1() {
|
||||
|
|
@ -26685,7 +26599,7 @@ lean_inc(x_11);
|
|||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Meta_Simp_mkSEvalContext(x_7, x_8, x_12);
|
||||
x_13 = l_Lean_Meta_Simp_mkSEvalContext(x_5, x_6, x_7, x_8, x_12);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
|
|
@ -30994,7 +30908,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__4;
|
||||
x_2 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__5;
|
||||
x_3 = lean_unsigned_to_nat(553u);
|
||||
x_3 = lean_unsigned_to_nat(556u);
|
||||
x_4 = lean_unsigned_to_nat(2u);
|
||||
x_5 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -33368,7 +33282,6 @@ l_Lean_Meta_Simp_mkSEvalContext___closed__1 = _init_l_Lean_Meta_Simp_mkSEvalCont
|
|||
lean_mark_persistent(l_Lean_Meta_Simp_mkSEvalContext___closed__1);
|
||||
l_Lean_Meta_Simp_mkSEvalContext___closed__2 = _init_l_Lean_Meta_Simp_mkSEvalContext___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Simp_mkSEvalContext___closed__2);
|
||||
l_Lean_Meta_Simp_mkSEvalContext___closed__3 = _init_l_Lean_Meta_Simp_mkSEvalContext___closed__3();
|
||||
l_Lean_Meta_Simp_seval___closed__1 = _init_l_Lean_Meta_Simp_seval___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Simp_seval___closed__1);
|
||||
l_Lean_Meta_Simp_seval___closed__2 = _init_l_Lean_Meta_Simp_seval___closed__2();
|
||||
|
|
|
|||
6834
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpAll.c
generated
6834
stage0/stdlib/Lean/Meta/Tactic/Simp/SimpAll.c
generated
File diff suppressed because it is too large
Load diff
1131
stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c
generated
1131
stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c
generated
File diff suppressed because it is too large
Load diff
343
stage0/stdlib/Lean/Meta/Tactic/Split.c
generated
343
stage0/stdlib/Lean/Meta/Tactic/Split.c
generated
|
|
@ -20,7 +20,6 @@ lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkEqHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_StateRefT_x27_instMonadExceptOf___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__3;
|
||||
LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_reduceRecMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_splitTarget_x3f_go___closed__1;
|
||||
|
|
@ -29,7 +28,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(si
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_throwDiscrGenError___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitLocalDecl_x3f___lambda__3(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_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__8;
|
||||
extern lean_object* l_Lean_instMonadExceptOfExceptionCoreM;
|
||||
lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -46,16 +44,16 @@ LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_Split_applyMatchSplitter__
|
|||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__17;
|
||||
static lean_object* l_Lean_Meta_Split_splitMatch___closed__1;
|
||||
uint8_t l_Lean_Expr_isDIte(lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7___closed__1;
|
||||
static lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___lambda__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__7___closed__3;
|
||||
uint32_t l_UInt32_ofNatTruncate(lean_object*);
|
||||
static uint32_t l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__5___boxed(lean_object**);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__5;
|
||||
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
||||
|
|
@ -66,6 +64,7 @@ size_t lean_uint64_to_usize(uint64_t);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectLevelMVars_visitExpr___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__16;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_sort___override(lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofList(lean_object*);
|
||||
|
|
@ -74,7 +73,6 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*)
|
|||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_Split_applyMatchSplitter___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__4___closed__2;
|
||||
static lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__2;
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__1___closed__1;
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
|
|
@ -82,7 +80,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch(lean_object*, lean_object*,
|
|||
lean_object* l_Lean_Meta_generalizeTargetsEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instMonadQuotationOfMonadFunctorOfMonadLift___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs___spec__2(lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__9;
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Split_findSplit_x3f_isCandidate___spec__1___closed__2;
|
||||
lean_object* l_Lean_MVarId_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -93,6 +90,7 @@ extern lean_object* l_Lean_casesOnSuffix;
|
|||
lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*);
|
||||
uint8_t l_Lean_Level_isZero(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__2;
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_Split_findSplit_x3f_isCandidate___lambda__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_Split_applyMatchSplitter___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -103,6 +101,7 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitLocalDecl_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__1___closed__2;
|
||||
uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Meta_reduceMatcher_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -115,9 +114,7 @@ lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Split_applyMatchSplitter___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_simpMatch___closed__2;
|
||||
static lean_object* l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__3;
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__3___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__1;
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__3___closed__3;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lambda__2___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -130,23 +127,24 @@ LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Met
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__2;
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__10;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__4;
|
||||
static lean_object* l_Lean_Meta_Split_splitMatch___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_appArg_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Split_throwDiscrGenError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__8___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__12;
|
||||
extern lean_object* l_instInhabitedNat;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138_(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lambda__2___closed__4;
|
||||
extern lean_object* l_instInhabitedPUnit;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isMatcherApp___at_Lean_Meta_Split_simpMatch_pre___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__7(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_findSplit_x3f_go(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch_pre___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Split_applyMatchSplitter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -178,7 +176,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_g
|
|||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
lean_object* l_Array_zip___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__7___closed__1;
|
||||
static lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchTargetCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instMonadFunctor(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_simpMatch___closed__4;
|
||||
|
|
@ -192,11 +189,13 @@ lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lea
|
|||
uint8_t l_Lean_Expr_isEq(lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__1;
|
||||
lean_object* l_Lean_Meta_mkHEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__2___closed__1;
|
||||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__15;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go(lean_object*);
|
||||
lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -212,6 +211,7 @@ lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*);
|
|||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__4;
|
||||
lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__3;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__3;
|
||||
lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -221,23 +221,20 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_S
|
|||
lean_object* l_outOfBounds___rarg(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__8___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__3___closed__2;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__4;
|
||||
static lean_object* l_Lean_Meta_Split_simpMatch___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__1(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__5___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_Meta_splitIfTarget_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__11;
|
||||
lean_object* l_Lean_Meta_mkHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*);
|
||||
lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -256,17 +253,17 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_throwDiscrGenError(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_levelZero;
|
||||
lean_object* l_Lean_MVarId_revert(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_constName_x21(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__13;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lambda__2___closed__6;
|
||||
extern lean_object* l_Lean_instInhabitedExpr;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_mkDiscrGenErrorMsg(lean_object*);
|
||||
lean_object* l_Lean_Meta_SplitIf_mkDischarge_x3f(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__5;
|
||||
uint64_t l_Lean_Expr_hash(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_splitMatch___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923_(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__5;
|
||||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__6;
|
||||
|
|
@ -285,6 +282,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch___lambda__3___boxed(lean_ob
|
|||
static lean_object* l_Lean_Meta_splitTarget_x3f_go___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__7___boxed(lean_object**);
|
||||
static lean_object* l_Lean_Meta_splitTarget_x3f_go___closed__3;
|
||||
lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__4;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -298,7 +296,6 @@ uint8_t l_Lean_Expr_isIte(lean_object*);
|
|||
lean_object* l_Lean_Meta_isMatcherAppCore_x3f(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isRflTheorem(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_appFn_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_throwDiscrGenError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -316,7 +313,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_splitTarget_x3f(lean_object*, uint8_t, lean
|
|||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Split_throwDiscrGenError___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__9___boxed__const__1;
|
||||
static lean_object* l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__9;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_simpMatch___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -325,7 +322,6 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitLocalDecl_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Meta_splitLocalDecl_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Core_instMonadQuotationCoreM;
|
||||
|
|
@ -344,10 +340,11 @@ static lean_object* l_List_foldlM___at_Lean_Meta_Split_applyMatchSplitter___spec
|
|||
lean_object* l_Lean_instAddErrorMessageContextOfAddMessageContextOfMonad___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_heqToEq(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_getSimpMatchContext___closed__2;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lambda__2___closed__1;
|
||||
lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*);
|
||||
lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__5;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_findSplit_x3f_isCandidate(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Split_findSplit_x3f_isCandidate___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -365,11 +362,9 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__8___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__8___lambda__3___closed__2;
|
||||
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitTarget_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_simpMatch___closed__3;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__15;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__6___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
|
|
@ -388,12 +383,12 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_S
|
|||
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_splitTarget_x3f_go___closed__8;
|
||||
lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__14;
|
||||
lean_object* l_Lean_LocalDecl_type(lean_object*);
|
||||
lean_object* l_Lean_exprDependsOn___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_findSplit_x3f_isCandidate___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__1___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__14;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectLevelMVars_visitExpr___spec__2(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__1;
|
||||
|
|
@ -412,16 +407,18 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_S
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
lean_object* l_Array_ofSubarray___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_splitTarget_x3f___lambda__1___closed__2;
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_simpMatch___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__17;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitLocalDecl_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7___closed__4;
|
||||
|
|
@ -433,7 +430,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_w
|
|||
extern lean_object* l_Lean_instInhabitedName;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_findSplit_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__3___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* l_Lean_Expr_fvar___override(lean_object*);
|
||||
size_t lean_array_size(lean_object*);
|
||||
|
|
@ -457,6 +454,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_genera
|
|||
LEAN_EXPORT lean_object* l_ReaderT_pure___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__2(lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__2;
|
||||
static lean_object* l_Lean_Meta_Split_findSplit_x3f_isCandidate___closed__2;
|
||||
lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___closed__1;
|
||||
|
|
@ -471,7 +469,6 @@ lean_object* l_Lean_LocalDecl_toExpr(lean_object*);
|
|||
static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__1;
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__3___closed__7;
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__4___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, 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* lean_find_expr(lean_object*, lean_object*);
|
||||
|
|
@ -480,6 +477,7 @@ extern lean_object* l_Lean_Meta_instAddMessageContextMetaM;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_splitTarget_x3f_go(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchTargetCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_getSimpMatchContext___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Cases_unifyEqs_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -488,7 +486,6 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
|
|||
LEAN_EXPORT uint8_t l_Lean_Meta_Split_isDiscrGenException(lean_object*);
|
||||
lean_object* l_Lean_Meta_applySimpResultToTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Exception_isRuntime(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__2;
|
||||
static lean_object* l_Lean_Meta_Split_simpMatch___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_discrGenExId;
|
||||
lean_object* l_ReaderT_instMonadExceptOf___rarg(lean_object*);
|
||||
|
|
@ -517,7 +514,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_g
|
|||
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Meta_Split_applyMatchSplitter___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatchTarget___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__9___closed__2;
|
||||
static lean_object* _init_l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_Split_getSimpMatchContext___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6;
|
||||
|
|
@ -551,16 +548,7 @@ lean_ctor_set_uint8(x_6, sizeof(void*)*2 + 18, x_4);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static uint32_t _init_l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint32_t x_2;
|
||||
x_1 = lean_unsigned_to_nat(2u);
|
||||
x_2 = l_UInt32_ofNatTruncate(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_Split_getSimpMatchContext___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -569,92 +557,32 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
x_3 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_1, x_2);
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; uint32_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = 0;
|
||||
x_8 = l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__1;
|
||||
x_9 = l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__2;
|
||||
x_10 = l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__3;
|
||||
x_11 = lean_unsigned_to_nat(0u);
|
||||
x_12 = 0;
|
||||
x_13 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_13, 0, x_8);
|
||||
lean_ctor_set(x_13, 1, x_10);
|
||||
lean_ctor_set(x_13, 2, x_5);
|
||||
lean_ctor_set(x_13, 3, x_6);
|
||||
lean_ctor_set(x_13, 4, x_11);
|
||||
lean_ctor_set_uint32(x_13, sizeof(void*)*5, x_9);
|
||||
lean_ctor_set_uint32(x_13, sizeof(void*)*5 + 4, x_7);
|
||||
lean_ctor_set_uint8(x_13, sizeof(void*)*5 + 8, x_12);
|
||||
lean_ctor_set(x_3, 0, x_13);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint32_t x_17; lean_object* x_18; uint32_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_14 = lean_ctor_get(x_3, 0);
|
||||
x_15 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_3);
|
||||
x_16 = lean_box(0);
|
||||
x_17 = 0;
|
||||
x_18 = l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__1;
|
||||
x_19 = l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__2;
|
||||
x_20 = l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__3;
|
||||
x_21 = lean_unsigned_to_nat(0u);
|
||||
x_22 = 0;
|
||||
x_23 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_23, 0, x_18);
|
||||
lean_ctor_set(x_23, 1, x_20);
|
||||
lean_ctor_set(x_23, 2, x_14);
|
||||
lean_ctor_set(x_23, 3, x_16);
|
||||
lean_ctor_set(x_23, 4, x_21);
|
||||
lean_ctor_set_uint32(x_23, sizeof(void*)*5, x_19);
|
||||
lean_ctor_set_uint32(x_23, sizeof(void*)*5 + 4, x_17);
|
||||
lean_ctor_set_uint8(x_23, sizeof(void*)*5 + 8, x_22);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_15);
|
||||
return x_24;
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_6 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_4, x_5);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_Meta_Split_getSimpMatchContext___closed__1;
|
||||
x_10 = l_Lean_Meta_Split_getSimpMatchContext___closed__2;
|
||||
x_11 = l_Lean_Meta_Simp_mkContext(x_9, x_10, x_7, x_1, x_2, x_3, x_4, x_8);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l_Lean_Meta_Split_getSimpMatchContext___rarg___boxed), 2, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Meta_Split_getSimpMatchContext___rarg(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Meta_Split_getSimpMatchContext(x_1, x_2, x_3);
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_Meta_Split_getSimpMatchContext(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_isMatcherApp___at_Lean_Meta_Split_simpMatch_pre___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
|
|
@ -1120,7 +1048,7 @@ lean_inc(x_9);
|
|||
x_10 = lean_ctor_get(x_8, 1);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_8);
|
||||
x_11 = l_Lean_Meta_Split_getSimpMatchContext___rarg(x_5, x_10);
|
||||
x_11 = l_Lean_Meta_Split_getSimpMatchContext(x_2, x_3, x_4, x_5, x_10);
|
||||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_ctor_get(x_11, 1);
|
||||
|
|
@ -2011,7 +1939,7 @@ lean_inc(x_11);
|
|||
x_12 = lean_ctor_get(x_10, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_Meta_Split_getSimpMatchContext___rarg(x_7, x_12);
|
||||
x_13 = l_Lean_Meta_Split_getSimpMatchContext(x_4, x_5, x_6, x_7, x_12);
|
||||
x_14 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_14);
|
||||
x_15 = lean_ctor_get(x_13, 1);
|
||||
|
|
@ -2567,7 +2495,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -2575,21 +2503,21 @@ x_1 = lean_mk_string_unchecked("discrGeneralizationFailure", 26, 26);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__1;
|
||||
x_2 = l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__2;
|
||||
x_2 = l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__2;
|
||||
x_3 = l_Lean_registerInternalExceptionId(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -8657,7 +8585,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__6___closed__1;
|
||||
x_2 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__6___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(126u);
|
||||
x_3 = lean_unsigned_to_nat(125u);
|
||||
x_4 = lean_unsigned_to_nat(59u);
|
||||
x_5 = l_List_forIn_x27_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__3___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -20114,7 +20042,7 @@ lean_dec(x_5);
|
|||
return x_11;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20122,17 +20050,17 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20140,17 +20068,17 @@ x_1 = lean_mk_string_unchecked("Meta", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20158,17 +20086,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20176,37 +20104,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__7;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__9() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__1;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__10() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__9;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__9;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__11() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20214,17 +20142,17 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__12() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__11;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__13() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20232,17 +20160,17 @@ x_1 = lean_mk_string_unchecked("Split", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__14() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__12;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__13;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__12;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__15() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20250,33 +20178,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__16() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__14;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__15;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__14;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__15;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__17() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__16;
|
||||
x_2 = lean_unsigned_to_nat(7138u);
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__16;
|
||||
x_2 = lean_unsigned_to_nat(7134u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__7___closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__17;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__17;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -20337,11 +20265,10 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Generalize(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__1 = _init_l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__1);
|
||||
l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__2 = _init_l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__2();
|
||||
l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__3 = _init_l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_getSimpMatchContext___rarg___closed__3);
|
||||
l_Lean_Meta_Split_getSimpMatchContext___closed__1 = _init_l_Lean_Meta_Split_getSimpMatchContext___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_getSimpMatchContext___closed__1);
|
||||
l_Lean_Meta_Split_getSimpMatchContext___closed__2 = _init_l_Lean_Meta_Split_getSimpMatchContext___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_getSimpMatchContext___closed__2);
|
||||
l_Lean_Meta_Split_simpMatch_pre___closed__1 = _init_l_Lean_Meta_Split_simpMatch_pre___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_simpMatch_pre___closed__1);
|
||||
l_Lean_Meta_Split_simpMatch___lambda__2___closed__1 = _init_l_Lean_Meta_Split_simpMatch___lambda__2___closed__1();
|
||||
|
|
@ -20376,11 +20303,11 @@ l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed
|
|||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__1);
|
||||
l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__2 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___closed__2);
|
||||
l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__1 = _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__1);
|
||||
l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__2 = _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923____closed__2);
|
||||
if (builtin) {res = l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_923_(lean_io_mk_world());
|
||||
l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__1 = _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__1);
|
||||
l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__2 = _init_l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919____closed__2);
|
||||
if (builtin) {res = l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split___hyg_919_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Meta_Split_discrGenExId = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Meta_Split_discrGenExId);
|
||||
|
|
@ -20597,41 +20524,41 @@ l_Lean_Meta_splitTarget_x3f___lambda__1___closed__2 = _init_l_Lean_Meta_splitTar
|
|||
lean_mark_persistent(l_Lean_Meta_splitTarget_x3f___lambda__1___closed__2);
|
||||
l_Lean_Meta_splitTarget_x3f___lambda__1___closed__3 = _init_l_Lean_Meta_splitTarget_x3f___lambda__1___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_splitTarget_x3f___lambda__1___closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__13);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__14);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__15);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__16);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__17();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138____closed__17);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7138_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__13);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__14);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__15);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__16);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__17();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134____closed__17);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Split___hyg_7134_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
377
stage0/stdlib/Lean/Meta/Tactic/SplitIf.c
generated
377
stage0/stdlib/Lean/Meta/Tactic/SplitIf.c
generated
|
|
@ -14,25 +14,24 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__5;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__11;
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__9;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__6;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__12;
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__11;
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__5___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_Meta_splitIfLocalDecl_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__2;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_simpIfLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__9;
|
||||
uint8_t l_Lean_Expr_isDIte(lean_object*);
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__8;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__4;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___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*);
|
||||
static lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__4;
|
||||
lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint32_t l_UInt32_ofNatTruncate(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__13;
|
||||
static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitIfTarget_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
||||
|
|
@ -45,12 +44,10 @@ LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_
|
|||
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclRevM_x3f___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclRevM_x3f___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_mkDischarge_x3f___elambda__1(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_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__7;
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__10;
|
||||
lean_object* lean_array_fget(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_byCasesDec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -58,15 +55,15 @@ lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Simp_synthesizeArgs___spec__
|
|||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__7;
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__11;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_findIfToSplit_x3f___lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__11;
|
||||
static lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__3;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__10;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__2___closed__5;
|
||||
static lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__3;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__12;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__8;
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__9;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__14;
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__6;
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_appArg_x21(lean_object*);
|
||||
|
|
@ -77,16 +74,17 @@ lean_object* l_Lean_LocalDecl_index(lean_object*);
|
|||
static lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__2;
|
||||
uint8_t l_Lean_Expr_hasMVar(lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__10;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__2___closed__4;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__14;
|
||||
extern lean_object* l_Lean_PersistentHashMap_empty___at_Lean_Meta_instInhabitedSimpTheorems___spec__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__1;
|
||||
lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__5;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__12;
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__3;
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__8;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__8;
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__12;
|
||||
static uint32_t l_Lean_Meta_SplitIf_getSimpContext___closed__14;
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__5;
|
||||
lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
|
|
@ -103,6 +101,7 @@ lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_simpTarget(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__15;
|
||||
lean_object* l_Lean_Meta_DiscrTree_empty(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_splitIfTarget_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___closed__2;
|
||||
|
|
@ -116,20 +115,20 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_getSimpContext(lean_object*, lean_o
|
|||
lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_congrArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__2___closed__2;
|
||||
static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_mkDischarge_x3f(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__4;
|
||||
lean_object* l_Lean_Meta_mkDecide(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_findIfToSplit_x3f___boxed(lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__11;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_findIfToSplit_x3f___closed__2;
|
||||
lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_mkDischarge_x3f___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_simpIfTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isIte(lean_object*);
|
||||
lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__4;
|
||||
uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*);
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__2;
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__1;
|
||||
|
|
@ -137,14 +136,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_mkDischarge_x3f___boxed(lean_object
|
|||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_findIfToSplit_x3f(lean_object*);
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__10;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__3;
|
||||
lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*);
|
||||
|
|
@ -153,6 +150,7 @@ lean_object* l_Lean_LocalDecl_type(lean_object*);
|
|||
lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_congrArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__2___closed__3;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__9;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_findIfToSplit_x3f___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfTarget_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
|
|
@ -160,16 +158,16 @@ lean_object* l_Lean_Meta_SimpTheorems_addConst(lean_object*, lean_object*, uint8
|
|||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__7;
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__6;
|
||||
extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps;
|
||||
uint8_t l_Lean_Expr_hasFVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__2(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* l_Lean_Expr_fvar___override(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__13;
|
||||
lean_object* l_Lean_Meta_simpLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__8;
|
||||
lean_object* lean_local_ctx_num_indices(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -188,12 +186,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_Split
|
|||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___lambda__2___closed__7;
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__4;
|
||||
uint8_t l_Lean_Exception_isRuntime(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___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_SplitIf_getSimpContext___closed__13;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_SplitIf_getSimpContext___closed__2;
|
||||
lean_object* l_panic___at_Lean_Meta_subst_substEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__2;
|
||||
static lean_object* l_Lean_Meta_simpIfTarget___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__6;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_findIfToSplit_x3f___closed__3;
|
||||
|
|
@ -347,15 +346,6 @@ lean_ctor_set_uint8(x_6, sizeof(void*)*2 + 18, x_4);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static uint32_t _init_l_Lean_Meta_SplitIf_getSimpContext___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint32_t x_2;
|
||||
x_1 = lean_unsigned_to_nat(2u);
|
||||
x_2 = l_UInt32_ofNatTruncate(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_SplitIf_getSimpContext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -408,6 +398,9 @@ lean_inc(x_21);
|
|||
lean_dec(x_19);
|
||||
x_22 = l_Lean_Meta_SplitIf_getSimpContext___closed__12;
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_23 = l_Lean_Meta_SimpTheorems_addConst(x_20, x_22, x_8, x_9, x_10, x_1, x_2, x_3, x_4, x_21);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
|
|
@ -418,169 +411,152 @@ x_25 = lean_ctor_get(x_23, 1);
|
|||
lean_inc(x_25);
|
||||
lean_dec(x_23);
|
||||
x_26 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_4, x_25);
|
||||
lean_dec(x_4);
|
||||
x_27 = !lean_is_exclusive(x_26);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint32_t x_33; lean_object* x_34; uint32_t x_35; lean_object* x_36; lean_object* x_37;
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_28 = lean_ctor_get(x_26, 0);
|
||||
x_29 = lean_box(0);
|
||||
x_30 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_24);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
x_31 = lean_array_mk(x_30);
|
||||
x_32 = lean_box(0);
|
||||
x_33 = 0;
|
||||
x_34 = l_Lean_Meta_SplitIf_getSimpContext___closed__13;
|
||||
x_35 = l_Lean_Meta_SplitIf_getSimpContext___closed__14;
|
||||
x_36 = lean_unsigned_to_nat(0u);
|
||||
x_37 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_37, 0, x_34);
|
||||
lean_ctor_set(x_37, 1, x_31);
|
||||
lean_ctor_set(x_37, 2, x_28);
|
||||
lean_ctor_set(x_37, 3, x_32);
|
||||
lean_ctor_set(x_37, 4, x_36);
|
||||
lean_ctor_set_uint32(x_37, sizeof(void*)*5, x_35);
|
||||
lean_ctor_set_uint32(x_37, sizeof(void*)*5 + 4, x_33);
|
||||
lean_ctor_set_uint8(x_37, sizeof(void*)*5 + 8, x_9);
|
||||
lean_ctor_set(x_26, 0, x_37);
|
||||
return x_26;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint32_t x_44; lean_object* x_45; uint32_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
|
||||
x_38 = lean_ctor_get(x_26, 0);
|
||||
x_39 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_39);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_26);
|
||||
x_40 = lean_box(0);
|
||||
x_41 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_41, 0, x_24);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
x_42 = lean_array_mk(x_41);
|
||||
x_43 = lean_box(0);
|
||||
x_44 = 0;
|
||||
x_45 = l_Lean_Meta_SplitIf_getSimpContext___closed__13;
|
||||
x_46 = l_Lean_Meta_SplitIf_getSimpContext___closed__14;
|
||||
x_47 = lean_unsigned_to_nat(0u);
|
||||
x_48 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_48, 0, x_45);
|
||||
lean_ctor_set(x_48, 1, x_42);
|
||||
lean_ctor_set(x_48, 2, x_38);
|
||||
lean_ctor_set(x_48, 3, x_43);
|
||||
lean_ctor_set(x_48, 4, x_47);
|
||||
lean_ctor_set_uint32(x_48, sizeof(void*)*5, x_46);
|
||||
lean_ctor_set_uint32(x_48, sizeof(void*)*5 + 4, x_44);
|
||||
lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 8, x_9);
|
||||
x_49 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_48);
|
||||
lean_ctor_set(x_49, 1, x_39);
|
||||
return x_49;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_50;
|
||||
x_29 = lean_ctor_get(x_26, 1);
|
||||
x_30 = lean_box(0);
|
||||
lean_ctor_set_tag(x_26, 1);
|
||||
lean_ctor_set(x_26, 1, x_30);
|
||||
lean_ctor_set(x_26, 0, x_24);
|
||||
x_31 = lean_array_mk(x_26);
|
||||
x_32 = l_Lean_Meta_SplitIf_getSimpContext___closed__13;
|
||||
x_33 = l_Lean_Meta_Simp_mkContext(x_32, x_31, x_28, x_1, x_2, x_3, x_4, x_29);
|
||||
lean_dec(x_4);
|
||||
x_50 = !lean_is_exclusive(x_23);
|
||||
if (x_50 == 0)
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_33;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
|
||||
x_34 = lean_ctor_get(x_26, 0);
|
||||
x_35 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_35);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_26);
|
||||
x_36 = lean_box(0);
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_24);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
x_38 = lean_array_mk(x_37);
|
||||
x_39 = l_Lean_Meta_SplitIf_getSimpContext___closed__13;
|
||||
x_40 = l_Lean_Meta_Simp_mkContext(x_39, x_38, x_34, x_1, x_2, x_3, x_4, x_35);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_40;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_41;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_41 = !lean_is_exclusive(x_23);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_51 = lean_ctor_get(x_23, 0);
|
||||
x_52 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_52);
|
||||
lean_inc(x_51);
|
||||
lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_42 = lean_ctor_get(x_23, 0);
|
||||
x_43 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_43);
|
||||
lean_inc(x_42);
|
||||
lean_dec(x_23);
|
||||
x_53 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_51);
|
||||
lean_ctor_set(x_53, 1, x_52);
|
||||
return x_53;
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_42);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
return x_44;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_54;
|
||||
uint8_t x_45;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_54 = !lean_is_exclusive(x_19);
|
||||
if (x_54 == 0)
|
||||
x_45 = !lean_is_exclusive(x_19);
|
||||
if (x_45 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_55 = lean_ctor_get(x_19, 0);
|
||||
x_56 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_56);
|
||||
lean_inc(x_55);
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = lean_ctor_get(x_19, 0);
|
||||
x_47 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_19);
|
||||
x_57 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_55);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
return x_57;
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_58;
|
||||
uint8_t x_49;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_58 = !lean_is_exclusive(x_15);
|
||||
if (x_58 == 0)
|
||||
x_49 = !lean_is_exclusive(x_15);
|
||||
if (x_49 == 0)
|
||||
{
|
||||
return x_15;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
x_59 = lean_ctor_get(x_15, 0);
|
||||
x_60 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_60);
|
||||
lean_inc(x_59);
|
||||
lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_50 = lean_ctor_get(x_15, 0);
|
||||
x_51 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_15);
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_59);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
return x_61;
|
||||
x_52 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_62;
|
||||
uint8_t x_53;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_62 = !lean_is_exclusive(x_11);
|
||||
if (x_62 == 0)
|
||||
x_53 = !lean_is_exclusive(x_11);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
return x_11;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
x_63 = lean_ctor_get(x_11, 0);
|
||||
x_64 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_54 = lean_ctor_get(x_11, 0);
|
||||
x_55 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_55);
|
||||
lean_inc(x_54);
|
||||
lean_dec(x_11);
|
||||
x_65 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_63);
|
||||
lean_ctor_set(x_65, 1, x_64);
|
||||
return x_65;
|
||||
x_56 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_54);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
return x_56;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3667,7 +3643,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_simpIfTarget___closed__8;
|
||||
x_2 = l_Lean_Meta_simpIfTarget___closed__9;
|
||||
x_3 = lean_unsigned_to_nat(96u);
|
||||
x_3 = lean_unsigned_to_nat(95u);
|
||||
x_4 = lean_unsigned_to_nat(4u);
|
||||
x_5 = l_Lean_Meta_simpIfTarget___closed__10;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -3891,7 +3867,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_simpIfTarget___closed__8;
|
||||
x_2 = l_Lean_Meta_simpIfLocalDecl___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(103u);
|
||||
x_3 = lean_unsigned_to_nat(102u);
|
||||
x_4 = lean_unsigned_to_nat(4u);
|
||||
x_5 = l_Lean_Meta_simpIfTarget___closed__10;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -6346,7 +6322,7 @@ x_12 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1(x
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -6354,27 +6330,27 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__2;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__2;
|
||||
x_2 = l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -6382,17 +6358,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__4;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__3;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -6400,47 +6376,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__5;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__6;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__5;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__1;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__9() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__8;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__8;
|
||||
x_2 = l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__10() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__9;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__9;
|
||||
x_2 = l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__11() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -6448,17 +6424,17 @@ x_1 = lean_mk_string_unchecked("SplitIf", 7, 7);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__12() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__11;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__13() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -6466,33 +6442,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__14() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__12;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__13;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__12;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__15() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__14;
|
||||
x_2 = lean_unsigned_to_nat(1611u);
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__14;
|
||||
x_2 = lean_unsigned_to_nat(1609u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___closed__4;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__15;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__15;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -6536,7 +6512,6 @@ l_Lean_Meta_SplitIf_getSimpContext___closed__12 = _init_l_Lean_Meta_SplitIf_getS
|
|||
lean_mark_persistent(l_Lean_Meta_SplitIf_getSimpContext___closed__12);
|
||||
l_Lean_Meta_SplitIf_getSimpContext___closed__13 = _init_l_Lean_Meta_SplitIf_getSimpContext___closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_SplitIf_getSimpContext___closed__13);
|
||||
l_Lean_Meta_SplitIf_getSimpContext___closed__14 = _init_l_Lean_Meta_SplitIf_getSimpContext___closed__14();
|
||||
l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__1 = _init_l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__1();
|
||||
lean_mark_persistent(l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__1);
|
||||
l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__2 = _init_l_Array_findSomeRevM_x3f_find___at___private_Lean_Meta_Tactic_SplitIf_0__Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__2();
|
||||
|
|
@ -6633,37 +6608,37 @@ l_Lean_Meta_simpIfLocalDecl___closed__2 = _init_l_Lean_Meta_simpIfLocalDecl___cl
|
|||
lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__2);
|
||||
l_Lean_Meta_simpIfLocalDecl___closed__3 = _init_l_Lean_Meta_simpIfLocalDecl___closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__13);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__14);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611____closed__15);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1611_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__13);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__14);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609____closed__15);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1609_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
125
stage0/stdlib/Lean/Meta/Tactic/Unfold.c
generated
125
stage0/stdlib/Lean/Meta/Tactic/Unfold.c
generated
|
|
@ -17,16 +17,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_zetaDeltaTarget___lambda__1___boxed(lean_ob
|
|||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_replaceTargetDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__2;
|
||||
uint32_t l_UInt32_ofNatTruncate(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfold___lambda__3___closed__1;
|
||||
lean_object* l_Lean_Meta_Simp_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfold___closed__9;
|
||||
static lean_object* l_Lean_Meta_unfold___closed__1;
|
||||
|
|
@ -50,7 +48,6 @@ extern lean_object* l_Lean_Meta_Simp_neutralConfig;
|
|||
static lean_object* l_Lean_Meta_unfold___closed__7;
|
||||
lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold_pre___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__2;
|
||||
lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_zetaDeltaFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_reduceMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -60,14 +57,15 @@ static lean_object* l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__1;
|
|||
static lean_object* l_Lean_Meta_unfold___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_zetaDeltaLocalDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold___lambda__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__5;
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__4;
|
||||
lean_object* l_Lean_Meta_isRflTheorem(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfold___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__1;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -87,7 +85,6 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obj
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
static uint32_t l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__1;
|
||||
static lean_object* l_Lean_Meta_unfold___closed__11;
|
||||
lean_object* l_Lean_Expr_fvar___override(lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfold___closed__4;
|
||||
|
|
@ -97,7 +94,7 @@ lean_object* l_Lean_Meta_Simp_tryTheorem_x3f(lean_object*, lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_unfold___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfold___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_zetaDeltaLocalDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_replaceLocalDeclDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_applySimpResultToTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_unfold___closed__8;
|
||||
|
|
@ -107,16 +104,7 @@ lean_object* l_Lean_MessageData_ofName(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_unfoldTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfoldTarget___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___at_Lean_Meta_subst_substEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static uint32_t _init_l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint32_t x_2;
|
||||
x_1 = lean_unsigned_to_nat(2u);
|
||||
x_2 = l_UInt32_ofNatTruncate(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__2() {
|
||||
static lean_object* _init_l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -125,92 +113,32 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
x_3 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_1, x_2);
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; uint32_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = lean_box(0);
|
||||
x_7 = 0;
|
||||
x_8 = l_Lean_Meta_Simp_neutralConfig;
|
||||
x_9 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__1;
|
||||
x_10 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__2;
|
||||
x_11 = lean_unsigned_to_nat(0u);
|
||||
x_12 = 0;
|
||||
x_13 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_13, 0, x_8);
|
||||
lean_ctor_set(x_13, 1, x_10);
|
||||
lean_ctor_set(x_13, 2, x_5);
|
||||
lean_ctor_set(x_13, 3, x_6);
|
||||
lean_ctor_set(x_13, 4, x_11);
|
||||
lean_ctor_set_uint32(x_13, sizeof(void*)*5, x_9);
|
||||
lean_ctor_set_uint32(x_13, sizeof(void*)*5 + 4, x_7);
|
||||
lean_ctor_set_uint8(x_13, sizeof(void*)*5 + 8, x_12);
|
||||
lean_ctor_set(x_3, 0, x_13);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint32_t x_17; lean_object* x_18; uint32_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24;
|
||||
x_14 = lean_ctor_get(x_3, 0);
|
||||
x_15 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_3);
|
||||
x_16 = lean_box(0);
|
||||
x_17 = 0;
|
||||
x_18 = l_Lean_Meta_Simp_neutralConfig;
|
||||
x_19 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__1;
|
||||
x_20 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__2;
|
||||
x_21 = lean_unsigned_to_nat(0u);
|
||||
x_22 = 0;
|
||||
x_23 = lean_alloc_ctor(0, 5, 9);
|
||||
lean_ctor_set(x_23, 0, x_18);
|
||||
lean_ctor_set(x_23, 1, x_20);
|
||||
lean_ctor_set(x_23, 2, x_14);
|
||||
lean_ctor_set(x_23, 3, x_16);
|
||||
lean_ctor_set(x_23, 4, x_21);
|
||||
lean_ctor_set_uint32(x_23, sizeof(void*)*5, x_19);
|
||||
lean_ctor_set_uint32(x_23, sizeof(void*)*5 + 4, x_17);
|
||||
lean_ctor_set_uint8(x_23, sizeof(void*)*5 + 8, x_22);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
lean_ctor_set(x_24, 1, x_15);
|
||||
return x_24;
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_6 = l_Lean_Meta_getSimpCongrTheorems___rarg(x_4, x_5);
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_6);
|
||||
x_9 = l_Lean_Meta_Simp_neutralConfig;
|
||||
x_10 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___closed__1;
|
||||
x_11 = l_Lean_Meta_Simp_mkContext(x_9, x_10, x_7, x_1, x_2, x_3, x_4, x_8);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___boxed), 2, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext(x_1, x_2, x_3);
|
||||
lean_object* x_6;
|
||||
x_6 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_unfold_pre___lambda__1___closed__1() {
|
||||
|
|
@ -1413,7 +1341,7 @@ lean_dec(x_9);
|
|||
x_30 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_10);
|
||||
x_31 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg(x_6, x_29);
|
||||
x_31 = l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext(x_3, x_4, x_5, x_6, x_29);
|
||||
x_32 = lean_ctor_get(x_31, 0);
|
||||
lean_inc(x_32);
|
||||
x_33 = lean_ctor_get(x_31, 1);
|
||||
|
|
@ -1978,7 +1906,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__1;
|
||||
x_2 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__2;
|
||||
x_3 = lean_unsigned_to_nat(43u);
|
||||
x_3 = lean_unsigned_to_nat(42u);
|
||||
x_4 = lean_unsigned_to_nat(94u);
|
||||
x_5 = l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -3008,9 +2936,8 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Simp_Main(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__1 = _init_l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__1();
|
||||
l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__2 = _init_l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___rarg___closed__2);
|
||||
l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___closed__1 = _init_l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___closed__1);
|
||||
l_Lean_Meta_unfold_pre___lambda__1___closed__1 = _init_l_Lean_Meta_unfold_pre___lambda__1___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_unfold_pre___lambda__1___closed__1);
|
||||
l_Lean_Meta_unfold_pre___closed__1 = _init_l_Lean_Meta_unfold_pre___closed__1();
|
||||
|
|
|
|||
57
stage0/stdlib/Lean/Meta/UnificationHint.c
generated
57
stage0/stdlib/Lean/Meta/UnificationHint.c
generated
|
|
@ -204,6 +204,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Unific
|
|||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_instToFormatUnificationHints___spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_List_forM___at___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___spec__1___closed__2;
|
||||
lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_tryUnificationHints_tryCandidate___lambda__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_checkpointDefEq___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -9574,33 +9575,55 @@ return x_14;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_tryUnificationHints___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_ctor_get_uint8(x_9, 5);
|
||||
lean_dec(x_9);
|
||||
if (x_10 == 0)
|
||||
lean_object* x_9; lean_object* x_10; uint8_t x_11;
|
||||
x_9 = l_Lean_Meta_getConfig(x_4, x_5, x_6, x_7, x_8);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
x_11 = lean_ctor_get_uint8(x_10, 5);
|
||||
lean_dec(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
uint8_t x_11; lean_object* x_12; lean_object* x_13;
|
||||
uint8_t x_12;
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_11 = 0;
|
||||
x_12 = lean_box(x_11);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_8);
|
||||
return x_13;
|
||||
x_12 = !lean_is_exclusive(x_9);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14; lean_object* x_15;
|
||||
x_13 = lean_ctor_get(x_9, 0);
|
||||
lean_dec(x_13);
|
||||
x_14 = 0;
|
||||
x_15 = lean_box(x_14);
|
||||
lean_ctor_set(x_9, 0, x_15);
|
||||
return x_9;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_box(0);
|
||||
x_15 = l_Lean_Meta_tryUnificationHints___lambda__3(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_15;
|
||||
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_16 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_9);
|
||||
x_17 = 0;
|
||||
x_18 = lean_box(x_17);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
lean_ctor_set(x_19, 1, x_16);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_20 = lean_ctor_get(x_9, 1);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_9);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = l_Lean_Meta_tryUnificationHints___lambda__3(x_1, x_2, x_21, x_4, x_5, x_6, x_7, x_20);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
138
stage0/stdlib/Lean/Meta/WHNF.c
generated
138
stage0/stdlib/Lean/Meta/WHNF.c
generated
|
|
@ -57,8 +57,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_reducePow___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__7;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfoldDefinition(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reducePow___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -75,7 +73,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_reduceNat_x3f(lean_object*, lean_object*, l
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_reduceRecMatcher_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__2___boxed(lean_object**);
|
||||
double lean_float_div(double, double);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -194,7 +191,6 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed_
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_getStuckMVar_x3f___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_markSmartUnfoldingMatch___closed__2;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__10;
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_hasSmartUnfoldingDecl(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__4;
|
||||
static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__1;
|
||||
|
|
@ -232,7 +228,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withNatValue___rarg___lambda__1(lean_object
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_project_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_projectionFnInfoExt;
|
||||
lean_object* l_Nat_gcd___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__3;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfHeadPred___at_Lean_Meta_whnfUntil___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_whnfImp___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_isLambda(lean_object*);
|
||||
|
|
@ -257,6 +253,7 @@ lean_object* lean_expr_abstract(lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3546____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfoldProjInst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__2;
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__25;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -267,6 +264,7 @@ static lean_object* l_Lean_Meta_reduceNat_x3f___closed__19;
|
|||
static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___lambda__3___closed__1;
|
||||
static lean_object* l_Lean_withTraceNode___at_Lean_Meta_whnfImp___spec__1___lambda__4___closed__3;
|
||||
static lean_object* l_Lean_Meta_reduceRecMatcher_x3f___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__6;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec(lean_object*);
|
||||
lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -308,10 +306,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f(uint
|
|||
uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceNat_x3f___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_ofNat___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__4;
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__24;
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__8;
|
||||
extern lean_object* l___private_Lean_Expr_0__Lean_natAddFn;
|
||||
|
|
@ -326,6 +324,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_markSmartUnfoldingMatch(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_project_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__10;
|
||||
static lean_object* l_Lean_Meta_reduceNative_x3f___closed__10;
|
||||
static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte___closed__1;
|
||||
lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_matchesInstance___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -382,13 +381,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___
|
|||
static lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatchAlt_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Meta_whnfImp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__4;
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_instDecidableEqProjReductionKind(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_withTraceNode___at_Lean_Meta_whnfImp___spec__1___lambda__3___closed__2;
|
||||
lean_object* l_Nat_beq___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__26;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__12;
|
||||
lean_object* l_Lean_getStructureInfo_x3f(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__37;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceUnaryNatOp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -431,14 +430,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__10___boxed(lean_ob
|
|||
static lean_object* l_Lean_Meta_markSmartUnfoldingMatch___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte___lambda__1___boxed(lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceMatcher_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__2;
|
||||
static lean_object* l_Lean_Meta_reduceNative_x3f___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_mkSmartUnfoldingNameFor(lean_object*);
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -450,6 +446,7 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_
|
|||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__17;
|
||||
lean_object* l_Nat_mul___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__1;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__8;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -543,9 +540,11 @@ LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUn
|
|||
static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__2___closed__2;
|
||||
static lean_object* l_Lean_Meta_whnfHeadPred___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_toCtorIdx(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__12;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -586,6 +585,7 @@ lean_object* l_Lean_indentExpr(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__2___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatPred___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___spec__1(lean_object*, size_t, size_t);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__2___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -628,11 +628,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfUntil___sp
|
|||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__11;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__6;
|
||||
lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_reducePow___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__8;
|
||||
lean_object* l_Nat_xor___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getFirstCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -682,6 +682,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatPred___lambda__1___boxed(lean_o
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_matchConstAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_trace_profiler;
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isWFRec___boxed(lean_object*);
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -692,9 +693,9 @@ lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_o
|
|||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__14;
|
||||
static lean_object* l_Lean_Meta_reduceNat_x3f___closed__17;
|
||||
static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3546____closed__18;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__22;
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__1;
|
||||
static lean_object* l_Lean_Meta_reduceNative_x3f___closed__6;
|
||||
lean_object* l_Lean_Meta_useEtaStruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3546____closed__17;
|
||||
|
|
@ -705,7 +706,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor__
|
|||
lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_reduceNative_x3f___closed__7;
|
||||
lean_object* l_Nat_shiftLeft___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__3;
|
||||
lean_object* l_Lean_Expr_headBeta(lean_object*);
|
||||
|
|
@ -736,6 +736,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
|
|||
lean_object* lean_get_structural_rec_arg_pos(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_reducePow___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -746,7 +747,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingReduce_x3f(lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_unfoldProjInst_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -43988,7 +43988,7 @@ return x_38;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -43998,17 +43998,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__1;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__1;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -44016,17 +44016,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__2;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -44034,37 +44034,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__5;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__4;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__6;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__6;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__7;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__7;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__9() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -44072,17 +44072,17 @@ x_1 = lean_mk_string_unchecked("WHNF", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__10() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__9;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__8;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__11() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -44090,33 +44090,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__12() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__11;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__10;
|
||||
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__13() {
|
||||
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__12;
|
||||
x_2 = lean_unsigned_to_nat(10917u);
|
||||
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__12;
|
||||
x_2 = lean_unsigned_to_nat(10892u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__2___closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__13;
|
||||
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__13;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -44596,33 +44596,33 @@ l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___lambda__3___closed_
|
|||
lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___lambda__3___closed__1);
|
||||
l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___lambda__3___closed__2 = _init_l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___lambda__3___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__3___lambda__3___closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917____closed__13);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10917_(lean_io_mk_world());
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__1);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__2);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__3);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__4);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__5);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__6);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__7);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__8);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__9);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__10);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__11);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__12);
|
||||
l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892____closed__13);
|
||||
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_10892_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Server/FileWorker.c
generated
4
stage0/stdlib/Lean/Server/FileWorker.c
generated
|
|
@ -23,7 +23,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileW
|
|||
lean_object* l_ImportCompletion_collectAvailableImports(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__3;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1850____at_Lean_Server_FileWorker_handleRequest___spec__4___closed__9;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_goSeq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_setupImports___lambda__1___closed__1;
|
||||
|
|
@ -364,6 +363,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports(lean_object*, lea
|
|||
static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoFinalNotification___closed__1;
|
||||
static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleRequest___spec__5(size_t, size_t, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_FileWorker_runRefreshTask___spec__2___closed__1;
|
||||
|
|
@ -20468,7 +20468,7 @@ lean_inc(x_23);
|
|||
x_27 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(x_23, x_26);
|
||||
x_28 = l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__5;
|
||||
lean_inc(x_23);
|
||||
x_29 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_23, x_28);
|
||||
x_29 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_23, x_28);
|
||||
x_30 = l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__6;
|
||||
lean_inc(x_23);
|
||||
x_31 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(x_23, x_30);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Server/Watchdog.c
generated
4
stage0/stdlib/Lean/Server/Watchdog.c
generated
|
|
@ -26,7 +26,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Wat
|
|||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_2012____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_findFileWorker_x3f(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Server_Watchdog_handleRename___spec__13___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls_collapseSameOutgoingCalls___spec__2(lean_object*, lean_object*);
|
||||
|
|
@ -538,6 +537,7 @@ static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__8;
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleRequest___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__50;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_handleCancelRequest___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_handleRequest___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Server_Watchdog_handleNotification___closed__1;
|
||||
|
|
@ -46221,7 +46221,7 @@ lean_inc(x_23);
|
|||
x_27 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(x_23, x_26);
|
||||
x_28 = l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__3;
|
||||
lean_inc(x_23);
|
||||
x_29 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_23, x_28);
|
||||
x_29 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_23, x_28);
|
||||
x_30 = l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__4;
|
||||
lean_inc(x_23);
|
||||
x_31 = l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(x_23, x_30);
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Util/Profiler.c
generated
18
stage0/stdlib/Lean/Util/Profiler.c
generated
|
|
@ -24,7 +24,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Util_P
|
|||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__37___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_807____spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_2917_(lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_2917____closed__4;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonProfileMeta____x40_Lean_Util_Profiler___hyg_333____closed__19;
|
||||
|
|
@ -408,6 +407,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_toJsonSt
|
|||
static lean_object* l_Lean_Firefox_categories___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_toJsonThread____x40_Lean_Util_Profiler___hyg_3335_(lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFuncTable____x40_Lean_Util_Profiler___hyg_1585____closed__20;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonResourceTable____x40_Lean_Util_Profiler___hyg_2658____closed__9;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFuncTable____x40_Lean_Util_Profiler___hyg_1585____closed__22;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFrameTable____x40_Lean_Util_Profiler___hyg_2112____closed__18;
|
||||
|
|
@ -497,6 +497,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Profile
|
|||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_807____closed__5;
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFuncTable____x40_Lean_Util_Profiler___hyg_1585____closed__8;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Util_Profiler_0__Lean_Firefox_addTrace_go___spec__37(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Firefox_instFromJsonStackTable___closed__1;
|
||||
static lean_object* l_Lean_Firefox_categories___closed__11;
|
||||
|
|
@ -602,7 +603,6 @@ uint8_t lean_usize_dec_lt(size_t, size_t);
|
|||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonStackTable____x40_Lean_Util_Profiler___hyg_807____closed__15;
|
||||
static lean_object* l_Lean_Firefox_instToJsonCategory___closed__1;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonFrameTable____x40_Lean_Util_Profiler___hyg_2112____closed__16;
|
||||
static lean_object* l_Lean_Firefox_Profile_collide___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_2917____spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -1048,7 +1048,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonCategory____x40_Lean_Util_Profiler___hyg_44____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -1086,7 +1086,7 @@ lean_inc(x_12);
|
|||
lean_dec(x_3);
|
||||
x_13 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonCategory____x40_Lean_Util_Profiler___hyg_44____closed__15;
|
||||
lean_inc(x_1);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_13);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
uint8_t x_15;
|
||||
|
|
@ -2374,7 +2374,7 @@ lean_inc(x_45);
|
|||
lean_dec(x_36);
|
||||
x_46 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonProfileMeta____x40_Lean_Util_Profiler___hyg_333____closed__25;
|
||||
lean_inc(x_1);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_46);
|
||||
x_47 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_46);
|
||||
if (lean_obj_tag(x_47) == 0)
|
||||
{
|
||||
uint8_t x_48;
|
||||
|
|
@ -4912,7 +4912,7 @@ lean_inc(x_34);
|
|||
lean_dec(x_25);
|
||||
x_35 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonSamplesTable____x40_Lean_Util_Profiler___hyg_1172____closed__20;
|
||||
lean_inc(x_1);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_35);
|
||||
x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_35);
|
||||
if (lean_obj_tag(x_36) == 0)
|
||||
{
|
||||
uint8_t x_37;
|
||||
|
|
@ -8075,7 +8075,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonCategory____x40_Lean_Util_Profiler___hyg_44____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -8113,7 +8113,7 @@ lean_inc(x_12);
|
|||
lean_dec(x_3);
|
||||
x_13 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonProfileMeta____x40_Lean_Util_Profiler___hyg_333____closed__20;
|
||||
lean_inc(x_1);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__1(x_1, x_13);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__1(x_1, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
uint8_t x_15;
|
||||
|
|
@ -8152,7 +8152,7 @@ lean_inc(x_23);
|
|||
lean_dec(x_14);
|
||||
x_24 = l___private_Lean_Util_Profiler_0__Lean_Firefox_fromJsonThread____x40_Lean_Util_Profiler___hyg_2917____closed__9;
|
||||
lean_inc(x_1);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2800____spec__4(x_1, x_24);
|
||||
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fromJsonBaseMessage____x40_Lean_Message___hyg_2878____spec__4(x_1, x_24);
|
||||
if (lean_obj_tag(x_25) == 0)
|
||||
{
|
||||
uint8_t x_26;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue