chore: update stage0

This commit is contained in:
Lean stage0 autoupdater 2026-02-10 22:17:26 +00:00
parent 5115b8f361
commit d886be121e
71 changed files with 80016 additions and 47154 deletions

View file

@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura Author: Leonardo de Moura
*/ */
#include <cstring>
#include "runtime/hash.h" #include "runtime/hash.h"
namespace lean { namespace lean {
@ -17,11 +18,13 @@ static uint64 MurmurHash64A(void const * key, size_t len, uint64 seed) {
uint64 h = seed ^ (len * m); uint64 h = seed ^ (len * m);
const uint64 * data = (const uint64 *)key; const unsigned char * data = reinterpret_cast<const unsigned char *>(key);
const uint64 * end = data + (len/8); const unsigned char * end = data + (len/8)*8;
while (data != end) { while (data != end) {
uint64 k = *data++; uint64 k;
memcpy(&k, data, 8);
data += 8;
k *= m; k *= m;
k ^= k >> r; k ^= k >> r;

View file

@ -1094,28 +1094,20 @@ structure Metadata where
constant metadata : @& FilePath IO IO.FS.Metadata constant metadata : @& FilePath IO IO.FS.Metadata
*/ */
static obj_res timespec_to_obj(timespec const & ts) { static obj_res timespec_to_obj(uv_timespec_t const & ts) {
object * o = alloc_cnstr(0, 1, sizeof(uint32)); object * o = alloc_cnstr(0, 1, sizeof(uint32));
cnstr_set(o, 0, lean_int64_to_int(ts.tv_sec)); cnstr_set(o, 0, lean_int64_to_int(ts.tv_sec));
cnstr_set_uint32(o, sizeof(object *), ts.tv_nsec); cnstr_set_uint32(o, sizeof(object *), ts.tv_nsec);
return o; return o;
} }
static obj_res metadata_core(struct stat const & st) { static obj_res metadata_core(uv_stat_t const & st) {
object * mdata = alloc_cnstr(0, 2, sizeof(uint64) + sizeof(uint8)); object * mdata = alloc_cnstr(0, 2, 2 * sizeof(uint64) + sizeof(uint8));
#ifdef __APPLE__
cnstr_set(mdata, 0, timespec_to_obj(st.st_atimespec));
cnstr_set(mdata, 1, timespec_to_obj(st.st_mtimespec));
#elif defined(LEAN_WINDOWS)
// TODO: sub-second precision on Windows
cnstr_set(mdata, 0, timespec_to_obj(timespec { st.st_atime, 0 }));
cnstr_set(mdata, 1, timespec_to_obj(timespec { st.st_mtime, 0 }));
#else
cnstr_set(mdata, 0, timespec_to_obj(st.st_atim)); cnstr_set(mdata, 0, timespec_to_obj(st.st_atim));
cnstr_set(mdata, 1, timespec_to_obj(st.st_mtim)); cnstr_set(mdata, 1, timespec_to_obj(st.st_mtim));
#endif
cnstr_set_uint64(mdata, 2 * sizeof(object *), st.st_size); cnstr_set_uint64(mdata, 2 * sizeof(object *), st.st_size);
cnstr_set_uint8(mdata, 2 * sizeof(object *) + sizeof(uint64), cnstr_set_uint64(mdata, 2 * sizeof(object *) + sizeof(uint64), st.st_nlink);
cnstr_set_uint8(mdata, 2 * sizeof(object *) + 2 * sizeof(uint64),
S_ISDIR(st.st_mode) ? 0 : S_ISDIR(st.st_mode) ? 0 :
S_ISREG(st.st_mode) ? 1 : S_ISREG(st.st_mode) ? 1 :
#ifndef LEAN_WINDOWS #ifndef LEAN_WINDOWS
@ -1130,11 +1122,16 @@ extern "C" LEAN_EXPORT obj_res lean_io_metadata(b_obj_arg filename) {
if (strlen(fname) != lean_string_size(filename) - 1) { if (strlen(fname) != lean_string_size(filename) - 1) {
return mk_embedded_nul_error(filename); return mk_embedded_nul_error(filename);
} }
struct stat st; uv_fs_t req;
if (stat(fname, &st) != 0) { int ret = uv_fs_stat(NULL, &req, fname, NULL);
return io_result_mk_error(decode_io_error(errno, filename)); if (ret < 0) {
uv_fs_req_cleanup(&req);
return io_result_mk_error(decode_uv_error(ret, filename));
} else {
object* mdata = metadata_core(req.statbuf);
uv_fs_req_cleanup(&req);
return mdata;
} }
return metadata_core(st);
} }
extern "C" LEAN_EXPORT obj_res lean_io_symlink_metadata(b_obj_arg filename) { extern "C" LEAN_EXPORT obj_res lean_io_symlink_metadata(b_obj_arg filename) {
@ -1145,11 +1142,16 @@ extern "C" LEAN_EXPORT obj_res lean_io_symlink_metadata(b_obj_arg filename) {
if (strlen(fname) != lean_string_size(filename) - 1) { if (strlen(fname) != lean_string_size(filename) - 1) {
return mk_embedded_nul_error(filename); return mk_embedded_nul_error(filename);
} }
struct stat st; uv_fs_t req;
if (lstat(string_cstr(filename), &st) != 0) { int ret = uv_fs_lstat(NULL, &req, fname, NULL);
return io_result_mk_error(decode_io_error(errno, filename)); if (ret < 0) {
uv_fs_req_cleanup(&req);
return io_result_mk_error(decode_uv_error(ret, filename));
} else {
object* mdata = metadata_core(req.statbuf);
uv_fs_req_cleanup(&req);
return mdata;
} }
return metadata_core(st);
#endif #endif
} }
@ -1328,10 +1330,13 @@ extern "C" LEAN_EXPORT obj_res lean_io_remove_file(b_obj_arg filename) {
if (strlen(fname) != lean_string_size(filename) - 1) { if (strlen(fname) != lean_string_size(filename) - 1) {
return mk_embedded_nul_error(filename); return mk_embedded_nul_error(filename);
} }
if (std::remove(fname) == 0) { uv_fs_t req;
return io_result_mk_ok(box(0)); int ret = uv_fs_unlink(NULL, &req, fname, NULL);
uv_fs_req_cleanup(&req);
if (ret < 0) {
return io_result_mk_error(decode_uv_error(ret, filename));
} else { } else {
return io_result_mk_error(decode_io_error(errno, filename)); return io_result_mk_ok(box(0));
} }
} }

View file

@ -191,14 +191,10 @@ LEAN_EXPORT uint8_t l_Ord_opposite___redArg___lam__0(lean_object*, lean_object*,
LEAN_EXPORT lean_object* l_Ord_opposite___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_opposite___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_opposite___redArg(lean_object*); LEAN_EXPORT lean_object* l_Ord_opposite___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Ord_opposite(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_opposite(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Ord_on___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_on___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_on___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_on___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_on(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_on(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_lex___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_lex___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_lex(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_lex(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Ord_lex_x27___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_lex_x27___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_lex_x27___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_lex_x27___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ord_lex_x27(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Ord_lex_x27(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Ordering_ctorIdx(uint8_t x_1) { LEAN_EXPORT lean_object* l_Ordering_ctorIdx(uint8_t x_1) {
@ -2187,34 +2183,15 @@ lean_closure_set(x_3, 0, x_2);
return x_3; return x_3;
} }
} }
LEAN_EXPORT uint8_t l_Ord_on___redArg___lam__0(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; uint8_t x_8;
lean_inc(x_1);
x_5 = lean_apply_1(x_1, x_3);
x_6 = lean_apply_1(x_1, x_4);
x_7 = lean_apply_2(x_2, x_5, x_6);
x_8 = lean_unbox(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Ord_on___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6;
x_5 = l_Ord_on___redArg___lam__0(x_1, x_2, x_3, x_4);
x_6 = lean_box(x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Ord_on___redArg(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l_Ord_on___redArg(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_Ord_on___redArg___lam__0___boxed), 4, 2); x_3 = lean_alloc_closure((void*)(l_compareOn___boxed), 6, 4);
lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 0, lean_box(0));
lean_closure_set(x_3, 1, x_1); lean_closure_set(x_3, 1, lean_box(0));
lean_closure_set(x_3, 2, x_1);
lean_closure_set(x_3, 3, x_2);
return x_3; return x_3;
} }
} }
@ -2222,9 +2199,11 @@ LEAN_EXPORT lean_object* l_Ord_on(lean_object* x_1, lean_object* x_2, lean_objec
_start: _start:
{ {
lean_object* x_5; lean_object* x_5;
x_5 = lean_alloc_closure((void*)(l_Ord_on___redArg___lam__0___boxed), 4, 2); x_5 = lean_alloc_closure((void*)(l_compareOn___boxed), 6, 4);
lean_closure_set(x_5, 0, x_4); lean_closure_set(x_5, 0, lean_box(0));
lean_closure_set(x_5, 1, x_3); lean_closure_set(x_5, 1, lean_box(0));
lean_closure_set(x_5, 2, x_3);
lean_closure_set(x_5, 3, x_4);
return x_5; return x_5;
} }
} }
@ -2244,48 +2223,15 @@ x_5 = l_lexOrd___redArg(x_3, x_4);
return x_5; return x_5;
} }
} }
LEAN_EXPORT uint8_t l_Ord_lex_x27___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6;
lean_inc(x_4);
lean_inc(x_3);
x_5 = lean_apply_2(x_1, x_3, x_4);
x_6 = lean_unbox(x_5);
if (x_6 == 1)
{
lean_object* x_7; uint8_t x_8;
x_7 = lean_apply_2(x_2, x_3, x_4);
x_8 = lean_unbox(x_7);
return x_8;
}
else
{
uint8_t x_9;
lean_dec(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
x_9 = lean_unbox(x_5);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Ord_lex_x27___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6;
x_5 = l_Ord_lex_x27___redArg___lam__0(x_1, x_2, x_3, x_4);
x_6 = lean_box(x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Ord_lex_x27___redArg(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l_Ord_lex_x27___redArg(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_Ord_lex_x27___redArg___lam__0___boxed), 4, 2); x_3 = lean_alloc_closure((void*)(l_compareLex___boxed), 6, 4);
lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 0, lean_box(0));
lean_closure_set(x_3, 1, x_2); lean_closure_set(x_3, 1, lean_box(0));
lean_closure_set(x_3, 2, x_1);
lean_closure_set(x_3, 3, x_2);
return x_3; return x_3;
} }
} }
@ -2293,9 +2239,11 @@ LEAN_EXPORT lean_object* l_Ord_lex_x27(lean_object* x_1, lean_object* x_2, lean_
_start: _start:
{ {
lean_object* x_4; lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_Ord_lex_x27___redArg___lam__0___boxed), 4, 2); x_4 = lean_alloc_closure((void*)(l_compareLex___boxed), 6, 4);
lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 0, lean_box(0));
lean_closure_set(x_4, 1, x_3); lean_closure_set(x_4, 1, lean_box(0));
lean_closure_set(x_4, 2, x_2);
lean_closure_set(x_4, 3, x_3);
return x_4; return x_4;
} }
} }

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Init.Data.Slice.Array.Lemmas // Module: Init.Data.Slice.Array.Lemmas
// Imports: import all Init.Data.Array.Subarray import all Init.Data.Slice.Array.Basic import Init.Data.Slice.Lemmas public import Init.Data.Slice.Array.Iterator import all Init.Data.Slice.Array.Iterator import all Init.Data.Slice.Operations import all Init.Data.Range.Polymorphic.Iterators import all Init.Data.Range.Polymorphic.Lemmas import Init.Data.Slice.List.Lemmas public import Init.Data.List.Control public import Init.Data.Nat.MinMax public import Init.Data.Slice.Array.Basic import Init.Data.List.Nat.TakeDrop import Init.Data.List.TakeDrop // Imports: public import Init.Data.Slice.Array.Iterator import all Init.Data.Array.Subarray import all Init.Data.Slice.Array.Basic import Init.Data.Slice.Lemmas import all Init.Data.Slice.Array.Iterator import all Init.Data.Slice.Operations import all Init.Data.Range.Polymorphic.Iterators import all Init.Data.Range.Polymorphic.Lemmas import Init.Data.Slice.List.Lemmas public import Init.Data.List.Control public import Init.Data.Nat.MinMax public import Init.Data.Slice.Array.Basic import Init.Data.List.Nat.TakeDrop import Init.Data.List.TakeDrop public import Init.Data.Array.Subarray.Split import all Init.Data.Array.Subarray.Split import Init.Data.Slice.InternalLemmas
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -63,11 +63,11 @@ x_8 = l___private_Init_Data_Slice_Array_Lemmas_0__Std_IterStep_successor_match__
return x_8; return x_8;
} }
} }
lean_object* initialize_Init_Data_Slice_Array_Iterator(uint8_t builtin);
lean_object* initialize_Init_Data_Array_Subarray(uint8_t builtin); lean_object* initialize_Init_Data_Array_Subarray(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Array_Basic(uint8_t builtin); lean_object* initialize_Init_Data_Slice_Array_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Lemmas(uint8_t builtin); lean_object* initialize_Init_Data_Slice_Lemmas(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Array_Iterator(uint8_t builtin); lean_object* initialize_Init_Data_Slice_Array_Iterator(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Array_Iterator(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Operations(uint8_t builtin); lean_object* initialize_Init_Data_Slice_Operations(uint8_t builtin);
lean_object* initialize_Init_Data_Range_Polymorphic_Iterators(uint8_t builtin); lean_object* initialize_Init_Data_Range_Polymorphic_Iterators(uint8_t builtin);
lean_object* initialize_Init_Data_Range_Polymorphic_Lemmas(uint8_t builtin); lean_object* initialize_Init_Data_Range_Polymorphic_Lemmas(uint8_t builtin);
@ -77,11 +77,17 @@ lean_object* initialize_Init_Data_Nat_MinMax(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Array_Basic(uint8_t builtin); lean_object* initialize_Init_Data_Slice_Array_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_List_Nat_TakeDrop(uint8_t builtin); lean_object* initialize_Init_Data_List_Nat_TakeDrop(uint8_t builtin);
lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin); lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin);
lean_object* initialize_Init_Data_Array_Subarray_Split(uint8_t builtin);
lean_object* initialize_Init_Data_Array_Subarray_Split(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_InternalLemmas(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_Slice_Array_Lemmas(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Init_Data_Slice_Array_Lemmas(uint8_t builtin) {
lean_object * res; lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true; _G_initialized = true;
res = initialize_Init_Data_Slice_Array_Iterator(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Array_Subarray(builtin); res = initialize_Init_Data_Array_Subarray(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
@ -94,9 +100,6 @@ lean_dec_ref(res);
res = initialize_Init_Data_Slice_Array_Iterator(builtin); res = initialize_Init_Data_Slice_Array_Iterator(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Init_Data_Slice_Array_Iterator(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Slice_Operations(builtin); res = initialize_Init_Data_Slice_Operations(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
@ -124,6 +127,15 @@ lean_dec_ref(res);
res = initialize_Init_Data_List_TakeDrop(builtin); res = initialize_Init_Data_List_TakeDrop(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Init_Data_Array_Subarray_Split(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Array_Subarray_Split(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Slice_InternalLemmas(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return lean_io_result_mk_ok(lean_box(0)); return lean_io_result_mk_ok(lean_box(0));
} }
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -0,0 +1,45 @@
// Lean compiler output
// Module: Init.Data.Slice.InternalLemmas
// Imports: public import Init.Data.Slice.Operations import all Init.Data.Slice.Operations public import Init.Data.Iterators.Consumers.Collect import Init.Data.Iterators.Lemmas.Consumers import Init.Data.List.Control
#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* initialize_Init_Data_Slice_Operations(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Operations(uint8_t builtin);
lean_object* initialize_Init_Data_Iterators_Consumers_Collect(uint8_t builtin);
lean_object* initialize_Init_Data_Iterators_Lemmas_Consumers(uint8_t builtin);
lean_object* initialize_Init_Data_List_Control(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_Slice_InternalLemmas(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_Slice_Operations(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Slice_Operations(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Iterators_Consumers_Collect(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Iterators_Lemmas_Consumers(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_List_Control(builtin);
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

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Init.Data.Slice.Lemmas // Module: Init.Data.Slice.Lemmas
// Imports: public import Init.Data.Slice.Operations import all Init.Data.Slice.Operations import Init.Data.Iterators.Lemmas.Consumers public import Init.Data.List.Control public import Init.Data.Iterators.Consumers.Collect // Imports: public import Init.Data.Slice.Operations import all Init.Data.Slice.Operations import Init.Data.Iterators.Lemmas.Consumers public import Init.Data.List.Control public import Init.Data.Iterators.Consumers.Collect import Init.Data.Slice.InternalLemmas
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -18,6 +18,7 @@ lean_object* initialize_Init_Data_Slice_Operations(uint8_t builtin);
lean_object* initialize_Init_Data_Iterators_Lemmas_Consumers(uint8_t builtin); lean_object* initialize_Init_Data_Iterators_Lemmas_Consumers(uint8_t builtin);
lean_object* initialize_Init_Data_List_Control(uint8_t builtin); lean_object* initialize_Init_Data_List_Control(uint8_t builtin);
lean_object* initialize_Init_Data_Iterators_Consumers_Collect(uint8_t builtin); lean_object* initialize_Init_Data_Iterators_Consumers_Collect(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_InternalLemmas(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_Slice_Lemmas(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Init_Data_Slice_Lemmas(uint8_t builtin) {
lean_object * res; lean_object * res;
@ -38,6 +39,9 @@ lean_dec_ref(res);
res = initialize_Init_Data_Iterators_Consumers_Collect(builtin); res = initialize_Init_Data_Iterators_Consumers_Collect(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Init_Data_Slice_InternalLemmas(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return lean_io_result_mk_ok(lean_box(0)); return lean_io_result_mk_ok(lean_box(0));
} }
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -2213,7 +2213,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; 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 = ((lean_object*)(l_String_Slice_slice_x21___closed__1)); x_1 = ((lean_object*)(l_String_Slice_slice_x21___closed__1));
x_2 = lean_unsigned_to_nat(4u); x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(1111u); x_3 = lean_unsigned_to_nat(1115u);
x_4 = ((lean_object*)(l_String_Slice_slice_x21___closed__0)); x_4 = ((lean_object*)(l_String_Slice_slice_x21___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
@ -2429,7 +2429,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; 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 = ((lean_object*)(l_String_Slice_Pos_get_x21___closed__1)); x_1 = ((lean_object*)(l_String_Slice_Pos_get_x21___closed__1));
x_2 = lean_unsigned_to_nat(29u); x_2 = lean_unsigned_to_nat(29u);
x_3 = lean_unsigned_to_nat(1196u); x_3 = lean_unsigned_to_nat(1200u);
x_4 = ((lean_object*)(l_String_Slice_Pos_get_x21___closed__0)); x_4 = ((lean_object*)(l_String_Slice_Pos_get_x21___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
@ -3198,7 +3198,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; 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 = ((lean_object*)(l_String_Slice_Pos_next_x21___closed__1)); x_1 = ((lean_object*)(l_String_Slice_Pos_next_x21___closed__1));
x_2 = lean_unsigned_to_nat(29u); x_2 = lean_unsigned_to_nat(29u);
x_3 = lean_unsigned_to_nat(1576u); x_3 = lean_unsigned_to_nat(1580u);
x_4 = ((lean_object*)(l_String_Slice_Pos_next_x21___closed__0)); x_4 = ((lean_object*)(l_String_Slice_Pos_next_x21___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
@ -3507,7 +3507,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; 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 = ((lean_object*)(l_String_Slice_Pos_prev_x21___closed__1)); x_1 = ((lean_object*)(l_String_Slice_Pos_prev_x21___closed__1));
x_2 = lean_unsigned_to_nat(31u); x_2 = lean_unsigned_to_nat(31u);
x_3 = lean_unsigned_to_nat(1658u); x_3 = lean_unsigned_to_nat(1662u);
x_4 = ((lean_object*)(l_String_Slice_Pos_prev_x21___closed__0)); x_4 = ((lean_object*)(l_String_Slice_Pos_prev_x21___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
@ -3616,7 +3616,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; 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 = ((lean_object*)(l_String_Slice_pos_x21___closed__1)); x_1 = ((lean_object*)(l_String_Slice_pos_x21___closed__1));
x_2 = lean_unsigned_to_nat(4u); x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(1683u); x_3 = lean_unsigned_to_nat(1687u);
x_4 = ((lean_object*)(l_String_Slice_pos_x21___closed__0)); x_4 = ((lean_object*)(l_String_Slice_pos_x21___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
@ -4956,7 +4956,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; 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 = ((lean_object*)(l_String_Slice_Pos_sliceOrPanic___redArg___closed__1)); x_1 = ((lean_object*)(l_String_Slice_Pos_sliceOrPanic___redArg___closed__1));
x_2 = lean_unsigned_to_nat(4u); x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(2540u); x_3 = lean_unsigned_to_nat(2544u);
x_4 = ((lean_object*)(l_String_Slice_Pos_sliceOrPanic___redArg___closed__0)); x_4 = ((lean_object*)(l_String_Slice_Pos_sliceOrPanic___redArg___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
@ -5151,7 +5151,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; 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 = ((lean_object*)(l_String_Slice_slice_x21___closed__1)); x_1 = ((lean_object*)(l_String_Slice_slice_x21___closed__1));
x_2 = lean_unsigned_to_nat(4u); x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(2564u); x_3 = lean_unsigned_to_nat(2568u);
x_4 = ((lean_object*)(l_String_Slice_Pos_ofSlice_x21___redArg___closed__0)); x_4 = ((lean_object*)(l_String_Slice_Pos_ofSlice_x21___redArg___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
@ -5294,7 +5294,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; 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 = ((lean_object*)(l_String_Slice_Pos_slice_x21___redArg___closed__1)); x_1 = ((lean_object*)(l_String_Slice_Pos_slice_x21___redArg___closed__1));
x_2 = lean_unsigned_to_nat(4u); x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(2582u); x_3 = lean_unsigned_to_nat(2586u);
x_4 = ((lean_object*)(l_String_Slice_Pos_slice_x21___redArg___closed__0)); x_4 = ((lean_object*)(l_String_Slice_Pos_slice_x21___redArg___closed__0));
x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1)); x_5 = ((lean_object*)(l_String_fromUTF8_x21___closed__1));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);

View file

@ -862,7 +862,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; 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 = ((lean_object*)(l_String_Slice_getUTF8Byte_x21___closed__2)); x_1 = ((lean_object*)(l_String_Slice_getUTF8Byte_x21___closed__2));
x_2 = lean_unsigned_to_nat(4u); x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(504u); x_3 = lean_unsigned_to_nat(510u);
x_4 = ((lean_object*)(l_String_Slice_getUTF8Byte_x21___closed__1)); x_4 = ((lean_object*)(l_String_Slice_getUTF8Byte_x21___closed__1));
x_5 = ((lean_object*)(l_String_Slice_getUTF8Byte_x21___closed__0)); x_5 = ((lean_object*)(l_String_Slice_getUTF8Byte_x21___closed__0));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Init.Data.String.Lemmas.Pattern // Module: Init.Data.String.Lemmas.Pattern
// Imports: public import Init.Data.String.Lemmas.Pattern.Basic public import Init.Data.String.Lemmas.Pattern.Memcmp public import Init.Data.String.Lemmas.Pattern.Pred public import Init.Data.String.Lemmas.Pattern.Char // Imports: public import Init.Data.String.Lemmas.Pattern.Basic public import Init.Data.String.Lemmas.Pattern.Memcmp public import Init.Data.String.Lemmas.Pattern.Pred public import Init.Data.String.Lemmas.Pattern.Char public import Init.Data.String.Lemmas.Pattern.String
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -17,6 +17,7 @@ lean_object* initialize_Init_Data_String_Lemmas_Pattern_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Memcmp(uint8_t builtin); lean_object* initialize_Init_Data_String_Lemmas_Pattern_Memcmp(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Pred(uint8_t builtin); lean_object* initialize_Init_Data_String_Lemmas_Pattern_Pred(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Char(uint8_t builtin); lean_object* initialize_Init_Data_String_Lemmas_Pattern_Char(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Pattern_String(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern(uint8_t builtin) {
lean_object * res; lean_object * res;
@ -34,6 +35,9 @@ lean_dec_ref(res);
res = initialize_Init_Data_String_Lemmas_Pattern_Char(builtin); res = initialize_Init_Data_String_Lemmas_Pattern_Char(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Init_Data_String_Lemmas_Pattern_String(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return lean_io_result_mk_ok(lean_box(0)); return lean_io_result_mk_ok(lean_box(0));
} }
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -13,9 +13,9 @@
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pattern_Char_instForwardPatternModelChar(uint32_t); LEAN_EXPORT lean_object* l_String_Slice_Pattern_Char_instForwardPatternModelChar(uint32_t);
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pattern_Char_instForwardPatternModelChar___boxed(lean_object*); LEAN_EXPORT lean_object* l_String_Slice_Pattern_Char_instForwardPatternModelChar___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pattern_Char_instForwardPatternModelChar(uint32_t x_1) { LEAN_EXPORT lean_object* l_String_Slice_Pattern_Char_instForwardPatternModelChar(uint32_t x_1) {
_start: _start:
{ {
lean_object* x_2; lean_object* x_2;
@ -23,13 +23,13 @@ x_2 = lean_box(0);
return x_2; return x_2;
} }
} }
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pattern_Char_instForwardPatternModelChar___boxed(lean_object* x_1) { LEAN_EXPORT lean_object* l_String_Slice_Pattern_Char_instForwardPatternModelChar___boxed(lean_object* x_1) {
_start: _start:
{ {
uint32_t x_2; lean_object* x_3; uint32_t x_2; lean_object* x_3;
x_2 = lean_unbox_uint32(x_1); x_2 = lean_unbox_uint32(x_1);
lean_dec(x_1); lean_dec(x_1);
x_3 = l___private_Init_Data_String_Lemmas_Pattern_Char_0__String_Slice_Pattern_Char_instForwardPatternModelChar(x_2); x_3 = l_String_Slice_Pattern_Char_instForwardPatternModelChar(x_2);
return x_3; return x_3;
} }
} }

View file

@ -13,11 +13,11 @@
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool(lean_object*); LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool___boxed(lean_object*); LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool(lean_object* x_1) { LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool(lean_object* x_1) {
_start: _start:
{ {
lean_object* x_2; lean_object* x_2;
@ -25,16 +25,16 @@ x_2 = lean_box(0);
return x_2; return x_2;
} }
} }
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool___boxed(lean_object* x_1) { LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool___boxed(lean_object* x_1) {
_start: _start:
{ {
lean_object* x_2; lean_object* x_2;
x_2 = l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool(x_1); x_2 = l_String_Slice_Pattern_CharPred_instForwardPatternModelForallCharBool(x_1);
lean_dec_ref(x_1); lean_dec_ref(x_1);
return x_2; return x_2;
} }
} }
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_3;
@ -42,11 +42,11 @@ x_3 = lean_box(0);
return x_3; return x_3;
} }
} }
LEAN_EXPORT lean_object* l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred___boxed(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l_String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred___boxed(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_3;
x_3 = l___private_Init_Data_String_Lemmas_Pattern_Pred_0__String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred(x_1, x_2); x_3 = l_String_Slice_Pattern_CharPred_Decidable_instForwardPatternModelForallCharPropOfDecidablePred(x_1, x_2);
lean_dec_ref(x_2); lean_dec_ref(x_2);
return x_3; return x_3;
} }

View file

@ -0,0 +1,33 @@
// Lean compiler output
// Module: Init.Data.String.Lemmas.Pattern.String
// Imports: public import Init.Data.String.Lemmas.Pattern.String.Basic public import Init.Data.String.Lemmas.Pattern.String.ForwardPattern
#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* initialize_Init_Data_String_Lemmas_Pattern_String_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Pattern_String_ForwardPattern(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_String(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_String_Lemmas_Pattern_String_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Lemmas_Pattern_String_ForwardPattern(builtin);
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

View file

@ -0,0 +1,64 @@
// Lean compiler output
// Module: Init.Data.String.Lemmas.Pattern.String.Basic
// Imports: public import Init.Data.String.Lemmas.Pattern.Basic import Init.Data.String.Lemmas.IsEmpty import Init.Data.String.Lemmas.Basic import Init.Data.ByteArray.Lemmas import Init.Omega
#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_String_Slice_Pattern_ForwardSliceSearcher_instForwardPatternModel(lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPatternModel___boxed(lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPatternModel(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_box(0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPatternModel___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_String_Slice_Pattern_ForwardSliceSearcher_instForwardPatternModel(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_IsEmpty(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_ByteArray_Lemmas(uint8_t builtin);
lean_object* initialize_Init_Omega(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_String_Basic(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_String_Lemmas_Pattern_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Lemmas_IsEmpty(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Lemmas_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_ByteArray_Lemmas(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Omega(builtin);
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

View file

@ -0,0 +1,49 @@
// Lean compiler output
// Module: Init.Data.String.Lemmas.Pattern.String.ForwardPattern
// Imports: public import Init.Data.String.Lemmas.Pattern.String.Basic public import Init.Data.String.Pattern.String import all Init.Data.String.Pattern.String import Init.Data.String.Lemmas.Pattern.Memcmp import Init.Data.String.Lemmas.Basic import Init.Data.ByteArray.Lemmas
#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* initialize_Init_Data_String_Lemmas_Pattern_String_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_String_Pattern_String(uint8_t builtin);
lean_object* initialize_Init_Data_String_Pattern_String(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Pattern_Memcmp(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_ByteArray_Lemmas(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_String_Lemmas_Pattern_String_ForwardPattern(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_String_Lemmas_Pattern_String_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Pattern_String(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Pattern_String(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Lemmas_Pattern_Memcmp(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_String_Lemmas_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_ByteArray_Lemmas(builtin);
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

View file

@ -13,6 +13,182 @@
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
lean_object* lean_string_utf8_byte_size(lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft___redArg(lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft___redArg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft___redArg(lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft___redArg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4;
x_3 = lean_string_utf8_byte_size(x_2);
x_4 = lean_nat_add(x_1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_String_Slice_Pos_Splits_rotateRight___redArg(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8;
x_7 = lean_string_utf8_byte_size(x_4);
x_8 = lean_nat_add(x_2, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateRight___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_String_Slice_Pos_Splits_rotateRight(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_string_utf8_byte_size(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_String_Slice_Pos_Splits_rotateLeft___redArg(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft(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_string_utf8_byte_size(x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_String_Slice_Pos_Splits_rotateLeft___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_String_Slice_Pos_Splits_rotateLeft(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4;
x_3 = lean_string_utf8_byte_size(x_2);
x_4 = lean_nat_add(x_1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_String_Pos_Splits_rotateRight___redArg(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8;
x_7 = lean_string_utf8_byte_size(x_4);
x_8 = lean_nat_add(x_2, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateRight___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_String_Pos_Splits_rotateRight(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_string_utf8_byte_size(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_String_Pos_Splits_rotateLeft___redArg(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft(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_string_utf8_byte_size(x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_String_Pos_Splits_rotateLeft___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_String_Pos_Splits_rotateLeft(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_7;
}
}
lean_object* initialize_Init_Data_String_Basic(uint8_t builtin); lean_object* initialize_Init_Data_String_Basic(uint8_t builtin);
lean_object* initialize_Init_Data_ByteArray_Lemmas(uint8_t builtin); lean_object* initialize_Init_Data_ByteArray_Lemmas(uint8_t builtin);
lean_object* initialize_Init_Data_String_Lemmas_Basic(uint8_t builtin); lean_object* initialize_Init_Data_String_Lemmas_Basic(uint8_t builtin);

View file

@ -745,6 +745,10 @@ static const lean_string_object l_IO_FS_instReprMetadata_repr___redArg___closed_
static const lean_object* l_IO_FS_instReprMetadata_repr___redArg___closed__8 = (const lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__8_value; static const lean_object* l_IO_FS_instReprMetadata_repr___redArg___closed__8 = (const lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__8_value;
static const lean_ctor_object l_IO_FS_instReprMetadata_repr___redArg___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__8_value)}}; static const lean_ctor_object l_IO_FS_instReprMetadata_repr___redArg___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__8_value)}};
static const lean_object* l_IO_FS_instReprMetadata_repr___redArg___closed__9 = (const lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__9_value; static const lean_object* l_IO_FS_instReprMetadata_repr___redArg___closed__9 = (const lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__9_value;
static const lean_string_object l_IO_FS_instReprMetadata_repr___redArg___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "numLinks"};
static const lean_object* l_IO_FS_instReprMetadata_repr___redArg___closed__10 = (const lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__10_value;
static const lean_ctor_object l_IO_FS_instReprMetadata_repr___redArg___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__10_value)}};
static const lean_object* l_IO_FS_instReprMetadata_repr___redArg___closed__11 = (const lean_object*)&l_IO_FS_instReprMetadata_repr___redArg___closed__11_value;
lean_object* lean_uint64_to_nat(uint64_t); lean_object* lean_uint64_to_nat(uint64_t);
LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg(lean_object*);
LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg___boxed(lean_object*);
@ -7271,117 +7275,144 @@ return x_1;
LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg(lean_object* x_1) { LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg(lean_object* x_1) {
_start: _start:
{ {
lean_object* x_2; lean_object* x_3; uint64_t x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; 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; 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; 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; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_2; lean_object* x_3; uint64_t x_4; uint8_t x_5; uint64_t 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; uint8_t 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; 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; 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; 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; lean_object* 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;
x_2 = lean_ctor_get(x_1, 0); x_2 = lean_ctor_get(x_1, 0);
x_3 = lean_ctor_get(x_1, 1); x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); x_4 = lean_ctor_get_uint64(x_1, sizeof(void*)*2);
x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 8); x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 16);
x_6 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__5)); x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2 + 8);
x_7 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__3)); x_7 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__5));
x_8 = l_IO_FS_instReprDirEntry_repr___redArg___closed__14; x_8 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__3));
x_9 = lean_unsigned_to_nat(0u); x_9 = l_IO_FS_instReprDirEntry_repr___redArg___closed__14;
x_10 = l_IO_FS_instReprSystemTime_repr___redArg(x_2); x_10 = lean_unsigned_to_nat(0u);
x_11 = lean_alloc_ctor(4, 2, 0); x_11 = l_IO_FS_instReprSystemTime_repr___redArg(x_2);
lean_ctor_set(x_11, 0, x_8); x_12 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_11, 1, x_10); lean_ctor_set(x_12, 0, x_9);
x_12 = 0; lean_ctor_set(x_12, 1, x_11);
x_13 = lean_alloc_ctor(6, 1, 1); x_13 = 0;
lean_ctor_set(x_13, 0, x_11); x_14 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_12); lean_ctor_set(x_14, 0, x_12);
x_14 = lean_alloc_ctor(5, 2, 0); lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_13);
lean_ctor_set(x_14, 0, x_7); x_15 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 1, x_13); lean_ctor_set(x_15, 0, x_8);
x_15 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__11)); lean_ctor_set(x_15, 1, x_14);
x_16 = lean_alloc_ctor(5, 2, 0); x_16 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__11));
lean_ctor_set(x_16, 0, x_14); x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_16, 1, x_15); lean_ctor_set(x_17, 0, x_15);
x_17 = lean_box(1); lean_ctor_set(x_17, 1, x_16);
x_18 = lean_alloc_ctor(5, 2, 0); x_18 = lean_box(1);
lean_ctor_set(x_18, 0, x_16); x_19 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_18, 1, x_17); lean_ctor_set(x_19, 0, x_17);
x_19 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__5)); lean_ctor_set(x_19, 1, x_18);
x_20 = lean_alloc_ctor(5, 2, 0); x_20 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__5));
lean_ctor_set(x_20, 0, x_18);
lean_ctor_set(x_20, 1, x_19);
x_21 = lean_alloc_ctor(5, 2, 0); x_21 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_6); lean_ctor_set(x_21, 1, x_20);
x_22 = l_IO_FS_instReprSystemTime_repr___redArg(x_3); x_22 = lean_alloc_ctor(5, 2, 0);
x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_23, 0, x_8); lean_ctor_set(x_22, 1, x_7);
lean_ctor_set(x_23, 1, x_22); x_23 = l_IO_FS_instReprSystemTime_repr___redArg(x_3);
x_24 = lean_alloc_ctor(6, 1, 1); x_24 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 0, x_9);
lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_12); lean_ctor_set(x_24, 1, x_23);
x_25 = lean_alloc_ctor(5, 2, 0); x_25 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_25, 0, x_21); lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_24); lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_13);
x_26 = lean_alloc_ctor(5, 2, 0); x_26 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 0, x_22);
lean_ctor_set(x_26, 1, x_15); lean_ctor_set(x_26, 1, x_25);
x_27 = lean_alloc_ctor(5, 2, 0); x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_17); lean_ctor_set(x_27, 1, x_16);
x_28 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__7)); x_28 = lean_alloc_ctor(5, 2, 0);
x_29 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_28, 1, x_18);
lean_ctor_set(x_29, 1, x_28); x_29 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__7));
x_30 = lean_alloc_ctor(5, 2, 0); x_30 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_6); lean_ctor_set(x_30, 1, x_29);
x_31 = lean_uint64_to_nat(x_4); x_31 = lean_alloc_ctor(5, 2, 0);
x_32 = l_Nat_reprFast(x_31); lean_ctor_set(x_31, 0, x_30);
x_33 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_31, 1, x_7);
lean_ctor_set(x_33, 0, x_32); x_32 = lean_uint64_to_nat(x_4);
x_34 = lean_alloc_ctor(4, 2, 0); x_33 = l_Nat_reprFast(x_32);
lean_ctor_set(x_34, 0, x_8); x_34 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_34, 1, x_33); lean_ctor_set(x_34, 0, x_33);
x_35 = lean_alloc_ctor(6, 1, 1); x_35 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 0, x_9);
lean_ctor_set_uint8(x_35, sizeof(void*)*1, x_12); lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(5, 2, 0); x_36 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_36, 0, x_30); lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_35); lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_13);
x_37 = lean_alloc_ctor(5, 2, 0); x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 0, x_31);
lean_ctor_set(x_37, 1, x_15); lean_ctor_set(x_37, 1, x_36);
x_38 = lean_alloc_ctor(5, 2, 0); x_38 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_17); lean_ctor_set(x_38, 1, x_16);
x_39 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__9)); x_39 = lean_alloc_ctor(5, 2, 0);
x_40 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_39, 1, x_18);
lean_ctor_set(x_40, 1, x_39); x_40 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__9));
x_41 = lean_alloc_ctor(5, 2, 0); x_41 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 0, x_39);
lean_ctor_set(x_41, 1, x_6); lean_ctor_set(x_41, 1, x_40);
x_42 = l_IO_FS_instReprDirEntry_repr___redArg___closed__7; x_42 = lean_alloc_ctor(5, 2, 0);
x_43 = l_IO_FS_instReprFileType_repr(x_5, x_9); lean_ctor_set(x_42, 0, x_41);
x_44 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 1, x_7);
lean_ctor_set(x_44, 0, x_42); x_43 = l_IO_FS_instReprDirEntry_repr___redArg___closed__7;
lean_ctor_set(x_44, 1, x_43); x_44 = l_IO_FS_instReprFileType_repr(x_5, x_10);
x_45 = lean_alloc_ctor(6, 1, 1); x_45 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 0, x_43);
lean_ctor_set_uint8(x_45, sizeof(void*)*1, x_12); lean_ctor_set(x_45, 1, x_44);
x_46 = lean_alloc_ctor(5, 2, 0); x_46 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_46, 0, x_41); lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_45); lean_ctor_set_uint8(x_46, sizeof(void*)*1, x_13);
x_47 = l_IO_FS_instReprDirEntry_repr___redArg___closed__17; x_47 = lean_alloc_ctor(5, 2, 0);
x_48 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__18)); lean_ctor_set(x_47, 0, x_42);
lean_ctor_set(x_47, 1, x_46);
x_48 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_48, 1, x_16);
x_49 = lean_alloc_ctor(5, 2, 0); x_49 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_46); lean_ctor_set(x_49, 1, x_18);
x_50 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__19)); x_50 = ((lean_object*)(l_IO_FS_instReprMetadata_repr___redArg___closed__11));
x_51 = lean_alloc_ctor(5, 2, 0); x_51 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_51, 0, x_49); lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50); lean_ctor_set(x_51, 1, x_50);
x_52 = lean_alloc_ctor(4, 2, 0); x_52 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_52, 0, x_47); lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_51); lean_ctor_set(x_52, 1, x_7);
x_53 = lean_alloc_ctor(6, 1, 1); x_53 = lean_uint64_to_nat(x_6);
lean_ctor_set(x_53, 0, x_52); x_54 = l_Nat_reprFast(x_53);
lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_12); x_55 = lean_alloc_ctor(3, 1, 0);
return x_53; lean_ctor_set(x_55, 0, x_54);
x_56 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_56, 0, x_9);
lean_ctor_set(x_56, 1, x_55);
x_57 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_57, 0, x_56);
lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_13);
x_58 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_58, 0, x_52);
lean_ctor_set(x_58, 1, x_57);
x_59 = l_IO_FS_instReprDirEntry_repr___redArg___closed__17;
x_60 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__18));
x_61 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_58);
x_62 = ((lean_object*)(l_IO_FS_instReprDirEntry_repr___redArg___closed__19));
x_63 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
x_64 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_64, 0, x_59);
lean_ctor_set(x_64, 1, x_63);
x_65 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_65, 0, x_64);
lean_ctor_set_uint8(x_65, sizeof(void*)*1, x_13);
return x_65;
} }
} }
LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg___boxed(lean_object* x_1) { LEAN_EXPORT lean_object* l_IO_FS_instReprMetadata_repr___redArg___boxed(lean_object* x_1) {
@ -7449,7 +7480,7 @@ lean_object* x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7;
x_4 = lean_ctor_get(x_3, 0); x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4); lean_inc(x_4);
lean_dec_ref(x_3); lean_dec_ref(x_3);
x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*2 + 8); x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*2 + 16);
lean_dec(x_4); lean_dec(x_4);
x_6 = 0; x_6 = 0;
x_7 = l_IO_FS_instBEqFileType_beq(x_5, x_6); x_7 = l_IO_FS_instBEqFileType_beq(x_5, x_6);
@ -7537,7 +7568,7 @@ lean_object* x_24; uint8_t x_25;
x_24 = lean_ctor_get(x_23, 0); x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24); lean_inc(x_24);
lean_dec_ref(x_23); lean_dec_ref(x_23);
x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*2 + 8); x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*2 + 16);
lean_dec(x_24); lean_dec(x_24);
switch (x_25) { switch (x_25) {
case 2: case 2:
@ -8958,7 +8989,7 @@ lean_object* x_17; uint8_t x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21;
x_17 = lean_ctor_get(x_16, 0); x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17); lean_inc(x_17);
lean_dec_ref(x_16); lean_dec_ref(x_16);
x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*2 + 8); x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*2 + 16);
lean_dec(x_17); lean_dec(x_17);
x_19 = lean_box(0); x_19 = lean_box(0);
x_20 = 0; x_20 = 0;
@ -11270,27 +11301,27 @@ x_16 = 13;
x_17 = lean_uint32_dec_eq(x_15, x_16); x_17 = lean_uint32_dec_eq(x_15, x_16);
if (x_17 == 0) if (x_17 == 0)
{ {
lean_dec(x_14);
lean_dec(x_13); lean_dec(x_13);
lean_dec(x_12); x_8 = x_12;
x_8 = x_14;
goto block_11; goto block_11;
} }
else else
{ {
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_18 = lean_string_utf8_byte_size(x_14); x_18 = lean_string_utf8_byte_size(x_12);
lean_inc(x_13); lean_inc(x_14);
lean_inc_ref(x_14); lean_inc_ref(x_12);
x_19 = lean_alloc_ctor(0, 3, 0); x_19 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_19, 0, x_14); lean_ctor_set(x_19, 0, x_12);
lean_ctor_set(x_19, 1, x_13); lean_ctor_set(x_19, 1, x_14);
lean_ctor_set(x_19, 2, x_18); lean_ctor_set(x_19, 2, x_18);
x_20 = l_String_Slice_Pos_prevn(x_19, x_18, x_12); x_20 = l_String_Slice_Pos_prevn(x_19, x_18, x_13);
lean_dec_ref(x_19); lean_dec_ref(x_19);
x_21 = lean_string_utf8_extract(x_14, x_13, x_20); x_21 = lean_string_utf8_extract(x_12, x_14, x_20);
lean_dec(x_20); lean_dec(x_20);
lean_dec(x_13); lean_dec(x_14);
lean_dec_ref(x_14); lean_dec_ref(x_12);
x_8 = x_21; x_8 = x_21;
goto block_11; goto block_11;
} }
@ -11342,9 +11373,9 @@ if (lean_obj_tag(x_36) == 0)
uint32_t x_37; uint32_t x_37;
lean_dec_ref(x_35); lean_dec_ref(x_35);
x_37 = 65; x_37 = 65;
x_12 = x_28; x_12 = x_33;
x_13 = x_29; x_13 = x_28;
x_14 = x_33; x_14 = x_29;
x_15 = x_37; x_15 = x_37;
goto block_22; goto block_22;
} }
@ -11361,9 +11392,9 @@ if (lean_obj_tag(x_39) == 0)
{ {
uint32_t x_40; uint32_t x_40;
x_40 = 65; x_40 = 65;
x_12 = x_28; x_12 = x_33;
x_13 = x_29; x_13 = x_28;
x_14 = x_33; x_14 = x_29;
x_15 = x_40; x_15 = x_40;
goto block_22; goto block_22;
} }
@ -11375,9 +11406,9 @@ lean_inc(x_41);
lean_dec_ref(x_39); lean_dec_ref(x_39);
x_42 = lean_unbox_uint32(x_41); x_42 = lean_unbox_uint32(x_41);
lean_dec(x_41); lean_dec(x_41);
x_12 = x_28; x_12 = x_33;
x_13 = x_29; x_13 = x_28;
x_14 = x_33; x_14 = x_29;
x_15 = x_42; x_15 = x_42;
goto block_22; goto block_22;
} }

File diff suppressed because it is too large Load diff

View file

@ -2047,9 +2047,9 @@ goto block_52;
block_44: block_44:
{ {
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_41; lean_object* x_42; lean_object* x_43;
x_41 = lean_nat_add(x_39, x_40); x_41 = lean_nat_add(x_38, x_40);
lean_dec(x_40); lean_dec(x_40);
lean_dec(x_39); lean_dec(x_38);
if (lean_is_scalar(x_35)) { if (lean_is_scalar(x_35)) {
x_42 = lean_alloc_ctor(0, 5, 0); x_42 = lean_alloc_ctor(0, 5, 0);
} else { } else {
@ -2068,7 +2068,7 @@ if (lean_is_scalar(x_25)) {
lean_ctor_set(x_43, 0, x_37); lean_ctor_set(x_43, 0, x_37);
lean_ctor_set(x_43, 1, x_28); lean_ctor_set(x_43, 1, x_28);
lean_ctor_set(x_43, 2, x_29); lean_ctor_set(x_43, 2, x_29);
lean_ctor_set(x_43, 3, x_38); lean_ctor_set(x_43, 3, x_39);
lean_ctor_set(x_43, 4, x_42); lean_ctor_set(x_43, 4, x_42);
return x_43; return x_43;
} }
@ -2094,8 +2094,8 @@ if (lean_obj_tag(x_31) == 0)
lean_object* x_50; lean_object* x_50;
x_50 = lean_ctor_get(x_31, 0); x_50 = lean_ctor_get(x_31, 0);
lean_inc(x_50); lean_inc(x_50);
x_38 = x_48; x_38 = x_49;
x_39 = x_49; x_39 = x_48;
x_40 = x_50; x_40 = x_50;
goto block_44; goto block_44;
} }
@ -2103,8 +2103,8 @@ else
{ {
lean_object* x_51; lean_object* x_51;
x_51 = lean_unsigned_to_nat(0u); x_51 = lean_unsigned_to_nat(0u);
x_38 = x_48; x_38 = x_49;
x_39 = x_49; x_39 = x_48;
x_40 = x_51; x_40 = x_51;
goto block_44; goto block_44;
} }

File diff suppressed because it is too large Load diff

View file

@ -5202,7 +5202,7 @@ lean_ctor_set(x_10, 0, x_23);
x_31 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive_spec__0(x_5, x_3, x_30, x_22, x_29, x_6, x_7, x_8, x_9, x_10); x_31 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive_spec__0(x_5, x_3, x_30, x_22, x_29, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_31) == 0) if (lean_obj_tag(x_31) == 0)
{ {
lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; uint8_t x_61; lean_object* x_62; lean_object* x_63; uint8_t x_83; uint8_t x_84; uint8_t x_85; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_61; lean_object* x_62; lean_object* x_63; uint8_t x_83; uint8_t x_84; uint8_t x_85;
x_32 = lean_ctor_get(x_31, 0); x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32); lean_inc(x_32);
x_33 = lean_ctor_get(x_31, 1); x_33 = lean_ctor_get(x_31, 1);
@ -5271,7 +5271,7 @@ block_60:
{ {
uint8_t x_43; lean_object* x_44; uint8_t x_45; uint8_t x_43; lean_object* x_44; uint8_t x_45;
x_43 = 1; x_43 = 1;
x_44 = l_Lake_untar(x_3, x_41, x_43, x_39); x_44 = l_Lake_untar(x_3, x_40, x_43, x_38);
x_45 = l_Lake_JobAction_merge(x_37, x_35); x_45 = l_Lake_JobAction_merge(x_37, x_35);
if (lean_obj_tag(x_44) == 0) if (lean_obj_tag(x_44) == 0)
{ {
@ -5283,10 +5283,10 @@ lean_object* x_47; lean_object* x_48;
x_47 = lean_ctor_get(x_44, 1); x_47 = lean_ctor_get(x_44, 1);
x_48 = lean_alloc_ctor(0, 3, 2); x_48 = lean_alloc_ctor(0, 3, 2);
lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_48, 1, x_40); lean_ctor_set(x_48, 1, x_42);
lean_ctor_set(x_48, 2, x_38); lean_ctor_set(x_48, 2, x_41);
lean_ctor_set_uint8(x_48, sizeof(void*)*3, x_45); lean_ctor_set_uint8(x_48, sizeof(void*)*3, x_45);
lean_ctor_set_uint8(x_48, sizeof(void*)*3 + 1, x_42); lean_ctor_set_uint8(x_48, sizeof(void*)*3 + 1, x_39);
lean_ctor_set(x_44, 1, x_48); lean_ctor_set(x_44, 1, x_48);
return x_44; return x_44;
} }
@ -5300,10 +5300,10 @@ lean_inc(x_49);
lean_dec(x_44); lean_dec(x_44);
x_51 = lean_alloc_ctor(0, 3, 2); x_51 = lean_alloc_ctor(0, 3, 2);
lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 0, x_50);
lean_ctor_set(x_51, 1, x_40); lean_ctor_set(x_51, 1, x_42);
lean_ctor_set(x_51, 2, x_38); lean_ctor_set(x_51, 2, x_41);
lean_ctor_set_uint8(x_51, sizeof(void*)*3, x_45); lean_ctor_set_uint8(x_51, sizeof(void*)*3, x_45);
lean_ctor_set_uint8(x_51, sizeof(void*)*3 + 1, x_42); lean_ctor_set_uint8(x_51, sizeof(void*)*3 + 1, x_39);
x_52 = lean_alloc_ctor(0, 2, 0); x_52 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_52, 0, x_49); lean_ctor_set(x_52, 0, x_49);
lean_ctor_set(x_52, 1, x_51); lean_ctor_set(x_52, 1, x_51);
@ -5320,10 +5320,10 @@ lean_object* x_54; lean_object* x_55;
x_54 = lean_ctor_get(x_44, 1); x_54 = lean_ctor_get(x_44, 1);
x_55 = lean_alloc_ctor(0, 3, 2); x_55 = lean_alloc_ctor(0, 3, 2);
lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_40); lean_ctor_set(x_55, 1, x_42);
lean_ctor_set(x_55, 2, x_38); lean_ctor_set(x_55, 2, x_41);
lean_ctor_set_uint8(x_55, sizeof(void*)*3, x_45); lean_ctor_set_uint8(x_55, sizeof(void*)*3, x_45);
lean_ctor_set_uint8(x_55, sizeof(void*)*3 + 1, x_42); lean_ctor_set_uint8(x_55, sizeof(void*)*3 + 1, x_39);
lean_ctor_set(x_44, 1, x_55); lean_ctor_set(x_44, 1, x_55);
return x_44; return x_44;
} }
@ -5337,10 +5337,10 @@ lean_inc(x_56);
lean_dec(x_44); lean_dec(x_44);
x_58 = lean_alloc_ctor(0, 3, 2); x_58 = lean_alloc_ctor(0, 3, 2);
lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_40); lean_ctor_set(x_58, 1, x_42);
lean_ctor_set(x_58, 2, x_38); lean_ctor_set(x_58, 2, x_41);
lean_ctor_set_uint8(x_58, sizeof(void*)*3, x_45); lean_ctor_set_uint8(x_58, sizeof(void*)*3, x_45);
lean_ctor_set_uint8(x_58, sizeof(void*)*3 + 1, x_42); lean_ctor_set_uint8(x_58, sizeof(void*)*3 + 1, x_39);
x_59 = lean_alloc_ctor(1, 2, 0); x_59 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_59, 0, x_56); lean_ctor_set(x_59, 0, x_56);
lean_ctor_set(x_59, 1, x_58); lean_ctor_set(x_59, 1, x_58);
@ -5377,11 +5377,11 @@ lean_inc(x_74);
lean_dec_ref(x_62); lean_dec_ref(x_62);
x_36 = lean_box(0); x_36 = lean_box(0);
x_37 = x_71; x_37 = x_71;
x_38 = x_74; x_38 = x_70;
x_39 = x_70; x_39 = x_72;
x_40 = x_73; x_40 = x_68;
x_41 = x_68; x_41 = x_74;
x_42 = x_72; x_42 = x_73;
goto block_60; goto block_60;
} }
else else
@ -5401,11 +5401,11 @@ lean_inc(x_79);
lean_dec_ref(x_62); lean_dec_ref(x_62);
x_36 = lean_box(0); x_36 = lean_box(0);
x_37 = x_76; x_37 = x_76;
x_38 = x_79; x_38 = x_75;
x_39 = x_75; x_39 = x_77;
x_40 = x_78; x_40 = x_68;
x_41 = x_68; x_41 = x_79;
x_42 = x_77; x_42 = x_78;
goto block_60; goto block_60;
} }
else else
@ -5509,7 +5509,7 @@ lean_ctor_set_uint8(x_113, sizeof(void*)*3 + 1, x_98);
x_114 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive_spec__0(x_5, x_3, x_112, x_104, x_111, x_6, x_7, x_8, x_9, x_113); x_114 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive_spec__0(x_5, x_3, x_112, x_104, x_111, x_6, x_7, x_8, x_9, x_113);
if (lean_obj_tag(x_114) == 0) if (lean_obj_tag(x_114) == 0)
{ {
lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; uint8_t x_140; lean_object* x_141; lean_object* x_142; uint8_t x_162; uint8_t x_163; uint8_t x_164; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_140; lean_object* x_141; lean_object* x_142; uint8_t x_162; uint8_t x_163; uint8_t x_164;
x_115 = lean_ctor_get(x_114, 0); x_115 = lean_ctor_get(x_114, 0);
lean_inc(x_115); lean_inc(x_115);
x_116 = lean_ctor_get(x_114, 1); x_116 = lean_ctor_get(x_114, 1);
@ -5578,7 +5578,7 @@ block_139:
{ {
uint8_t x_126; lean_object* x_127; uint8_t x_128; uint8_t x_126; lean_object* x_127; uint8_t x_128;
x_126 = 1; x_126 = 1;
x_127 = l_Lake_untar(x_3, x_124, x_126, x_122); x_127 = l_Lake_untar(x_3, x_123, x_126, x_121);
x_128 = l_Lake_JobAction_merge(x_120, x_118); x_128 = l_Lake_JobAction_merge(x_120, x_118);
if (lean_obj_tag(x_127) == 0) if (lean_obj_tag(x_127) == 0)
{ {
@ -5597,10 +5597,10 @@ if (lean_is_exclusive(x_127)) {
} }
x_132 = lean_alloc_ctor(0, 3, 2); x_132 = lean_alloc_ctor(0, 3, 2);
lean_ctor_set(x_132, 0, x_130); lean_ctor_set(x_132, 0, x_130);
lean_ctor_set(x_132, 1, x_123); lean_ctor_set(x_132, 1, x_125);
lean_ctor_set(x_132, 2, x_121); lean_ctor_set(x_132, 2, x_124);
lean_ctor_set_uint8(x_132, sizeof(void*)*3, x_128); lean_ctor_set_uint8(x_132, sizeof(void*)*3, x_128);
lean_ctor_set_uint8(x_132, sizeof(void*)*3 + 1, x_125); lean_ctor_set_uint8(x_132, sizeof(void*)*3 + 1, x_122);
if (lean_is_scalar(x_131)) { if (lean_is_scalar(x_131)) {
x_133 = lean_alloc_ctor(0, 2, 0); x_133 = lean_alloc_ctor(0, 2, 0);
} else { } else {
@ -5627,10 +5627,10 @@ if (lean_is_exclusive(x_127)) {
} }
x_137 = lean_alloc_ctor(0, 3, 2); x_137 = lean_alloc_ctor(0, 3, 2);
lean_ctor_set(x_137, 0, x_135); lean_ctor_set(x_137, 0, x_135);
lean_ctor_set(x_137, 1, x_123); lean_ctor_set(x_137, 1, x_125);
lean_ctor_set(x_137, 2, x_121); lean_ctor_set(x_137, 2, x_124);
lean_ctor_set_uint8(x_137, sizeof(void*)*3, x_128); lean_ctor_set_uint8(x_137, sizeof(void*)*3, x_128);
lean_ctor_set_uint8(x_137, sizeof(void*)*3 + 1, x_125); lean_ctor_set_uint8(x_137, sizeof(void*)*3 + 1, x_122);
if (lean_is_scalar(x_136)) { if (lean_is_scalar(x_136)) {
x_138 = lean_alloc_ctor(1, 2, 0); x_138 = lean_alloc_ctor(1, 2, 0);
} else { } else {
@ -5670,11 +5670,11 @@ lean_inc(x_153);
lean_dec_ref(x_141); lean_dec_ref(x_141);
x_119 = lean_box(0); x_119 = lean_box(0);
x_120 = x_150; x_120 = x_150;
x_121 = x_153; x_121 = x_149;
x_122 = x_149; x_122 = x_151;
x_123 = x_152; x_123 = x_147;
x_124 = x_147; x_124 = x_153;
x_125 = x_151; x_125 = x_152;
goto block_139; goto block_139;
} }
else else
@ -5694,11 +5694,11 @@ lean_inc(x_158);
lean_dec_ref(x_141); lean_dec_ref(x_141);
x_119 = lean_box(0); x_119 = lean_box(0);
x_120 = x_155; x_120 = x_155;
x_121 = x_158; x_121 = x_154;
x_122 = x_154; x_122 = x_156;
x_123 = x_157; x_123 = x_147;
x_124 = x_147; x_124 = x_158;
x_125 = x_156; x_125 = x_157;
goto block_139; goto block_139;
} }
else else

File diff suppressed because it is too large Load diff

View file

@ -181,6 +181,10 @@ LEAN_EXPORT lean_object* l_Lake_Hash_toString___boxed(lean_object*);
static const lean_closure_object l_Lake_Hash_instToString___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lake_Hash_toString___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; static const lean_closure_object l_Lake_Hash_instToString___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lake_Hash_toString___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lake_Hash_instToString___closed__0 = (const lean_object*)&l_Lake_Hash_instToString___closed__0_value; static const lean_object* l_Lake_Hash_instToString___closed__0 = (const lean_object*)&l_Lake_Hash_instToString___closed__0_value;
LEAN_EXPORT const lean_object* l_Lake_Hash_instToString = (const lean_object*)&l_Lake_Hash_instToString___closed__0_value; LEAN_EXPORT const lean_object* l_Lake_Hash_instToString = (const lean_object*)&l_Lake_Hash_instToString___closed__0_value;
LEAN_EXPORT uint64_t l_Lake_Hash_ofHashable___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_ofHashable___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_ofHashable(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_ofHashable___boxed(lean_object*, lean_object*, lean_object*);
uint64_t lean_string_hash(lean_object*); uint64_t lean_string_hash(lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_ofString(lean_object*); LEAN_EXPORT uint64_t l_Lake_Hash_ofString(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_ofString___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_Hash_ofString___boxed(lean_object*);
@ -190,6 +194,8 @@ LEAN_EXPORT lean_object* l_Lake_Hash_ofText___boxed(lean_object*);
uint64_t lean_byte_array_hash(lean_object*); uint64_t lean_byte_array_hash(lean_object*);
LEAN_EXPORT uint64_t l_Lake_Hash_ofByteArray(lean_object*); LEAN_EXPORT uint64_t l_Lake_Hash_ofByteArray(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_ofByteArray___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_Hash_ofByteArray___boxed(lean_object*);
static uint64_t l_Lake_Hash_ofBool___closed__0;
static uint64_t l_Lake_Hash_ofBool___closed__1;
LEAN_EXPORT uint64_t l_Lake_Hash_ofBool(uint8_t); LEAN_EXPORT uint64_t l_Lake_Hash_ofBool(uint8_t);
LEAN_EXPORT lean_object* l_Lake_Hash_ofBool___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_Hash_ofBool___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Hash_toJson(uint64_t); LEAN_EXPORT lean_object* l_Lake_Hash_toJson(uint64_t);
@ -226,12 +232,8 @@ LEAN_EXPORT uint64_t l_Lake_pureHash(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_pureHash___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_pureHash___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeHash___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_computeHash___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeHash(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_computeHash(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static const lean_closure_object l_Lake_instComputeHashBoolId___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lake_Hash_ofBool___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; LEAN_EXPORT lean_object* l_Lake_instComputeHashIdOfHashable___redArg(lean_object*);
static const lean_object* l_Lake_instComputeHashBoolId___closed__0 = (const lean_object*)&l_Lake_instComputeHashBoolId___closed__0_value; LEAN_EXPORT lean_object* l_Lake_instComputeHashIdOfHashable(lean_object*, lean_object*);
LEAN_EXPORT const lean_object* l_Lake_instComputeHashBoolId = (const lean_object*)&l_Lake_instComputeHashBoolId___closed__0_value;
static const lean_closure_object l_Lake_instComputeHashStringId___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lake_Hash_ofString___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} };
static const lean_object* l_Lake_instComputeHashStringId___closed__0 = (const lean_object*)&l_Lake_instComputeHashStringId___closed__0_value;
LEAN_EXPORT const lean_object* l_Lake_instComputeHashStringId = (const lean_object*)&l_Lake_instComputeHashStringId___closed__0_value;
lean_object* l_IO_FS_readBinFile(lean_object*); lean_object* l_IO_FS_readBinFile(lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeBinFileHash(lean_object*); LEAN_EXPORT lean_object* l_Lake_computeBinFileHash(lean_object*);
LEAN_EXPORT lean_object* l_Lake_computeBinFileHash___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_computeBinFileHash___boxed(lean_object*, lean_object*);
@ -1395,6 +1397,48 @@ x_3 = l_Lake_Hash_toString(x_2);
return x_3; return x_3;
} }
} }
LEAN_EXPORT uint64_t l_Lake_Hash_ofHashable___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
uint64_t x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6;
x_3 = 1723;
x_4 = lean_apply_1(x_1, x_2);
x_5 = lean_unbox_uint64(x_4);
lean_dec(x_4);
x_6 = lean_uint64_mix_hash(x_3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Hash_ofHashable___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint64_t x_3; lean_object* x_4;
x_3 = l_Lake_Hash_ofHashable___redArg(x_1, x_2);
x_4 = lean_box_uint64(x_3);
return x_4;
}
}
LEAN_EXPORT uint64_t l_Lake_Hash_ofHashable(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint64_t x_4; lean_object* x_5; uint64_t x_6; uint64_t x_7;
x_4 = 1723;
x_5 = lean_apply_1(x_2, x_3);
x_6 = lean_unbox_uint64(x_5);
lean_dec(x_5);
x_7 = lean_uint64_mix_hash(x_4, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lake_Hash_ofHashable___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint64_t x_4; lean_object* x_5;
x_4 = l_Lake_Hash_ofHashable(x_1, x_2, x_3);
x_5 = lean_box_uint64(x_4);
return x_5;
}
}
LEAN_EXPORT uint64_t l_Lake_Hash_ofString(lean_object* x_1) { LEAN_EXPORT uint64_t l_Lake_Hash_ofString(lean_object* x_1) {
_start: _start:
{ {
@ -1440,9 +1484,11 @@ return x_3;
LEAN_EXPORT uint64_t l_Lake_Hash_ofByteArray(lean_object* x_1) { LEAN_EXPORT uint64_t l_Lake_Hash_ofByteArray(lean_object* x_1) {
_start: _start:
{ {
uint64_t x_2; uint64_t x_2; uint64_t x_3; uint64_t x_4;
x_2 = lean_byte_array_hash(x_1); x_2 = 1723;
return x_2; x_3 = lean_byte_array_hash(x_1);
x_4 = lean_uint64_mix_hash(x_2, x_3);
return x_4;
} }
} }
LEAN_EXPORT lean_object* l_Lake_Hash_ofByteArray___boxed(lean_object* x_1) { LEAN_EXPORT lean_object* l_Lake_Hash_ofByteArray___boxed(lean_object* x_1) {
@ -1455,19 +1501,39 @@ x_3 = lean_box_uint64(x_2);
return x_3; return x_3;
} }
} }
static uint64_t _init_l_Lake_Hash_ofBool___closed__0() {
_start:
{
uint64_t x_1; uint64_t x_2; uint64_t x_3;
x_1 = 13;
x_2 = 1723;
x_3 = lean_uint64_mix_hash(x_2, x_1);
return x_3;
}
}
static uint64_t _init_l_Lake_Hash_ofBool___closed__1() {
_start:
{
uint64_t x_1; uint64_t x_2; uint64_t x_3;
x_1 = 11;
x_2 = 1723;
x_3 = lean_uint64_mix_hash(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT uint64_t l_Lake_Hash_ofBool(uint8_t x_1) { LEAN_EXPORT uint64_t l_Lake_Hash_ofBool(uint8_t x_1) {
_start: _start:
{ {
if (x_1 == 0) if (x_1 == 0)
{ {
uint64_t x_2; uint64_t x_2;
x_2 = 13; x_2 = l_Lake_Hash_ofBool___closed__0;
return x_2; return x_2;
} }
else else
{ {
uint64_t x_3; uint64_t x_3;
x_3 = 11; x_3 = l_Lake_Hash_ofBool___closed__1;
return x_3; return x_3;
} }
} }
@ -1728,6 +1794,26 @@ x_8 = lean_apply_2(x_5, lean_box(0), x_7);
return x_8; return x_8;
} }
} }
LEAN_EXPORT lean_object* l_Lake_instComputeHashIdOfHashable___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lake_Hash_ofHashable___boxed), 3, 2);
lean_closure_set(x_2, 0, lean_box(0));
lean_closure_set(x_2, 1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_instComputeHashIdOfHashable(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_Lake_Hash_ofHashable___boxed), 3, 2);
lean_closure_set(x_3, 0, lean_box(0));
lean_closure_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_computeBinFileHash(lean_object* x_1) { LEAN_EXPORT lean_object* l_Lake_computeBinFileHash(lean_object* x_1) {
_start: _start:
{ {
@ -1739,45 +1825,49 @@ uint8_t x_4;
x_4 = !lean_is_exclusive(x_3); x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0) if (x_4 == 0)
{ {
lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; lean_object* x_9;
x_5 = lean_ctor_get(x_3, 0); x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_byte_array_hash(x_5); x_6 = 1723;
x_7 = lean_byte_array_hash(x_5);
lean_dec(x_5); lean_dec(x_5);
x_7 = lean_box_uint64(x_6); x_8 = lean_uint64_mix_hash(x_6, x_7);
lean_ctor_set(x_3, 0, x_7); x_9 = lean_box_uint64(x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3; return x_3;
} }
else else
{ {
lean_object* x_8; uint64_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; lean_object* x_14; lean_object* x_15;
x_8 = lean_ctor_get(x_3, 0); x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_8); lean_inc(x_10);
lean_dec(x_3); lean_dec(x_3);
x_9 = lean_byte_array_hash(x_8); x_11 = 1723;
lean_dec(x_8); x_12 = lean_byte_array_hash(x_10);
x_10 = lean_box_uint64(x_9); lean_dec(x_10);
x_11 = lean_alloc_ctor(0, 1, 0); x_13 = lean_uint64_mix_hash(x_11, x_12);
lean_ctor_set(x_11, 0, x_10); x_14 = lean_box_uint64(x_13);
return x_11; x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
} }
} }
else else
{ {
uint8_t x_12; uint8_t x_16;
x_12 = !lean_is_exclusive(x_3); x_16 = !lean_is_exclusive(x_3);
if (x_12 == 0) if (x_16 == 0)
{ {
return x_3; return x_3;
} }
else else
{ {
lean_object* x_13; lean_object* x_14; lean_object* x_17; lean_object* x_18;
x_13 = lean_ctor_get(x_3, 0); x_17 = lean_ctor_get(x_3, 0);
lean_inc(x_13); lean_inc(x_17);
lean_dec(x_3); lean_dec(x_3);
x_14 = lean_alloc_ctor(1, 1, 0); x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_18, 0, x_17);
return x_14; return x_18;
} }
} }
} }
@ -3356,6 +3446,8 @@ l_Lake_Hash_ofJsonNumber_x3f___closed__2 = _init_l_Lake_Hash_ofJsonNumber_x3f___
lean_mark_persistent(l_Lake_Hash_ofJsonNumber_x3f___closed__2); lean_mark_persistent(l_Lake_Hash_ofJsonNumber_x3f___closed__2);
l_Lake_Hash_ofJsonNumber_x3f___closed__5 = _init_l_Lake_Hash_ofJsonNumber_x3f___closed__5(); l_Lake_Hash_ofJsonNumber_x3f___closed__5 = _init_l_Lake_Hash_ofJsonNumber_x3f___closed__5();
lean_mark_persistent(l_Lake_Hash_ofJsonNumber_x3f___closed__5); lean_mark_persistent(l_Lake_Hash_ofJsonNumber_x3f___closed__5);
l_Lake_Hash_ofBool___closed__0 = _init_l_Lake_Hash_ofBool___closed__0();
l_Lake_Hash_ofBool___closed__1 = _init_l_Lake_Hash_ofBool___closed__1();
l_Lake_computeArrayHash___redArg___boxed__const__1 = _init_l_Lake_computeArrayHash___redArg___boxed__const__1(); l_Lake_computeArrayHash___redArg___boxed__const__1 = _init_l_Lake_computeArrayHash___redArg___boxed__const__1();
lean_mark_persistent(l_Lake_computeArrayHash___redArg___boxed__const__1); lean_mark_persistent(l_Lake_computeArrayHash___redArg___boxed__const__1);
l_Lake_computeArrayHash___boxed__const__1 = _init_l_Lake_computeArrayHash___boxed__const__1(); l_Lake_computeArrayHash___boxed__const__1 = _init_l_Lake_computeArrayHash___boxed__const__1();

View file

@ -195,9 +195,14 @@ lean_object* l_Lake_Cache_getArtifact_x3f___boxed(lean_object*, lean_object*, le
LEAN_EXPORT lean_object* l_Lake_getArtifact_x3f___redArg___lam__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_getArtifact_x3f___redArg___lam__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_getArtifact_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_getArtifact_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_getArtifact_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_getArtifact_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lake_Workspace_enableArtifactCache(lean_object*); LEAN_EXPORT uint8_t l_Lake_Package_isArtifactCacheReadable___redArg___lam__0(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lake_Package_isArtifactCacheEnabled___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheReadable___redArg___lam__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___redArg___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheReadable___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheReadable(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lake_Package_isArtifactCacheWritable___redArg___lam__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheWritable___redArg___lam__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheWritable___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheWritable(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_getLakeEnv___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lake_getLakeEnv___redArg(lean_object*);
@ -1481,7 +1486,7 @@ x_11 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_10, x_9);
return x_11; return x_11;
} }
} }
LEAN_EXPORT uint8_t l_Lake_Package_isArtifactCacheEnabled___redArg___lam__0(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT uint8_t l_Lake_Package_isArtifactCacheReadable___redArg___lam__0(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_4; lean_object* x_3; lean_object* x_4;
@ -1489,30 +1494,168 @@ x_3 = lean_ctor_get(x_1, 6);
x_4 = lean_ctor_get(x_3, 25); x_4 = lean_ctor_get(x_3, 25);
if (lean_obj_tag(x_4) == 0) if (lean_obj_tag(x_4) == 0)
{ {
uint8_t x_5; lean_object* x_5; lean_object* x_6;
x_5 = l_Lake_Workspace_enableArtifactCache(x_2); x_5 = lean_ctor_get(x_2, 1);
return x_5; x_6 = lean_ctor_get(x_5, 6);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9;
x_7 = lean_ctor_get(x_2, 0);
x_8 = lean_ctor_get(x_7, 6);
x_9 = lean_ctor_get(x_8, 25);
if (lean_obj_tag(x_9) == 0)
{
uint8_t x_10;
x_10 = 1;
return x_10;
} }
else else
{ {
lean_object* x_6; uint8_t x_7; lean_object* x_11; uint8_t x_12;
x_6 = lean_ctor_get(x_4, 0); x_11 = lean_ctor_get(x_9, 0);
x_7 = lean_unbox(x_6); x_12 = lean_unbox(x_11);
return x_7; return x_12;
}
}
else
{
lean_object* x_13; uint8_t x_14;
x_13 = lean_ctor_get(x_6, 0);
x_14 = lean_unbox(x_13);
return x_14;
}
}
else
{
lean_object* x_15; uint8_t x_16;
x_15 = lean_ctor_get(x_4, 0);
x_16 = lean_unbox(x_15);
return x_16;
} }
} }
} }
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheReadable___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
uint8_t x_3; lean_object* x_4; uint8_t x_3; lean_object* x_4;
x_3 = l_Lake_Package_isArtifactCacheEnabled___redArg___lam__0(x_1, x_2); x_3 = l_Lake_Package_isArtifactCacheReadable___redArg___lam__0(x_1, x_2);
lean_dec_ref(x_2); lean_dec_ref(x_2);
lean_dec_ref(x_1); lean_dec_ref(x_1);
x_4 = lean_box(x_3); x_4 = lean_box(x_3);
return x_4; return x_4;
} }
} }
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheReadable___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec_ref(x_1);
x_5 = lean_alloc_closure((void*)(l_Lake_Package_isArtifactCacheReadable___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_5, 0, x_3);
x_6 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheReadable(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;
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec_ref(x_2);
x_6 = lean_alloc_closure((void*)(l_Lake_Package_isArtifactCacheReadable___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_6, 0, x_4);
x_7 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_3);
return x_7;
}
}
LEAN_EXPORT uint8_t l_Lake_Package_isArtifactCacheWritable___redArg___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4;
x_3 = lean_ctor_get(x_1, 6);
x_4 = lean_ctor_get(x_3, 25);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_5; lean_object* x_6;
x_5 = lean_ctor_get(x_2, 1);
x_6 = lean_ctor_get(x_5, 6);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9;
x_7 = lean_ctor_get(x_2, 0);
x_8 = lean_ctor_get(x_7, 6);
x_9 = lean_ctor_get(x_8, 25);
if (lean_obj_tag(x_9) == 0)
{
uint8_t x_10;
x_10 = 0;
return x_10;
}
else
{
lean_object* x_11; uint8_t x_12;
x_11 = lean_ctor_get(x_9, 0);
x_12 = lean_unbox(x_11);
return x_12;
}
}
else
{
lean_object* x_13; uint8_t x_14;
x_13 = lean_ctor_get(x_6, 0);
x_14 = lean_unbox(x_13);
return x_14;
}
}
else
{
lean_object* x_15; uint8_t x_16;
x_15 = lean_ctor_get(x_4, 0);
x_16 = lean_unbox(x_15);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheWritable___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4;
x_3 = l_Lake_Package_isArtifactCacheWritable___redArg___lam__0(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheWritable___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec_ref(x_1);
x_5 = lean_alloc_closure((void*)(l_Lake_Package_isArtifactCacheWritable___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_5, 0, x_3);
x_6 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheWritable(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;
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec_ref(x_2);
x_6 = lean_alloc_closure((void*)(l_Lake_Package_isArtifactCacheWritable___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_6, 0, x_4);
x_7 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start: _start:
{ {
@ -1520,7 +1663,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = lean_ctor_get(x_1, 0); x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4); lean_inc(x_4);
lean_dec_ref(x_1); lean_dec_ref(x_1);
x_5 = lean_alloc_closure((void*)(l_Lake_Package_isArtifactCacheEnabled___redArg___lam__0___boxed), 2, 1); x_5 = lean_alloc_closure((void*)(l_Lake_Package_isArtifactCacheWritable___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_5, 0, x_3); lean_closure_set(x_5, 0, x_3);
x_6 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_2); x_6 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_2);
return x_6; return x_6;
@ -1529,9 +1672,14 @@ return x_6;
LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start: _start:
{ {
lean_object* x_5; lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = l_Lake_Package_isArtifactCacheEnabled___redArg(x_2, x_3, x_4); x_5 = lean_ctor_get(x_2, 0);
return x_5; lean_inc(x_5);
lean_dec_ref(x_2);
x_6 = lean_alloc_closure((void*)(l_Lake_Package_isArtifactCacheWritable___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_6, 0, x_4);
x_7 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_3);
return x_7;
} }
} }
LEAN_EXPORT lean_object* l_Lake_getLakeEnv___redArg(lean_object* x_1) { LEAN_EXPORT lean_object* l_Lake_getLakeEnv___redArg(lean_object* x_1) {

View file

@ -62,8 +62,12 @@ LEAN_EXPORT lean_object* l_Lake_Workspace_relLakeDir(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Workspace_relLakeDir___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_Workspace_relLakeDir___boxed(lean_object*);
lean_object* l_Lake_joinRelative(lean_object*, lean_object*); lean_object* l_Lake_joinRelative(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Workspace_lakeDir(lean_object*); LEAN_EXPORT lean_object* l_Lake_Workspace_lakeDir(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Workspace_enableArtifactCache_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Workspace_enableArtifactCache_x3f___boxed(lean_object*);
LEAN_EXPORT uint8_t l_Lake_Workspace_enableArtifactCache(lean_object*); LEAN_EXPORT uint8_t l_Lake_Workspace_enableArtifactCache(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Workspace_enableArtifactCache___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_Workspace_enableArtifactCache___boxed(lean_object*);
LEAN_EXPORT uint8_t l_Lake_Workspace_isRootArtifactCacheWritable(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Workspace_isRootArtifactCacheWritable___boxed(lean_object*);
LEAN_EXPORT uint8_t l_Lake_Workspace_isRootArtifactCacheEnabled(lean_object*); LEAN_EXPORT uint8_t l_Lake_Workspace_isRootArtifactCacheEnabled(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Workspace_isRootArtifactCacheEnabled___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_Workspace_isRootArtifactCacheEnabled___boxed(lean_object*);
lean_object* l_System_FilePath_normalize(lean_object*); lean_object* l_System_FilePath_normalize(lean_object*);
@ -267,8 +271,16 @@ static const lean_string_object l_Lake_Workspace_augmentedEnvVars___closed__6_va
static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__6 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__6_value; static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__6 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__6_value;
static const lean_string_object l_Lake_Workspace_augmentedEnvVars___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "false"}; static const lean_string_object l_Lake_Workspace_augmentedEnvVars___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "false"};
static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__7 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__7_value; static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__7 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__7_value;
static const lean_string_object l_Lake_Workspace_augmentedEnvVars___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "true"}; static const lean_ctor_object l_Lake_Workspace_augmentedEnvVars___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__7_value)}};
static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__8 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__8_value; static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__8 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__8_value;
static const lean_string_object l_Lake_Workspace_augmentedEnvVars___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "true"};
static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__9 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__9_value;
static const lean_ctor_object l_Lake_Workspace_augmentedEnvVars___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__9_value)}};
static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__10 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__10_value;
static const lean_string_object l_Lake_Workspace_augmentedEnvVars___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 1, .m_capacity = 1, .m_length = 0, .m_data = ""};
static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__11 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__11_value;
static const lean_ctor_object l_Lake_Workspace_augmentedEnvVars___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__11_value)}};
static const lean_object* l_Lake_Workspace_augmentedEnvVars___closed__12 = (const lean_object*)&l_Lake_Workspace_augmentedEnvVars___closed__12_value;
lean_object* l_Lake_Env_baseVars(lean_object*); lean_object* l_Lake_Env_baseVars(lean_object*);
lean_object* l_System_SearchPath_toString(lean_object*); lean_object* l_System_SearchPath_toString(lean_object*);
extern lean_object* l_Lake_sharedLibPathEnvVar; extern lean_object* l_Lake_sharedLibPathEnvVar;
@ -624,6 +636,37 @@ x_5 = l_Lake_joinRelative(x_3, x_4);
return x_5; return x_5;
} }
} }
LEAN_EXPORT lean_object* l_Lake_Workspace_enableArtifactCache_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = lean_ctor_get(x_1, 1);
x_3 = lean_ctor_get(x_2, 6);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = lean_ctor_get(x_1, 0);
x_5 = lean_ctor_get(x_4, 6);
x_6 = lean_ctor_get(x_5, 25);
lean_inc(x_6);
return x_6;
}
else
{
lean_inc_ref(x_3);
return x_3;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Workspace_enableArtifactCache_x3f___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lake_Workspace_enableArtifactCache_x3f(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT uint8_t l_Lake_Workspace_enableArtifactCache(lean_object* x_1) { LEAN_EXPORT uint8_t l_Lake_Workspace_enableArtifactCache(lean_object* x_1) {
_start: _start:
{ {
@ -669,18 +712,18 @@ x_3 = lean_box(x_2);
return x_3; return x_3;
} }
} }
LEAN_EXPORT uint8_t l_Lake_Workspace_isRootArtifactCacheEnabled(lean_object* x_1) { LEAN_EXPORT uint8_t l_Lake_Workspace_isRootArtifactCacheWritable(lean_object* x_1) {
_start: _start:
{ {
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_2; lean_object* x_3;
x_2 = lean_ctor_get(x_1, 0); x_2 = lean_ctor_get(x_1, 1);
x_3 = lean_ctor_get(x_2, 6); x_3 = lean_ctor_get(x_2, 6);
x_4 = lean_ctor_get(x_3, 25); if (lean_obj_tag(x_3) == 0)
if (lean_obj_tag(x_4) == 0)
{ {
lean_object* x_5; lean_object* x_6; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_5 = lean_ctor_get(x_1, 1); x_4 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_5, 6); x_5 = lean_ctor_get(x_4, 6);
x_6 = lean_ctor_get(x_5, 25);
if (lean_obj_tag(x_6) == 0) if (lean_obj_tag(x_6) == 0)
{ {
uint8_t x_7; uint8_t x_7;
@ -698,12 +741,30 @@ return x_9;
else else
{ {
lean_object* x_10; uint8_t x_11; lean_object* x_10; uint8_t x_11;
x_10 = lean_ctor_get(x_4, 0); x_10 = lean_ctor_get(x_3, 0);
x_11 = lean_unbox(x_10); x_11 = lean_unbox(x_10);
return x_11; return x_11;
} }
} }
} }
LEAN_EXPORT lean_object* l_Lake_Workspace_isRootArtifactCacheWritable___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_Lake_Workspace_isRootArtifactCacheWritable(x_1);
lean_dec_ref(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT uint8_t l_Lake_Workspace_isRootArtifactCacheEnabled(lean_object* x_1) {
_start:
{
uint8_t x_2;
x_2 = l_Lake_Workspace_isRootArtifactCacheWritable(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Workspace_isRootArtifactCacheEnabled___boxed(lean_object* x_1) { LEAN_EXPORT lean_object* l_Lake_Workspace_isRootArtifactCacheEnabled___boxed(lean_object* x_1) {
_start: _start:
{ {
@ -4284,89 +4345,102 @@ return x_2;
LEAN_EXPORT lean_object* l_Lake_Workspace_augmentedEnvVars(lean_object* x_1) { LEAN_EXPORT lean_object* l_Lake_Workspace_augmentedEnvVars(lean_object* x_1) {
_start: _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; lean_object* x_12; lean_object* x_13; lean_object* x_36; lean_object* x_37; uint8_t x_57; 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_37; lean_object* x_38; uint8_t x_57;
x_2 = lean_ctor_get(x_1, 0); x_2 = lean_ctor_get(x_1, 1);
x_3 = lean_ctor_get(x_1, 1); x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 2); x_4 = lean_ctor_get(x_1, 2);
lean_inc_ref(x_3); x_5 = lean_ctor_get(x_2, 6);
x_5 = l_Lake_Env_baseVars(x_3); lean_inc_ref(x_2);
x_6 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__0)); x_6 = l_Lake_Env_baseVars(x_2);
x_7 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__0));
lean_inc_ref(x_4); lean_inc_ref(x_4);
x_7 = lean_alloc_ctor(1, 1, 0); x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_4); lean_ctor_set(x_8, 0, x_4);
x_8 = lean_alloc_ctor(0, 2, 0); x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_8, 1, x_7); lean_ctor_set(x_9, 1, x_8);
x_36 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__3)); x_37 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__3));
x_57 = l_Lake_Workspace_enableArtifactCache(x_1); if (lean_obj_tag(x_5) == 0)
if (x_57 == 0)
{ {
lean_object* x_58; lean_object* x_61; lean_object* x_62;
x_58 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__7)); x_61 = lean_ctor_get(x_3, 6);
x_37 = x_58; x_62 = lean_ctor_get(x_61, 25);
goto block_56; if (lean_obj_tag(x_62) == 1)
{
lean_object* x_63; uint8_t x_64;
x_63 = lean_ctor_get(x_62, 0);
x_64 = lean_unbox(x_63);
x_57 = x_64;
goto block_60;
} }
else else
{ {
lean_object* x_59; lean_object* x_65;
x_59 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__8)); x_65 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__12));
x_37 = x_59; x_38 = x_65;
goto block_56; goto block_56;
} }
block_35: }
else
{ {
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 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; uint8_t x_28; lean_object* x_66; uint8_t x_67;
x_14 = lean_alloc_ctor(0, 2, 0); x_66 = lean_ctor_get(x_5, 0);
lean_ctor_set(x_14, 0, x_12); x_67 = lean_unbox(x_66);
lean_ctor_set(x_14, 1, x_13); x_57 = x_67;
x_15 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__1)); goto block_60;
x_16 = l_Lake_Workspace_augmentedPath(x_1); }
x_17 = l_System_SearchPath_toString(x_16); block_36:
x_18 = lean_alloc_ctor(1, 1, 0); {
lean_ctor_set(x_18, 0, x_17); 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; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
x_19 = lean_alloc_ctor(0, 2, 0); x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_15); lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_19, 1, x_18); lean_ctor_set(x_15, 1, x_14);
x_20 = l_Lake_Workspace_augmentedEnvVars___closed__2; x_16 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__1));
x_21 = lean_array_push(x_20, x_8); x_17 = l_Lake_Workspace_augmentedPath(x_1);
x_18 = l_System_SearchPath_toString(x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_16);
lean_ctor_set(x_20, 1, x_19);
x_21 = l_Lake_Workspace_augmentedEnvVars___closed__2;
x_22 = lean_array_push(x_21, x_9); x_22 = lean_array_push(x_21, x_9);
x_23 = lean_array_push(x_22, x_11); x_23 = lean_array_push(x_22, x_10);
x_24 = lean_array_push(x_23, x_10); x_24 = lean_array_push(x_23, x_11);
x_25 = lean_array_push(x_24, x_14); x_25 = lean_array_push(x_24, x_12);
x_26 = lean_array_push(x_25, x_19); x_26 = lean_array_push(x_25, x_15);
x_27 = l_Array_append___redArg(x_5, x_26); x_27 = lean_array_push(x_26, x_20);
lean_dec_ref(x_26); x_28 = l_Array_append___redArg(x_6, x_27);
x_28 = l_System_Platform_isWindows; lean_dec_ref(x_27);
if (x_28 == 0) x_29 = l_System_Platform_isWindows;
if (x_29 == 0)
{ {
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_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
x_29 = l_Lake_sharedLibPathEnvVar; x_30 = l_Lake_sharedLibPathEnvVar;
x_30 = l_Lake_Workspace_augmentedSharedLibPath(x_1); x_31 = l_Lake_Workspace_augmentedSharedLibPath(x_1);
x_31 = l_System_SearchPath_toString(x_30); x_32 = l_System_SearchPath_toString(x_31);
x_32 = lean_alloc_ctor(1, 1, 0); x_33 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_33, 0, x_32);
x_33 = lean_alloc_ctor(0, 2, 0); x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_29); lean_ctor_set(x_34, 0, x_30);
lean_ctor_set(x_33, 1, x_32); lean_ctor_set(x_34, 1, x_33);
x_34 = lean_array_push(x_27, x_33); x_35 = lean_array_push(x_28, x_34);
return x_34; return x_35;
} }
else else
{ {
lean_dec_ref(x_1); lean_dec_ref(x_1);
return x_27; return x_28;
} }
} }
block_56: block_56:
{ {
lean_object* x_38; uint8_t 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; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_39; uint8_t 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; lean_object* x_50; lean_object* x_51; lean_object* x_52;
x_38 = lean_ctor_get(x_2, 6); x_39 = lean_ctor_get(x_3, 6);
x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*26); x_40 = lean_ctor_get_uint8(x_39, sizeof(void*)*26);
x_40 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_40, 0, x_37);
x_41 = lean_alloc_ctor(0, 2, 0); x_41 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_41, 0, x_36); lean_ctor_set(x_41, 0, x_37);
lean_ctor_set(x_41, 1, x_40); lean_ctor_set(x_41, 1, x_38);
x_42 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__4)); x_42 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__4));
x_43 = l_Lake_Workspace_augmentedLeanPath(x_1); x_43 = l_Lake_Workspace_augmentedLeanPath(x_1);
x_44 = l_System_SearchPath_toString(x_43); x_44 = l_System_SearchPath_toString(x_43);
@ -4384,29 +4458,46 @@ x_51 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_51, 0, x_47); lean_ctor_set(x_51, 0, x_47);
lean_ctor_set(x_51, 1, x_50); lean_ctor_set(x_51, 1, x_50);
x_52 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__6)); x_52 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__6));
if (x_39 == 0) if (x_40 == 0)
{ {
lean_object* x_53; lean_object* x_54; lean_object* x_53; lean_object* x_54;
x_53 = l_Lake_Env_leanGithash(x_3); x_53 = l_Lake_Env_leanGithash(x_2);
x_54 = lean_alloc_ctor(1, 1, 0); x_54 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 0, x_53);
x_9 = x_41; x_10 = x_41;
x_10 = x_51;
x_11 = x_46; x_11 = x_46;
x_12 = x_52; x_12 = x_51;
x_13 = x_54; x_13 = x_52;
goto block_35; x_14 = x_54;
goto block_36;
} }
else else
{ {
lean_object* x_55; lean_object* x_55;
x_55 = lean_box(0); x_55 = lean_box(0);
x_9 = x_41; x_10 = x_41;
x_10 = x_51;
x_11 = x_46; x_11 = x_46;
x_12 = x_52; x_12 = x_51;
x_13 = x_55; x_13 = x_52;
goto block_35; x_14 = x_55;
goto block_36;
}
}
block_60:
{
if (x_57 == 0)
{
lean_object* x_58;
x_58 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__8));
x_38 = x_58;
goto block_56;
}
else
{
lean_object* x_59;
x_59 = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__10));
x_38 = x_59;
goto block_56;
} }
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Lean.Compiler.IR // Module: Lean.Compiler.IR
// Imports: public import Lean.Compiler.IR.AddExtern public import Lean.Compiler.IR.Basic public import Lean.Compiler.IR.Format public import Lean.Compiler.IR.CompilerM public import Lean.Compiler.IR.PushProj public import Lean.Compiler.IR.SimpCase public import Lean.Compiler.IR.NormIds public import Lean.Compiler.IR.Checker public import Lean.Compiler.IR.Borrow public import Lean.Compiler.IR.Boxing public import Lean.Compiler.IR.RC public import Lean.Compiler.IR.ExpandResetReuse public import Lean.Compiler.IR.UnboxResult public import Lean.Compiler.IR.EmitC public import Lean.Compiler.IR.Sorry public import Lean.Compiler.IR.ToIR public import Lean.Compiler.IR.ToIRType public import Lean.Compiler.IR.Meta public import Lean.Compiler.IR.Toposort public import Lean.Compiler.IR.SimpleGroundExpr public import Lean.Compiler.IR.LLVMBindings public import Lean.Compiler.IR.EmitLLVM // Imports: public import Lean.Compiler.IR.AddExtern public import Lean.Compiler.IR.Basic public import Lean.Compiler.IR.Format public import Lean.Compiler.IR.CompilerM public import Lean.Compiler.IR.PushProj public import Lean.Compiler.IR.NormIds public import Lean.Compiler.IR.Checker public import Lean.Compiler.IR.Borrow public import Lean.Compiler.IR.Boxing public import Lean.Compiler.IR.RC public import Lean.Compiler.IR.ExpandResetReuse public import Lean.Compiler.IR.UnboxResult public import Lean.Compiler.IR.EmitC public import Lean.Compiler.IR.Sorry public import Lean.Compiler.IR.ToIR public import Lean.Compiler.IR.ToIRType public import Lean.Compiler.IR.Meta public import Lean.Compiler.IR.Toposort public import Lean.Compiler.IR.SimpleGroundExpr public import Lean.Compiler.IR.LLVMBindings public import Lean.Compiler.IR.EmitLLVM
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -14,23 +14,17 @@
extern "C" { extern "C" {
#endif #endif
lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_IR_compile_spec__4(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_IR_compile_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_IR_compile_spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_IR_compile_spec__2___boxed(lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* lean_array_uget(lean_object*, size_t);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l_Lean_IR_Decl_simpCase(lean_object*);
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__2___boxed(lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t); uint8_t lean_usize_dec_eq(size_t, size_t);
lean_object* lean_array_uget(lean_object*, size_t);
lean_object* l_Lean_IR_Decl_detectSimpleGround(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_Decl_detectSimpleGround(lean_object*, lean_object*, lean_object*);
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1___boxed(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_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l_Lean_IR_Decl_expandResetReuse(lean_object*); lean_object* l_Lean_IR_Decl_expandResetReuse(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__5(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__5___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Decl_normalizeIds(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_Decl_pushProj(lean_object*); lean_object* l_Lean_IR_Decl_pushProj(lean_object*);
@ -54,31 +48,26 @@ static const lean_object* l_Lean_IR_compile___closed__6 = (const lean_object*)&l
static const lean_ctor_object l_Lean_IR_compile___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__6_value),LEAN_SCALAR_PTR_LITERAL(72, 5, 38, 228, 229, 249, 19, 211)}}; static const lean_ctor_object l_Lean_IR_compile___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__6_value),LEAN_SCALAR_PTR_LITERAL(72, 5, 38, 228, 229, 249, 19, 211)}};
static const lean_object* l_Lean_IR_compile___closed__7 = (const lean_object*)&l_Lean_IR_compile___closed__7_value; static const lean_object* l_Lean_IR_compile___closed__7 = (const lean_object*)&l_Lean_IR_compile___closed__7_value;
static lean_object* l_Lean_IR_compile___closed__8; static lean_object* l_Lean_IR_compile___closed__8;
static const lean_string_object l_Lean_IR_compile___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "simp_case"}; static const lean_string_object l_Lean_IR_compile___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "borrow"};
static const lean_object* l_Lean_IR_compile___closed__9 = (const lean_object*)&l_Lean_IR_compile___closed__9_value; static const lean_object* l_Lean_IR_compile___closed__9 = (const lean_object*)&l_Lean_IR_compile___closed__9_value;
static const lean_ctor_object l_Lean_IR_compile___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__9_value),LEAN_SCALAR_PTR_LITERAL(51, 161, 3, 18, 2, 242, 35, 48)}}; static const lean_ctor_object l_Lean_IR_compile___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__9_value),LEAN_SCALAR_PTR_LITERAL(6, 238, 236, 65, 232, 33, 155, 173)}};
static const lean_object* l_Lean_IR_compile___closed__10 = (const lean_object*)&l_Lean_IR_compile___closed__10_value; static const lean_object* l_Lean_IR_compile___closed__10 = (const lean_object*)&l_Lean_IR_compile___closed__10_value;
static lean_object* l_Lean_IR_compile___closed__11; static lean_object* l_Lean_IR_compile___closed__11;
static const lean_string_object l_Lean_IR_compile___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "borrow"}; static const lean_string_object l_Lean_IR_compile___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "boxing"};
static const lean_object* l_Lean_IR_compile___closed__12 = (const lean_object*)&l_Lean_IR_compile___closed__12_value; static const lean_object* l_Lean_IR_compile___closed__12 = (const lean_object*)&l_Lean_IR_compile___closed__12_value;
static const lean_ctor_object l_Lean_IR_compile___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__12_value),LEAN_SCALAR_PTR_LITERAL(6, 238, 236, 65, 232, 33, 155, 173)}}; static const lean_ctor_object l_Lean_IR_compile___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__12_value),LEAN_SCALAR_PTR_LITERAL(242, 243, 151, 118, 211, 212, 37, 126)}};
static const lean_object* l_Lean_IR_compile___closed__13 = (const lean_object*)&l_Lean_IR_compile___closed__13_value; static const lean_object* l_Lean_IR_compile___closed__13 = (const lean_object*)&l_Lean_IR_compile___closed__13_value;
static lean_object* l_Lean_IR_compile___closed__14; static lean_object* l_Lean_IR_compile___closed__14;
static const lean_string_object l_Lean_IR_compile___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "boxing"}; static const lean_string_object l_Lean_IR_compile___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "rc"};
static const lean_object* l_Lean_IR_compile___closed__15 = (const lean_object*)&l_Lean_IR_compile___closed__15_value; static const lean_object* l_Lean_IR_compile___closed__15 = (const lean_object*)&l_Lean_IR_compile___closed__15_value;
static const lean_ctor_object l_Lean_IR_compile___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__15_value),LEAN_SCALAR_PTR_LITERAL(242, 243, 151, 118, 211, 212, 37, 126)}}; static const lean_ctor_object l_Lean_IR_compile___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__15_value),LEAN_SCALAR_PTR_LITERAL(47, 196, 226, 82, 255, 49, 236, 119)}};
static const lean_object* l_Lean_IR_compile___closed__16 = (const lean_object*)&l_Lean_IR_compile___closed__16_value; static const lean_object* l_Lean_IR_compile___closed__16 = (const lean_object*)&l_Lean_IR_compile___closed__16_value;
static lean_object* l_Lean_IR_compile___closed__17; static lean_object* l_Lean_IR_compile___closed__17;
static const lean_string_object l_Lean_IR_compile___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "rc"}; static const lean_string_object l_Lean_IR_compile___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "expand_reset_reuse"};
static const lean_object* l_Lean_IR_compile___closed__18 = (const lean_object*)&l_Lean_IR_compile___closed__18_value; static const lean_object* l_Lean_IR_compile___closed__18 = (const lean_object*)&l_Lean_IR_compile___closed__18_value;
static const lean_ctor_object l_Lean_IR_compile___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__18_value),LEAN_SCALAR_PTR_LITERAL(47, 196, 226, 82, 255, 49, 236, 119)}}; static const lean_ctor_object l_Lean_IR_compile___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__18_value),LEAN_SCALAR_PTR_LITERAL(60, 21, 194, 70, 67, 90, 93, 241)}};
static const lean_object* l_Lean_IR_compile___closed__19 = (const lean_object*)&l_Lean_IR_compile___closed__19_value; static const lean_object* l_Lean_IR_compile___closed__19 = (const lean_object*)&l_Lean_IR_compile___closed__19_value;
static lean_object* l_Lean_IR_compile___closed__20; static lean_object* l_Lean_IR_compile___closed__20;
static const lean_string_object l_Lean_IR_compile___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "expand_reset_reuse"};
static const lean_object* l_Lean_IR_compile___closed__21 = (const lean_object*)&l_Lean_IR_compile___closed__21_value;
static const lean_ctor_object l_Lean_IR_compile___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_IR_compile___closed__21_value),LEAN_SCALAR_PTR_LITERAL(60, 21, 194, 70, 67, 90, 93, 241)}};
static const lean_object* l_Lean_IR_compile___closed__22 = (const lean_object*)&l_Lean_IR_compile___closed__22_value;
static lean_object* l_Lean_IR_compile___closed__23;
lean_object* l_Lean_IR_addDecls(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_addDecls(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_IR_inferMeta(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_inferMeta(lean_object*, lean_object*, lean_object*);
size_t lean_array_size(lean_object*); size_t lean_array_size(lean_object*);
@ -166,7 +155,7 @@ static const lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_initFn___close
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_initFn_00___x40_Lean_Compiler_IR_640659120____hygCtx___hyg_2_(); LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_initFn_00___x40_Lean_Compiler_IR_640659120____hygCtx___hyg_2_();
LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_initFn_00___x40_Lean_Compiler_IR_640659120____hygCtx___hyg_2____boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_0__Lean_IR_initFn_00___x40_Lean_Compiler_IR_640659120____hygCtx___hyg_2____boxed(lean_object*);
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_IR_compile_spec__4(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_IR_compile_spec__2(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
@ -203,54 +192,17 @@ return x_10;
} }
} }
} }
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_IR_compile_spec__4___boxed(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_IR_compile_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
uint8_t x_3; lean_object* x_4; uint8_t x_3; lean_object* x_4;
x_3 = l_Lean_Option_get___at___00Lean_IR_compile_spec__4(x_1, x_2); x_3 = l_Lean_Option_get___at___00Lean_IR_compile_spec__2(x_1, x_2);
lean_dec_ref(x_2); lean_dec_ref(x_2);
lean_dec_ref(x_1); lean_dec_ref(x_1);
x_4 = lean_box(x_3); x_4 = lean_box(x_3);
return x_4; return x_4;
} }
} }
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4;
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11;
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lean_IR_Decl_simpCase(x_5);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_7, x_2, x_8);
x_2 = x_10;
x_3 = x_11;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__2___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;
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___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__2(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start: _start:
{ {
@ -302,43 +254,6 @@ lean_dec_ref(x_1);
return x_10; return x_10;
} }
} }
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__5(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4;
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11;
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lean_IR_Decl_expandResetReuse(x_5);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_7, x_2, x_8);
x_2 = x_10;
x_3 = x_11;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__5___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;
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___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__5(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3(size_t x_1, size_t x_2, lean_object* x_3) { LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3(size_t x_1, size_t x_2, lean_object* x_3) {
_start: _start:
{ {
@ -354,7 +269,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x
x_5 = lean_array_uget(x_3, x_2); x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u); x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6); x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lean_IR_Decl_normalizeIds(x_5); x_8 = l_Lean_IR_Decl_expandResetReuse(x_5);
x_9 = 1; x_9 = 1;
x_10 = lean_usize_add(x_2, x_9); x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_7, x_2, x_8); x_11 = lean_array_uset(x_7, x_2, x_8);
@ -483,16 +398,6 @@ x_3 = l_Lean_Name_append(x_2, x_1);
return x_3; return x_3;
} }
} }
static lean_object* _init_l_Lean_IR_compile___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = ((lean_object*)(l_Lean_IR_compile___closed__22));
x_2 = l_Lean_IR_tracePrefixOptionName;
x_3 = l_Lean_Name_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_compile(lean_object* x_1, lean_object* x_2, lean_object* x_3) { LEAN_EXPORT lean_object* l_Lean_IR_compile(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start: _start:
{ {
@ -509,72 +414,59 @@ lean_inc_ref(x_1);
x_69 = l_Lean_IR_checkDecls(x_1, x_2, x_3); x_69 = l_Lean_IR_checkDecls(x_1, x_2, x_3);
if (lean_obj_tag(x_69) == 0) if (lean_obj_tag(x_69) == 0)
{ {
size_t x_70; size_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_70;
lean_dec_ref(x_69); lean_dec_ref(x_69);
x_70 = lean_array_size(x_1); x_70 = l_Lean_IR_inferBorrow___redArg(x_1, x_3);
x_71 = 0; if (lean_obj_tag(x_70) == 0)
x_72 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__2(x_70, x_71, x_1); {
x_73 = ((lean_object*)(l_Lean_IR_compile___closed__10)); lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
x_74 = l_Lean_IR_compile___closed__11; x_71 = lean_ctor_get(x_70, 0);
lean_inc_ref(x_72); lean_inc(x_71);
x_75 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_74, x_73, x_72, x_2, x_3); lean_dec_ref(x_70);
x_72 = ((lean_object*)(l_Lean_IR_compile___closed__10));
x_73 = l_Lean_IR_compile___closed__11;
lean_inc(x_71);
x_74 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_73, x_72, x_71, x_2, x_3);
if (lean_obj_tag(x_74) == 0)
{
lean_object* x_75;
lean_dec_ref(x_74);
x_75 = l_Lean_IR_explicitBoxing___redArg(x_71, x_3);
if (lean_obj_tag(x_75) == 0) if (lean_obj_tag(x_75) == 0)
{ {
size_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79;
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
lean_dec_ref(x_75); lean_dec_ref(x_75);
x_76 = lean_array_size(x_72); x_77 = ((lean_object*)(l_Lean_IR_compile___closed__13));
x_77 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3(x_76, x_71, x_72); x_78 = l_Lean_IR_compile___closed__14;
x_78 = l_Lean_IR_inferBorrow___redArg(x_77, x_3); lean_inc(x_76);
if (lean_obj_tag(x_78) == 0) x_79 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_78, x_77, x_76, x_2, x_3);
if (lean_obj_tag(x_79) == 0)
{ {
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_80;
x_79 = lean_ctor_get(x_78, 0); lean_dec_ref(x_79);
lean_inc(x_79); x_80 = l_Lean_IR_explicitRC___redArg(x_76, x_3);
lean_dec_ref(x_78); if (lean_obj_tag(x_80) == 0)
x_80 = ((lean_object*)(l_Lean_IR_compile___closed__13));
x_81 = l_Lean_IR_compile___closed__14;
lean_inc(x_79);
x_82 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_81, x_80, x_79, x_2, x_3);
if (lean_obj_tag(x_82) == 0)
{ {
lean_object* x_83; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84;
lean_dec_ref(x_82); x_81 = lean_ctor_get(x_80, 0);
x_83 = l_Lean_IR_explicitBoxing___redArg(x_79, x_3); lean_inc(x_81);
if (lean_obj_tag(x_83) == 0) lean_dec_ref(x_80);
x_82 = ((lean_object*)(l_Lean_IR_compile___closed__16));
x_83 = l_Lean_IR_compile___closed__17;
lean_inc(x_81);
x_84 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_83, x_82, x_81, x_2, x_3);
if (lean_obj_tag(x_84) == 0)
{ {
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_85; lean_object* x_86; uint8_t x_87;
x_84 = lean_ctor_get(x_83, 0); lean_dec_ref(x_84);
lean_inc(x_84); x_85 = lean_ctor_get(x_2, 2);
lean_dec_ref(x_83); x_86 = l_Lean_Compiler_LCNF_compiler_reuse;
x_85 = ((lean_object*)(l_Lean_IR_compile___closed__16)); x_87 = l_Lean_Option_get___at___00Lean_IR_compile_spec__2(x_85, x_86);
x_86 = l_Lean_IR_compile___closed__17; if (x_87 == 0)
lean_inc(x_84);
x_87 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_86, x_85, x_84, x_2, x_3);
if (lean_obj_tag(x_87) == 0)
{ {
lean_object* x_88; x_29 = x_81;
lean_dec_ref(x_87);
x_88 = l_Lean_IR_explicitRC___redArg(x_84, x_3);
if (lean_obj_tag(x_88) == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92;
x_89 = lean_ctor_get(x_88, 0);
lean_inc(x_89);
lean_dec_ref(x_88);
x_90 = ((lean_object*)(l_Lean_IR_compile___closed__19));
x_91 = l_Lean_IR_compile___closed__20;
lean_inc(x_89);
x_92 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_91, x_90, x_89, x_2, x_3);
if (lean_obj_tag(x_92) == 0)
{
lean_object* x_93; lean_object* x_94; uint8_t x_95;
lean_dec_ref(x_92);
x_93 = lean_ctor_get(x_2, 2);
x_94 = l_Lean_Compiler_LCNF_compiler_reuse;
x_95 = l_Lean_Option_get___at___00Lean_IR_compile_spec__4(x_93, x_94);
if (x_95 == 0)
{
x_29 = x_89;
x_30 = x_2; x_30 = x_2;
x_31 = x_3; x_31 = x_3;
x_32 = lean_box(0); x_32 = lean_box(0);
@ -582,17 +474,18 @@ goto block_65;
} }
else else
{ {
size_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; size_t x_88; size_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93;
x_96 = lean_array_size(x_89); x_88 = lean_array_size(x_81);
x_97 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__5(x_96, x_71, x_89); x_89 = 0;
x_98 = ((lean_object*)(l_Lean_IR_compile___closed__22)); x_90 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_compile_spec__3(x_88, x_89, x_81);
x_99 = l_Lean_IR_compile___closed__23; x_91 = ((lean_object*)(l_Lean_IR_compile___closed__19));
lean_inc_ref(x_97); x_92 = l_Lean_IR_compile___closed__20;
x_100 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_99, x_98, x_97, x_2, x_3); lean_inc_ref(x_90);
if (lean_obj_tag(x_100) == 0) x_93 = l___private_Lean_Compiler_IR_CompilerM_0__Lean_IR_logDeclsAux(x_92, x_91, x_90, x_2, x_3);
if (lean_obj_tag(x_93) == 0)
{ {
lean_dec_ref(x_100); lean_dec_ref(x_93);
x_29 = x_97; x_29 = x_90;
x_30 = x_2; x_30 = x_2;
x_31 = x_3; x_31 = x_3;
x_32 = lean_box(0); x_32 = lean_box(0);
@ -600,78 +493,48 @@ goto block_65;
} }
else else
{ {
uint8_t x_101; uint8_t x_94;
lean_dec_ref(x_97); lean_dec_ref(x_90);
lean_dec(x_3); lean_dec(x_3);
lean_dec_ref(x_2); lean_dec_ref(x_2);
x_101 = !lean_is_exclusive(x_100); x_94 = !lean_is_exclusive(x_93);
if (x_101 == 0) if (x_94 == 0)
{ {
return x_100; return x_93;
} }
else else
{ {
lean_object* x_102; lean_object* x_103; lean_object* x_95; lean_object* x_96;
x_102 = lean_ctor_get(x_100, 0); x_95 = lean_ctor_get(x_93, 0);
lean_inc(x_102); lean_inc(x_95);
lean_dec(x_100); lean_dec(x_93);
x_103 = lean_alloc_ctor(1, 1, 0); x_96 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_103, 0, x_102); lean_ctor_set(x_96, 0, x_95);
return x_103; return x_96;
} }
} }
} }
} }
else else
{ {
uint8_t x_104; uint8_t x_97;
lean_dec(x_89); lean_dec(x_81);
lean_dec(x_3); lean_dec(x_3);
lean_dec_ref(x_2); lean_dec_ref(x_2);
x_104 = !lean_is_exclusive(x_92); x_97 = !lean_is_exclusive(x_84);
if (x_104 == 0) if (x_97 == 0)
{ {
return x_92; return x_84;
} }
else else
{ {
lean_object* x_105; lean_object* x_106; lean_object* x_98; lean_object* x_99;
x_105 = lean_ctor_get(x_92, 0); x_98 = lean_ctor_get(x_84, 0);
lean_inc(x_105); lean_inc(x_98);
lean_dec(x_92);
x_106 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_106, 0, x_105);
return x_106;
}
}
}
else
{
lean_dec(x_3);
lean_dec_ref(x_2);
return x_88;
}
}
else
{
uint8_t x_107;
lean_dec(x_84); lean_dec(x_84);
lean_dec(x_3); x_99 = lean_alloc_ctor(1, 1, 0);
lean_dec_ref(x_2); lean_ctor_set(x_99, 0, x_98);
x_107 = !lean_is_exclusive(x_87); return x_99;
if (x_107 == 0)
{
return x_87;
}
else
{
lean_object* x_108; lean_object* x_109;
x_108 = lean_ctor_get(x_87, 0);
lean_inc(x_108);
lean_dec(x_87);
x_109 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_109, 0, x_108);
return x_109;
} }
} }
} }
@ -679,29 +542,29 @@ else
{ {
lean_dec(x_3); lean_dec(x_3);
lean_dec_ref(x_2); lean_dec_ref(x_2);
return x_83; return x_80;
} }
} }
else else
{ {
uint8_t x_110; uint8_t x_100;
lean_dec(x_76);
lean_dec(x_3);
lean_dec_ref(x_2);
x_100 = !lean_is_exclusive(x_79);
if (x_100 == 0)
{
return x_79;
}
else
{
lean_object* x_101; lean_object* x_102;
x_101 = lean_ctor_get(x_79, 0);
lean_inc(x_101);
lean_dec(x_79); lean_dec(x_79);
lean_dec(x_3); x_102 = lean_alloc_ctor(1, 1, 0);
lean_dec_ref(x_2); lean_ctor_set(x_102, 0, x_101);
x_110 = !lean_is_exclusive(x_82); return x_102;
if (x_110 == 0)
{
return x_82;
}
else
{
lean_object* x_111; lean_object* x_112;
x_111 = lean_ctor_get(x_82, 0);
lean_inc(x_111);
lean_dec(x_82);
x_112 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_112, 0, x_111);
return x_112;
} }
} }
} }
@ -709,88 +572,95 @@ else
{ {
lean_dec(x_3); lean_dec(x_3);
lean_dec_ref(x_2); lean_dec_ref(x_2);
return x_78;
}
}
else
{
uint8_t x_113;
lean_dec_ref(x_72);
lean_dec(x_3);
lean_dec_ref(x_2);
x_113 = !lean_is_exclusive(x_75);
if (x_113 == 0)
{
return x_75; return x_75;
} }
}
else else
{ {
lean_object* x_114; lean_object* x_115; uint8_t x_103;
x_114 = lean_ctor_get(x_75, 0); lean_dec(x_71);
lean_inc(x_114); lean_dec(x_3);
lean_dec(x_75); lean_dec_ref(x_2);
x_115 = lean_alloc_ctor(1, 1, 0); x_103 = !lean_is_exclusive(x_74);
lean_ctor_set(x_115, 0, x_114); if (x_103 == 0)
return x_115; {
return x_74;
}
else
{
lean_object* x_104; lean_object* x_105;
x_104 = lean_ctor_get(x_74, 0);
lean_inc(x_104);
lean_dec(x_74);
x_105 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_105, 0, x_104);
return x_105;
} }
} }
} }
else else
{ {
uint8_t x_116; lean_dec(x_3);
lean_dec_ref(x_2);
return x_70;
}
}
else
{
uint8_t x_106;
lean_dec(x_3); lean_dec(x_3);
lean_dec_ref(x_2); lean_dec_ref(x_2);
lean_dec_ref(x_1); lean_dec_ref(x_1);
x_116 = !lean_is_exclusive(x_69); x_106 = !lean_is_exclusive(x_69);
if (x_116 == 0) if (x_106 == 0)
{ {
return x_69; return x_69;
} }
else else
{ {
lean_object* x_117; lean_object* x_118; lean_object* x_107; lean_object* x_108;
x_117 = lean_ctor_get(x_69, 0); x_107 = lean_ctor_get(x_69, 0);
lean_inc(x_117); lean_inc(x_107);
lean_dec(x_69); lean_dec(x_69);
x_118 = lean_alloc_ctor(1, 1, 0); x_108 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_108, 0, x_107);
return x_118; return x_108;
} }
} }
} }
else else
{ {
uint8_t x_119; uint8_t x_109;
lean_dec(x_3); lean_dec(x_3);
lean_dec_ref(x_2); lean_dec_ref(x_2);
lean_dec_ref(x_1); lean_dec_ref(x_1);
x_119 = !lean_is_exclusive(x_68); x_109 = !lean_is_exclusive(x_68);
if (x_119 == 0) if (x_109 == 0)
{ {
return x_68; return x_68;
} }
else else
{ {
lean_object* x_120; lean_object* x_121; lean_object* x_110; lean_object* x_111;
x_120 = lean_ctor_get(x_68, 0); x_110 = lean_ctor_get(x_68, 0);
lean_inc(x_120); lean_inc(x_110);
lean_dec(x_68); lean_dec(x_68);
x_121 = lean_alloc_ctor(1, 1, 0); x_111 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_121, 0, x_120); lean_ctor_set(x_111, 0, x_110);
return x_121; return x_111;
} }
} }
block_20: block_20:
{ {
lean_object* x_9; lean_object* x_9;
x_9 = l_Lean_IR_addDecls(x_7, x_6, x_5); x_9 = l_Lean_IR_addDecls(x_5, x_7, x_6);
if (lean_obj_tag(x_9) == 0) if (lean_obj_tag(x_9) == 0)
{ {
lean_object* x_10; lean_object* x_10;
lean_dec_ref(x_9); lean_dec_ref(x_9);
x_10 = l_Lean_IR_inferMeta(x_7, x_6, x_5); x_10 = l_Lean_IR_inferMeta(x_5, x_7, x_6);
lean_dec(x_5); lean_dec(x_6);
lean_dec_ref(x_6); lean_dec_ref(x_7);
if (lean_obj_tag(x_10) == 0) if (lean_obj_tag(x_10) == 0)
{ {
uint8_t x_11; uint8_t x_11;
@ -800,7 +670,7 @@ if (x_11 == 0)
lean_object* x_12; lean_object* x_12;
x_12 = lean_ctor_get(x_10, 0); x_12 = lean_ctor_get(x_10, 0);
lean_dec(x_12); lean_dec(x_12);
lean_ctor_set(x_10, 0, x_7); lean_ctor_set(x_10, 0, x_5);
return x_10; return x_10;
} }
else else
@ -808,14 +678,14 @@ else
lean_object* x_13; lean_object* x_13;
lean_dec(x_10); lean_dec(x_10);
x_13 = lean_alloc_ctor(0, 1, 0); x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_7); lean_ctor_set(x_13, 0, x_5);
return x_13; return x_13;
} }
} }
else else
{ {
uint8_t x_14; uint8_t x_14;
lean_dec_ref(x_7); lean_dec_ref(x_5);
x_14 = !lean_is_exclusive(x_10); x_14 = !lean_is_exclusive(x_10);
if (x_14 == 0) if (x_14 == 0)
{ {
@ -837,8 +707,8 @@ else
{ {
uint8_t x_17; uint8_t x_17;
lean_dec_ref(x_7); lean_dec_ref(x_7);
lean_dec_ref(x_6); lean_dec(x_6);
lean_dec(x_5); lean_dec_ref(x_5);
x_17 = !lean_is_exclusive(x_9); x_17 = !lean_is_exclusive(x_9);
if (x_17 == 0) if (x_17 == 0)
{ {
@ -871,8 +741,8 @@ else
{ {
uint8_t x_25; uint8_t x_25;
lean_dec_ref(x_23); lean_dec_ref(x_23);
lean_dec_ref(x_22); lean_dec(x_22);
lean_dec(x_21); lean_dec_ref(x_21);
x_25 = !lean_is_exclusive(x_24); x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0) if (x_25 == 0)
{ {
@ -940,9 +810,9 @@ x_48 = lean_array_get_size(x_46);
x_49 = lean_nat_dec_lt(x_47, x_48); x_49 = lean_nat_dec_lt(x_47, x_48);
if (x_49 == 0) if (x_49 == 0)
{ {
x_5 = x_31; x_5 = x_46;
x_6 = x_30; x_6 = x_31;
x_7 = x_46; x_7 = x_30;
x_8 = lean_box(0); x_8 = lean_box(0);
goto block_20; goto block_20;
} }
@ -955,9 +825,9 @@ if (x_51 == 0)
{ {
if (x_49 == 0) if (x_49 == 0)
{ {
x_5 = x_31; x_5 = x_46;
x_6 = x_30; x_6 = x_31;
x_7 = x_46; x_7 = x_30;
x_8 = lean_box(0); x_8 = lean_box(0);
goto block_20; goto block_20;
} }
@ -966,9 +836,9 @@ else
size_t x_52; lean_object* x_53; size_t x_52; lean_object* x_53;
x_52 = lean_usize_of_nat(x_48); x_52 = lean_usize_of_nat(x_48);
x_53 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(x_46, x_34, x_52, x_50, x_30, x_31); x_53 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(x_46, x_34, x_52, x_50, x_30, x_31);
x_21 = x_31; x_21 = x_46;
x_22 = x_30; x_22 = x_31;
x_23 = x_46; x_23 = x_30;
x_24 = x_53; x_24 = x_53;
goto block_28; goto block_28;
} }
@ -978,9 +848,9 @@ else
size_t x_54; lean_object* x_55; size_t x_54; lean_object* x_55;
x_54 = lean_usize_of_nat(x_48); x_54 = lean_usize_of_nat(x_48);
x_55 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(x_46, x_34, x_54, x_50, x_30, x_31); x_55 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_IR_compile_spec__1(x_46, x_34, x_54, x_50, x_30, x_31);
x_21 = x_31; x_21 = x_46;
x_22 = x_30; x_22 = x_31;
x_23 = x_46; x_23 = x_30;
x_24 = x_55; x_24 = x_55;
goto block_28; goto block_28;
} }
@ -1126,7 +996,6 @@ lean_object* initialize_Lean_Compiler_IR_Basic(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_Format(uint8_t builtin); lean_object* initialize_Lean_Compiler_IR_Format(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_CompilerM(uint8_t builtin); lean_object* initialize_Lean_Compiler_IR_CompilerM(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_PushProj(uint8_t builtin); lean_object* initialize_Lean_Compiler_IR_PushProj(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_SimpCase(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_NormIds(uint8_t builtin); lean_object* initialize_Lean_Compiler_IR_NormIds(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_Checker(uint8_t builtin); lean_object* initialize_Lean_Compiler_IR_Checker(uint8_t builtin);
lean_object* initialize_Lean_Compiler_IR_Borrow(uint8_t builtin); lean_object* initialize_Lean_Compiler_IR_Borrow(uint8_t builtin);
@ -1163,9 +1032,6 @@ lean_dec_ref(res);
res = initialize_Lean_Compiler_IR_PushProj(builtin); res = initialize_Lean_Compiler_IR_PushProj(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Lean_Compiler_IR_SimpCase(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Compiler_IR_NormIds(builtin); res = initialize_Lean_Compiler_IR_NormIds(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
@ -1228,8 +1094,6 @@ l_Lean_IR_compile___closed__17 = _init_l_Lean_IR_compile___closed__17();
lean_mark_persistent(l_Lean_IR_compile___closed__17); lean_mark_persistent(l_Lean_IR_compile___closed__17);
l_Lean_IR_compile___closed__20 = _init_l_Lean_IR_compile___closed__20(); l_Lean_IR_compile___closed__20 = _init_l_Lean_IR_compile___closed__20();
lean_mark_persistent(l_Lean_IR_compile___closed__20); lean_mark_persistent(l_Lean_IR_compile___closed__20);
l_Lean_IR_compile___closed__23 = _init_l_Lean_IR_compile___closed__23();
lean_mark_persistent(l_Lean_IR_compile___closed__23);
if (builtin) {res = l___private_Lean_Compiler_IR_0__Lean_IR_initFn_00___x40_Lean_Compiler_IR_640659120____hygCtx___hyg_2_(); if (builtin) {res = l___private_Lean_Compiler_IR_0__Lean_IR_initFn_00___x40_Lean_Compiler_IR_640659120____hygCtx___hyg_2_();
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -2151,7 +2151,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; 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 = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Compiler_LCNF_PassInstaller_withEachOccurrence_spec__1___redArg___closed__1)); x_1 = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Compiler_LCNF_PassInstaller_withEachOccurrence_spec__1___redArg___closed__1));
x_2 = lean_unsigned_to_nat(8u); x_2 = lean_unsigned_to_nat(8u);
x_3 = lean_unsigned_to_nat(163u); x_3 = lean_unsigned_to_nat(170u);
x_4 = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Compiler_LCNF_PassInstaller_withEachOccurrence_spec__1___redArg___closed__0)); x_4 = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Compiler_LCNF_PassInstaller_withEachOccurrence_spec__1___redArg___closed__0));
x_5 = ((lean_object*)(l_Lean_Compiler_LCNF_Phase_withPurityCheck___redArg___closed__0)); x_5 = ((lean_object*)(l_Lean_Compiler_LCNF_Phase_withPurityCheck___redArg___closed__0));
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Lean.Compiler.LCNF.Passes // Module: Lean.Compiler.LCNF.Passes
// Imports: public import Lean.Compiler.LCNF.PullLetDecls public import Lean.Compiler.LCNF.CSE public import Lean.Compiler.LCNF.JoinPoints public import Lean.Compiler.LCNF.Specialize public import Lean.Compiler.LCNF.ToMono public import Lean.Compiler.LCNF.LambdaLifting public import Lean.Compiler.LCNF.FloatLetIn public import Lean.Compiler.LCNF.ReduceArity public import Lean.Compiler.LCNF.ElimDeadBranches public import Lean.Compiler.LCNF.StructProjCases public import Lean.Compiler.LCNF.ExtractClosed public import Lean.Compiler.LCNF.Visibility public import Lean.Compiler.LCNF.Simp public import Lean.Compiler.LCNF.ToImpure public import Lean.Compiler.LCNF.PushProj public import Lean.Compiler.LCNF.ResetReuse // Imports: public import Lean.Compiler.LCNF.PullLetDecls public import Lean.Compiler.LCNF.CSE public import Lean.Compiler.LCNF.JoinPoints public import Lean.Compiler.LCNF.Specialize public import Lean.Compiler.LCNF.ToMono public import Lean.Compiler.LCNF.LambdaLifting public import Lean.Compiler.LCNF.FloatLetIn public import Lean.Compiler.LCNF.ReduceArity public import Lean.Compiler.LCNF.ElimDeadBranches public import Lean.Compiler.LCNF.StructProjCases public import Lean.Compiler.LCNF.ExtractClosed public import Lean.Compiler.LCNF.Visibility public import Lean.Compiler.LCNF.Simp public import Lean.Compiler.LCNF.ToImpure public import Lean.Compiler.LCNF.PushProj public import Lean.Compiler.LCNF.ResetReuse public import Lean.Compiler.LCNF.SimpCase
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -210,9 +210,11 @@ static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__66;
extern lean_object* l_Lean_Compiler_LCNF_insertResetReuse; extern lean_object* l_Lean_Compiler_LCNF_insertResetReuse;
static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__67; static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__67;
static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__68; static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__68;
extern lean_object* l_Lean_Compiler_LCNF_simpCase;
static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__69; static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__69;
static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__70; static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__70;
static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__71; static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__71;
static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__72;
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_builtinPassManager; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_builtinPassManager;
lean_object* l_Lean_Compiler_LCNF_PassInstaller_runFromDecl(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PassInstaller_runFromDecl(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Compiler_LCNF_runImportedDecls_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Compiler_LCNF_runImportedDecls_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
@ -2051,7 +2053,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__65()
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(5u); x_1 = lean_unsigned_to_nat(6u);
x_2 = lean_mk_empty_array_with_capacity(x_1); x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2; return x_2;
} }
@ -2090,7 +2092,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__69()
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Compiler_LCNF_builtinPassManager___closed__64; x_1 = l_Lean_Compiler_LCNF_simpCase;
x_2 = l_Lean_Compiler_LCNF_builtinPassManager___closed__68; x_2 = l_Lean_Compiler_LCNF_builtinPassManager___closed__68;
x_3 = lean_array_push(x_2, x_1); x_3 = lean_array_push(x_2, x_1);
return x_3; return x_3;
@ -2100,7 +2102,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__70()
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = ((lean_object*)(l_Lean_Compiler_LCNF_Pass_saveImpure)); x_1 = l_Lean_Compiler_LCNF_builtinPassManager___closed__64;
x_2 = l_Lean_Compiler_LCNF_builtinPassManager___closed__69; x_2 = l_Lean_Compiler_LCNF_builtinPassManager___closed__69;
x_3 = lean_array_push(x_2, x_1); x_3 = lean_array_push(x_2, x_1);
return x_3; return x_3;
@ -2109,8 +2111,18 @@ return x_3;
static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__71() { static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__71() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = ((lean_object*)(l_Lean_Compiler_LCNF_Pass_saveImpure));
x_2 = l_Lean_Compiler_LCNF_builtinPassManager___closed__70;
x_3 = lean_array_push(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__72() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Compiler_LCNF_builtinPassManager___closed__70; x_1 = l_Lean_Compiler_LCNF_builtinPassManager___closed__71;
x_2 = l_Lean_Compiler_LCNF_builtinPassManager___closed__61; x_2 = l_Lean_Compiler_LCNF_builtinPassManager___closed__61;
x_3 = l_Lean_Compiler_LCNF_builtinPassManager___closed__48; x_3 = l_Lean_Compiler_LCNF_builtinPassManager___closed__48;
x_4 = l_Lean_Compiler_LCNF_builtinPassManager___closed__31; x_4 = l_Lean_Compiler_LCNF_builtinPassManager___closed__31;
@ -2126,7 +2138,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_1;
x_1 = l_Lean_Compiler_LCNF_builtinPassManager___closed__71; x_1 = l_Lean_Compiler_LCNF_builtinPassManager___closed__72;
return x_1; return x_1;
} }
} }
@ -4415,6 +4427,7 @@ lean_object* initialize_Lean_Compiler_LCNF_Simp(uint8_t builtin);
lean_object* initialize_Lean_Compiler_LCNF_ToImpure(uint8_t builtin); lean_object* initialize_Lean_Compiler_LCNF_ToImpure(uint8_t builtin);
lean_object* initialize_Lean_Compiler_LCNF_PushProj(uint8_t builtin); lean_object* initialize_Lean_Compiler_LCNF_PushProj(uint8_t builtin);
lean_object* initialize_Lean_Compiler_LCNF_ResetReuse(uint8_t builtin); lean_object* initialize_Lean_Compiler_LCNF_ResetReuse(uint8_t builtin);
lean_object* initialize_Lean_Compiler_LCNF_SimpCase(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF_Passes(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF_Passes(uint8_t builtin) {
lean_object * res; lean_object * res;
@ -4468,6 +4481,9 @@ lean_dec_ref(res);
res = initialize_Lean_Compiler_LCNF_ResetReuse(builtin); res = initialize_Lean_Compiler_LCNF_ResetReuse(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Lean_Compiler_LCNF_SimpCase(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_Pass_checkMeta_spec__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_Pass_checkMeta_spec__0___closed__0(); l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_Pass_checkMeta_spec__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_Pass_checkMeta_spec__0___closed__0();
l_Lean_Compiler_LCNF_builtinPassManager___closed__0 = _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__0(); l_Lean_Compiler_LCNF_builtinPassManager___closed__0 = _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__0();
lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager___closed__0); lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager___closed__0);
@ -4609,6 +4625,8 @@ l_Lean_Compiler_LCNF_builtinPassManager___closed__70 = _init_l_Lean_Compiler_LCN
lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager___closed__70); lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager___closed__70);
l_Lean_Compiler_LCNF_builtinPassManager___closed__71 = _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__71(); l_Lean_Compiler_LCNF_builtinPassManager___closed__71 = _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__71();
lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager___closed__71); lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager___closed__71);
l_Lean_Compiler_LCNF_builtinPassManager___closed__72 = _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__72();
lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager___closed__72);
l_Lean_Compiler_LCNF_builtinPassManager = _init_l_Lean_Compiler_LCNF_builtinPassManager(); l_Lean_Compiler_LCNF_builtinPassManager = _init_l_Lean_Compiler_LCNF_builtinPassManager();
lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager); lean_mark_persistent(l_Lean_Compiler_LCNF_builtinPassManager);
l_Lean_Compiler_LCNF_initFn___closed__10_00___x40_Lean_Compiler_LCNF_Passes_3698839830____hygCtx___hyg_2_ = _init_l_Lean_Compiler_LCNF_initFn___closed__10_00___x40_Lean_Compiler_LCNF_Passes_3698839830____hygCtx___hyg_2_(); l_Lean_Compiler_LCNF_initFn___closed__10_00___x40_Lean_Compiler_LCNF_Passes_3698839830____hygCtx___hyg_2_ = _init_l_Lean_Compiler_LCNF_initFn___closed__10_00___x40_Lean_Compiler_LCNF_Passes_3698839830____hygCtx___hyg_2_();

View file

@ -4595,25 +4595,17 @@ return x_5;
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
x_4 = lean_st_ref_get(x_2); x_4 = lean_st_ref_get(x_2);
x_5 = lean_ctor_get(x_4, 0); x_5 = lean_ctor_get(x_4, 0);
lean_inc_ref(x_5); lean_inc_ref(x_5);
lean_dec(x_4); lean_dec(x_4);
x_6 = l_Lean_Compiler_LCNF_impureSigExt; x_6 = 1;
x_7 = lean_ctor_get(x_6, 0); x_7 = l_Lean_Compiler_LCNF_impureSigExt;
lean_inc_ref(x_7); x_8 = l_Lean_Compiler_LCNF_getSigCore_x3f(x_6, x_5, x_7, x_1);
x_8 = lean_ctor_get(x_7, 2); x_9 = lean_alloc_ctor(0, 1, 0);
lean_inc(x_8); lean_ctor_set(x_9, 0, x_8);
lean_dec_ref(x_7); return x_9;
x_9 = l_Lean_Compiler_LCNF_instInhabitedSigExt___closed__0;
x_10 = lean_box(0);
x_11 = l_Lean_PersistentEnvExtension_getState___redArg(x_9, x_6, x_5, x_8, x_10);
lean_dec(x_8);
x_12 = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Compiler_LCNF_getDeclCore_x3f_spec__0___redArg(x_11, x_1);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
} }
} }
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
@ -4622,7 +4614,6 @@ _start:
lean_object* x_4; lean_object* x_4;
x_4 = l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(x_1, x_2); x_4 = l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(x_1, x_2);
lean_dec(x_2); lean_dec(x_2);
lean_dec(x_1);
return x_4; return x_4;
} }
} }
@ -4641,7 +4632,6 @@ lean_object* x_5;
x_5 = l_Lean_Compiler_LCNF_getImpureSignature_x3f(x_1, x_2, x_3); x_5 = l_Lean_Compiler_LCNF_getImpureSignature_x3f(x_1, x_2, x_3);
lean_dec(x_3); lean_dec(x_3);
lean_dec_ref(x_2); lean_dec_ref(x_2);
lean_dec(x_1);
return x_5; return x_5;
} }
} }

File diff suppressed because it is too large Load diff

2919
stage0/stdlib/Lean/Compiler/LCNF/SimpCase.c generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -4658,6 +4658,7 @@ lean_object* x_175; lean_object* x_176;
x_175 = lean_ctor_get(x_174, 0); x_175 = lean_ctor_get(x_174, 0);
lean_inc(x_175); lean_inc(x_175);
lean_dec_ref(x_174); lean_dec_ref(x_174);
lean_inc(x_170);
x_176 = l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(x_170, x_7); x_176 = l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(x_170, x_7);
if (lean_obj_tag(x_176) == 0) if (lean_obj_tag(x_176) == 0)
{ {

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -489,9 +489,8 @@ lean_object* l_Lean_Meta_Grind_SymbolPriorities_insert(lean_object*, lean_object
lean_object* l_Lean_Meta_Grind_mkInjectiveTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Grind_mkInjectiveTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_TSyntax_getId(lean_object*); lean_object* l_Lean_TSyntax_getId(lean_object*);
lean_object* l_Lean_Meta_Grind_getExtension_x3f(lean_object*); lean_object* l_Lean_Meta_Grind_getExtension_x3f(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_getPrefix(lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*);
lean_object* lean_io_error_to_string(lean_object*);
uint8_t l_Lean_Exception_isInterrupt(lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*);
uint8_t l_Lean_Exception_isRuntime(lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -9925,7 +9924,7 @@ return x_12;
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00__private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___00Lean_resolveLocalName___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__5_spec__8_spec__13_spec__16_spec__18_spec__20_spec__21___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00__private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___00Lean_resolveLocalName___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__5_spec__8_spec__13_spec__16_spec__18_spec__20_spec__21___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start: _start:
{ {
lean_object* x_10; uint8_t 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_50; uint8_t x_51; lean_object* x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_77; lean_object* x_78; uint8_t x_79; uint8_t x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_88; uint8_t x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t 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_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; uint8_t x_56; lean_object* x_57; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; uint8_t x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125;
x_100 = 2; x_100 = 2;
x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100); x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100);
if (x_125 == 0) if (x_125 == 0)
@ -9960,15 +9959,15 @@ lean_ctor_set(x_25, 0, x_21);
lean_ctor_set(x_25, 1, x_22); lean_ctor_set(x_25, 1, x_22);
x_26 = lean_alloc_ctor(4, 2, 0); x_26 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_13); lean_ctor_set(x_26, 1, x_16);
x_27 = lean_alloc_ctor(0, 5, 3); x_27 = lean_alloc_ctor(0, 5, 3);
lean_ctor_set(x_27, 0, x_15); lean_ctor_set(x_27, 0, x_15);
lean_ctor_set(x_27, 1, x_16); lean_ctor_set(x_27, 1, x_11);
lean_ctor_set(x_27, 2, x_12); lean_ctor_set(x_27, 2, x_10);
lean_ctor_set(x_27, 3, x_10); lean_ctor_set(x_27, 3, x_12);
lean_ctor_set(x_27, 4, x_26); lean_ctor_set(x_27, 4, x_26);
lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_11); lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_14);
lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_14); lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_13);
lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4); lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4);
x_28 = l_Lean_MessageLog_add(x_27, x_24); x_28 = l_Lean_MessageLog_add(x_27, x_24);
lean_ctor_set(x_20, 6, x_28); lean_ctor_set(x_20, 6, x_28);
@ -10005,15 +10004,15 @@ lean_ctor_set(x_41, 0, x_21);
lean_ctor_set(x_41, 1, x_22); lean_ctor_set(x_41, 1, x_22);
x_42 = lean_alloc_ctor(4, 2, 0); x_42 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 0, x_41);
lean_ctor_set(x_42, 1, x_13); lean_ctor_set(x_42, 1, x_16);
x_43 = lean_alloc_ctor(0, 5, 3); x_43 = lean_alloc_ctor(0, 5, 3);
lean_ctor_set(x_43, 0, x_15); lean_ctor_set(x_43, 0, x_15);
lean_ctor_set(x_43, 1, x_16); lean_ctor_set(x_43, 1, x_11);
lean_ctor_set(x_43, 2, x_12); lean_ctor_set(x_43, 2, x_10);
lean_ctor_set(x_43, 3, x_10); lean_ctor_set(x_43, 3, x_12);
lean_ctor_set(x_43, 4, x_42); lean_ctor_set(x_43, 4, x_42);
lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_11); lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_14);
lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_14); lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_13);
lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4); lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4);
x_44 = l_Lean_MessageLog_add(x_43, x_38); x_44 = l_Lean_MessageLog_add(x_43, x_38);
x_45 = lean_alloc_ctor(0, 9, 0); x_45 = lean_alloc_ctor(0, 9, 0);
@ -10043,25 +10042,25 @@ if (x_60 == 0)
{ {
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65;
x_61 = lean_ctor_get(x_59, 0); x_61 = lean_ctor_get(x_59, 0);
lean_inc_ref(x_56); lean_inc_ref(x_53);
x_62 = l_Lean_FileMap_toPosition(x_56, x_52); x_62 = l_Lean_FileMap_toPosition(x_53, x_51);
lean_dec(x_52); lean_dec(x_51);
x_63 = l_Lean_FileMap_toPosition(x_56, x_57); x_63 = l_Lean_FileMap_toPosition(x_53, x_57);
lean_dec(x_57); lean_dec(x_57);
x_64 = lean_alloc_ctor(1, 1, 0); x_64 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 0, x_63);
x_65 = ((lean_object*)(l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_warnRedundantEMatchArg_spec__0_spec__0_spec__1___closed__0)); x_65 = ((lean_object*)(l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_warnRedundantEMatchArg_spec__0_spec__0_spec__1___closed__0));
if (x_51 == 0) if (x_52 == 0)
{ {
lean_free_object(x_59); lean_free_object(x_59);
lean_dec_ref(x_50); lean_dec_ref(x_50);
x_10 = x_65; x_10 = x_64;
x_11 = x_53; x_11 = x_62;
x_12 = x_64; x_12 = x_65;
x_13 = x_61; x_13 = x_56;
x_14 = x_54; x_14 = x_55;
x_15 = x_55; x_15 = x_54;
x_16 = x_62; x_16 = x_61;
x_17 = x_7; x_17 = x_7;
x_18 = x_8; x_18 = x_8;
x_19 = lean_box(0); x_19 = lean_box(0);
@ -10078,7 +10077,7 @@ lean_object* x_67;
lean_dec_ref(x_64); lean_dec_ref(x_64);
lean_dec_ref(x_62); lean_dec_ref(x_62);
lean_dec(x_61); lean_dec(x_61);
lean_dec_ref(x_55); lean_dec_ref(x_54);
lean_dec_ref(x_7); lean_dec_ref(x_7);
x_67 = lean_box(0); x_67 = lean_box(0);
lean_ctor_set(x_59, 0, x_67); lean_ctor_set(x_59, 0, x_67);
@ -10087,13 +10086,13 @@ return x_59;
else else
{ {
lean_free_object(x_59); lean_free_object(x_59);
x_10 = x_65; x_10 = x_64;
x_11 = x_53; x_11 = x_62;
x_12 = x_64; x_12 = x_65;
x_13 = x_61; x_13 = x_56;
x_14 = x_54; x_14 = x_55;
x_15 = x_55; x_15 = x_54;
x_16 = x_62; x_16 = x_61;
x_17 = x_7; x_17 = x_7;
x_18 = x_8; x_18 = x_8;
x_19 = lean_box(0); x_19 = lean_box(0);
@ -10107,24 +10106,24 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean
x_68 = lean_ctor_get(x_59, 0); x_68 = lean_ctor_get(x_59, 0);
lean_inc(x_68); lean_inc(x_68);
lean_dec(x_59); lean_dec(x_59);
lean_inc_ref(x_56); lean_inc_ref(x_53);
x_69 = l_Lean_FileMap_toPosition(x_56, x_52); x_69 = l_Lean_FileMap_toPosition(x_53, x_51);
lean_dec(x_52); lean_dec(x_51);
x_70 = l_Lean_FileMap_toPosition(x_56, x_57); x_70 = l_Lean_FileMap_toPosition(x_53, x_57);
lean_dec(x_57); lean_dec(x_57);
x_71 = lean_alloc_ctor(1, 1, 0); x_71 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 0, x_70);
x_72 = ((lean_object*)(l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_warnRedundantEMatchArg_spec__0_spec__0_spec__1___closed__0)); x_72 = ((lean_object*)(l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_warnRedundantEMatchArg_spec__0_spec__0_spec__1___closed__0));
if (x_51 == 0) if (x_52 == 0)
{ {
lean_dec_ref(x_50); lean_dec_ref(x_50);
x_10 = x_72; x_10 = x_71;
x_11 = x_53; x_11 = x_69;
x_12 = x_71; x_12 = x_72;
x_13 = x_68; x_13 = x_56;
x_14 = x_54; x_14 = x_55;
x_15 = x_55; x_15 = x_54;
x_16 = x_69; x_16 = x_68;
x_17 = x_7; x_17 = x_7;
x_18 = x_8; x_18 = x_8;
x_19 = lean_box(0); x_19 = lean_box(0);
@ -10141,7 +10140,7 @@ lean_object* x_74; lean_object* x_75;
lean_dec_ref(x_71); lean_dec_ref(x_71);
lean_dec_ref(x_69); lean_dec_ref(x_69);
lean_dec(x_68); lean_dec(x_68);
lean_dec_ref(x_55); lean_dec_ref(x_54);
lean_dec_ref(x_7); lean_dec_ref(x_7);
x_74 = lean_box(0); x_74 = lean_box(0);
x_75 = lean_alloc_ctor(0, 1, 0); x_75 = lean_alloc_ctor(0, 1, 0);
@ -10150,13 +10149,13 @@ return x_75;
} }
else else
{ {
x_10 = x_72; x_10 = x_71;
x_11 = x_53; x_11 = x_69;
x_12 = x_71; x_12 = x_72;
x_13 = x_68; x_13 = x_56;
x_14 = x_54; x_14 = x_55;
x_15 = x_55; x_15 = x_54;
x_16 = x_69; x_16 = x_68;
x_17 = x_7; x_17 = x_7;
x_18 = x_8; x_18 = x_8;
x_19 = lean_box(0); x_19 = lean_box(0);
@ -10168,18 +10167,18 @@ goto block_49;
block_87: block_87:
{ {
lean_object* x_85; lean_object* x_85;
x_85 = l_Lean_Syntax_getTailPos_x3f(x_78, x_80); x_85 = l_Lean_Syntax_getTailPos_x3f(x_78, x_82);
lean_dec(x_78); lean_dec(x_78);
if (lean_obj_tag(x_85) == 0) if (lean_obj_tag(x_85) == 0)
{ {
lean_inc(x_84); lean_inc(x_84);
x_50 = x_77; x_50 = x_77;
x_51 = x_79; x_51 = x_84;
x_52 = x_84; x_52 = x_79;
x_53 = x_80; x_53 = x_80;
x_54 = x_81; x_54 = x_83;
x_55 = x_83; x_55 = x_82;
x_56 = x_82; x_56 = x_81;
x_57 = x_84; x_57 = x_84;
goto block_76; goto block_76;
} }
@ -10190,12 +10189,12 @@ x_86 = lean_ctor_get(x_85, 0);
lean_inc(x_86); lean_inc(x_86);
lean_dec_ref(x_85); lean_dec_ref(x_85);
x_50 = x_77; x_50 = x_77;
x_51 = x_79; x_51 = x_84;
x_52 = x_84; x_52 = x_79;
x_53 = x_80; x_53 = x_80;
x_54 = x_81; x_54 = x_83;
x_55 = x_83; x_55 = x_82;
x_56 = x_82; x_56 = x_81;
x_57 = x_86; x_57 = x_86;
goto block_76; goto block_76;
} }
@ -10203,9 +10202,9 @@ goto block_76;
block_99: block_99:
{ {
lean_object* x_95; lean_object* x_96; lean_object* x_95; lean_object* x_96;
x_95 = l_Lean_replaceRef(x_1, x_90); x_95 = l_Lean_replaceRef(x_1, x_93);
lean_dec(x_90); lean_dec(x_93);
x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_91); x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_92);
if (lean_obj_tag(x_96) == 0) if (lean_obj_tag(x_96) == 0)
{ {
lean_object* x_97; lean_object* x_97;
@ -10213,10 +10212,10 @@ x_97 = lean_unsigned_to_nat(0u);
x_77 = x_88; x_77 = x_88;
x_78 = x_95; x_78 = x_95;
x_79 = x_89; x_79 = x_89;
x_80 = x_91; x_80 = x_90;
x_81 = x_94; x_81 = x_94;
x_82 = x_93; x_82 = x_92;
x_83 = x_92; x_83 = x_91;
x_84 = x_97; x_84 = x_97;
goto block_87; goto block_87;
} }
@ -10229,10 +10228,10 @@ lean_dec_ref(x_96);
x_77 = x_88; x_77 = x_88;
x_78 = x_95; x_78 = x_95;
x_79 = x_89; x_79 = x_89;
x_80 = x_91; x_80 = x_90;
x_81 = x_94; x_81 = x_94;
x_82 = x_93; x_82 = x_92;
x_83 = x_92; x_83 = x_91;
x_84 = x_98; x_84 = x_98;
goto block_87; goto block_87;
} }
@ -10244,8 +10243,8 @@ if (x_107 == 0)
x_88 = x_102; x_88 = x_102;
x_89 = x_101; x_89 = x_101;
x_90 = x_103; x_90 = x_103;
x_91 = x_106; x_91 = x_105;
x_92 = x_105; x_92 = x_106;
x_93 = x_104; x_93 = x_104;
x_94 = x_3; x_94 = x_3;
goto block_99; goto block_99;
@ -10255,8 +10254,8 @@ else
x_88 = x_102; x_88 = x_102;
x_89 = x_101; x_89 = x_101;
x_90 = x_103; x_90 = x_103;
x_91 = x_106; x_91 = x_105;
x_92 = x_105; x_92 = x_106;
x_93 = x_104; x_93 = x_104;
x_94 = x_100; x_94 = x_100;
goto block_99; goto block_99;
@ -10282,12 +10281,12 @@ x_119 = l_Lean_instBEqMessageSeverity_beq(x_3, x_118);
if (x_119 == 0) if (x_119 == 0)
{ {
lean_inc_ref(x_110); lean_inc_ref(x_110);
lean_inc_ref(x_111);
lean_inc(x_113); lean_inc(x_113);
lean_inc_ref(x_111);
x_101 = x_114; x_101 = x_114;
x_102 = x_117; x_102 = x_117;
x_103 = x_113; x_103 = x_111;
x_104 = x_111; x_104 = x_113;
x_105 = x_110; x_105 = x_110;
x_106 = x_109; x_106 = x_109;
x_107 = x_119; x_107 = x_119;
@ -10299,12 +10298,12 @@ lean_object* x_120; uint8_t x_121;
x_120 = l_Lean_warningAsError; x_120 = l_Lean_warningAsError;
x_121 = l_Lean_Option_get___at___00Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_warnRedundantEMatchArg_spec__0_spec__0_spec__1_spec__5(x_112, x_120); x_121 = l_Lean_Option_get___at___00Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_warnRedundantEMatchArg_spec__0_spec__0_spec__1_spec__5(x_112, x_120);
lean_inc_ref(x_110); lean_inc_ref(x_110);
lean_inc_ref(x_111);
lean_inc(x_113); lean_inc(x_113);
lean_inc_ref(x_111);
x_101 = x_114; x_101 = x_114;
x_102 = x_117; x_102 = x_117;
x_103 = x_113; x_103 = x_111;
x_104 = x_111; x_104 = x_113;
x_105 = x_110; x_105 = x_110;
x_106 = x_109; x_106 = x_109;
x_107 = x_121; x_107 = x_121;
@ -10778,9 +10777,9 @@ block_25:
{ {
lean_object* x_23; lean_object* x_23;
x_23 = lean_alloc_ctor(1, 2, 0); x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_13); lean_ctor_set(x_23, 0, x_14);
lean_ctor_set(x_23, 1, x_4); lean_ctor_set(x_23, 1, x_4);
x_3 = x_14; x_3 = x_13;
x_4 = x_23; x_4 = x_23;
x_5 = x_15; x_5 = x_15;
x_6 = x_16; x_6 = x_16;
@ -10827,8 +10826,8 @@ if (x_40 == 0)
{ {
uint8_t x_41; uint8_t x_41;
x_41 = 1; x_41 = 1;
x_13 = x_34; x_13 = x_33;
x_14 = x_33; x_14 = x_34;
x_15 = x_41; x_15 = x_41;
x_16 = x_6; x_16 = x_6;
x_17 = x_7; x_17 = x_7;
@ -10841,8 +10840,8 @@ goto block_25;
} }
else else
{ {
x_13 = x_34; x_13 = x_33;
x_14 = x_33; x_14 = x_34;
x_15 = x_5; x_15 = x_5;
x_16 = x_6; x_16 = x_6;
x_17 = x_7; x_17 = x_7;
@ -10888,8 +10887,8 @@ lean_inc(x_45);
x_46 = lean_ctor_get(x_3, 1); x_46 = lean_ctor_get(x_3, 1);
lean_inc_ref(x_46); lean_inc_ref(x_46);
lean_dec_ref(x_3); lean_dec_ref(x_3);
x_13 = x_46; x_13 = x_45;
x_14 = x_45; x_14 = x_46;
x_15 = x_5; x_15 = x_5;
x_16 = x_6; x_16 = x_6;
x_17 = x_7; x_17 = x_7;
@ -11893,7 +11892,7 @@ goto block_476;
} }
else else
{ {
lean_object* x_490; lean_object* x_491; uint8_t x_492; uint8_t x_561; lean_object* x_490; lean_object* x_491; uint8_t x_492; uint8_t x_550;
x_490 = lean_ctor_get(x_488, 0); x_490 = lean_ctor_get(x_488, 0);
lean_inc(x_490); lean_inc(x_490);
if (lean_is_exclusive(x_488)) { if (lean_is_exclusive(x_488)) {
@ -11903,21 +11902,21 @@ if (lean_is_exclusive(x_488)) {
lean_dec_ref(x_488); lean_dec_ref(x_488);
x_491 = lean_box(0); x_491 = lean_box(0);
} }
x_561 = l_Lean_Exception_isInterrupt(x_490); x_550 = l_Lean_Exception_isInterrupt(x_490);
if (x_561 == 0) if (x_550 == 0)
{ {
uint8_t x_562; uint8_t x_551;
lean_inc(x_490); lean_inc(x_490);
x_562 = l_Lean_Exception_isRuntime(x_490); x_551 = l_Lean_Exception_isRuntime(x_490);
x_492 = x_562; x_492 = x_551;
goto block_560; goto block_549;
} }
else else
{ {
x_492 = x_561; x_492 = x_550;
goto block_560; goto block_549;
} }
block_560: block_549:
{ {
if (x_492 == 0) if (x_492 == 0)
{ {
@ -11937,7 +11936,7 @@ lean_dec_ref(x_494);
if (lean_obj_tag(x_495) == 0) if (lean_obj_tag(x_495) == 0)
{ {
lean_object* x_496; lean_object* x_496;
x_496 = l_Lean_Meta_Grind_getExtension_x3f(x_493); x_496 = l_Lean_Meta_Grind_getExtension_x3f(x_493, x_12, x_13);
if (lean_obj_tag(x_496) == 0) if (lean_obj_tag(x_496) == 0)
{ {
uint8_t x_497; uint8_t x_497;
@ -12145,6 +12144,7 @@ uint8_t x_533;
lean_dec(x_493); lean_dec(x_493);
lean_dec(x_490); lean_dec(x_490);
lean_dec(x_13); lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11); lean_dec(x_11);
lean_dec_ref(x_10); lean_dec_ref(x_10);
lean_dec(x_9); lean_dec(x_9);
@ -12156,88 +12156,65 @@ lean_dec_ref(x_1);
x_533 = !lean_is_exclusive(x_496); x_533 = !lean_is_exclusive(x_496);
if (x_533 == 0) if (x_533 == 0)
{ {
lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539;
x_534 = lean_ctor_get(x_496, 0);
x_535 = lean_ctor_get(x_12, 5);
lean_inc(x_535);
lean_dec_ref(x_12);
x_536 = lean_io_error_to_string(x_534);
x_537 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_537, 0, x_536);
x_538 = l_Lean_MessageData_ofFormat(x_537);
x_539 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_539, 0, x_535);
lean_ctor_set(x_539, 1, x_538);
lean_ctor_set(x_496, 0, x_539);
return x_496; return x_496;
} }
else else
{ {
lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_534; lean_object* x_535;
x_540 = lean_ctor_get(x_496, 0); x_534 = lean_ctor_get(x_496, 0);
lean_inc(x_540); lean_inc(x_534);
lean_dec(x_496); lean_dec(x_496);
x_541 = lean_ctor_get(x_12, 5); x_535 = lean_alloc_ctor(1, 1, 0);
lean_inc(x_541); lean_ctor_set(x_535, 0, x_534);
lean_dec_ref(x_12); return x_535;
x_542 = lean_io_error_to_string(x_540);
x_543 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_543, 0, x_542);
x_544 = l_Lean_MessageData_ofFormat(x_543);
x_545 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_545, 0, x_541);
lean_ctor_set(x_545, 1, x_544);
x_546 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_546, 0, x_545);
return x_546;
} }
} }
} }
else else
{ {
lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; uint8_t x_553; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; uint8_t x_542;
lean_dec_ref(x_495); lean_dec_ref(x_495);
lean_dec(x_493); lean_dec(x_493);
lean_dec(x_490); lean_dec(x_490);
lean_dec(x_3); lean_dec(x_3);
lean_dec(x_2); lean_dec(x_2);
lean_dec_ref(x_1); lean_dec_ref(x_1);
x_547 = l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam___closed__19; x_536 = l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam___closed__19;
lean_inc(x_4); lean_inc(x_4);
x_548 = l_Lean_MessageData_ofSyntax(x_4); x_537 = l_Lean_MessageData_ofSyntax(x_4);
x_549 = lean_alloc_ctor(7, 2, 0); x_538 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_549, 0, x_547); lean_ctor_set(x_538, 0, x_536);
lean_ctor_set(x_549, 1, x_548); lean_ctor_set(x_538, 1, x_537);
x_550 = l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam___closed__21; x_539 = l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam___closed__21;
x_551 = lean_alloc_ctor(7, 2, 0); x_540 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_551, 0, x_549); lean_ctor_set(x_540, 0, x_538);
lean_ctor_set(x_551, 1, x_550); lean_ctor_set(x_540, 1, x_539);
x_552 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__3___redArg(x_4, x_551, x_8, x_9, x_10, x_11, x_12, x_13); x_541 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__3___redArg(x_4, x_540, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_13); lean_dec(x_13);
lean_dec(x_11); lean_dec(x_11);
lean_dec_ref(x_10); lean_dec_ref(x_10);
lean_dec(x_9); lean_dec(x_9);
lean_dec(x_4); lean_dec(x_4);
x_553 = !lean_is_exclusive(x_552); x_542 = !lean_is_exclusive(x_541);
if (x_553 == 0) if (x_542 == 0)
{ {
return x_552; return x_541;
} }
else else
{ {
lean_object* x_554; lean_object* x_555; lean_object* x_543; lean_object* x_544;
x_554 = lean_ctor_get(x_552, 0); x_543 = lean_ctor_get(x_541, 0);
lean_inc(x_554); lean_inc(x_543);
lean_dec(x_552); lean_dec(x_541);
x_555 = lean_alloc_ctor(1, 1, 0); x_544 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_555, 0, x_554); lean_ctor_set(x_544, 0, x_543);
return x_555; return x_544;
} }
} }
} }
else else
{ {
uint8_t x_556; uint8_t x_545;
lean_dec(x_493); lean_dec(x_493);
lean_dec(x_490); lean_dec(x_490);
lean_dec(x_13); lean_dec(x_13);
@ -12250,26 +12227,26 @@ lean_dec(x_4);
lean_dec(x_3); lean_dec(x_3);
lean_dec(x_2); lean_dec(x_2);
lean_dec_ref(x_1); lean_dec_ref(x_1);
x_556 = !lean_is_exclusive(x_494); x_545 = !lean_is_exclusive(x_494);
if (x_556 == 0) if (x_545 == 0)
{ {
return x_494; return x_494;
} }
else else
{ {
lean_object* x_557; lean_object* x_558; lean_object* x_546; lean_object* x_547;
x_557 = lean_ctor_get(x_494, 0); x_546 = lean_ctor_get(x_494, 0);
lean_inc(x_557); lean_inc(x_546);
lean_dec(x_494); lean_dec(x_494);
x_558 = lean_alloc_ctor(1, 1, 0); x_547 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_558, 0, x_557); lean_ctor_set(x_547, 0, x_546);
return x_558; return x_547;
} }
} }
} }
else else
{ {
lean_object* x_559; lean_object* x_548;
lean_dec(x_13); lean_dec(x_13);
lean_dec_ref(x_12); lean_dec_ref(x_12);
lean_dec(x_11); lean_dec(x_11);
@ -12281,12 +12258,12 @@ lean_dec(x_3);
lean_dec(x_2); lean_dec(x_2);
lean_dec_ref(x_1); lean_dec_ref(x_1);
if (lean_is_scalar(x_491)) { if (lean_is_scalar(x_491)) {
x_559 = lean_alloc_ctor(1, 1, 0); x_548 = lean_alloc_ctor(1, 1, 0);
} else { } else {
x_559 = x_491; x_548 = x_491;
} }
lean_ctor_set(x_559, 0, x_490); lean_ctor_set(x_548, 0, x_490);
return x_559; return x_548;
} }
} }
} }
@ -12540,14 +12517,14 @@ lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean
x_87 = lean_ctor_get(x_86, 0); x_87 = lean_ctor_get(x_86, 0);
lean_inc(x_87); lean_inc(x_87);
lean_dec_ref(x_86); lean_dec_ref(x_86);
lean_inc(x_74); lean_inc(x_75);
x_88 = lean_alloc_ctor(0, 1, 0); x_88 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_88, 0, x_74); lean_ctor_set(x_88, 0, x_75);
x_89 = l_Lean_Meta_Grind_Theorems_find___redArg(x_87, x_88); x_89 = l_Lean_Meta_Grind_Theorems_find___redArg(x_87, x_88);
lean_dec_ref(x_88); lean_dec_ref(x_88);
x_90 = lean_box(0); x_90 = lean_box(0);
x_91 = l_List_filterTR_loop___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__1(x_75, x_89, x_90); x_91 = l_List_filterTR_loop___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__1(x_74, x_89, x_90);
lean_dec(x_75); lean_dec(x_74);
x_92 = l_List_isEmpty___redArg(x_91); x_92 = l_List_isEmpty___redArg(x_91);
if (x_92 == 0) if (x_92 == 0)
{ {
@ -12558,7 +12535,7 @@ lean_dec(x_80);
lean_dec_ref(x_79); lean_dec_ref(x_79);
lean_dec(x_78); lean_dec(x_78);
lean_dec_ref(x_77); lean_dec_ref(x_77);
lean_dec(x_74); lean_dec(x_75);
lean_dec(x_2); lean_dec(x_2);
x_93 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__2___redArg(x_91, x_76); x_93 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam_spec__2___redArg(x_91, x_76);
return x_93; return x_93;
@ -12570,7 +12547,7 @@ lean_dec(x_91);
lean_dec_ref(x_76); lean_dec_ref(x_76);
x_94 = l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam___closed__1; x_94 = l___private_Lean_Elab_Tactic_Grind_Param_0__Lean_Elab_Tactic_processParam___closed__1;
x_95 = 0; x_95 = 0;
x_96 = l_Lean_MessageData_ofConstName(x_74, x_95); x_96 = l_Lean_MessageData_ofConstName(x_75, x_95);
x_97 = lean_alloc_ctor(7, 2, 0); x_97 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_97, 0, x_94); lean_ctor_set(x_97, 0, x_94);
lean_ctor_set(x_97, 1, x_96); lean_ctor_set(x_97, 1, x_96);
@ -12961,8 +12938,8 @@ lean_dec_ref(x_198);
if (lean_obj_tag(x_199) == 0) if (lean_obj_tag(x_199) == 0)
{ {
lean_dec_ref(x_199); lean_dec_ref(x_199);
x_74 = x_173; x_74 = x_180;
x_75 = x_180; x_75 = x_173;
x_76 = x_1; x_76 = x_1;
x_77 = x_8; x_77 = x_8;
x_78 = x_9; x_78 = x_9;
@ -13004,8 +12981,8 @@ return x_202;
} }
else else
{ {
x_74 = x_173; x_74 = x_180;
x_75 = x_180; x_75 = x_173;
x_76 = x_1; x_76 = x_1;
x_77 = x_8; x_77 = x_8;
x_78 = x_9; x_78 = x_9;
@ -13779,8 +13756,8 @@ lean_dec_ref(x_361);
if (lean_obj_tag(x_362) == 0) if (lean_obj_tag(x_362) == 0)
{ {
lean_dec_ref(x_362); lean_dec_ref(x_362);
x_74 = x_173; x_74 = x_343;
x_75 = x_343; x_75 = x_173;
x_76 = x_1; x_76 = x_1;
x_77 = x_8; x_77 = x_8;
x_78 = x_9; x_78 = x_9;
@ -13823,8 +13800,8 @@ return x_365;
} }
else else
{ {
x_74 = x_173; x_74 = x_343;
x_75 = x_343; x_75 = x_173;
x_76 = x_1; x_76 = x_1;
x_77 = x_8; x_77 = x_8;
x_78 = x_9; x_78 = x_9;
@ -18643,7 +18620,7 @@ lean_inc(x_39);
lean_inc_ref(x_38); lean_inc_ref(x_38);
lean_inc(x_37); lean_inc(x_37);
lean_inc_ref(x_36); lean_inc_ref(x_36);
x_43 = l_Lean_Elab_Tactic_elabGrindParams(x_33, x_2, x_3, x_31, x_32, x_36, x_37, x_38, x_39, x_40, x_41); x_43 = l_Lean_Elab_Tactic_elabGrindParams(x_33, x_2, x_3, x_32, x_31, x_36, x_37, x_38, x_39, x_40, x_41);
if (lean_obj_tag(x_43) == 0) if (lean_obj_tag(x_43) == 0)
{ {
lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_44; lean_object* x_45; uint8_t x_46;
@ -19756,8 +19733,8 @@ uint8_t x_275;
x_275 = 1; x_275 = 1;
if (x_3 == 0) if (x_3 == 0)
{ {
x_31 = x_274; x_31 = x_275;
x_32 = x_275; x_32 = x_274;
x_33 = x_1; x_33 = x_1;
x_34 = x_5; x_34 = x_5;
x_35 = x_6; x_35 = x_6;
@ -19786,8 +19763,8 @@ x_281 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_
x_282 = lean_box(0); x_282 = lean_box(0);
lean_ctor_set(x_1, 8, x_282); lean_ctor_set(x_1, 8, x_282);
lean_ctor_set(x_1, 1, x_281); lean_ctor_set(x_1, 1, x_281);
x_31 = x_274; x_31 = x_275;
x_32 = x_275; x_32 = x_274;
x_33 = x_1; x_33 = x_1;
x_34 = x_5; x_34 = x_5;
x_35 = x_6; x_35 = x_6;
@ -19834,8 +19811,8 @@ lean_ctor_set(x_295, 5, x_288);
lean_ctor_set(x_295, 6, x_289); lean_ctor_set(x_295, 6, x_289);
lean_ctor_set(x_295, 7, x_290); lean_ctor_set(x_295, 7, x_290);
lean_ctor_set(x_295, 8, x_294); lean_ctor_set(x_295, 8, x_294);
x_31 = x_274; x_31 = x_275;
x_32 = x_275; x_32 = x_274;
x_33 = x_295; x_33 = x_295;
x_34 = x_5; x_34 = x_5;
x_35 = x_6; x_35 = x_6;

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -162,44 +162,44 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpDIte___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpDIte___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpDIte(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_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpDIte(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_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpDIte___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpDIte___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static const lean_string_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "cond"}; static const lean_string_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "cond"};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0_value;
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0_value),LEAN_SCALAR_PTR_LITERAL(130, 140, 200, 235, 144, 197, 118, 1)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__0_value),LEAN_SCALAR_PTR_LITERAL(130, 140, 200, 235, 144, 197, 118, 1)}};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1_value;
static const lean_string_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "cond_false"}; static const lean_string_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "cond_false"};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2_value;
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2_value),LEAN_SCALAR_PTR_LITERAL(98, 92, 93, 112, 12, 94, 108, 230)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__2_value),LEAN_SCALAR_PTR_LITERAL(98, 92, 93, 112, 12, 94, 108, 230)}};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3_value;
static const lean_string_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "cond_true"}; static const lean_string_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "cond_true"};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4_value;
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4_value),LEAN_SCALAR_PTR_LITERAL(159, 102, 104, 109, 28, 196, 37, 90)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__4_value),LEAN_SCALAR_PTR_LITERAL(159, 102, 104, 109, 28, 196, 37, 90)}};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5_value;
static const lean_string_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 16, .m_capacity = 16, .m_length = 15, .m_data = "cond_cond_congr"}; static const lean_string_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 16, .m_capacity = 16, .m_length = 15, .m_data = "cond_cond_congr"};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6_value;
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__9_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__9_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_0),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(31, 147, 176, 82, 87, 65, 127, 52)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_0),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(31, 147, 176, 82, 87, 65, 127, 52)}};
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_1),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6_value),LEAN_SCALAR_PTR_LITERAL(41, 228, 101, 80, 96, 119, 204, 25)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value_aux_1),((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__6_value),LEAN_SCALAR_PTR_LITERAL(41, 228, 101, 80, 96, 119, 204, 25)}};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7_value;
static const lean_string_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "cond_cond_eq_false"}; static const lean_string_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "cond_cond_eq_false"};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8_value;
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__9_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__9_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_0),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(31, 147, 176, 82, 87, 65, 127, 52)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_0),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(31, 147, 176, 82, 87, 65, 127, 52)}};
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_1),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8_value),LEAN_SCALAR_PTR_LITERAL(22, 101, 151, 22, 186, 118, 232, 224)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value_aux_1),((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__8_value),LEAN_SCALAR_PTR_LITERAL(22, 101, 151, 22, 186, 118, 232, 224)}};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9_value;
static const lean_string_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 18, .m_capacity = 18, .m_length = 17, .m_data = "cond_cond_eq_true"}; static const lean_string_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 18, .m_capacity = 18, .m_length = 17, .m_data = "cond_cond_eq_true"};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10_value;
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__9_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__9_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_0),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(31, 147, 176, 82, 87, 65, 127, 52)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_0),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpIte___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(31, 147, 176, 82, 87, 65, 127, 52)}};
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_1),((lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(52, 237, 153, 45, 203, 196, 217, 147)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value_aux_1),((lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__10_value),LEAN_SCALAR_PTR_LITERAL(52, 237, 153, 45, 203, 196, 217, 147)}};
static const lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11_value;
lean_object* l_Lean_Meta_Sym_getBoolTrueExpr___redArg(lean_object*); lean_object* l_Lean_Meta_Sym_getBoolTrueExpr___redArg(lean_object*);
uint8_t l___private_Lean_Meta_Sym_ExprPtr_0__Lean_Meta_Sym_isSameExpr_unsafe__1(lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Sym_ExprPtr_0__Lean_Meta_Sym_isSameExpr_unsafe__1(lean_object*, lean_object*);
lean_object* l_Lean_Meta_Sym_getBoolFalseExpr___redArg(lean_object*); lean_object* l_Lean_Meta_Sym_getBoolFalseExpr___redArg(lean_object*);
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond(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_Sym_Simp_simpCond(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_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___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_Sym_Simp_simpCond___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_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpMatch_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpMatch_spec__0___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpMatch_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpMatch_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
@ -5295,7 +5295,7 @@ x_12 = l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpDIte
return x_12; return x_12;
} }
} }
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0(uint8_t 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_EXPORT lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start: _start:
{ {
lean_object* x_16; uint8_t x_17; lean_object* x_16; uint8_t x_17;
@ -5395,7 +5395,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
x_27 = lean_ctor_get(x_25, 1); x_27 = lean_ctor_get(x_25, 1);
lean_inc_ref(x_27); lean_inc_ref(x_27);
x_28 = l_Lean_Expr_appFnCleanup___redArg(x_25); x_28 = l_Lean_Expr_appFnCleanup___redArg(x_25);
x_29 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1)); x_29 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1));
x_30 = l_Lean_Expr_isConstOf(x_28, x_29); x_30 = l_Lean_Expr_isConstOf(x_28, x_29);
if (x_30 == 0) if (x_30 == 0)
{ {
@ -5494,7 +5494,7 @@ else
{ {
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46;
lean_free_object(x_32); lean_free_object(x_32);
x_42 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3)); x_42 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3));
x_43 = l_Lean_Expr_constLevels_x21(x_28); x_43 = l_Lean_Expr_constLevels_x21(x_28);
lean_dec_ref(x_28); lean_dec_ref(x_28);
x_44 = l_Lean_mkConst(x_42, x_43); x_44 = l_Lean_mkConst(x_42, x_43);
@ -5533,7 +5533,7 @@ else
{ {
lean_object* 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_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55;
lean_free_object(x_32); lean_free_object(x_32);
x_50 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3)); x_50 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3));
x_51 = l_Lean_Expr_constLevels_x21(x_28); x_51 = l_Lean_Expr_constLevels_x21(x_28);
lean_dec_ref(x_28); lean_dec_ref(x_28);
x_52 = l_Lean_mkConst(x_50, x_51); x_52 = l_Lean_mkConst(x_50, x_51);
@ -5581,7 +5581,7 @@ lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean
lean_free_object(x_32); lean_free_object(x_32);
lean_dec_ref(x_24); lean_dec_ref(x_24);
lean_dec_ref(x_6); lean_dec_ref(x_6);
x_59 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5)); x_59 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5));
x_60 = l_Lean_Expr_constLevels_x21(x_28); x_60 = l_Lean_Expr_constLevels_x21(x_28);
lean_dec_ref(x_28); lean_dec_ref(x_28);
x_61 = l_Lean_mkConst(x_59, x_60); x_61 = l_Lean_mkConst(x_59, x_60);
@ -5643,7 +5643,7 @@ else
{ {
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_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76;
lean_free_object(x_32); lean_free_object(x_32);
x_71 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3)); x_71 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3));
x_72 = l_Lean_Expr_constLevels_x21(x_28); x_72 = l_Lean_Expr_constLevels_x21(x_28);
lean_dec_ref(x_28); lean_dec_ref(x_28);
x_73 = l_Lean_mkConst(x_71, x_72); x_73 = l_Lean_mkConst(x_71, x_72);
@ -5695,7 +5695,7 @@ lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean
lean_free_object(x_32); lean_free_object(x_32);
lean_dec_ref(x_24); lean_dec_ref(x_24);
lean_dec_ref(x_6); lean_dec_ref(x_6);
x_80 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5)); x_80 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5));
x_81 = l_Lean_Expr_constLevels_x21(x_28); x_81 = l_Lean_Expr_constLevels_x21(x_28);
lean_dec_ref(x_28); lean_dec_ref(x_28);
x_82 = l_Lean_mkConst(x_80, x_81); x_82 = l_Lean_mkConst(x_80, x_81);
@ -5798,7 +5798,7 @@ return x_98;
else else
{ {
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_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104;
x_99 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3)); x_99 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__3));
x_100 = l_Lean_Expr_constLevels_x21(x_28); x_100 = l_Lean_Expr_constLevels_x21(x_28);
lean_dec_ref(x_28); lean_dec_ref(x_28);
x_101 = l_Lean_mkConst(x_99, x_100); x_101 = l_Lean_mkConst(x_99, x_100);
@ -5848,7 +5848,7 @@ else
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_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113;
lean_dec_ref(x_24); lean_dec_ref(x_24);
lean_dec_ref(x_6); lean_dec_ref(x_6);
x_108 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5)); x_108 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__5));
x_109 = l_Lean_Expr_constLevels_x21(x_28); x_109 = l_Lean_Expr_constLevels_x21(x_28);
lean_dec_ref(x_28); lean_dec_ref(x_28);
x_110 = l_Lean_mkConst(x_108, x_109); x_110 = l_Lean_mkConst(x_108, x_109);
@ -5952,7 +5952,7 @@ if (x_131 == 0)
{ {
lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135;
x_132 = lean_ctor_get(x_130, 0); x_132 = lean_ctor_get(x_130, 0);
x_133 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7)); x_133 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7));
x_134 = l_Lean_Expr_replaceFn(x_2, x_133); x_134 = l_Lean_Expr_replaceFn(x_2, x_133);
x_135 = l_Lean_mkAppB(x_134, x_118, x_119); x_135 = l_Lean_mkAppB(x_134, x_118, x_119);
lean_ctor_set(x_32, 1, x_135); lean_ctor_set(x_32, 1, x_135);
@ -5967,7 +5967,7 @@ lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139;
x_136 = lean_ctor_get(x_130, 0); x_136 = lean_ctor_get(x_130, 0);
lean_inc(x_136); lean_inc(x_136);
lean_dec(x_130); lean_dec(x_130);
x_137 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7)); x_137 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7));
x_138 = l_Lean_Expr_replaceFn(x_2, x_137); x_138 = l_Lean_Expr_replaceFn(x_2, x_137);
x_139 = l_Lean_mkAppB(x_138, x_118, x_119); x_139 = l_Lean_mkAppB(x_138, x_118, x_119);
lean_ctor_set(x_32, 1, x_139); lean_ctor_set(x_32, 1, x_139);
@ -6016,7 +6016,7 @@ lean_dec_ref(x_6);
lean_dec(x_5); lean_dec(x_5);
lean_dec_ref(x_4); lean_dec_ref(x_4);
lean_dec(x_3); lean_dec(x_3);
x_144 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9)); x_144 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9));
x_145 = l_Lean_Expr_replaceFn(x_2, x_144); x_145 = l_Lean_Expr_replaceFn(x_2, x_144);
x_146 = l_Lean_Expr_app___override(x_145, x_119); x_146 = l_Lean_Expr_app___override(x_145, x_119);
lean_ctor_set(x_32, 1, x_146); lean_ctor_set(x_32, 1, x_146);
@ -6056,7 +6056,7 @@ if (lean_is_exclusive(x_151)) {
lean_dec_ref(x_151); lean_dec_ref(x_151);
x_153 = lean_box(0); x_153 = lean_box(0);
} }
x_154 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7)); x_154 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7));
x_155 = l_Lean_Expr_replaceFn(x_2, x_154); x_155 = l_Lean_Expr_replaceFn(x_2, x_154);
x_156 = l_Lean_mkAppB(x_155, x_118, x_119); x_156 = l_Lean_mkAppB(x_155, x_118, x_119);
lean_ctor_set(x_32, 1, x_156); lean_ctor_set(x_32, 1, x_156);
@ -6109,7 +6109,7 @@ lean_dec_ref(x_6);
lean_dec(x_5); lean_dec(x_5);
lean_dec_ref(x_4); lean_dec_ref(x_4);
lean_dec(x_3); lean_dec(x_3);
x_161 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9)); x_161 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9));
x_162 = l_Lean_Expr_replaceFn(x_2, x_161); x_162 = l_Lean_Expr_replaceFn(x_2, x_161);
x_163 = l_Lean_Expr_app___override(x_162, x_119); x_163 = l_Lean_Expr_app___override(x_162, x_119);
lean_ctor_set(x_32, 1, x_163); lean_ctor_set(x_32, 1, x_163);
@ -6170,7 +6170,7 @@ lean_dec_ref(x_6);
lean_dec(x_5); lean_dec(x_5);
lean_dec_ref(x_4); lean_dec_ref(x_4);
lean_dec(x_3); lean_dec(x_3);
x_168 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11)); x_168 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11));
x_169 = l_Lean_Expr_replaceFn(x_2, x_168); x_169 = l_Lean_Expr_replaceFn(x_2, x_168);
x_170 = l_Lean_Expr_app___override(x_169, x_119); x_170 = l_Lean_Expr_app___override(x_169, x_119);
lean_ctor_set(x_32, 1, x_170); lean_ctor_set(x_32, 1, x_170);
@ -6229,7 +6229,7 @@ if (lean_is_exclusive(x_179)) {
lean_dec_ref(x_179); lean_dec_ref(x_179);
x_181 = lean_box(0); x_181 = lean_box(0);
} }
x_182 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7)); x_182 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7));
x_183 = l_Lean_Expr_replaceFn(x_2, x_182); x_183 = l_Lean_Expr_replaceFn(x_2, x_182);
x_184 = l_Lean_mkAppB(x_183, x_118, x_119); x_184 = l_Lean_mkAppB(x_183, x_118, x_119);
lean_ctor_set(x_32, 1, x_184); lean_ctor_set(x_32, 1, x_184);
@ -6282,7 +6282,7 @@ lean_dec_ref(x_6);
lean_dec(x_5); lean_dec(x_5);
lean_dec_ref(x_4); lean_dec_ref(x_4);
lean_dec(x_3); lean_dec(x_3);
x_189 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9)); x_189 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9));
x_190 = l_Lean_Expr_replaceFn(x_2, x_189); x_190 = l_Lean_Expr_replaceFn(x_2, x_189);
x_191 = l_Lean_Expr_app___override(x_190, x_119); x_191 = l_Lean_Expr_app___override(x_190, x_119);
lean_ctor_set(x_32, 1, x_191); lean_ctor_set(x_32, 1, x_191);
@ -6347,7 +6347,7 @@ lean_dec_ref(x_6);
lean_dec(x_5); lean_dec(x_5);
lean_dec_ref(x_4); lean_dec_ref(x_4);
lean_dec(x_3); lean_dec(x_3);
x_196 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11)); x_196 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11));
x_197 = l_Lean_Expr_replaceFn(x_2, x_196); x_197 = l_Lean_Expr_replaceFn(x_2, x_196);
x_198 = l_Lean_Expr_app___override(x_197, x_119); x_198 = l_Lean_Expr_app___override(x_197, x_119);
lean_ctor_set(x_32, 1, x_198); lean_ctor_set(x_32, 1, x_198);
@ -6459,7 +6459,7 @@ if (lean_is_exclusive(x_215)) {
lean_dec_ref(x_215); lean_dec_ref(x_215);
x_217 = lean_box(0); x_217 = lean_box(0);
} }
x_218 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7)); x_218 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__7));
x_219 = l_Lean_Expr_replaceFn(x_2, x_218); x_219 = l_Lean_Expr_replaceFn(x_2, x_218);
x_220 = l_Lean_mkAppB(x_219, x_203, x_204); x_220 = l_Lean_mkAppB(x_219, x_203, x_204);
x_221 = lean_alloc_ctor(1, 2, 1); x_221 = lean_alloc_ctor(1, 2, 1);
@ -6512,7 +6512,7 @@ lean_dec_ref(x_6);
lean_dec(x_5); lean_dec(x_5);
lean_dec_ref(x_4); lean_dec_ref(x_4);
lean_dec(x_3); lean_dec(x_3);
x_226 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9)); x_226 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__9));
x_227 = l_Lean_Expr_replaceFn(x_2, x_226); x_227 = l_Lean_Expr_replaceFn(x_2, x_226);
x_228 = l_Lean_Expr_app___override(x_227, x_204); x_228 = l_Lean_Expr_app___override(x_227, x_204);
x_229 = lean_alloc_ctor(1, 2, 1); x_229 = lean_alloc_ctor(1, 2, 1);
@ -6577,7 +6577,7 @@ lean_dec_ref(x_6);
lean_dec(x_5); lean_dec(x_5);
lean_dec_ref(x_4); lean_dec_ref(x_4);
lean_dec(x_3); lean_dec(x_3);
x_234 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11)); x_234 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__11));
x_235 = l_Lean_Expr_replaceFn(x_2, x_234); x_235 = l_Lean_Expr_replaceFn(x_2, x_234);
x_236 = l_Lean_Expr_app___override(x_235, x_204); x_236 = l_Lean_Expr_app___override(x_235, x_204);
x_237 = lean_alloc_ctor(1, 2, 1); x_237 = lean_alloc_ctor(1, 2, 1);
@ -6665,16 +6665,16 @@ return x_14;
} }
} }
} }
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___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_EXPORT lean_object* l_Lean_Meta_Sym_Simp_simpCond___lam__0___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) {
_start: _start:
{ {
uint8_t x_13; lean_object* x_14; uint8_t x_13; lean_object* x_14;
x_13 = lean_unbox(x_1); x_13 = lean_unbox(x_1);
x_14 = l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_14 = l_Lean_Meta_Sym_Simp_simpCond___lam__0(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_14; return x_14;
} }
} }
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond(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_EXPORT lean_object* l_Lean_Meta_Sym_Simp_simpCond(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) {
_start: _start:
{ {
lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_12; lean_object* x_13; uint8_t x_14;
@ -6685,7 +6685,7 @@ if (x_14 == 0)
{ {
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
x_15 = lean_box(x_14); x_15 = lean_box(x_14);
x_16 = lean_alloc_closure((void*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___boxed), 12, 1); x_16 = lean_alloc_closure((void*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___boxed), 12, 1);
lean_closure_set(x_16, 0, x_15); lean_closure_set(x_16, 0, x_15);
x_17 = lean_nat_sub(x_12, x_13); x_17 = lean_nat_sub(x_12, x_13);
lean_dec(x_12); lean_dec(x_12);
@ -6715,11 +6715,11 @@ return x_20;
} }
} }
} }
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___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_EXPORT lean_object* l_Lean_Meta_Sym_Simp_simpCond___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) {
_start: _start:
{ {
lean_object* x_12; lean_object* x_12;
x_12 = l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_12 = l_Lean_Meta_Sym_Simp_simpCond(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_12; return x_12;
} }
} }
@ -7106,7 +7106,7 @@ x_18 = lean_name_eq(x_16, x_17);
if (x_18 == 0) if (x_18 == 0)
{ {
lean_object* x_19; uint8_t x_20; lean_object* x_19; uint8_t x_20;
x_19 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1)); x_19 = ((lean_object*)(l_Lean_Meta_Sym_Simp_simpCond___lam__0___closed__1));
x_20 = lean_name_eq(x_16, x_19); x_20 = lean_name_eq(x_16, x_19);
if (x_20 == 0) if (x_20 == 0)
{ {
@ -7131,7 +7131,7 @@ else
{ {
lean_object* x_25; lean_object* x_25;
lean_dec(x_16); lean_dec(x_16);
x_25 = l___private_Lean_Meta_Sym_Simp_ControlFlow_0__Lean_Meta_Sym_Simp_simpCond(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_25 = l_Lean_Meta_Sym_Simp_simpCond(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_25; return x_25;
} }
} }

View file

@ -13,18 +13,18 @@
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
static const lean_string_object l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 20, .m_capacity = 20, .m_length = 19, .m_data = "_inhabitedExprDummy"}; static const lean_string_object l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 20, .m_capacity = 20, .m_length = 19, .m_data = "_inhabitedExprDummy"};
static const lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0_value; static const lean_object* l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0 = (const lean_object*)&l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0_value;
lean_object* l_Lean_Name_mkStr1(lean_object*); lean_object* l_Lean_Name_mkStr1(lean_object*);
static const lean_ctor_object l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0_value),LEAN_SCALAR_PTR_LITERAL(37, 247, 56, 151, 29, 116, 116, 243)}}; static const lean_ctor_object l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__0_value),LEAN_SCALAR_PTR_LITERAL(37, 247, 56, 151, 29, 116, 116, 243)}};
static const lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1 = (const lean_object*)&l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1_value; static const lean_object* l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1 = (const lean_object*)&l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1_value;
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2; static lean_object* l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2;
lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3; static lean_object* l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3;
static lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4; static lean_object* l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default; LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult; LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult;
uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__0___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__0___redArg___boxed(lean_object*, lean_object*);
@ -181,9 +181,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalD
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go_spec__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_withLocalDeclD___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go_spec__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_withLocalDeclD___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go_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_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go_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*);
static lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___closed__0; static lean_object* l_Lean_Meta_Sym_Simp_toBetaApp___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_toBetaApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_toBetaApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_consumeForallN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_consumeForallN(lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
@ -393,17 +393,17 @@ static const lean_closure_object l_Lean_Meta_Sym_Simp_simpLet___closed__0_value
static const lean_object* l_Lean_Meta_Sym_Simp_simpLet___closed__0 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpLet___closed__0_value; static const lean_object* l_Lean_Meta_Sym_Simp_simpLet___closed__0 = (const lean_object*)&l_Lean_Meta_Sym_Simp_simpLet___closed__0_value;
LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_simpLet(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_Sym_Simp_simpLet(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_Sym_Simp_simpLet___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_Sym_Simp_simpLet___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* _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2() { static lean_object* _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0); x_1 = lean_box(0);
x_2 = ((lean_object*)(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1)); x_2 = ((lean_object*)(l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__1));
x_3 = l_Lean_Expr_const___override(x_2, x_1); x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3; return x_3;
} }
} }
static lean_object* _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3() { static lean_object* _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_1; lean_object* x_2;
@ -412,13 +412,13 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2; return x_2;
} }
} }
static lean_object* _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4() { static lean_object* _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3; x_1 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3;
x_2 = lean_box(0); x_2 = lean_box(0);
x_3 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2; x_3 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2;
x_4 = lean_alloc_ctor(0, 6, 0); x_4 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2); lean_ctor_set(x_4, 1, x_2);
@ -429,19 +429,19 @@ lean_ctor_set(x_4, 5, x_3);
return x_4; return x_4;
} }
} }
static lean_object* _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default() { static lean_object* _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_1;
x_1 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4; x_1 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4;
return x_1; return x_1;
} }
} }
static lean_object* _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult() { static lean_object* _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_1;
x_1 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default; x_1 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default;
return x_1; return x_1;
} }
} }
@ -1233,7 +1233,7 @@ lean_ctor_set(x_30, 1, x_38);
lean_ctor_set(x_30, 0, x_42); lean_ctor_set(x_30, 0, x_42);
lean_ctor_set(x_28, 1, x_39); lean_ctor_set(x_28, 1, x_39);
x_46 = l_ReaderT_instMonad___redArg(x_28); x_46 = l_ReaderT_instMonad___redArg(x_28);
x_47 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default; x_47 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default;
x_48 = l_instInhabitedOfMonad___redArg(x_46, x_47); x_48 = l_instInhabitedOfMonad___redArg(x_46, x_47);
x_49 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); x_49 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_49, 0, x_48); lean_closure_set(x_49, 0, x_48);
@ -1278,7 +1278,7 @@ lean_ctor_set(x_64, 4, x_61);
lean_ctor_set(x_28, 1, x_57); lean_ctor_set(x_28, 1, x_57);
lean_ctor_set(x_28, 0, x_64); lean_ctor_set(x_28, 0, x_64);
x_65 = l_ReaderT_instMonad___redArg(x_28); x_65 = l_ReaderT_instMonad___redArg(x_28);
x_66 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default; x_66 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default;
x_67 = l_instInhabitedOfMonad___redArg(x_65, x_66); x_67 = l_instInhabitedOfMonad___redArg(x_65, x_66);
x_68 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); x_68 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_68, 0, x_67); lean_closure_set(x_68, 0, x_67);
@ -1342,7 +1342,7 @@ x_86 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 0, x_85);
lean_ctor_set(x_86, 1, x_78); lean_ctor_set(x_86, 1, x_78);
x_87 = l_ReaderT_instMonad___redArg(x_86); x_87 = l_ReaderT_instMonad___redArg(x_86);
x_88 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default; x_88 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default;
x_89 = l_instInhabitedOfMonad___redArg(x_87, x_88); x_89 = l_instInhabitedOfMonad___redArg(x_87, x_88);
x_90 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); x_90 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_90, 0, x_89); lean_closure_set(x_90, 0, x_89);
@ -1451,7 +1451,7 @@ if (lean_is_scalar(x_108)) {
lean_ctor_set(x_123, 0, x_122); lean_ctor_set(x_123, 0, x_122);
lean_ctor_set(x_123, 1, x_115); lean_ctor_set(x_123, 1, x_115);
x_124 = l_ReaderT_instMonad___redArg(x_123); x_124 = l_ReaderT_instMonad___redArg(x_123);
x_125 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default; x_125 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default;
x_126 = l_instInhabitedOfMonad___redArg(x_124, x_125); x_126 = l_instInhabitedOfMonad___redArg(x_124, x_125);
x_127 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); x_127 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_127, 0, x_126); lean_closure_set(x_127, 0, x_126);
@ -1578,7 +1578,7 @@ if (lean_is_scalar(x_148)) {
lean_ctor_set(x_163, 0, x_162); lean_ctor_set(x_163, 0, x_162);
lean_ctor_set(x_163, 1, x_155); lean_ctor_set(x_163, 1, x_155);
x_164 = l_ReaderT_instMonad___redArg(x_163); x_164 = l_ReaderT_instMonad___redArg(x_163);
x_165 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default; x_165 = l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default;
x_166 = l_instInhabitedOfMonad___redArg(x_164, x_165); x_166 = l_instInhabitedOfMonad___redArg(x_164, x_165);
x_167 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); x_167 = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1);
lean_closure_set(x_167, 0, x_166); lean_closure_set(x_167, 0, x_166);
@ -2660,7 +2660,7 @@ x_12 = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Sym_Simp_Have_0__
return x_12; return x_12;
} }
} }
static lean_object* _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___closed__0() { static lean_object* _init_l_Lean_Meta_Sym_Simp_toBetaApp___closed__0() {
_start: _start:
{ {
lean_object* x_1; lean_object* x_2; lean_object* x_1; lean_object* x_2;
@ -2669,22 +2669,22 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2; return x_2;
} }
} }
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { LEAN_EXPORT lean_object* l_Lean_Meta_Sym_Simp_toBetaApp(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: _start:
{ {
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_9; lean_object* x_10; lean_object* x_11;
x_9 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___closed__0; x_9 = l_Lean_Meta_Sym_Simp_toBetaApp___closed__0;
x_10 = lean_box(1); x_10 = lean_box(1);
lean_inc_ref(x_1); lean_inc_ref(x_1);
x_11 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go(x_1, x_1, x_9, x_9, x_9, x_9, x_9, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7); x_11 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go(x_1, x_1, x_9, x_9, x_9, x_9, x_9, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7);
return x_11; return x_11;
} }
} }
LEAN_EXPORT lean_object* l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___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_EXPORT lean_object* l_Lean_Meta_Sym_Simp_toBetaApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start: _start:
{ {
lean_object* x_9; lean_object* x_9;
x_9 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7); x_9 = l_Lean_Meta_Sym_Simp_toBetaApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9; return x_9;
} }
} }
@ -5853,7 +5853,7 @@ else
{ {
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_23 = lean_unsigned_to_nat(0u); x_23 = lean_unsigned_to_nat(0u);
x_24 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___closed__0; x_24 = l_Lean_Meta_Sym_Simp_toBetaApp___closed__0;
x_25 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toHave_go___redArg(x_1, x_3, x_2, x_24, x_23, x_5, x_6, x_7, x_8, x_9, x_10); x_25 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toHave_go___redArg(x_1, x_3, x_2, x_24, x_23, x_5, x_6, x_7, x_8, x_9, x_10);
return x_25; return x_25;
} }
@ -7231,7 +7231,7 @@ lean_inc_ref(x_8);
lean_inc(x_7); lean_inc(x_7);
lean_inc_ref(x_6); lean_inc_ref(x_6);
lean_inc_ref(x_1); lean_inc_ref(x_1);
x_13 = l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp(x_1, x_6, x_7, x_8, x_9, x_10, x_11); x_13 = l_Lean_Meta_Sym_Simp_toBetaApp(x_1, x_6, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_13) == 0) if (lean_obj_tag(x_13) == 0)
{ {
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_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;
@ -8486,16 +8486,16 @@ lean_dec_ref(res);
res = initialize_Init_While(builtin); res = initialize_Init_While(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2(); l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2 = _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2();
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2); lean_mark_persistent(l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__2);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3(); l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3 = _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3();
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3); lean_mark_persistent(l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__3);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4(); l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4 = _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4();
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4); lean_mark_persistent(l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default___closed__4);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default(); l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default = _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default();
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default); lean_mark_persistent(l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult_default);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult(); l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult = _init_l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult();
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult); lean_mark_persistent(l_Lean_Meta_Sym_Simp_instInhabitedToBetaAppResult);
l_Std_DTreeMap_Internal_Impl_Const_get_x21___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__1___redArg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_Const_get_x21___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__1___redArg___closed__3(); l_Std_DTreeMap_Internal_Impl_Const_get_x21___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__1___redArg___closed__3 = _init_l_Std_DTreeMap_Internal_Impl_Const_get_x21___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__1___redArg___closed__3();
lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x21___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__1___redArg___closed__3); lean_mark_persistent(l_Std_DTreeMap_Internal_Impl_Const_get_x21___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt_spec__1___redArg___closed__3);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt___closed__0 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt___closed__0(); l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt___closed__0 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_collectFVarIdsAt___closed__0();
@ -8512,8 +8512,8 @@ l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___lam__1_
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___lam__1___boxed__const__1); lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___lam__1___boxed__const__1);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___closed__7 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___closed__7(); l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___closed__7 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___closed__7();
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___closed__7); lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp_go___closed__7);
l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___closed__0 = _init_l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___closed__0(); l_Lean_Meta_Sym_Simp_toBetaApp___closed__0 = _init_l_Lean_Meta_Sym_Simp_toBetaApp___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_toBetaApp___closed__0); lean_mark_persistent(l_Lean_Meta_Sym_Simp_toBetaApp___closed__0);
l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__0 = _init_l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__0(); l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__0 = _init_l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__0();
lean_mark_persistent(l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__0); lean_mark_persistent(l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__0);
l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__1 = _init_l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__1(); l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__1 = _init_l_Lean_PersistentHashMap_empty___at___00__private_Lean_Meta_Sym_Simp_Have_0__Lean_Meta_Sym_Simp_elimAuxApps_spec__0___closed__1();

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Lean.Meta.Tactic.Cbv // Module: Lean.Meta.Tactic.Cbv
// Imports: public import Lean.Meta.Tactic.Cbv.Main public import Lean.Meta.Tactic.Cbv.Util // Imports: public import Lean.Meta.Tactic.Cbv.Main public import Lean.Meta.Tactic.Cbv.Util public import Lean.Meta.Tactic.Cbv.CbvEvalExt
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -207,6 +207,7 @@ return x_2;
} }
lean_object* initialize_Lean_Meta_Tactic_Cbv_Main(uint8_t builtin); lean_object* initialize_Lean_Meta_Tactic_Cbv_Main(uint8_t builtin);
lean_object* initialize_Lean_Meta_Tactic_Cbv_Util(uint8_t builtin); lean_object* initialize_Lean_Meta_Tactic_Cbv_Util(uint8_t builtin);
lean_object* initialize_Lean_Meta_Tactic_Cbv_CbvEvalExt(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Cbv(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Cbv(uint8_t builtin) {
lean_object * res; lean_object * res;
@ -218,6 +219,9 @@ lean_dec_ref(res);
res = initialize_Lean_Meta_Tactic_Cbv_Util(builtin); res = initialize_Lean_Meta_Tactic_Cbv_Util(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Lean_Meta_Tactic_Cbv_CbvEvalExt(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_(); l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_); lean_mark_persistent(l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_);
l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_(); l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Tactic_Cbv_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Tactic_Cbv_4268171306____hygCtx___hyg_2_();

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -679,8 +679,20 @@ static lean_object* l_Lean_Meta_Grind_initFn___closed__1_00___x40_Lean_Meta_Tact
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_Attr_420965636____hygCtx___hyg_2_(); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_Attr_420965636____hygCtx___hyg_2_();
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_Attr_420965636____hygCtx___hyg_2____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_Attr_420965636____hygCtx___hyg_2____boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_extensionMapRef; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_extensionMapRef;
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_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_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerAttr___auto__1; LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerAttr___auto__1;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Meta_Grind_registerAttr_spec__0_spec__1_spec__2_spec__3___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_Meta_Grind_registerAttr_spec__0_spec__1_spec__2_spec__3___redArg(lean_object*, lean_object*);
@ -10593,26 +10605,897 @@ x_2 = l_Lean_Meta_Grind_initFn_00___x40_Lean_Meta_Tactic_Grind_Attr_420965636___
return x_2; return x_2;
} }
} }
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f(lean_object* x_1) { LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___redArg(lean_object* x_1, lean_object* x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_4; uint8_t x_5;
x_3 = l_Lean_Meta_Grind_extensionMapRef; x_4 = lean_ctor_get(x_2, 2);
x_4 = lean_st_ref_get(x_3); x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1);
x_5 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__5___redArg(x_4, x_1); if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7;
lean_dec(x_1);
x_6 = lean_box(x_5);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13;
x_8 = lean_ctor_get(x_2, 13);
x_9 = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__5___redArg___closed__1));
x_10 = l_Lean_Name_append(x_9, x_1);
x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(x_8, x_4, x_10);
lean_dec(x_10);
x_12 = lean_box(x_11);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___redArg(x_1, x_2);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; lean_object* x_7; uint8_t x_8;
x_6 = lean_ctor_get(x_3, 5);
x_7 = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_Meta_Grind_getAttrKindCore_spec__0_spec__0(x_2, x_3, x_4);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; uint8_t x_11;
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_st_ref_take(x_4);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; uint8_t x_13;
x_12 = lean_ctor_get(x_10, 4);
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14; double 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; lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_14 = lean_ctor_get(x_12, 0);
x_15 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__0;
x_16 = 0;
x_17 = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__1));
x_18 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_18, 0, x_1);
lean_ctor_set(x_18, 1, x_17);
lean_ctor_set_float(x_18, sizeof(void*)*2, x_15);
lean_ctor_set_float(x_18, sizeof(void*)*2 + 8, x_15);
lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 16, x_16);
x_19 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__2;
x_20 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_20, 0, x_18);
lean_ctor_set(x_20, 1, x_9);
lean_ctor_set(x_20, 2, x_19);
lean_inc(x_6);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_6);
lean_ctor_set(x_21, 1, x_20);
x_22 = l_Lean_PersistentArray_push___redArg(x_14, x_21);
lean_ctor_set(x_12, 0, x_22);
x_23 = lean_st_ref_set(x_4, x_10);
x_24 = lean_box(0);
lean_ctor_set(x_7, 0, x_24);
return x_7;
}
else
{
uint64_t x_25; lean_object* x_26; double x_27; uint8_t 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; lean_object* x_36; lean_object* x_37;
x_25 = lean_ctor_get_uint64(x_12, sizeof(void*)*1);
x_26 = lean_ctor_get(x_12, 0);
lean_inc(x_26);
lean_dec(x_12);
x_27 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__0;
x_28 = 0;
x_29 = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__1));
x_30 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_30, 0, x_1);
lean_ctor_set(x_30, 1, x_29);
lean_ctor_set_float(x_30, sizeof(void*)*2, x_27);
lean_ctor_set_float(x_30, sizeof(void*)*2 + 8, x_27);
lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 16, x_28);
x_31 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__2;
x_32 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_9);
lean_ctor_set(x_32, 2, x_31);
lean_inc(x_6);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_6);
lean_ctor_set(x_33, 1, x_32);
x_34 = l_Lean_PersistentArray_push___redArg(x_26, x_33);
x_35 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set_uint64(x_35, sizeof(void*)*1, x_25);
lean_ctor_set(x_10, 4, x_35);
x_36 = lean_st_ref_set(x_4, x_10);
x_37 = lean_box(0);
lean_ctor_set(x_7, 0, x_37);
return x_7;
}
}
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; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint64_t x_47; lean_object* x_48; lean_object* x_49; double x_50; uint8_t 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;
x_38 = lean_ctor_get(x_10, 4);
x_39 = lean_ctor_get(x_10, 0);
x_40 = lean_ctor_get(x_10, 1);
x_41 = lean_ctor_get(x_10, 2);
x_42 = lean_ctor_get(x_10, 3);
x_43 = lean_ctor_get(x_10, 5);
x_44 = lean_ctor_get(x_10, 6);
x_45 = lean_ctor_get(x_10, 7);
x_46 = lean_ctor_get(x_10, 8);
lean_inc(x_46);
lean_inc(x_45);
lean_inc(x_44);
lean_inc(x_43);
lean_inc(x_38);
lean_inc(x_42);
lean_inc(x_41);
lean_inc(x_40);
lean_inc(x_39);
lean_dec(x_10);
x_47 = lean_ctor_get_uint64(x_38, sizeof(void*)*1);
x_48 = lean_ctor_get(x_38, 0);
lean_inc_ref(x_48);
if (lean_is_exclusive(x_38)) {
lean_ctor_release(x_38, 0);
x_49 = x_38;
} else {
lean_dec_ref(x_38);
x_49 = lean_box(0);
}
x_50 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__0;
x_51 = 0;
x_52 = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__1));
x_53 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_53, 0, x_1);
lean_ctor_set(x_53, 1, x_52);
lean_ctor_set_float(x_53, sizeof(void*)*2, x_50);
lean_ctor_set_float(x_53, sizeof(void*)*2 + 8, x_50);
lean_ctor_set_uint8(x_53, sizeof(void*)*2 + 16, x_51);
x_54 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__2;
x_55 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_55, 0, x_53);
lean_ctor_set(x_55, 1, x_9);
lean_ctor_set(x_55, 2, x_54);
lean_inc(x_6);
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_6);
lean_ctor_set(x_56, 1, x_55);
x_57 = l_Lean_PersistentArray_push___redArg(x_48, x_56);
if (lean_is_scalar(x_49)) {
x_58 = lean_alloc_ctor(0, 1, 8);
} else {
x_58 = x_49;
}
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set_uint64(x_58, sizeof(void*)*1, x_47);
x_59 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_59, 0, x_39);
lean_ctor_set(x_59, 1, x_40);
lean_ctor_set(x_59, 2, x_41);
lean_ctor_set(x_59, 3, x_42);
lean_ctor_set(x_59, 4, x_58);
lean_ctor_set(x_59, 5, x_43);
lean_ctor_set(x_59, 6, x_44);
lean_ctor_set(x_59, 7, x_45);
lean_ctor_set(x_59, 8, x_46);
x_60 = lean_st_ref_set(x_4, x_59);
x_61 = lean_box(0);
lean_ctor_set(x_7, 0, x_61);
return x_7;
}
}
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; uint64_t x_74; lean_object* x_75; lean_object* x_76; double x_77; uint8_t 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; lean_object* x_89;
x_62 = lean_ctor_get(x_7, 0);
lean_inc(x_62);
lean_dec(x_7);
x_63 = lean_st_ref_take(x_4);
x_64 = lean_ctor_get(x_63, 4);
lean_inc_ref(x_64);
x_65 = lean_ctor_get(x_63, 0);
lean_inc_ref(x_65);
x_66 = lean_ctor_get(x_63, 1);
lean_inc(x_66);
x_67 = lean_ctor_get(x_63, 2);
lean_inc_ref(x_67);
x_68 = lean_ctor_get(x_63, 3);
lean_inc_ref(x_68);
x_69 = lean_ctor_get(x_63, 5);
lean_inc_ref(x_69);
x_70 = lean_ctor_get(x_63, 6);
lean_inc_ref(x_70);
x_71 = lean_ctor_get(x_63, 7);
lean_inc_ref(x_71);
x_72 = lean_ctor_get(x_63, 8);
lean_inc_ref(x_72);
if (lean_is_exclusive(x_63)) {
lean_ctor_release(x_63, 0);
lean_ctor_release(x_63, 1);
lean_ctor_release(x_63, 2);
lean_ctor_release(x_63, 3);
lean_ctor_release(x_63, 4);
lean_ctor_release(x_63, 5);
lean_ctor_release(x_63, 6);
lean_ctor_release(x_63, 7);
lean_ctor_release(x_63, 8);
x_73 = x_63;
} else {
lean_dec_ref(x_63);
x_73 = lean_box(0);
}
x_74 = lean_ctor_get_uint64(x_64, sizeof(void*)*1);
x_75 = lean_ctor_get(x_64, 0);
lean_inc_ref(x_75);
if (lean_is_exclusive(x_64)) {
lean_ctor_release(x_64, 0);
x_76 = x_64;
} else {
lean_dec_ref(x_64);
x_76 = lean_box(0);
}
x_77 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__0;
x_78 = 0;
x_79 = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__1));
x_80 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_80, 0, x_1);
lean_ctor_set(x_80, 1, x_79);
lean_ctor_set_float(x_80, sizeof(void*)*2, x_77);
lean_ctor_set_float(x_80, sizeof(void*)*2 + 8, x_77);
lean_ctor_set_uint8(x_80, sizeof(void*)*2 + 16, x_78);
x_81 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__6___closed__2;
x_82 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_82, 0, x_80);
lean_ctor_set(x_82, 1, x_62);
lean_ctor_set(x_82, 2, x_81);
lean_inc(x_6);
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_6);
lean_ctor_set(x_83, 1, x_82);
x_84 = l_Lean_PersistentArray_push___redArg(x_75, x_83);
if (lean_is_scalar(x_76)) {
x_85 = lean_alloc_ctor(0, 1, 8);
} else {
x_85 = x_76;
}
lean_ctor_set(x_85, 0, x_84);
lean_ctor_set_uint64(x_85, sizeof(void*)*1, x_74);
if (lean_is_scalar(x_73)) {
x_86 = lean_alloc_ctor(0, 9, 0);
} else {
x_86 = x_73;
}
lean_ctor_set(x_86, 0, x_65);
lean_ctor_set(x_86, 1, x_66);
lean_ctor_set(x_86, 2, x_67);
lean_ctor_set(x_86, 3, x_68);
lean_ctor_set(x_86, 4, x_85);
lean_ctor_set(x_86, 5, x_69);
lean_ctor_set(x_86, 6, x_70);
lean_ctor_set(x_86, 7, x_71);
lean_ctor_set(x_86, 8, x_72);
x_87 = lean_st_ref_set(x_4, x_86);
x_88 = lean_box(0);
x_89 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_89, 0, x_88);
return x_89;
}
}
}
LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__2___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_6;
x_6 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__2(x_1, x_2, x_3, x_4);
lean_dec(x_4); lean_dec(x_4);
x_6 = lean_alloc_ctor(0, 1, 0); lean_dec_ref(x_3);
lean_ctor_set(x_6, 0, x_5);
return x_6; return x_6;
} }
} }
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f___boxed(lean_object* x_1, lean_object* x_2) { LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_46; uint8_t x_47;
x_3 = l_Lean_Meta_Grind_getExtension_x3f(x_1); x_7 = lean_st_ref_get(x_5);
x_8 = lean_ctor_get(x_7, 0);
lean_inc_ref(x_8);
lean_dec(x_7);
x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*8);
lean_dec_ref(x_8);
x_10 = lean_st_ref_get(x_5);
x_11 = lean_ctor_get(x_10, 0);
lean_inc_ref(x_11);
lean_dec(x_10);
x_12 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__2;
lean_inc(x_1);
x_13 = lean_alloc_ctor(0, 1, 2);
lean_ctor_set(x_13, 0, x_1);
lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_9);
lean_ctor_set_uint8(x_13, sizeof(void*)*1 + 1, x_2);
x_14 = l___private_Lean_ExtraModUses_0__Lean_extraModUses;
x_15 = lean_box(1);
x_16 = lean_box(0);
x_46 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_12, x_14, x_11, x_15, x_16);
x_47 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3_spec__4___redArg(x_46, x_13);
if (x_47 == 0)
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_56; lean_object* x_57; uint8_t x_70;
x_48 = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__4));
x_49 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___redArg(x_48, x_4);
x_50 = lean_ctor_get(x_49, 0);
lean_inc(x_50);
lean_dec_ref(x_49);
x_70 = lean_unbox(x_50);
lean_dec(x_50);
if (x_70 == 0)
{
lean_dec(x_3);
lean_dec(x_1); lean_dec(x_1);
return x_3; x_17 = x_5;
x_18 = lean_box(0);
goto block_45;
}
else
{
lean_object* x_71; lean_object* x_72;
x_71 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__11;
if (x_9 == 0)
{
lean_object* x_80;
x_80 = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__16));
x_72 = x_80;
goto block_79;
}
else
{
lean_object* x_81;
x_81 = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__17));
x_72 = x_81;
goto block_79;
}
block_79:
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76;
x_73 = l_Lean_stringToMessageData(x_72);
x_74 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_74, 0, x_71);
lean_ctor_set(x_74, 1, x_73);
x_75 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__13;
x_76 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_76, 0, x_74);
lean_ctor_set(x_76, 1, x_75);
if (x_2 == 0)
{
lean_object* x_77;
x_77 = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__14));
x_56 = x_76;
x_57 = x_77;
goto block_69;
}
else
{
lean_object* x_78;
x_78 = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__15));
x_56 = x_76;
x_57 = x_78;
goto block_69;
}
}
}
block_55:
{
lean_object* x_53; lean_object* x_54;
x_53 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_53, 0, x_51);
lean_ctor_set(x_53, 1, x_52);
x_54 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__2(x_48, x_53, x_4, x_5);
if (lean_obj_tag(x_54) == 0)
{
lean_dec_ref(x_54);
x_17 = x_5;
x_18 = lean_box(0);
goto block_45;
}
else
{
lean_dec_ref(x_13);
return x_54;
}
}
block_69:
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64;
x_58 = l_Lean_stringToMessageData(x_57);
x_59 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_59, 0, x_56);
lean_ctor_set(x_59, 1, x_58);
x_60 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__6;
x_61 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_61, 0, x_59);
lean_ctor_set(x_61, 1, x_60);
x_62 = l_Lean_MessageData_ofName(x_1);
x_63 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
x_64 = l_Lean_Name_isAnonymous(x_3);
if (x_64 == 0)
{
lean_object* x_65; lean_object* x_66; lean_object* x_67;
x_65 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__8;
x_66 = l_Lean_MessageData_ofName(x_3);
x_67 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_67, 0, x_65);
lean_ctor_set(x_67, 1, x_66);
x_51 = x_63;
x_52 = x_67;
goto block_55;
}
else
{
lean_object* x_68;
lean_dec(x_3);
x_68 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__3___closed__9;
x_51 = x_63;
x_52 = x_68;
goto block_55;
}
}
}
else
{
lean_object* x_82; lean_object* x_83;
lean_dec_ref(x_13);
lean_dec(x_3);
lean_dec(x_1);
x_82 = lean_box(0);
x_83 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
block_45:
{
lean_object* x_19; lean_object* x_20; uint8_t x_21;
x_19 = lean_st_ref_take(x_17);
x_20 = lean_ctor_get(x_14, 0);
lean_inc_ref(x_20);
x_21 = !lean_is_exclusive(x_19);
if (x_21 == 0)
{
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;
x_22 = lean_ctor_get(x_19, 0);
x_23 = lean_ctor_get(x_19, 5);
lean_dec(x_23);
x_24 = lean_ctor_get(x_20, 2);
lean_inc(x_24);
lean_dec_ref(x_20);
x_25 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_14, x_22, x_13, x_24, x_16);
lean_dec(x_24);
x_26 = l_Lean_ScopedEnvExtension_add___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_Extension_addCasesAttr_spec__0___redArg___closed__2;
lean_ctor_set(x_19, 5, x_26);
lean_ctor_set(x_19, 0, x_25);
x_27 = lean_st_ref_set(x_17, x_19);
x_28 = lean_box(0);
x_29 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_29, 0, x_28);
return x_29;
}
else
{
lean_object* 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; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
x_30 = lean_ctor_get(x_19, 0);
x_31 = lean_ctor_get(x_19, 1);
x_32 = lean_ctor_get(x_19, 2);
x_33 = lean_ctor_get(x_19, 3);
x_34 = lean_ctor_get(x_19, 4);
x_35 = lean_ctor_get(x_19, 6);
x_36 = lean_ctor_get(x_19, 7);
x_37 = lean_ctor_get(x_19, 8);
lean_inc(x_37);
lean_inc(x_36);
lean_inc(x_35);
lean_inc(x_34);
lean_inc(x_33);
lean_inc(x_32);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_19);
x_38 = lean_ctor_get(x_20, 2);
lean_inc(x_38);
lean_dec_ref(x_20);
x_39 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_14, x_30, x_13, x_38, x_16);
lean_dec(x_38);
x_40 = l_Lean_ScopedEnvExtension_add___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_Extension_addCasesAttr_spec__0___redArg___closed__2;
x_41 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_41, 0, x_39);
lean_ctor_set(x_41, 1, x_31);
lean_ctor_set(x_41, 2, x_32);
lean_ctor_set(x_41, 3, x_33);
lean_ctor_set(x_41, 4, x_34);
lean_ctor_set(x_41, 5, x_40);
lean_ctor_set(x_41, 6, x_35);
lean_ctor_set(x_41, 7, x_36);
lean_ctor_set(x_41, 8, x_37);
x_42 = lean_st_ref_set(x_17, x_41);
x_43 = lean_box(0);
x_44 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_44, 0, x_43);
return x_44;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0___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:
{
uint8_t x_7; lean_object* x_8;
x_7 = lean_unbox(x_2);
x_8 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0(x_1, x_7, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_10;
x_10 = lean_usize_dec_lt(x_5, x_4);
if (x_10 == 0)
{
lean_object* x_11;
lean_dec(x_2);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_6);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20;
x_12 = l_Lean_Environment_header(x_1);
x_13 = lean_ctor_get(x_12, 3);
lean_inc_ref(x_13);
lean_dec_ref(x_12);
x_14 = l_Lean_instInhabitedEffectiveImport_default;
x_15 = lean_array_uget(x_3, x_5);
x_16 = lean_array_get(x_14, x_13, x_15);
lean_dec(x_15);
lean_dec_ref(x_13);
x_17 = lean_ctor_get(x_16, 0);
lean_inc_ref(x_17);
lean_dec(x_16);
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
x_19 = 0;
lean_inc(x_2);
x_20 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0(x_18, x_19, x_2, x_7, x_8);
if (lean_obj_tag(x_20) == 0)
{
lean_object* x_21; size_t x_22; size_t x_23;
lean_dec_ref(x_20);
x_21 = lean_box(0);
x_22 = 1;
x_23 = lean_usize_add(x_5, x_22);
x_5 = x_23;
x_6 = x_21;
goto _start;
}
else
{
lean_dec(x_2);
return x_20;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
size_t x_10; size_t x_11; lean_object* x_12;
x_10 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_11 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__1(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_21;
x_6 = lean_st_ref_get(x_4);
x_10 = lean_ctor_get(x_6, 0);
lean_inc_ref(x_10);
lean_dec(x_6);
x_21 = l_Lean_Environment_getModuleIdxFor_x3f(x_10, x_1);
if (lean_obj_tag(x_21) == 0)
{
lean_dec_ref(x_10);
lean_dec(x_1);
goto block_9;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26;
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
lean_dec_ref(x_21);
x_23 = l_Lean_Environment_header(x_10);
x_24 = lean_ctor_get(x_23, 3);
lean_inc_ref(x_24);
lean_dec_ref(x_23);
x_25 = lean_array_get_size(x_24);
x_26 = lean_nat_dec_lt(x_22, x_25);
if (x_26 == 0)
{
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec_ref(x_10);
lean_dec(x_1);
goto block_9;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31;
x_27 = lean_st_ref_get(x_4);
x_28 = lean_ctor_get(x_27, 0);
lean_inc_ref(x_28);
lean_dec(x_27);
x_29 = l_Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2___closed__2;
x_30 = lean_array_fget(x_24, x_22);
lean_dec(x_22);
lean_dec_ref(x_24);
if (x_2 == 0)
{
lean_dec_ref(x_28);
x_31 = x_2;
goto block_42;
}
else
{
uint8_t x_43;
lean_inc(x_1);
x_43 = l_Lean_isMarkedMeta(x_28, x_1);
if (x_43 == 0)
{
x_31 = x_2;
goto block_42;
}
else
{
uint8_t x_44;
x_44 = 0;
x_31 = x_44;
goto block_42;
}
}
block_42:
{
lean_object* x_32; lean_object* x_33; lean_object* x_34;
x_32 = lean_ctor_get(x_30, 0);
lean_inc_ref(x_32);
lean_dec(x_30);
x_33 = lean_ctor_get(x_32, 0);
lean_inc(x_33);
lean_dec_ref(x_32);
lean_inc(x_1);
x_34 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0(x_33, x_31, x_1, x_3, x_4);
if (lean_obj_tag(x_34) == 0)
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39;
lean_dec_ref(x_34);
x_35 = l_Lean_indirectModUseExt;
x_36 = lean_box(1);
x_37 = lean_box(0);
lean_inc_ref(x_10);
x_38 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_29, x_35, x_10, x_36, x_37);
x_39 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__5___redArg(x_38, x_1);
lean_dec(x_38);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40;
x_40 = l_Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2___closed__3;
x_11 = lean_box(0);
x_12 = x_40;
goto block_20;
}
else
{
lean_object* x_41;
x_41 = lean_ctor_get(x_39, 0);
lean_inc(x_41);
lean_dec_ref(x_39);
x_11 = lean_box(0);
x_12 = x_41;
goto block_20;
}
}
else
{
lean_dec_ref(x_10);
lean_dec(x_1);
return x_34;
}
}
}
}
block_9:
{
lean_object* x_7; lean_object* x_8;
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
block_20:
{
lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16;
x_13 = lean_box(0);
x_14 = lean_array_size(x_12);
x_15 = 0;
x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__1(x_10, x_1, x_12, x_14, x_15, x_13, x_3, x_4);
lean_dec_ref(x_12);
lean_dec_ref(x_10);
if (lean_obj_tag(x_16) == 0)
{
uint8_t x_17;
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18;
x_18 = lean_ctor_get(x_16, 0);
lean_dec(x_18);
lean_ctor_set(x_16, 0, x_13);
return x_16;
}
else
{
lean_object* x_19;
lean_dec(x_16);
x_19 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_19, 0, x_13);
return x_19;
}
}
else
{
return x_16;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7;
x_6 = lean_unbox(x_2);
x_7 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0(x_1, x_6, x_3, x_4);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = l_Lean_Meta_Grind_extensionMapRef;
x_6 = lean_st_ref_get(x_5);
x_7 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Meta_Tactic_Grind_Attr_0__Lean_Meta_Grind_mkGrindAttr_spec__2_spec__5___redArg(x_6, x_1);
lean_dec(x_6);
if (lean_obj_tag(x_7) == 1)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12;
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_8, 1);
lean_inc_ref(x_9);
lean_dec(x_8);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec_ref(x_9);
x_11 = 1;
x_12 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0(x_10, x_11, x_2, x_3);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13;
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
lean_object* x_14;
x_14 = lean_ctor_get(x_12, 0);
lean_dec(x_14);
lean_ctor_set(x_12, 0, x_7);
return x_12;
}
else
{
lean_object* x_15;
lean_dec(x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_7);
return x_15;
}
}
else
{
uint8_t x_16;
lean_dec_ref(x_7);
x_16 = !lean_is_exclusive(x_12);
if (x_16 == 0)
{
return x_12;
}
else
{
lean_object* x_17; lean_object* x_18;
x_17 = lean_ctor_get(x_12, 0);
lean_inc(x_17);
lean_dec(x_12);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
}
else
{
lean_object* x_19;
x_19 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_19, 0, x_7);
return x_19;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_getExtension_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5;
x_5 = l_Lean_Meta_Grind_getExtension_x3f(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5;
x_5 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___redArg(x_1, x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5;
x_5 = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Meta_Grind_getExtension_x3f_spec__0_spec__0_spec__1(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_5;
} }
} }
static lean_object* _init_l_Lean_Meta_Grind_registerAttr___auto__1() { static lean_object* _init_l_Lean_Meta_Grind_registerAttr___auto__1() {

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Std.Data.DTreeMap.Internal.Zipper // Module: Std.Data.DTreeMap.Internal.Zipper
// Imports: public import Std.Data.Iterators.Lemmas.Producers.Slice public import Init.Data.Slice public import Std.Data.DTreeMap.Internal.Lemmas public import Init.Data.Iterators.Combinators.FilterMap import Init.Data.Iterators.Lemmas.Combinators.FilterMap import Init.Data.Iterators.Lemmas.Consumers.Collect import Init.Data.Iterators.Lemmas.Consumers.Monadic.Collect import Init.Data.List.Pairwise import Init.Data.List.Sublist import Init.Data.List.TakeDrop // Imports: public import Std.Data.Iterators.Lemmas.Producers.Slice public import Init.Data.Slice public import Std.Data.DTreeMap.Internal.Lemmas public import Init.Data.Iterators.Combinators.FilterMap import Init.Data.Iterators.Lemmas.Combinators.FilterMap import Init.Data.Iterators.Lemmas.Consumers.Collect import Init.Data.Iterators.Lemmas.Consumers.Monadic.Collect import Init.Data.List.Pairwise import Init.Data.List.Sublist import Init.Data.List.TakeDrop import Init.Data.Slice.InternalLemmas
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -4058,6 +4058,7 @@ lean_object* initialize_Init_Data_Iterators_Lemmas_Consumers_Monadic_Collect(uin
lean_object* initialize_Init_Data_List_Pairwise(uint8_t builtin); lean_object* initialize_Init_Data_List_Pairwise(uint8_t builtin);
lean_object* initialize_Init_Data_List_Sublist(uint8_t builtin); lean_object* initialize_Init_Data_List_Sublist(uint8_t builtin);
lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin); lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_InternalLemmas(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_DTreeMap_Internal_Zipper(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Std_Data_DTreeMap_Internal_Zipper(uint8_t builtin) {
lean_object * res; lean_object * res;
@ -4093,6 +4094,9 @@ lean_dec_ref(res);
res = initialize_Init_Data_List_TakeDrop(builtin); res = initialize_Init_Data_List_TakeDrop(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Init_Data_Slice_InternalLemmas(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return lean_io_result_mk_ok(lean_box(0)); return lean_io_result_mk_ok(lean_box(0));
} }
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Std.Data.Iterators.Lemmas.Producers // Module: Std.Data.Iterators.Lemmas.Producers
// Imports: public import Std.Data.Iterators.Lemmas.Producers.Monadic public import Std.Data.Iterators.Lemmas.Producers.Array public import Std.Data.Iterators.Lemmas.Producers.Empty public import Std.Data.Iterators.Lemmas.Producers.Repeat public import Std.Data.Iterators.Lemmas.Producers.Range public import Std.Data.Iterators.Lemmas.Producers.Slice // Imports: public import Std.Data.Iterators.Lemmas.Producers.Monadic public import Std.Data.Iterators.Lemmas.Producers.Array public import Std.Data.Iterators.Lemmas.Producers.Vector public import Std.Data.Iterators.Lemmas.Producers.Empty public import Std.Data.Iterators.Lemmas.Producers.Repeat public import Std.Data.Iterators.Lemmas.Producers.Range public import Std.Data.Iterators.Lemmas.Producers.Slice
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -15,6 +15,7 @@ extern "C" {
#endif #endif
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Array(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Array(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Vector(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Empty(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Empty(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Repeat(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Repeat(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Range(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Range(uint8_t builtin);
@ -30,6 +31,9 @@ lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Producers_Array(builtin); res = initialize_Std_Data_Iterators_Lemmas_Producers_Array(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Producers_Vector(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Producers_Empty(builtin); res = initialize_Std_Data_Iterators_Lemmas_Producers_Empty(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Std.Data.Iterators.Lemmas.Producers.Array // Module: Std.Data.Iterators.Lemmas.Producers.Array
// Imports: public import Std.Data.Iterators.Lemmas.Consumers.Collect public import Std.Data.Iterators.Producers.Array public import Init.Data.Iterators.Producers.List public import Std.Data.Iterators.Lemmas.Producers.Monadic.Array // Imports: public import Std.Data.Iterators.Lemmas.Consumers.Collect import Std.Data.Iterators.Lemmas.Consumers.Loop import Init.Data.List.TakeDrop public import Std.Data.Iterators.Producers.Array public import Init.Data.Iterators.Producers.List public import Std.Data.Iterators.Lemmas.Producers.Monadic.Array
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -14,6 +14,8 @@
extern "C" { extern "C" {
#endif #endif
lean_object* initialize_Std_Data_Iterators_Lemmas_Consumers_Collect(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Consumers_Collect(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Consumers_Loop(uint8_t builtin);
lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Array(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Array(uint8_t builtin);
lean_object* initialize_Init_Data_Iterators_Producers_List(uint8_t builtin); lean_object* initialize_Init_Data_Iterators_Producers_List(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(uint8_t builtin);
@ -25,6 +27,12 @@ _G_initialized = true;
res = initialize_Std_Data_Iterators_Lemmas_Consumers_Collect(builtin); res = initialize_Std_Data_Iterators_Lemmas_Consumers_Collect(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Consumers_Loop(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_List_TakeDrop(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Array(builtin); res = initialize_Std_Data_Iterators_Producers_Array(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Std.Data.Iterators.Lemmas.Producers.Monadic // Module: Std.Data.Iterators.Lemmas.Producers.Monadic
// Imports: public import Std.Data.Iterators.Lemmas.Producers.Monadic.Array public import Std.Data.Iterators.Lemmas.Producers.Monadic.Empty public import Std.Data.Iterators.Lemmas.Producers.Monadic.List // Imports: public import Std.Data.Iterators.Lemmas.Producers.Monadic.Array public import Std.Data.Iterators.Lemmas.Producers.Monadic.Vector public import Std.Data.Iterators.Lemmas.Producers.Monadic.Empty public import Std.Data.Iterators.Lemmas.Producers.Monadic.List
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -14,6 +14,7 @@
extern "C" { extern "C" {
#endif #endif
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Vector(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Empty(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Empty(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_List(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_List(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
@ -24,6 +25,9 @@ _G_initialized = true;
res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(builtin); res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Vector(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Empty(builtin); res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Empty(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);

View file

@ -0,0 +1,61 @@
// Lean compiler output
// Module: Std.Data.Iterators.Lemmas.Producers.Monadic.Vector
// Imports: public import Std.Data.Iterators.Lemmas.Producers.Monadic.Array public import Std.Data.Iterators.Producers.Monadic.Vector public import Std.Data.Iterators.Lemmas.Consumers.Monadic public import Std.Data.Iterators.Lemmas.Producers.Monadic.List public import Init.Data.Array.Lemmas import Init.Data.List.Nat.TakeDrop import Init.Data.List.TakeDrop import Init.Omega import Init.Data.Vector.Lemmas
#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* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Vector(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Consumers_Monadic(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_List(uint8_t builtin);
lean_object* initialize_Init_Data_Array_Lemmas(uint8_t builtin);
lean_object* initialize_Init_Data_List_Nat_TakeDrop(uint8_t builtin);
lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin);
lean_object* initialize_Init_Omega(uint8_t builtin);
lean_object* initialize_Init_Data_Vector_Lemmas(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Vector(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Array(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Monadic_Vector(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Consumers_Monadic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_List(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Array_Lemmas(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_List_Nat_TakeDrop(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_List_TakeDrop(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Omega(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Vector_Lemmas(builtin);
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

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Std.Data.Iterators.Lemmas.Producers.Slice // Module: Std.Data.Iterators.Lemmas.Producers.Slice
// Imports: public import Std.Data.Iterators.Producers.Slice import all Std.Data.Iterators.Producers.Slice public import Init.Data.Slice.Lemmas // Imports: public import Std.Data.Iterators.Producers.Slice import all Std.Data.Iterators.Producers.Slice public import Init.Data.Slice.Lemmas import Init.Data.Slice.InternalLemmas
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -16,6 +16,7 @@ extern "C" {
lean_object* initialize_Std_Data_Iterators_Producers_Slice(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Slice(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Slice(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Slice(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_Lemmas(uint8_t builtin); lean_object* initialize_Init_Data_Slice_Lemmas(uint8_t builtin);
lean_object* initialize_Init_Data_Slice_InternalLemmas(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Slice(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Slice(uint8_t builtin) {
lean_object * res; lean_object * res;
@ -30,6 +31,9 @@ lean_dec_ref(res);
res = initialize_Init_Data_Slice_Lemmas(builtin); res = initialize_Init_Data_Slice_Lemmas(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Init_Data_Slice_InternalLemmas(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
return lean_io_result_mk_ok(lean_box(0)); return lean_io_result_mk_ok(lean_box(0));
} }
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -0,0 +1,107 @@
// Lean compiler output
// Module: Std.Data.Iterators.Lemmas.Producers.Vector
// Imports: public import Std.Data.Iterators.Lemmas.Producers.Array public import Std.Data.Iterators.Producers.Vector public import Std.Data.Iterators.Producers.Monadic.Vector import Init.Data.Vector.Lemmas import Std.Data.Iterators.Lemmas.Consumers.Collect import Std.Data.Iterators.Lemmas.Consumers.Loop import Init.Data.List.TakeDrop import Std.Data.Iterators.Lemmas.Producers.Monadic.Vector
#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_Std_Data_Iterators_Lemmas_Producers_Vector_0__Std_Iterators_Types_ArrayIterator_instIterator_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_Iterators_Lemmas_Producers_Vector_0__Std_Iterators_Types_ArrayIterator_instIterator_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_Iterators_Lemmas_Producers_Vector_0__Std_Iterators_Types_ArrayIterator_instIterator_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
lean_dec(x_4);
lean_dec(x_3);
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 1);
lean_inc(x_6);
lean_dec_ref(x_1);
x_7 = lean_apply_2(x_2, x_5, x_6);
return x_7;
}
case 1:
{
lean_object* x_8; lean_object* x_9;
lean_dec(x_4);
lean_dec(x_2);
x_8 = lean_ctor_get(x_1, 0);
lean_inc(x_8);
lean_dec_ref(x_1);
x_9 = lean_apply_1(x_3, x_8);
return x_9;
}
default:
{
lean_object* x_10; lean_object* x_11;
lean_dec(x_3);
lean_dec(x_2);
x_10 = lean_box(0);
x_11 = lean_apply_1(x_4, x_10);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_Iterators_Lemmas_Producers_Vector_0__Std_Iterators_Types_ArrayIterator_instIterator_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8;
x_8 = l___private_Std_Data_Iterators_Lemmas_Producers_Vector_0__Std_Iterators_Types_ArrayIterator_instIterator_match__1_splitter___redArg(x_4, x_5, x_6, x_7);
return x_8;
}
}
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Array(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Vector(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Vector(uint8_t builtin);
lean_object* initialize_Init_Data_Vector_Lemmas(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Consumers_Collect(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Consumers_Loop(uint8_t builtin);
lean_object* initialize_Init_Data_List_TakeDrop(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Vector(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Lemmas_Producers_Vector(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Std_Data_Iterators_Lemmas_Producers_Array(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Vector(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Monadic_Vector(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Vector_Lemmas(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Consumers_Collect(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Consumers_Loop(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_List_TakeDrop(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Lemmas_Producers_Monadic_Vector(builtin);
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

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Std.Data.Iterators.Producers // Module: Std.Data.Iterators.Producers
// Imports: public import Std.Data.Iterators.Producers.Monadic public import Std.Data.Iterators.Producers.Array public import Std.Data.Iterators.Producers.Empty public import Std.Data.Iterators.Producers.Range public import Std.Data.Iterators.Producers.Repeat public import Std.Data.Iterators.Producers.Slice // Imports: public import Std.Data.Iterators.Producers.Monadic public import Std.Data.Iterators.Producers.Array public import Std.Data.Iterators.Producers.Vector public import Std.Data.Iterators.Producers.Empty public import Std.Data.Iterators.Producers.Range public import Std.Data.Iterators.Producers.Repeat public import Std.Data.Iterators.Producers.Slice
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -15,6 +15,7 @@ extern "C" {
#endif #endif
lean_object* initialize_Std_Data_Iterators_Producers_Monadic(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Monadic(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Array(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Array(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Vector(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Empty(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Empty(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Range(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Range(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Repeat(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Repeat(uint8_t builtin);
@ -30,6 +31,9 @@ lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Array(builtin); res = initialize_Std_Data_Iterators_Producers_Array(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Vector(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Empty(builtin); res = initialize_Std_Data_Iterators_Producers_Empty(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);

View file

@ -1,6 +1,6 @@
// Lean compiler output // Lean compiler output
// Module: Std.Data.Iterators.Producers.Monadic // Module: Std.Data.Iterators.Producers.Monadic
// Imports: public import Std.Data.Iterators.Producers.Monadic.Array public import Std.Data.Iterators.Producers.Monadic.Empty // Imports: public import Std.Data.Iterators.Producers.Monadic.Array public import Std.Data.Iterators.Producers.Monadic.Vector public import Std.Data.Iterators.Producers.Monadic.Empty
#include <lean/lean.h> #include <lean/lean.h>
#if defined(__clang__) #if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-parameter"
@ -14,6 +14,7 @@
extern "C" { extern "C" {
#endif #endif
lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Array(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Array(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Vector(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Empty(uint8_t builtin); lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Empty(uint8_t builtin);
static bool _G_initialized = false; static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Producers_Monadic(uint8_t builtin) { LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Producers_Monadic(uint8_t builtin) {
@ -23,6 +24,9 @@ _G_initialized = true;
res = initialize_Std_Data_Iterators_Producers_Monadic_Array(builtin); res = initialize_Std_Data_Iterators_Producers_Monadic_Array(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Monadic_Vector(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Monadic_Empty(builtin); res = initialize_Std_Data_Iterators_Producers_Monadic_Empty(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);

View file

@ -0,0 +1,101 @@
// Lean compiler output
// Module: Std.Data.Iterators.Producers.Monadic.Vector
// Imports: public import Init.Data.Vector.Basic public import Std.Data.Iterators.Producers.Monadic.Array
#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_Vector_iterFromIdxM___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterFromIdxM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterFromIdxM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterM___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterFromIdxM___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
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;
}
}
LEAN_EXPORT lean_object* l_Vector_iterFromIdxM(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_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_3);
lean_ctor_set(x_7, 1, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Vector_iterFromIdxM___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_Vector_iterFromIdxM(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Vector_iterM___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = lean_unsigned_to_nat(0u);
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;
}
}
LEAN_EXPORT lean_object* l_Vector_iterM(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;
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_3);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Vector_iterM___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_6;
x_6 = l_Vector_iterM(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec(x_2);
return x_6;
}
}
lean_object* initialize_Init_Data_Vector_Basic(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Array(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Producers_Monadic_Vector(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_Vector_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Monadic_Array(builtin);
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

View file

@ -0,0 +1,99 @@
// Lean compiler output
// Module: Std.Data.Iterators.Producers.Vector
// Imports: public import Init.Data.Vector.Basic public import Std.Data.Iterators.Producers.Array
#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_Vector_iterFromIdx___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterFromIdx(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterFromIdx___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iter___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Vector_iter(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iter___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Vector_iterFromIdx___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
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;
}
}
LEAN_EXPORT lean_object* l_Vector_iterFromIdx(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5;
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Vector_iterFromIdx___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5;
x_5 = l_Vector_iterFromIdx(x_1, x_2, x_3, x_4);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Vector_iter___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = lean_unsigned_to_nat(0u);
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;
}
}
LEAN_EXPORT lean_object* l_Vector_iter(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 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Vector_iter___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_Vector_iter(x_1, x_2, x_3);
lean_dec(x_1);
return x_4;
}
}
lean_object* initialize_Init_Data_Vector_Basic(uint8_t builtin);
lean_object* initialize_Std_Data_Iterators_Producers_Array(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Producers_Vector(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_Vector_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Producers_Array(builtin);
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

View file

@ -38,66 +38,27 @@ static const lean_string_object l_Lean_Parser_Attr_spec___closed__8_value = {.m_
static const lean_object* l_Lean_Parser_Attr_spec___closed__8 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__8_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__8 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__8_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__8_value),LEAN_SCALAR_PTR_LITERAL(233, 141, 154, 50, 143, 135, 42, 252)}}; static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__8_value),LEAN_SCALAR_PTR_LITERAL(233, 141, 154, 50, 143, 135, 42, 252)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__9 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__9_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__9 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__9_value;
static const lean_string_object l_Lean_Parser_Attr_spec___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "orelse"}; static const lean_string_object l_Lean_Parser_Attr_spec___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "ppSpace"};
static const lean_object* l_Lean_Parser_Attr_spec___closed__10 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__10_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__10 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__10_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__10_value),LEAN_SCALAR_PTR_LITERAL(78, 76, 4, 51, 251, 212, 116, 5)}}; static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__10_value),LEAN_SCALAR_PTR_LITERAL(207, 47, 58, 43, 30, 240, 125, 246)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__11 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__11_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__11 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__11_value;
extern lean_object* l_Lean_Parser_Tactic_simpPost; static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__11_value)}};
extern lean_object* l_Lean_Parser_Tactic_simpPre; static const lean_object* l_Lean_Parser_Attr_spec___closed__12 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__12_value;
static lean_object* l_Lean_Parser_Attr_spec___closed__12; static const lean_string_object l_Lean_Parser_Attr_spec___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "prio"};
static lean_object* l_Lean_Parser_Attr_spec___closed__13; static const lean_object* l_Lean_Parser_Attr_spec___closed__13 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__13_value;
static lean_object* l_Lean_Parser_Attr_spec___closed__14; static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__13_value),LEAN_SCALAR_PTR_LITERAL(122, 247, 65, 238, 243, 154, 137, 247)}};
static const lean_string_object l_Lean_Parser_Attr_spec___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "patternIgnore"}; static const lean_object* l_Lean_Parser_Attr_spec___closed__14 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__14_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 7}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__14_value),((lean_object*)(((size_t)(0) << 1) | 1))}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__15 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__15_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__15 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__15_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__15_value),LEAN_SCALAR_PTR_LITERAL(195, 83, 213, 191, 208, 4, 123, 240)}}; static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__6_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__12_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__15_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__16 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__16_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__16 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__16_value;
static const lean_string_object l_Lean_Parser_Attr_spec___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 2, .m_data = ""}; static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__9_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__16_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__17 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__17_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__17 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__17_value;
static const lean_string_object l_Lean_Parser_Attr_spec___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "token"}; static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__6_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__7_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__17_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__18 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__18_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__18 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__18_value;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__4_value),((lean_object*)(((size_t)(1022) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__18_value)}};
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__19_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__18_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__19_value_aux_0),((lean_object*)&l_Lean_Parser_Attr_spec___closed__17_value),LEAN_SCALAR_PTR_LITERAL(172, 232, 253, 81, 132, 83, 19, 73)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__19 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__19_value; static const lean_object* l_Lean_Parser_Attr_spec___closed__19 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__19_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__17_value)}}; LEAN_EXPORT const lean_object* l_Lean_Parser_Attr_spec = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__19_value;
static const lean_object* l_Lean_Parser_Attr_spec___closed__20 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__20_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__17_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__19_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__20_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__21 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__21_value;
static const lean_string_object l_Lean_Parser_Attr_spec___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 4, .m_capacity = 4, .m_length = 3, .m_data = "<- "};
static const lean_object* l_Lean_Parser_Attr_spec___closed__22 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__22_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__23_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__18_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__23_value_aux_0),((lean_object*)&l_Lean_Parser_Attr_spec___closed__22_value),LEAN_SCALAR_PTR_LITERAL(246, 23, 95, 201, 106, 68, 202, 153)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__23 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__23_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__22_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__24 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__24_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__25_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__22_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__23_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__24_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__25 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__25_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__26_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__11_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__21_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__25_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__26 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__26_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__27_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__16_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__26_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__27 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__27_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__28_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__9_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__27_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__28 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__28_value;
static lean_object* l_Lean_Parser_Attr_spec___closed__29;
static const lean_string_object l_Lean_Parser_Attr_spec___closed__30_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "ppSpace"};
static const lean_object* l_Lean_Parser_Attr_spec___closed__30 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__30_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__31_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__30_value),LEAN_SCALAR_PTR_LITERAL(207, 47, 58, 43, 30, 240, 125, 246)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__31 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__31_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__32_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__31_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__32 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__32_value;
static const lean_string_object l_Lean_Parser_Attr_spec___closed__33_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "prio"};
static const lean_object* l_Lean_Parser_Attr_spec___closed__33 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__33_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__34_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__33_value),LEAN_SCALAR_PTR_LITERAL(122, 247, 65, 238, 243, 154, 137, 247)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__34 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__34_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__35_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 7}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__34_value),((lean_object*)(((size_t)(0) << 1) | 1))}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__35 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__35_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__36_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__6_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__32_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__35_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__36 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__36_value;
static const lean_ctor_object l_Lean_Parser_Attr_spec___closed__37_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__9_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__36_value)}};
static const lean_object* l_Lean_Parser_Attr_spec___closed__37 = (const lean_object*)&l_Lean_Parser_Attr_spec___closed__37_value;
static lean_object* l_Lean_Parser_Attr_spec___closed__38;
static lean_object* l_Lean_Parser_Attr_spec___closed__39;
LEAN_EXPORT lean_object* l_Lean_Parser_Attr_spec;
static const lean_string_object l_Lean_Parser_Tactic_massumption___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "Tactic"}; static const lean_string_object l_Lean_Parser_Tactic_massumption___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "Tactic"};
static const lean_object* l_Lean_Parser_Tactic_massumption___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_massumption___closed__0_value; static const lean_object* l_Lean_Parser_Tactic_massumption___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_massumption___closed__0_value;
static const lean_string_object l_Lean_Parser_Tactic_massumption___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "massumption"}; static const lean_string_object l_Lean_Parser_Tactic_massumption___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "massumption"};
@ -449,7 +410,7 @@ static const lean_string_object l_Lean_Parser_Tactic_mrenameI___closed__4_value
static const lean_object* l_Lean_Parser_Tactic_mrenameI___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__4_value; static const lean_object* l_Lean_Parser_Tactic_mrenameI___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__4_value;
static const lean_ctor_object l_Lean_Parser_Tactic_mrenameI___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__4_value),LEAN_SCALAR_PTR_LITERAL(55, 136, 52, 6, 12, 19, 78, 239)}}; static const lean_ctor_object l_Lean_Parser_Tactic_mrenameI___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__4_value),LEAN_SCALAR_PTR_LITERAL(55, 136, 52, 6, 12, 19, 78, 239)}};
static const lean_object* l_Lean_Parser_Tactic_mrenameI___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__5_value; static const lean_object* l_Lean_Parser_Tactic_mrenameI___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__5_value;
static const lean_ctor_object l_Lean_Parser_Tactic_mrenameI___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__6_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__32_value),((lean_object*)&l_Lean_Parser_Tactic_mclear___closed__5_value)}}; static const lean_ctor_object l_Lean_Parser_Tactic_mrenameI___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__6_value),((lean_object*)&l_Lean_Parser_Attr_spec___closed__12_value),((lean_object*)&l_Lean_Parser_Tactic_mclear___closed__5_value)}};
static const lean_object* l_Lean_Parser_Tactic_mrenameI___closed__6 = (const lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__6_value; static const lean_object* l_Lean_Parser_Tactic_mrenameI___closed__6 = (const lean_object*)&l_Lean_Parser_Tactic_mrenameI___closed__6_value;
extern lean_object* l_Lean_binderIdent; extern lean_object* l_Lean_binderIdent;
static lean_object* l_Lean_Parser_Tactic_mrenameI___closed__7; static lean_object* l_Lean_Parser_Tactic_mrenameI___closed__7;
@ -913,6 +874,7 @@ static const lean_string_object l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syn
static const lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__120 = (const lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__120_value; static const lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__120 = (const lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__120_value;
static const lean_string_object l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "down_ite"}; static const lean_string_object l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "down_ite"};
static const lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121 = (const lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121_value; static const lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121 = (const lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121_value;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static const lean_ctor_object l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__120_value),LEAN_SCALAR_PTR_LITERAL(14, 162, 24, 1, 186, 170, 9, 57)}}; static const lean_ctor_object l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__120_value),LEAN_SCALAR_PTR_LITERAL(14, 162, 24, 1, 186, 170, 9, 57)}};
static const lean_ctor_object l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121_value),LEAN_SCALAR_PTR_LITERAL(17, 61, 132, 74, 6, 181, 81, 222)}}; static const lean_ctor_object l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__121_value),LEAN_SCALAR_PTR_LITERAL(17, 61, 132, 74, 6, 181, 81, 222)}};
static const lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122 = (const lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value; static const lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122 = (const lean_object*)&l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mleave__1___closed__122_value;
@ -1995,29 +1957,35 @@ static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__1_valu
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_massumption___closed__0_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value_aux_1),((lean_object*)&l_Lean_Parser_Tactic_massumption___closed__0_value),LEAN_SCALAR_PTR_LITERAL(166, 58, 35, 182, 187, 130, 147, 254)}};
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__0_value),LEAN_SCALAR_PTR_LITERAL(113, 87, 251, 76, 123, 116, 93, 232)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value_aux_2),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__0_value),LEAN_SCALAR_PTR_LITERAL(113, 87, 251, 76, 123, 116, 93, 232)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__1 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value;
static const lean_string_object l_Lean_Parser_Tactic_invariantsKW___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "invariants "}; static const lean_string_object l_Lean_Parser_Tactic_invariantsKW___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "orelse"};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__2_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__2 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__2_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__3_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__18_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__2_value),LEAN_SCALAR_PTR_LITERAL(78, 76, 4, 51, 251, 212, 116, 5)}};
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__3_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__2_value),LEAN_SCALAR_PTR_LITERAL(252, 45, 21, 37, 250, 87, 14, 102)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__3_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__3 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__3_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__2_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}}; static const lean_string_object l_Lean_Parser_Tactic_invariantsKW___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "invariants "};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__4_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__4 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__4_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__2_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__4_value)}}; static const lean_string_object l_Lean_Parser_Tactic_invariantsKW___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "token"};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__5_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__5 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__5_value;
static const lean_string_object l_Lean_Parser_Tactic_invariantsKW___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "invariants\? "}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__6_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__5_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__6_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__4_value),LEAN_SCALAR_PTR_LITERAL(252, 45, 21, 37, 250, 87, 14, 102)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__6 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__6_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__6 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__6_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__7_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__18_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__4_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__7_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__6_value),LEAN_SCALAR_PTR_LITERAL(241, 40, 134, 186, 103, 193, 43, 220)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__7 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__7_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__7 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__7_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__6_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__4_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__7_value)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__8 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__8_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__8 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__8_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__7_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__8_value)}}; static const lean_string_object l_Lean_Parser_Tactic_invariantsKW___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "invariants\? "};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__9 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__9_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__9 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__9_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Attr_spec___closed__11_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__5_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__9_value)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__10_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__5_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__10_value_aux_0),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__9_value),LEAN_SCALAR_PTR_LITERAL(241, 40, 134, 186, 103, 193, 43, 220)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__10 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__10_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__10 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__10_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__0_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__10_value)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__9_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__11 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__11_value; static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__11 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__11_value;
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_invariantsKW = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__11_value; static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__9_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__10_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__11_value)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__12 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__12_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__3_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__8_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__12_value)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__13 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__13_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantsKW___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__0_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__1_value),((lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__13_value)}};
static const lean_object* l_Lean_Parser_Tactic_invariantsKW___closed__14 = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__14_value;
LEAN_EXPORT const lean_object* l_Lean_Parser_Tactic_invariantsKW = (const lean_object*)&l_Lean_Parser_Tactic_invariantsKW___closed__14_value;
static const lean_string_object l_Lean_Parser_Tactic_invariantAlts___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "invariantAlts"}; static const lean_string_object l_Lean_Parser_Tactic_invariantAlts___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "invariantAlts"};
static const lean_object* l_Lean_Parser_Tactic_invariantAlts___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_invariantAlts___closed__0_value; static const lean_object* l_Lean_Parser_Tactic_invariantAlts___closed__0 = (const lean_object*)&l_Lean_Parser_Tactic_invariantAlts___closed__0_value;
static const lean_ctor_object l_Lean_Parser_Tactic_invariantAlts___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; static const lean_ctor_object l_Lean_Parser_Tactic_invariantAlts___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Attr_spec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
@ -2137,96 +2105,6 @@ static lean_object* l_Lean_Parser_Tactic_mvcgenHint___closed__4;
static lean_object* l_Lean_Parser_Tactic_mvcgenHint___closed__5; static lean_object* l_Lean_Parser_Tactic_mvcgenHint___closed__5;
static lean_object* l_Lean_Parser_Tactic_mvcgenHint___closed__6; static lean_object* l_Lean_Parser_Tactic_mvcgenHint___closed__6;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_mvcgenHint; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_mvcgenHint;
static lean_object* _init_l_Lean_Parser_Attr_spec___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_simpPost;
x_2 = l_Lean_Parser_Tactic_simpPre;
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__11));
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Attr_spec___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Attr_spec___closed__12;
x_2 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__9));
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;
}
}
static lean_object* _init_l_Lean_Parser_Attr_spec___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Attr_spec___closed__13;
x_2 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__7));
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__6));
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Attr_spec___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__28));
x_2 = l_Lean_Parser_Attr_spec___closed__14;
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__6));
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Attr_spec___closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__37));
x_2 = l_Lean_Parser_Attr_spec___closed__29;
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__6));
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Attr_spec___closed__39() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Attr_spec___closed__38;
x_2 = lean_unsigned_to_nat(1022u);
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__4));
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Attr_spec() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Parser_Attr_spec___closed__39;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mclearError__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Std__Tactic__Do__Syntax______macroRules__Lean__Parser__Tactic__mclearError__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start: _start:
{ {
@ -8340,7 +8218,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_invariantCaseAlt; x_1 = l_Lean_Parser_Tactic_invariantCaseAlt;
x_2 = l_Lean_Parser_Tactic_invariantDotAlt; x_2 = l_Lean_Parser_Tactic_invariantDotAlt;
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__11)); x_3 = ((lean_object*)(l_Lean_Parser_Tactic_invariantsKW___closed__3));
x_4 = lean_alloc_ctor(2, 3, 0); x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2); lean_ctor_set(x_4, 1, x_2);
@ -8596,7 +8474,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_simpLemma; x_1 = l_Lean_Parser_Tactic_simpLemma;
x_2 = l_Lean_Parser_Tactic_simpErase; x_2 = l_Lean_Parser_Tactic_simpErase;
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__11)); x_3 = ((lean_object*)(l_Lean_Parser_Tactic_invariantsKW___closed__3));
x_4 = lean_alloc_ctor(2, 3, 0); x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2); lean_ctor_set(x_4, 1, x_2);
@ -8610,7 +8488,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_mvcgen___closed__8; x_1 = l_Lean_Parser_Tactic_mvcgen___closed__8;
x_2 = l_Lean_Parser_Tactic_simpStar; x_2 = l_Lean_Parser_Tactic_simpStar;
x_3 = ((lean_object*)(l_Lean_Parser_Attr_spec___closed__11)); x_3 = ((lean_object*)(l_Lean_Parser_Tactic_invariantsKW___closed__3));
x_4 = lean_alloc_ctor(2, 3, 0); x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2); lean_ctor_set(x_4, 1, x_2);
@ -8841,20 +8719,6 @@ lean_dec_ref(res);
res = initialize_Init_Data_Array_GetLit(builtin); res = initialize_Init_Data_Array_GetLit(builtin);
if (lean_io_result_is_error(res)) return res; if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res); lean_dec_ref(res);
l_Lean_Parser_Attr_spec___closed__12 = _init_l_Lean_Parser_Attr_spec___closed__12();
lean_mark_persistent(l_Lean_Parser_Attr_spec___closed__12);
l_Lean_Parser_Attr_spec___closed__13 = _init_l_Lean_Parser_Attr_spec___closed__13();
lean_mark_persistent(l_Lean_Parser_Attr_spec___closed__13);
l_Lean_Parser_Attr_spec___closed__14 = _init_l_Lean_Parser_Attr_spec___closed__14();
lean_mark_persistent(l_Lean_Parser_Attr_spec___closed__14);
l_Lean_Parser_Attr_spec___closed__29 = _init_l_Lean_Parser_Attr_spec___closed__29();
lean_mark_persistent(l_Lean_Parser_Attr_spec___closed__29);
l_Lean_Parser_Attr_spec___closed__38 = _init_l_Lean_Parser_Attr_spec___closed__38();
lean_mark_persistent(l_Lean_Parser_Attr_spec___closed__38);
l_Lean_Parser_Attr_spec___closed__39 = _init_l_Lean_Parser_Attr_spec___closed__39();
lean_mark_persistent(l_Lean_Parser_Attr_spec___closed__39);
l_Lean_Parser_Attr_spec = _init_l_Lean_Parser_Attr_spec();
lean_mark_persistent(l_Lean_Parser_Attr_spec);
l_Lean_Parser_Tactic_mrenameI___closed__7 = _init_l_Lean_Parser_Tactic_mrenameI___closed__7(); l_Lean_Parser_Tactic_mrenameI___closed__7 = _init_l_Lean_Parser_Tactic_mrenameI___closed__7();
lean_mark_persistent(l_Lean_Parser_Tactic_mrenameI___closed__7); lean_mark_persistent(l_Lean_Parser_Tactic_mrenameI___closed__7);
l_Lean_Parser_Tactic_mrenameI___closed__8 = _init_l_Lean_Parser_Tactic_mrenameI___closed__8(); l_Lean_Parser_Tactic_mrenameI___closed__8 = _init_l_Lean_Parser_Tactic_mrenameI___closed__8();

View file

@ -1296,25 +1296,25 @@ goto block_111;
block_10: block_10:
{ {
lean_object* x_6; uint8_t x_7; lean_object* x_6; uint8_t x_7;
x_6 = l_Std_Time_Month_Ordinal_days(x_5, x_4); x_6 = l_Std_Time_Month_Ordinal_days(x_5, x_3);
x_7 = lean_int_dec_lt(x_6, x_3); x_7 = lean_int_dec_lt(x_6, x_2);
if (x_7 == 0) if (x_7 == 0)
{ {
lean_object* x_8; lean_object* x_8;
lean_dec(x_6); lean_dec(x_6);
x_8 = lean_alloc_ctor(0, 3, 0); x_8 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_8, 0, x_2); lean_ctor_set(x_8, 0, x_4);
lean_ctor_set(x_8, 1, x_4); lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_3); lean_ctor_set(x_8, 2, x_2);
return x_8; return x_8;
} }
else else
{ {
lean_object* x_9; lean_object* x_9;
lean_dec(x_3); lean_dec(x_2);
x_9 = lean_alloc_ctor(0, 3, 0); x_9 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_9, 0, x_2); lean_ctor_set(x_9, 0, x_4);
lean_ctor_set(x_9, 1, x_4); lean_ctor_set(x_9, 1, x_3);
lean_ctor_set(x_9, 2, x_6); lean_ctor_set(x_9, 2, x_6);
return x_9; return x_9;
} }
@ -1322,12 +1322,12 @@ return x_9;
block_20: block_20:
{ {
lean_object* x_18; uint8_t x_19; lean_object* x_18; uint8_t x_19;
x_18 = lean_int_mod(x_15, x_16); x_18 = lean_int_mod(x_17, x_15);
lean_dec(x_16); lean_dec(x_15);
x_19 = lean_int_dec_eq(x_18, x_13); x_19 = lean_int_dec_eq(x_18, x_13);
lean_dec(x_18); lean_dec(x_18);
x_2 = x_15; x_2 = x_14;
x_3 = x_14; x_3 = x_16;
x_4 = x_17; x_4 = x_17;
x_5 = x_19; x_5 = x_19;
goto block_10; goto block_10;
@ -1335,16 +1335,16 @@ goto block_10;
block_31: block_31:
{ {
lean_object* x_27; uint8_t x_28; lean_object* x_27; uint8_t x_28;
x_27 = lean_int_mod(x_21, x_25); x_27 = lean_int_mod(x_24, x_25);
lean_dec(x_25); lean_dec(x_25);
x_28 = lean_int_dec_eq(x_27, x_13); x_28 = lean_int_dec_eq(x_27, x_13);
lean_dec(x_27); lean_dec(x_27);
if (x_28 == 0) if (x_28 == 0)
{ {
lean_dec(x_23); lean_dec(x_23);
lean_dec(x_22); lean_dec(x_21);
x_2 = x_21; x_2 = x_26;
x_3 = x_26; x_3 = x_22;
x_4 = x_24; x_4 = x_24;
x_5 = x_28; x_5 = x_28;
goto block_10; goto block_10;
@ -1352,8 +1352,8 @@ goto block_10;
else else
{ {
lean_object* x_29; uint8_t x_30; lean_object* x_29; uint8_t x_30;
x_29 = lean_int_mod(x_21, x_22); x_29 = lean_int_mod(x_24, x_23);
lean_dec(x_22); lean_dec(x_23);
x_30 = lean_int_dec_eq(x_29, x_13); x_30 = lean_int_dec_eq(x_29, x_13);
lean_dec(x_29); lean_dec(x_29);
if (x_30 == 0) if (x_30 == 0)
@ -1362,15 +1362,15 @@ if (x_28 == 0)
{ {
x_14 = x_26; x_14 = x_26;
x_15 = x_21; x_15 = x_21;
x_16 = x_23; x_16 = x_22;
x_17 = x_24; x_17 = x_24;
goto block_20; goto block_20;
} }
else else
{ {
lean_dec(x_23); lean_dec(x_21);
x_2 = x_21; x_2 = x_26;
x_3 = x_26; x_3 = x_22;
x_4 = x_24; x_4 = x_24;
x_5 = x_28; x_5 = x_28;
goto block_10; goto block_10;
@ -1380,7 +1380,7 @@ else
{ {
x_14 = x_26; x_14 = x_26;
x_15 = x_21; x_15 = x_21;
x_16 = x_23; x_16 = x_22;
x_17 = x_24; x_17 = x_24;
goto block_20; goto block_20;
} }
@ -1389,43 +1389,43 @@ goto block_20;
block_42: block_42:
{ {
uint8_t x_39; uint8_t x_39;
x_39 = lean_int_dec_le(x_35, x_32); x_39 = lean_int_dec_le(x_37, x_33);
if (x_39 == 0) if (x_39 == 0)
{ {
lean_dec(x_32); lean_dec(x_33);
x_21 = x_33; x_21 = x_32;
x_22 = x_34; x_22 = x_38;
x_23 = x_36; x_23 = x_35;
x_24 = x_38; x_24 = x_34;
x_25 = x_37; x_25 = x_36;
x_26 = x_35; x_26 = x_37;
goto block_31; goto block_31;
} }
else else
{ {
lean_object* x_40; uint8_t x_41; lean_object* x_40; uint8_t x_41;
lean_dec(x_35); lean_dec(x_37);
x_40 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__1; x_40 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__1;
x_41 = lean_int_dec_le(x_32, x_40); x_41 = lean_int_dec_le(x_33, x_40);
if (x_41 == 0) if (x_41 == 0)
{ {
lean_dec(x_32); lean_dec(x_33);
x_21 = x_33; x_21 = x_32;
x_22 = x_34; x_22 = x_38;
x_23 = x_36; x_23 = x_35;
x_24 = x_38; x_24 = x_34;
x_25 = x_37; x_25 = x_36;
x_26 = x_40; x_26 = x_40;
goto block_31; goto block_31;
} }
else else
{ {
x_21 = x_33; x_21 = x_32;
x_22 = x_34; x_22 = x_38;
x_23 = x_36; x_23 = x_35;
x_24 = x_38; x_24 = x_34;
x_25 = x_37; x_25 = x_36;
x_26 = x_32; x_26 = x_33;
goto block_31; goto block_31;
} }
} }
@ -1433,49 +1433,49 @@ goto block_31;
block_55: block_55:
{ {
lean_object* x_51; uint8_t x_52; lean_object* x_51; uint8_t x_52;
x_51 = lean_int_add(x_48, x_50); x_51 = lean_int_add(x_43, x_50);
lean_dec(x_50); lean_dec(x_50);
lean_dec(x_48); lean_dec(x_43);
x_52 = lean_int_dec_le(x_47, x_44); x_52 = lean_int_dec_le(x_48, x_49);
if (x_52 == 0) if (x_52 == 0)
{ {
lean_dec(x_44); lean_dec(x_49);
lean_inc(x_47); lean_inc(x_48);
x_32 = x_43; x_32 = x_44;
x_33 = x_51; x_33 = x_45;
x_34 = x_45; x_34 = x_51;
x_35 = x_47; x_35 = x_46;
x_36 = x_46; x_36 = x_47;
x_37 = x_49; x_37 = x_48;
x_38 = x_47; x_38 = x_48;
goto block_42; goto block_42;
} }
else else
{ {
lean_object* x_53; uint8_t x_54; lean_object* x_53; uint8_t x_54;
x_53 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__2; x_53 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__2;
x_54 = lean_int_dec_le(x_44, x_53); x_54 = lean_int_dec_le(x_49, x_53);
if (x_54 == 0) if (x_54 == 0)
{ {
lean_dec(x_44); lean_dec(x_49);
x_32 = x_43; x_32 = x_44;
x_33 = x_51; x_33 = x_45;
x_34 = x_45; x_34 = x_51;
x_35 = x_47; x_35 = x_46;
x_36 = x_46; x_36 = x_47;
x_37 = x_49; x_37 = x_48;
x_38 = x_53; x_38 = x_53;
goto block_42; goto block_42;
} }
else else
{ {
x_32 = x_43; x_32 = x_44;
x_33 = x_51; x_33 = x_45;
x_34 = x_45; x_34 = x_51;
x_35 = x_47; x_35 = x_46;
x_36 = x_46; x_36 = x_47;
x_37 = x_49; x_37 = x_48;
x_38 = x_44; x_38 = x_49;
goto block_42; goto block_42;
} }
} }
@ -1483,34 +1483,34 @@ goto block_42;
block_67: block_67:
{ {
lean_object* x_65; uint8_t x_66; lean_object* x_65; uint8_t x_66;
x_65 = lean_int_add(x_57, x_64); x_65 = lean_int_add(x_60, x_64);
lean_dec(x_64); lean_dec(x_64);
lean_dec(x_57); lean_dec(x_60);
x_66 = lean_int_dec_le(x_65, x_58); x_66 = lean_int_dec_le(x_65, x_62);
lean_dec(x_58); lean_dec(x_62);
if (x_66 == 0) if (x_66 == 0)
{ {
x_43 = x_56; x_43 = x_56;
x_44 = x_65; x_44 = x_57;
x_45 = x_59; x_45 = x_58;
x_46 = x_61; x_46 = x_59;
x_47 = x_60; x_47 = x_61;
x_48 = x_62; x_48 = x_63;
x_49 = x_63; x_49 = x_65;
x_50 = x_13; x_50 = x_13;
goto block_55; goto block_55;
} }
else else
{ {
lean_inc(x_60); lean_inc(x_63);
x_43 = x_56; x_43 = x_56;
x_44 = x_65; x_44 = x_57;
x_45 = x_59; x_45 = x_58;
x_46 = x_61; x_46 = x_59;
x_47 = x_60; x_47 = x_61;
x_48 = x_62; x_48 = x_63;
x_49 = x_63; x_49 = x_65;
x_50 = x_60; x_50 = x_63;
goto block_55; goto block_55;
} }
} }
@ -1586,14 +1586,14 @@ if (x_108 == 0)
{ {
lean_object* x_109; lean_object* x_109;
x_109 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__12; x_109 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__12;
x_56 = x_106; x_56 = x_86;
x_57 = x_100; x_57 = x_84;
x_58 = x_97; x_58 = x_106;
x_59 = x_91; x_59 = x_91;
x_60 = x_105; x_60 = x_100;
x_61 = x_84; x_61 = x_88;
x_62 = x_86; x_62 = x_97;
x_63 = x_88; x_63 = x_105;
x_64 = x_109; x_64 = x_109;
goto block_67; goto block_67;
} }
@ -1601,14 +1601,14 @@ else
{ {
lean_object* x_110; lean_object* x_110;
x_110 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__13; x_110 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__13;
x_56 = x_106; x_56 = x_86;
x_57 = x_100; x_57 = x_84;
x_58 = x_97; x_58 = x_106;
x_59 = x_91; x_59 = x_91;
x_60 = x_105; x_60 = x_100;
x_61 = x_84; x_61 = x_88;
x_62 = x_86; x_62 = x_97;
x_63 = x_88; x_63 = x_105;
x_64 = x_110; x_64 = x_110;
goto block_67; goto block_67;
} }
@ -1885,9 +1885,9 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean
x_11 = lean_int_add(x_3, x_10); x_11 = lean_int_add(x_3, x_10);
lean_dec(x_10); lean_dec(x_10);
lean_dec(x_3); lean_dec(x_3);
x_12 = lean_int_mul(x_7, x_11); x_12 = lean_int_mul(x_8, x_11);
lean_dec(x_11); lean_dec(x_11);
lean_dec(x_7); lean_dec(x_8);
x_13 = lean_int_add(x_12, x_5); x_13 = lean_int_add(x_12, x_5);
lean_dec(x_12); lean_dec(x_12);
x_14 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__8; x_14 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__8;
@ -1899,15 +1899,15 @@ lean_dec(x_15);
x_17 = lean_int_sub(x_16, x_6); x_17 = lean_int_sub(x_16, x_6);
lean_dec(x_16); lean_dec(x_16);
x_18 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__7; x_18 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch___closed__7;
x_19 = lean_int_mul(x_8, x_18); x_19 = lean_int_mul(x_7, x_18);
x_20 = l_Std_Time_PlainDate_ofYearMonthDayClip___closed__0; x_20 = l_Std_Time_PlainDate_ofYearMonthDayClip___closed__0;
x_21 = lean_int_div(x_8, x_20); x_21 = lean_int_div(x_7, x_20);
x_22 = lean_int_add(x_19, x_21); x_22 = lean_int_add(x_19, x_21);
lean_dec(x_21); lean_dec(x_21);
lean_dec(x_19); lean_dec(x_19);
x_23 = l_Std_Time_PlainDate_ofYearMonthDayClip___closed__2; x_23 = l_Std_Time_PlainDate_ofYearMonthDayClip___closed__2;
x_24 = lean_int_div(x_8, x_23); x_24 = lean_int_div(x_7, x_23);
lean_dec(x_8); lean_dec(x_7);
x_25 = lean_int_sub(x_22, x_24); x_25 = lean_int_sub(x_22, x_24);
lean_dec(x_24); lean_dec(x_24);
lean_dec(x_22); lean_dec(x_22);
@ -1941,8 +1941,8 @@ if (x_40 == 0)
{ {
lean_object* x_41; lean_object* x_41;
x_41 = l_Std_Time_instReprPlainDate_repr___redArg___closed__24; x_41 = l_Std_Time_instReprPlainDate_repr___redArg___closed__24;
x_7 = x_39; x_7 = x_38;
x_8 = x_38; x_8 = x_39;
x_9 = x_36; x_9 = x_36;
x_10 = x_41; x_10 = x_41;
goto block_32; goto block_32;
@ -1951,8 +1951,8 @@ else
{ {
lean_object* x_42; lean_object* x_42;
x_42 = l_Std_Time_PlainDate_toDaysSinceUNIXEpoch___closed__0; x_42 = l_Std_Time_PlainDate_toDaysSinceUNIXEpoch___closed__0;
x_7 = x_39; x_7 = x_38;
x_8 = x_38; x_8 = x_39;
x_9 = x_36; x_9 = x_36;
x_10 = x_42; x_10 = x_42;
goto block_32; goto block_32;

View file

@ -1648,9 +1648,9 @@ block_9:
lean_object* x_7; lean_object* x_8; lean_object* x_7; lean_object* x_8;
x_7 = lean_alloc_ctor(0, 4, 0); x_7 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_4); lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_2); lean_ctor_set(x_7, 2, x_2);
lean_ctor_set(x_7, 3, x_3); lean_ctor_set(x_7, 3, x_4);
x_8 = lean_alloc_ctor(0, 2, 0); x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7); lean_ctor_set(x_8, 1, x_7);
@ -1659,35 +1659,35 @@ return x_8;
block_22: block_22:
{ {
lean_object* x_18; uint8_t x_19; lean_object* x_18; uint8_t x_19;
x_18 = l_Std_Time_Month_Ordinal_days(x_17, x_12); x_18 = l_Std_Time_Month_Ordinal_days(x_17, x_11);
x_19 = lean_int_dec_lt(x_18, x_15); x_19 = lean_int_dec_lt(x_18, x_12);
if (x_19 == 0) if (x_19 == 0)
{ {
lean_object* x_20; lean_object* x_20;
lean_dec(x_18); lean_dec(x_18);
x_20 = lean_alloc_ctor(0, 3, 0); x_20 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_20, 0, x_13); lean_ctor_set(x_20, 0, x_14);
lean_ctor_set(x_20, 1, x_12); lean_ctor_set(x_20, 1, x_11);
lean_ctor_set(x_20, 2, x_15); lean_ctor_set(x_20, 2, x_12);
x_2 = x_10; x_2 = x_10;
x_3 = x_11; x_3 = x_13;
x_4 = x_14; x_4 = x_16;
x_5 = x_16; x_5 = x_15;
x_6 = x_20; x_6 = x_20;
goto block_9; goto block_9;
} }
else else
{ {
lean_object* x_21; lean_object* x_21;
lean_dec(x_15); lean_dec(x_12);
x_21 = lean_alloc_ctor(0, 3, 0); x_21 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_21, 0, x_13); lean_ctor_set(x_21, 0, x_14);
lean_ctor_set(x_21, 1, x_12); lean_ctor_set(x_21, 1, x_11);
lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 2, x_18);
x_2 = x_10; x_2 = x_10;
x_3 = x_11; x_3 = x_13;
x_4 = x_14; x_4 = x_16;
x_5 = x_16; x_5 = x_15;
x_6 = x_21; x_6 = x_21;
goto block_9; goto block_9;
} }
@ -1695,17 +1695,17 @@ goto block_9;
block_39: block_39:
{ {
lean_object* x_37; uint8_t x_38; lean_object* x_37; uint8_t x_38;
x_37 = lean_int_mod(x_32, x_28); x_37 = lean_int_mod(x_34, x_28);
x_38 = lean_int_dec_eq(x_37, x_35); x_38 = lean_int_dec_eq(x_37, x_32);
lean_dec(x_35); lean_dec(x_32);
lean_dec(x_37); lean_dec(x_37);
x_10 = x_29; x_10 = x_30;
x_11 = x_31; x_11 = x_29;
x_12 = x_30; x_12 = x_31;
x_13 = x_32; x_13 = x_33;
x_14 = x_34; x_14 = x_34;
x_15 = x_33; x_15 = x_36;
x_16 = x_36; x_16 = x_35;
x_17 = x_38; x_17 = x_38;
goto block_22; goto block_22;
} }
@ -1713,19 +1713,19 @@ block_57:
{ {
lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_52; lean_object* x_53; uint8_t x_54;
x_52 = lean_int_mod(x_48, x_43); x_52 = lean_int_mod(x_48, x_43);
x_53 = lean_nat_to_int(x_44); x_53 = lean_nat_to_int(x_47);
x_54 = lean_int_dec_eq(x_52, x_53); x_54 = lean_int_dec_eq(x_52, x_53);
lean_dec(x_52); lean_dec(x_52);
if (x_54 == 0) if (x_54 == 0)
{ {
lean_dec(x_53); lean_dec(x_53);
x_10 = x_45; x_10 = x_45;
x_11 = x_47; x_11 = x_44;
x_12 = x_46; x_12 = x_51;
x_13 = x_48; x_13 = x_46;
x_14 = x_49; x_14 = x_48;
x_15 = x_51; x_15 = x_50;
x_16 = x_50; x_16 = x_49;
x_17 = x_54; x_17 = x_54;
goto block_22; goto block_22;
} }
@ -1739,13 +1739,13 @@ if (x_56 == 0)
{ {
if (x_54 == 0) if (x_54 == 0)
{ {
x_29 = x_45; x_29 = x_44;
x_30 = x_46; x_30 = x_45;
x_31 = x_47; x_31 = x_51;
x_32 = x_48; x_32 = x_53;
x_33 = x_51; x_33 = x_46;
x_34 = x_49; x_34 = x_48;
x_35 = x_53; x_35 = x_49;
x_36 = x_50; x_36 = x_50;
goto block_39; goto block_39;
} }
@ -1753,25 +1753,25 @@ else
{ {
lean_dec(x_53); lean_dec(x_53);
x_10 = x_45; x_10 = x_45;
x_11 = x_47; x_11 = x_44;
x_12 = x_46; x_12 = x_51;
x_13 = x_48; x_13 = x_46;
x_14 = x_49; x_14 = x_48;
x_15 = x_51; x_15 = x_50;
x_16 = x_50; x_16 = x_49;
x_17 = x_54; x_17 = x_54;
goto block_22; goto block_22;
} }
} }
else else
{ {
x_29 = x_45; x_29 = x_44;
x_30 = x_46; x_30 = x_45;
x_31 = x_47; x_31 = x_51;
x_32 = x_48; x_32 = x_53;
x_33 = x_51; x_33 = x_46;
x_34 = x_49; x_34 = x_48;
x_35 = x_53; x_35 = x_49;
x_36 = x_50; x_36 = x_50;
goto block_39; goto block_39;
} }
@ -1790,18 +1790,18 @@ x_74 = lean_int_ediv(x_65, x_73);
lean_dec(x_65); lean_dec(x_65);
x_75 = lean_int_emod(x_63, x_61); x_75 = lean_int_emod(x_63, x_61);
lean_dec(x_63); lean_dec(x_63);
x_76 = l_Fin_succ___redArg(x_66); x_76 = l_Fin_succ___redArg(x_64);
lean_dec(x_66); lean_dec(x_64);
x_77 = lean_nat_dec_le(x_58, x_76); x_77 = lean_nat_dec_le(x_58, x_76);
if (x_77 == 0) if (x_77 == 0)
{ {
lean_dec(x_76); lean_dec(x_76);
x_44 = x_64; x_44 = x_68;
x_45 = x_70; x_45 = x_70;
x_46 = x_68; x_46 = x_72;
x_47 = x_75; x_47 = x_66;
x_48 = x_67; x_48 = x_67;
x_49 = x_72; x_49 = x_75;
x_50 = x_74; x_50 = x_74;
x_51 = x_59; x_51 = x_59;
goto block_57; goto block_57;
@ -1810,12 +1810,12 @@ else
{ {
lean_object* x_78; lean_object* x_78;
x_78 = lean_nat_to_int(x_76); x_78 = lean_nat_to_int(x_76);
x_44 = x_64; x_44 = x_68;
x_45 = x_70; x_45 = x_70;
x_46 = x_68; x_46 = x_72;
x_47 = x_75; x_47 = x_66;
x_48 = x_67; x_48 = x_67;
x_49 = x_72; x_49 = x_75;
x_50 = x_74; x_50 = x_74;
x_51 = x_78; x_51 = x_78;
goto block_57; goto block_57;
@ -1848,18 +1848,18 @@ lean_dec_ref(x_93);
x_96 = l_Std_Time_PlainDateTime_ofTimestampAssumingUTC___closed__30; x_96 = l_Std_Time_PlainDateTime_ofTimestampAssumingUTC___closed__30;
x_97 = lean_int_add(x_96, x_85); x_97 = lean_int_add(x_96, x_85);
lean_dec(x_85); lean_dec(x_85);
x_98 = lean_int_mul(x_43, x_83); x_98 = lean_int_mul(x_43, x_81);
lean_dec(x_83); lean_dec(x_81);
x_99 = lean_int_add(x_97, x_98); x_99 = lean_int_add(x_97, x_98);
lean_dec(x_98); lean_dec(x_98);
lean_dec(x_97); lean_dec(x_97);
x_100 = lean_int_mul(x_41, x_81); x_100 = lean_int_mul(x_41, x_83);
lean_dec(x_81); lean_dec(x_83);
x_101 = lean_int_add(x_99, x_100); x_101 = lean_int_add(x_99, x_100);
lean_dec(x_100); lean_dec(x_100);
lean_dec(x_99); lean_dec(x_99);
x_102 = lean_int_mul(x_28, x_80); x_102 = lean_int_mul(x_28, x_82);
lean_dec(x_80); lean_dec(x_82);
x_103 = lean_int_add(x_101, x_102); x_103 = lean_int_add(x_101, x_102);
lean_dec(x_102); lean_dec(x_102);
lean_dec(x_101); lean_dec(x_101);
@ -1876,9 +1876,9 @@ x_108 = lean_unsigned_to_nat(2u);
x_109 = lean_nat_add(x_94, x_108); x_109 = lean_nat_add(x_94, x_108);
lean_dec(x_94); lean_dec(x_94);
x_110 = lean_nat_to_int(x_109); x_110 = lean_nat_to_int(x_109);
x_64 = x_90; x_64 = x_105;
x_65 = x_82; x_65 = x_80;
x_66 = x_105; x_66 = x_90;
x_67 = x_103; x_67 = x_103;
x_68 = x_110; x_68 = x_110;
goto block_79; goto block_79;
@ -1891,9 +1891,9 @@ lean_dec(x_103);
x_112 = lean_nat_sub(x_94, x_106); x_112 = lean_nat_sub(x_94, x_106);
lean_dec(x_94); lean_dec(x_94);
x_113 = lean_nat_to_int(x_112); x_113 = lean_nat_to_int(x_112);
x_64 = x_90; x_64 = x_105;
x_65 = x_82; x_65 = x_80;
x_66 = x_105; x_66 = x_90;
x_67 = x_111; x_67 = x_111;
x_68 = x_113; x_68 = x_113;
goto block_79; goto block_79;
@ -1910,10 +1910,10 @@ x_122 = lean_int_ediv(x_121, x_27);
x_123 = lean_int_dec_eq(x_122, x_43); x_123 = lean_int_dec_eq(x_122, x_43);
if (x_123 == 0) if (x_123 == 0)
{ {
x_80 = x_116; x_80 = x_115;
x_81 = x_115; x_81 = x_118;
x_82 = x_117; x_82 = x_116;
x_83 = x_118; x_83 = x_117;
x_84 = x_121; x_84 = x_121;
x_85 = x_122; x_85 = x_122;
goto block_114; goto block_114;
@ -1923,10 +1923,10 @@ else
lean_object* x_124; lean_object* x_124;
x_124 = lean_int_sub(x_122, x_59); x_124 = lean_int_sub(x_122, x_59);
lean_dec(x_122); lean_dec(x_122);
x_80 = x_116; x_80 = x_115;
x_81 = x_115; x_81 = x_118;
x_82 = x_117; x_82 = x_116;
x_83 = x_118; x_83 = x_117;
x_84 = x_121; x_84 = x_121;
x_85 = x_124; x_85 = x_124;
goto block_114; goto block_114;
@ -1944,9 +1944,9 @@ x_133 = l_Std_Time_PlainDateTime_ofTimestampAssumingUTC___closed__31;
x_134 = lean_int_dec_eq(x_132, x_133); x_134 = lean_int_dec_eq(x_132, x_133);
if (x_134 == 0) if (x_134 == 0)
{ {
x_115 = x_128; x_115 = x_126;
x_116 = x_126; x_116 = x_127;
x_117 = x_127; x_117 = x_128;
x_118 = x_132; x_118 = x_132;
x_119 = x_131; x_119 = x_131;
goto block_125; goto block_125;
@ -1956,9 +1956,9 @@ else
lean_object* x_135; lean_object* x_135;
x_135 = lean_int_sub(x_132, x_59); x_135 = lean_int_sub(x_132, x_59);
lean_dec(x_132); lean_dec(x_132);
x_115 = x_128; x_115 = x_126;
x_116 = x_126; x_116 = x_127;
x_117 = x_127; x_117 = x_128;
x_118 = x_135; x_118 = x_135;
x_119 = x_131; x_119 = x_131;
goto block_125; goto block_125;
@ -1971,8 +1971,8 @@ x_140 = lean_int_ediv(x_139, x_42);
x_141 = lean_int_dec_eq(x_140, x_43); x_141 = lean_int_dec_eq(x_140, x_43);
if (x_141 == 0) if (x_141 == 0)
{ {
x_126 = x_138; x_126 = x_137;
x_127 = x_137; x_127 = x_138;
x_128 = x_140; x_128 = x_140;
x_129 = x_139; x_129 = x_139;
goto block_136; goto block_136;
@ -1982,8 +1982,8 @@ else
lean_object* x_142; lean_object* x_142;
x_142 = lean_int_sub(x_140, x_59); x_142 = lean_int_sub(x_140, x_59);
lean_dec(x_140); lean_dec(x_140);
x_126 = x_138; x_126 = x_137;
x_127 = x_137; x_127 = x_138;
x_128 = x_142; x_128 = x_142;
x_129 = x_139; x_129 = x_139;
goto block_136; goto block_136;

View file

@ -307,7 +307,7 @@ return x_2;
LEAN_EXPORT lean_object* l_Std_Time_TimeZone_Offset_toIsoString(lean_object* x_1, uint8_t x_2) { LEAN_EXPORT lean_object* l_Std_Time_TimeZone_Offset_toIsoString(lean_object* x_1, uint8_t x_2) {
_start: _start:
{ {
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_54; lean_object* x_55; lean_object* x_88; uint8_t x_89; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_54; lean_object* x_55; lean_object* x_88; uint8_t x_89;
x_88 = l_Std_Time_TimeZone_Offset_toIsoString___closed__1; x_88 = l_Std_Time_TimeZone_Offset_toIsoString___closed__1;
x_89 = lean_int_dec_le(x_88, x_1); x_89 = lean_int_dec_le(x_88, x_1);
if (x_89 == 0) if (x_89 == 0)
@ -333,8 +333,8 @@ block_12:
if (x_2 == 0) if (x_2 == 0)
{ {
lean_object* x_6; lean_object* x_7; lean_object* x_6; lean_object* x_7;
x_6 = lean_string_append(x_3, x_4); x_6 = lean_string_append(x_4, x_3);
lean_dec_ref(x_4); lean_dec_ref(x_3);
x_7 = lean_string_append(x_6, x_5); x_7 = lean_string_append(x_6, x_5);
lean_dec_ref(x_5); lean_dec_ref(x_5);
return x_7; return x_7;
@ -342,8 +342,8 @@ return x_7;
else else
{ {
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
x_8 = lean_string_append(x_3, x_4); x_8 = lean_string_append(x_4, x_3);
lean_dec_ref(x_4); lean_dec_ref(x_3);
x_9 = ((lean_object*)(l_Std_Time_TimeZone_Offset_toIsoString___closed__0)); x_9 = ((lean_object*)(l_Std_Time_TimeZone_Offset_toIsoString___closed__0));
x_10 = lean_string_append(x_8, x_9); x_10 = lean_string_append(x_8, x_9);
x_11 = lean_string_append(x_10, x_5); x_11 = lean_string_append(x_10, x_5);
@ -354,10 +354,10 @@ return x_11;
block_18: block_18:
{ {
lean_object* x_17; lean_object* x_17;
x_17 = lean_string_append(x_15, x_16); x_17 = lean_string_append(x_14, x_16);
lean_dec_ref(x_16); lean_dec_ref(x_16);
x_3 = x_13; x_3 = x_13;
x_4 = x_14; x_4 = x_15;
x_5 = x_17; x_5 = x_17;
goto block_12; goto block_12;
} }
@ -367,23 +367,23 @@ if (x_21 == 0)
{ {
lean_object* x_23; uint8_t x_24; lean_object* x_23; uint8_t x_24;
x_23 = l_Std_Time_TimeZone_Offset_toIsoString___closed__1; x_23 = l_Std_Time_TimeZone_Offset_toIsoString___closed__1;
x_24 = lean_int_dec_lt(x_20, x_23); x_24 = lean_int_dec_lt(x_19, x_23);
if (x_24 == 0) if (x_24 == 0)
{ {
lean_object* x_25; lean_object* x_26; lean_object* x_25; lean_object* x_26;
x_25 = lean_nat_abs(x_20); x_25 = lean_nat_abs(x_19);
lean_dec(x_20); lean_dec(x_19);
x_26 = l_Nat_reprFast(x_25); x_26 = l_Nat_reprFast(x_25);
x_3 = x_19; x_3 = x_22;
x_4 = x_22; x_4 = x_20;
x_5 = x_26; x_5 = x_26;
goto block_12; goto block_12;
} }
else else
{ {
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_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;
x_27 = lean_nat_abs(x_20); x_27 = lean_nat_abs(x_19);
lean_dec(x_20); lean_dec(x_19);
x_28 = lean_unsigned_to_nat(1u); x_28 = lean_unsigned_to_nat(1u);
x_29 = lean_nat_sub(x_27, x_28); x_29 = lean_nat_sub(x_27, x_28);
lean_dec(x_27); lean_dec(x_27);
@ -393,8 +393,8 @@ lean_dec(x_29);
x_32 = l_Nat_reprFast(x_31); x_32 = l_Nat_reprFast(x_31);
x_33 = lean_string_append(x_30, x_32); x_33 = lean_string_append(x_30, x_32);
lean_dec_ref(x_32); lean_dec_ref(x_32);
x_3 = x_19; x_3 = x_22;
x_4 = x_22; x_4 = x_20;
x_5 = x_33; x_5 = x_33;
goto block_12; goto block_12;
} }
@ -404,24 +404,24 @@ else
lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_34; lean_object* x_35; uint8_t x_36;
x_34 = ((lean_object*)(l_Std_Time_TimeZone_Offset_toIsoString___closed__3)); x_34 = ((lean_object*)(l_Std_Time_TimeZone_Offset_toIsoString___closed__3));
x_35 = l_Std_Time_TimeZone_Offset_toIsoString___closed__1; x_35 = l_Std_Time_TimeZone_Offset_toIsoString___closed__1;
x_36 = lean_int_dec_lt(x_20, x_35); x_36 = lean_int_dec_lt(x_19, x_35);
if (x_36 == 0) if (x_36 == 0)
{ {
lean_object* x_37; lean_object* x_38; lean_object* x_37; lean_object* x_38;
x_37 = lean_nat_abs(x_20); x_37 = lean_nat_abs(x_19);
lean_dec(x_20); lean_dec(x_19);
x_38 = l_Nat_reprFast(x_37); x_38 = l_Nat_reprFast(x_37);
x_13 = x_19; x_13 = x_22;
x_14 = x_22; x_14 = x_34;
x_15 = x_34; x_15 = x_20;
x_16 = x_38; x_16 = x_38;
goto block_18; goto block_18;
} }
else else
{ {
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_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;
x_39 = lean_nat_abs(x_20); x_39 = lean_nat_abs(x_19);
lean_dec(x_20); lean_dec(x_19);
x_40 = lean_unsigned_to_nat(1u); x_40 = lean_unsigned_to_nat(1u);
x_41 = lean_nat_sub(x_39, x_40); x_41 = lean_nat_sub(x_39, x_40);
lean_dec(x_39); lean_dec(x_39);
@ -431,9 +431,9 @@ lean_dec(x_41);
x_44 = l_Nat_reprFast(x_43); x_44 = l_Nat_reprFast(x_43);
x_45 = lean_string_append(x_42, x_44); x_45 = lean_string_append(x_42, x_44);
lean_dec_ref(x_44); lean_dec_ref(x_44);
x_13 = x_19; x_13 = x_22;
x_14 = x_22; x_14 = x_34;
x_15 = x_34; x_15 = x_20;
x_16 = x_45; x_16 = x_45;
goto block_18; goto block_18;
} }
@ -442,11 +442,11 @@ goto block_18;
block_53: block_53:
{ {
lean_object* x_52; lean_object* x_52;
x_52 = lean_string_append(x_49, x_51); x_52 = lean_string_append(x_50, x_51);
lean_dec_ref(x_51); lean_dec_ref(x_51);
x_19 = x_47; x_19 = x_47;
x_20 = x_48; x_20 = x_48;
x_21 = x_50; x_21 = x_49;
x_22 = x_52; x_22 = x_52;
goto block_46; goto block_46;
} }
@ -474,8 +474,8 @@ lean_object* x_66; lean_object* x_67;
x_66 = lean_nat_abs(x_57); x_66 = lean_nat_abs(x_57);
lean_dec(x_57); lean_dec(x_57);
x_67 = l_Nat_reprFast(x_66); x_67 = l_Nat_reprFast(x_66);
x_19 = x_54; x_19 = x_60;
x_20 = x_60; x_20 = x_54;
x_21 = x_63; x_21 = x_63;
x_22 = x_67; x_22 = x_67;
goto block_46; goto block_46;
@ -494,8 +494,8 @@ lean_dec(x_70);
x_73 = l_Nat_reprFast(x_72); x_73 = l_Nat_reprFast(x_72);
x_74 = lean_string_append(x_71, x_73); x_74 = lean_string_append(x_71, x_73);
lean_dec_ref(x_73); lean_dec_ref(x_73);
x_19 = x_54; x_19 = x_60;
x_20 = x_60; x_20 = x_54;
x_21 = x_63; x_21 = x_63;
x_22 = x_74; x_22 = x_74;
goto block_46; goto block_46;
@ -513,10 +513,10 @@ lean_object* x_78; lean_object* x_79;
x_78 = lean_nat_abs(x_57); x_78 = lean_nat_abs(x_57);
lean_dec(x_57); lean_dec(x_57);
x_79 = l_Nat_reprFast(x_78); x_79 = l_Nat_reprFast(x_78);
x_47 = x_54; x_47 = x_60;
x_48 = x_60; x_48 = x_54;
x_49 = x_75; x_49 = x_63;
x_50 = x_63; x_50 = x_75;
x_51 = x_79; x_51 = x_79;
goto block_53; goto block_53;
} }
@ -534,10 +534,10 @@ lean_dec(x_82);
x_85 = l_Nat_reprFast(x_84); x_85 = l_Nat_reprFast(x_84);
x_86 = lean_string_append(x_83, x_85); x_86 = lean_string_append(x_83, x_85);
lean_dec_ref(x_85); lean_dec_ref(x_85);
x_47 = x_54; x_47 = x_60;
x_48 = x_60; x_48 = x_54;
x_49 = x_75; x_49 = x_63;
x_50 = x_63; x_50 = x_75;
x_51 = x_86; x_51 = x_86;
goto block_53; goto block_53;
} }