chore: update stage0
This commit is contained in:
parent
64538cf6e8
commit
4bef3588b5
120 changed files with 286169 additions and 73789 deletions
171
stage0/src/runtime/io.cpp
generated
171
stage0/src/runtime/io.cpp
generated
|
|
@ -5,6 +5,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
|
|||
Authors: Leonardo de Moura, Sebastian Ullrich
|
||||
*/
|
||||
#if defined(LEAN_WINDOWS)
|
||||
#include <icu.h>
|
||||
#include <windows.h>
|
||||
#include <io.h>
|
||||
#define NOMINMAX // prevent ntdef.h from defining min/max macros
|
||||
|
|
@ -630,6 +631,176 @@ extern "C" LEAN_EXPORT obj_res lean_io_prim_handle_put_str(b_obj_arg h, b_obj_ar
|
|||
}
|
||||
}
|
||||
|
||||
/* Std.Time.Timestamp.now : IO Timestamp */
|
||||
extern "C" LEAN_EXPORT obj_res lean_get_current_time(obj_arg /* w */) {
|
||||
using namespace std::chrono;
|
||||
|
||||
std::chrono::system_clock::time_point now = std::chrono::system_clock::now();
|
||||
long long timestamp = std::chrono::duration_cast<std::chrono::nanoseconds>(now.time_since_epoch()).count();
|
||||
|
||||
long long secs = timestamp / 1000000000;
|
||||
long long nano = timestamp % 1000000000;
|
||||
|
||||
lean_object *lean_ts = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(lean_ts, 0, lean_int64_to_int(secs));
|
||||
lean_ctor_set(lean_ts, 1, lean_int64_to_int(nano));
|
||||
|
||||
return lean_io_result_mk_ok(lean_ts);
|
||||
}
|
||||
|
||||
/* Std.Time.Database.Windows.getNextTransition : @&String -> Int64 -> Bool -> IO (Option (Int64 × TimeZone)) */
|
||||
extern "C" LEAN_EXPORT obj_res lean_windows_get_next_transition(b_obj_arg timezone_str, uint64_t tm_obj, uint8 default_time, obj_arg /* w */) {
|
||||
#if defined(LEAN_WINDOWS)
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
const char* dst_name_id = lean_string_cstr(timezone_str);
|
||||
|
||||
UChar tzID[256];
|
||||
u_strFromUTF8(tzID, sizeof(tzID) / sizeof(tzID[0]), NULL, dst_name_id, strlen(dst_name_id), &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to read identifier")));
|
||||
}
|
||||
|
||||
UCalendar *cal = ucal_open(tzID, -1, NULL, UCAL_GREGORIAN, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to open calendar")));
|
||||
}
|
||||
|
||||
int64_t tm = 0;
|
||||
|
||||
if (!default_time) {
|
||||
int64_t timestamp_secs = (int64_t)tm_obj;
|
||||
|
||||
ucal_setMillis(cal, timestamp_secs * 1000, &status);
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to set calendar time")));
|
||||
}
|
||||
|
||||
UDate nextTransition;
|
||||
if (!ucal_getTimeZoneTransitionDate(cal, UCAL_TZ_TRANSITION_NEXT, &nextTransition, &status)) {
|
||||
ucal_close(cal);
|
||||
return io_result_mk_ok(mk_option_none());
|
||||
}
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to get next transation")));
|
||||
}
|
||||
|
||||
tm = (int64_t)(nextTransition / 1000.0);
|
||||
}
|
||||
|
||||
int32_t dst_offset = ucal_get(cal, UCAL_DST_OFFSET, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to get dst_offset")));
|
||||
}
|
||||
|
||||
int is_dst = dst_offset != 0;
|
||||
|
||||
int32_t tzIDLength = ucal_getTimeZoneDisplayName(cal, is_dst ? UCAL_DST : UCAL_STANDARD, "en_US", tzID, 32, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to timezone identifier")));
|
||||
}
|
||||
|
||||
char dst_name[256];
|
||||
int32_t dst_name_len;
|
||||
u_strToUTF8(dst_name, sizeof(dst_name), &dst_name_len, tzID, tzIDLength, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to convert DST name to UTF-8")));
|
||||
}
|
||||
|
||||
UChar display_name[32];
|
||||
int32_t display_name_len = ucal_getTimeZoneDisplayName(cal, is_dst ? UCAL_SHORT_DST : UCAL_SHORT_STANDARD, "en_US", display_name, 32, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to read abbreaviation")));
|
||||
}
|
||||
|
||||
char display_name_str[256];
|
||||
int32_t display_name_str_len;
|
||||
u_strToUTF8(display_name_str, sizeof(display_name_str), &display_name_str_len, display_name, display_name_len, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to get abbreviation to cstr")));
|
||||
}
|
||||
|
||||
int32_t zone_offset = ucal_get(cal, UCAL_ZONE_OFFSET, &status);
|
||||
zone_offset += dst_offset;
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to get zone_offset")));
|
||||
}
|
||||
|
||||
ucal_close(cal);
|
||||
|
||||
int offset_seconds = zone_offset / 1000;
|
||||
|
||||
lean_object *lean_tz = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(lean_tz, 0, lean_int_to_int(offset_seconds));
|
||||
lean_ctor_set(lean_tz, 1, lean_mk_string_from_bytes_unchecked(dst_name, dst_name_len));
|
||||
lean_ctor_set(lean_tz, 2, lean_mk_string_from_bytes_unchecked(display_name_str, display_name_str_len));
|
||||
lean_ctor_set_uint8(lean_tz, sizeof(void*)*3, is_dst);
|
||||
|
||||
lean_object *lean_pair = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(lean_pair, 0, lean_box_uint64((uint64_t)tm));
|
||||
lean_ctor_set(lean_pair, 1, lean_tz);
|
||||
|
||||
return lean_io_result_mk_ok(mk_option_some(lean_pair));
|
||||
#else
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to get timezone, its windows only.")));
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Std.Time.Database.Windows.getLocalTimeZoneIdentifierAt : Int64 → IO String */
|
||||
extern "C" LEAN_EXPORT obj_res lean_get_windows_local_timezone_id_at(uint64_t tm_obj, obj_arg /* w */) {
|
||||
#if defined(LEAN_WINDOWS)
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
UCalendar* cal = ucal_open(NULL, -1, NULL, UCAL_GREGORIAN, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to open calendar")));
|
||||
}
|
||||
|
||||
int64_t timestamp_secs = (int64_t)tm_obj;
|
||||
ucal_setMillis(cal, timestamp_secs * 1000, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
ucal_close(cal);
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to set calendar time")));
|
||||
}
|
||||
|
||||
UChar tzId[256];
|
||||
int32_t tzIdLength = ucal_getTimeZoneID(cal, tzId, sizeof(tzId) / sizeof(tzId[0]), &status);
|
||||
ucal_close(cal);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to get timezone ID")));
|
||||
}
|
||||
|
||||
char tzIdStr[256];
|
||||
u_strToUTF8(tzIdStr, sizeof(tzIdStr), NULL, tzId, tzIdLength, &status);
|
||||
|
||||
if (U_FAILURE(status)) {
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("failed to convert timezone ID to UTF-8")));
|
||||
}
|
||||
|
||||
return lean_io_result_mk_ok(lean_mk_ascii_string_unchecked(tzIdStr));
|
||||
#else
|
||||
return lean_io_result_mk_error(lean_decode_io_error(EINVAL, mk_string("timezone retrieval is Windows-only")));
|
||||
#endif
|
||||
}
|
||||
|
||||
/* monoMsNow : BaseIO Nat */
|
||||
extern "C" LEAN_EXPORT obj_res lean_io_mono_ms_now(obj_arg /* w */) {
|
||||
static_assert(sizeof(std::chrono::milliseconds::rep) <= sizeof(uint64), "size of std::chrono::nanoseconds::rep may not exceed 64");
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ options get_default_options() {
|
|||
// switch to `true` for ABI-breaking changes affecting meta code
|
||||
opts = opts.update({"interpreter", "prefer_native"}, false);
|
||||
// switch to `true` for changing built-in parsers used in quotations
|
||||
opts = opts.update({"internal", "parseQuotWithCurrentStage"}, true);
|
||||
opts = opts.update({"internal", "parseQuotWithCurrentStage"}, false);
|
||||
// toggling `parseQuotWithCurrentStage` may also require toggling the following option if macros/syntax
|
||||
// with custom precheck hooks were affected
|
||||
opts = opts.update({"quotPrecheck"}, true);
|
||||
|
|
|
|||
155
stage0/stdlib/Init/Data/Array/Attach.c
generated
155
stage0/stdlib/Init/Data/Array/Attach.c
generated
|
|
@ -13,22 +13,112 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Array_pmap(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_attachWithImpl___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Array_pmap___spec__1___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Array_unattach___spec__1___rarg(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_attach(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Array_unattach___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_pmapImpl(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_attach___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_pmap___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_attach___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_attachWithImpl(lean_object*);
|
||||
lean_object* l_List_reverse___rarg(lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_attachWithImpl___rarg(lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Array_unattach___rarg(lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_unattach(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_pmapImpl___rarg(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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Array_unattach___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Array_pmap___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Array_pmap___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_dec(x_1);
|
||||
x_4 = l_List_reverse___rarg(x_3);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = !lean_is_exclusive(x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
x_7 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_apply_2(x_1, x_6, lean_box(0));
|
||||
lean_ctor_set(x_2, 1, x_3);
|
||||
lean_ctor_set(x_2, 0, x_8);
|
||||
{
|
||||
lean_object* _tmp_1 = x_7;
|
||||
lean_object* _tmp_2 = x_2;
|
||||
x_2 = _tmp_1;
|
||||
x_3 = _tmp_2;
|
||||
}
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_10 = lean_ctor_get(x_2, 0);
|
||||
x_11 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_1);
|
||||
x_12 = lean_apply_2(x_1, x_10, lean_box(0));
|
||||
x_13 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_3);
|
||||
x_2 = x_11;
|
||||
x_3 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Array_pmap___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l_List_mapTR_loop___at_Array_pmap___spec__1___rarg), 3, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_pmap___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_4 = lean_array_to_list(x_2);
|
||||
x_5 = lean_box(0);
|
||||
x_6 = l_List_mapTR_loop___at_Array_pmap___spec__1___rarg(x_1, x_4, x_5);
|
||||
x_7 = lean_array_mk(x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_pmap(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l_Array_pmap___rarg), 3, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_attachWithImpl___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -77,6 +167,71 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = lean_usize_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_6 = lean_array_uget(x_4, x_3);
|
||||
x_7 = lean_unsigned_to_nat(0u);
|
||||
x_8 = lean_array_uset(x_4, x_3, x_7);
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_3, x_9);
|
||||
lean_inc(x_1);
|
||||
x_11 = lean_apply_2(x_1, x_6, lean_box(0));
|
||||
x_12 = lean_array_uset(x_8, x_3, x_11);
|
||||
x_3 = x_10;
|
||||
x_4 = x_12;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1___rarg___boxed), 4, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_pmapImpl___rarg(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_array_size(x_2);
|
||||
x_5 = 0;
|
||||
x_6 = l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1___rarg(x_1, x_4, x_5, x_2);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Attach_0__Array_pmapImpl(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Attach_0__Array_pmapImpl___rarg), 3, 0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
size_t x_5; size_t x_6; lean_object* x_7;
|
||||
x_5 = lean_unbox_usize(x_2);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l_Array_mapMUnsafe_map___at___private_Init_Data_Array_Attach_0__Array_pmapImpl___spec__1___rarg(x_1, x_5, x_6, x_4);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Array_unattach___spec__1___rarg(size_t x_1, size_t x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
368
stage0/stdlib/Init/Data/List/Nat/Range.c
generated
368
stage0/stdlib/Init/Data/List/Nat/Range.c
generated
|
|
@ -13,44 +13,44 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__24;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__25;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__8;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378_;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__12;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__21;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__8;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__19;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__31;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__27;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__18;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__22;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__11;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__15;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__28;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__16;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__29;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__9;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__28;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__27;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__31;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_627_;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__22;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__18;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__24;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__20;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__30;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373_;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__5;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__4;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__19;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__25;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__26;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__12;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__21;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__5;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__10;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__30;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__23;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__7;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__14;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__9;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__4;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__14;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__23;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__7;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__29;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__11;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__10;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__13;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2;
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__13;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__20;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_632_;
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1() {
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__26;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__16;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__15;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6;
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -58,7 +58,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -66,7 +66,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -74,7 +74,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__4() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -82,19 +82,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__5() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__4;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__4;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -103,7 +103,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__7() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -111,19 +111,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__8() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__7;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__7;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__9() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -131,17 +131,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__10() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__9;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__9;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__11() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -149,41 +149,41 @@ x_1 = lean_mk_string_unchecked("simp", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__12() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__11;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__11;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__13() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__11;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__11;
|
||||
x_3 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__14() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__13;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__13;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__15() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -191,25 +191,25 @@ x_1 = lean_mk_string_unchecked("optConfig", 9, 9);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__16() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__15;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3;
|
||||
x_4 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__15;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -217,23 +217,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__18() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__19() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__16;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__18;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__16;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__18;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -241,63 +241,63 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__20() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__20() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__14;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__19;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__14;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__19;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__21() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__21() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__20;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__20;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__22() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__22() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__21;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__21;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__23() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__23() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__22;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__22;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__24() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__24() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__23;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__23;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__25() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__25() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__12;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__24;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__12;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__24;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -305,23 +305,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__26() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__26() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__25;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__25;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__27() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__27() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__26;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__10;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__26;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -329,23 +329,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__28() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__28() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__27;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__27;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__29() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__29() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__8;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__28;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__8;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__28;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -353,23 +353,23 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__30() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__30() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__29;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__29;
|
||||
x_3 = lean_array_push(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__31() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__31() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(2);
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__5;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__30;
|
||||
x_2 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__5;
|
||||
x_3 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__30;
|
||||
x_4 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -377,19 +377,19 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__31;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__31;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_632_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_627_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__31;
|
||||
x_1 = l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__31;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -418,72 +418,72 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_List_Erase(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__1);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__2);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__3);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__4 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__4();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__4);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__5 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__5();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__5);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__6);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__7 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__7();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__7);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__8 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__8();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__8);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__9 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__9();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__9);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__10 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__10();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__10);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__11 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__11();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__11);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__12 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__12();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__12);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__13 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__13();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__13);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__14 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__14();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__14);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__15 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__15();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__15);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__16 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__16();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__16);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__17);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__18 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__18();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__18);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__19 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__19();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__19);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__20 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__20();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__20);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__21 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__21();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__21);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__22 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__22();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__22);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__23 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__23();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__23);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__24 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__24();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__24);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__25 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__25();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__25);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__26 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__26();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__26);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__27 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__27();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__27);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__28 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__28();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__28);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__29 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__29();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__29);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__30 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__30();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__30);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__31 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__31();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378____closed__31);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_378_ = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_378_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_378_);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_632_ = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_632_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_632_);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__1);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__2);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__3);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__4 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__4();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__4);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__5 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__5();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__5);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__6);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__7 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__7();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__7);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__8 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__8();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__8);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__9 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__9();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__9);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__10 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__10();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__10);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__11 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__11();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__11);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__12 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__12();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__12);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__13 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__13();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__13);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__14 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__14();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__14);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__15 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__15();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__15);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__16 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__16();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__16);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__17);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__18 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__18();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__18);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__19 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__19();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__19);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__20 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__20();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__20);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__21 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__21();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__21);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__22 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__22();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__22);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__23 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__23();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__23);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__24 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__24();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__24);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__25 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__25();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__25);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__26 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__26();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__26);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__27 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__27();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__27);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__28 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__28();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__28);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__29 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__29();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__29);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__30 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__30();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__30);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__31 = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__31();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373____closed__31);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_373_ = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_373_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_373_);
|
||||
l___auto____x40_Init_Data_List_Nat_Range___hyg_627_ = _init_l___auto____x40_Init_Data_List_Nat_Range___hyg_627_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Nat_Range___hyg_627_);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
8
stage0/stdlib/Init/Data/List/Sort/Basic.c
generated
8
stage0/stdlib/Init/Data/List/Sort/Basic.c
generated
|
|
@ -37,6 +37,7 @@ static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed
|
|||
LEAN_EXPORT lean_object* l_List_mergeSort___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__51;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__23;
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_812_;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__41;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__12;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__13;
|
||||
|
|
@ -88,7 +89,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
|||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__4;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__28;
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_818_;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__31;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__27;
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__1;
|
||||
|
|
@ -995,7 +995,7 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Sort_Basic___hyg_818_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Sort_Basic___hyg_812_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1365,8 +1365,8 @@ l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__59 = _init_l___aut
|
|||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Basic___hyg_12____closed__59);
|
||||
l___auto____x40_Init_Data_List_Sort_Basic___hyg_12_ = _init_l___auto____x40_Init_Data_List_Sort_Basic___hyg_12_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Basic___hyg_12_);
|
||||
l___auto____x40_Init_Data_List_Sort_Basic___hyg_818_ = _init_l___auto____x40_Init_Data_List_Sort_Basic___hyg_818_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Basic___hyg_818_);
|
||||
l___auto____x40_Init_Data_List_Sort_Basic___hyg_812_ = _init_l___auto____x40_Init_Data_List_Sort_Basic___hyg_812_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Basic___hyg_812_);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
8
stage0/stdlib/Init/Data/List/Sort/Impl.c
generated
8
stage0/stdlib/Init/Data/List/Sort/Impl.c
generated
|
|
@ -13,7 +13,6 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_2003_;
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevAt_go___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run_x27(lean_object*);
|
||||
|
|
@ -62,6 +61,7 @@ LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082_run___rarg_
|
|||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_splitRevInTwo_x27___rarg___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_1127____closed__28;
|
||||
LEAN_EXPORT lean_object* l_List_MergeSort_Internal_mergeSortTR_u2082(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_1991_;
|
||||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___auto____x40_Init_Data_List_Sort_Impl___hyg_1127____closed__58;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
|
|
@ -1379,7 +1379,7 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Sort_Impl___hyg_2003_() {
|
||||
static lean_object* _init_l___auto____x40_Init_Data_List_Sort_Impl___hyg_1991_() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1789,8 +1789,8 @@ l___auto____x40_Init_Data_List_Sort_Impl___hyg_1127____closed__59 = _init_l___au
|
|||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Impl___hyg_1127____closed__59);
|
||||
l___auto____x40_Init_Data_List_Sort_Impl___hyg_1127_ = _init_l___auto____x40_Init_Data_List_Sort_Impl___hyg_1127_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Impl___hyg_1127_);
|
||||
l___auto____x40_Init_Data_List_Sort_Impl___hyg_2003_ = _init_l___auto____x40_Init_Data_List_Sort_Impl___hyg_2003_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Impl___hyg_2003_);
|
||||
l___auto____x40_Init_Data_List_Sort_Impl___hyg_1991_ = _init_l___auto____x40_Init_Data_List_Sort_Impl___hyg_1991_();
|
||||
lean_mark_persistent(l___auto____x40_Init_Data_List_Sort_Impl___hyg_1991_);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
107
stage0/stdlib/Init/Data/Nat/Linear.c
generated
107
stage0/stdlib/Init/Data/Nat/Linear.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Data.Nat.Linear
|
||||
// Imports: Init.ByCases Init.Data.Prod
|
||||
// Imports: Init.ByCases Init.Data.Prod Init.Data.RArray
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -14,12 +14,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
uint8_t l_Nat_blt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_isNum_x3f_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_monomialToExpr(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Expr_toNormPoly(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_mul_go(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Expr_toPoly_go___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Var_denote_go(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_hugeFuel;
|
||||
LEAN_EXPORT uint8_t l_Nat_Linear_Poly_isNonZero(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_insert(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -27,6 +27,7 @@ LEAN_EXPORT lean_object* l_Nat_Linear_PolyCnstr_isUnsat___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_isNum_x3f_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_combineAux___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Expr_denote_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RArray_getImpl___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_cancelAux_match__2_splitter(lean_object*);
|
||||
static lean_object* l_Nat_Linear_Poly_isNum_x3f___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_denote(lean_object*, lean_object*);
|
||||
|
|
@ -34,7 +35,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_isZ
|
|||
LEAN_EXPORT lean_object* l_Nat_Linear_instInhabitedExpr;
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_isNum_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_mul___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_denote_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Certificate_combineHyps_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Expr_denote___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -45,7 +45,6 @@ LEAN_EXPORT uint8_t l_Nat_Linear_PolyCnstr_isUnsat(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_cancel(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Var_denote___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Var_denote_go___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Expr_toPoly_go(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Nat_Linear_instInhabitedExpr___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_mul_go___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -56,7 +55,6 @@ static lean_object* l_Nat_Linear_Certificate_combine___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Nat_Linear_fixedVar;
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_norm_go(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_toExpr_go(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_PolyCnstr_isValid___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_isZero_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_cancelAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -66,13 +64,14 @@ LEAN_EXPORT lean_object* l_Nat_Linear_Poly_isNonZero___boxed(lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Certificate_combineHyps_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Expr_denote_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_cancelAux_match__1_splitter(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_PolyCnstr_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Nat_Linear_Poly_isZero(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_norm(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Certificate_combine(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_isZero_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_isNum_x3f_match__1_splitter(lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_cancelAux_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -83,8 +82,8 @@ LEAN_EXPORT lean_object* l_Nat_elimOffset___rarg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Nat_Linear_Expr_toPoly___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Poly_combineAux(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_Poly_denote_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_PolyCnstr_toExpr(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_ExprCnstr_toPoly(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Certificate_combineHyps(lean_object*, lean_object*);
|
||||
static lean_object* l_Nat_Linear_instBEqPolyCnstr___closed__1;
|
||||
|
|
@ -116,51 +115,6 @@ x_1 = lean_unsigned_to_nat(100000000u);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Var_denote_go(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
lean_dec(x_2);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_nat_dec_eq(x_2, x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = lean_unsigned_to_nat(1u);
|
||||
x_9 = lean_nat_sub(x_2, x_8);
|
||||
lean_dec(x_2);
|
||||
x_1 = x_5;
|
||||
x_2 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_4);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Var_denote_go___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Nat_Linear_Var_denote_go(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_Linear_Var_denote(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -170,13 +124,12 @@ x_4 = lean_nat_dec_eq(x_2, x_3);
|
|||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l_Nat_Linear_Var_denote_go(x_1, x_2);
|
||||
x_5 = l_Lean_RArray_getImpl___rarg(x_1, x_2);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_unsigned_to_nat(1u);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -187,6 +140,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Nat_Linear_Var_denote(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -218,15 +172,12 @@ case 0:
|
|||
lean_object* x_3;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_2);
|
||||
x_5 = l_Nat_Linear_Var_denote(x_1, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -234,10 +185,7 @@ case 2:
|
|||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_2);
|
||||
x_8 = l_Nat_Linear_Expr_denote(x_1, x_6);
|
||||
x_9 = l_Nat_Linear_Expr_denote(x_1, x_7);
|
||||
x_10 = lean_nat_add(x_8, x_9);
|
||||
|
|
@ -249,27 +197,19 @@ case 3:
|
|||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_11 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_2);
|
||||
x_13 = l_Nat_Linear_Expr_denote(x_1, x_12);
|
||||
x_14 = lean_nat_mul(x_11, x_13);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_11);
|
||||
return x_14;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
x_15 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_2);
|
||||
x_17 = l_Nat_Linear_Expr_denote(x_1, x_15);
|
||||
x_18 = lean_nat_mul(x_17, x_16);
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_17);
|
||||
return x_18;
|
||||
}
|
||||
|
|
@ -281,6 +221,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Nat_Linear_Expr_denote(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -298,19 +239,12 @@ else
|
|||
{
|
||||
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;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_4);
|
||||
x_8 = l_Nat_Linear_Var_denote(x_1, x_7);
|
||||
x_9 = lean_nat_mul(x_6, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
x_10 = l_Nat_Linear_Poly_denote(x_1, x_5);
|
||||
x_11 = lean_nat_add(x_9, x_10);
|
||||
lean_dec(x_10);
|
||||
|
|
@ -324,6 +258,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Nat_Linear_Poly_denote(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -2455,7 +2390,7 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -2520,7 +2455,7 @@ goto _start;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382_(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
|
|
@ -2575,7 +2510,7 @@ return x_10;
|
|||
else
|
||||
{
|
||||
uint8_t x_11;
|
||||
x_11 = l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____spec__1(x_4, x_7);
|
||||
x_11 = l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____spec__1(x_4, x_7);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
uint8_t x_12;
|
||||
|
|
@ -2585,29 +2520,29 @@ return x_12;
|
|||
else
|
||||
{
|
||||
uint8_t x_13;
|
||||
x_13 = l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____spec__1(x_5, x_8);
|
||||
x_13 = l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____spec__1(x_5, x_8);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____spec__1(x_1, x_2);
|
||||
x_3 = l_List_beq___at___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466_(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382_(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
|
|
@ -2618,7 +2553,7 @@ static lean_object* _init_l_Nat_Linear_instBEqPolyCnstr___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1466____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Nat_Linear_0__Nat_Linear_beqPolyCnstr____x40_Init_Data_Nat_Linear___hyg_1382____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -3762,6 +3697,7 @@ return x_6;
|
|||
}
|
||||
lean_object* initialize_Init_ByCases(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Prod(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_RArray(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Data_Nat_Linear(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -3773,6 +3709,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Prod(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_RArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Nat_Linear_fixedVar = _init_l_Nat_Linear_fixedVar();
|
||||
lean_mark_persistent(l_Nat_Linear_fixedVar);
|
||||
l_Nat_Linear_instInhabitedExpr___closed__1 = _init_l_Nat_Linear_instInhabitedExpr___closed__1();
|
||||
|
|
|
|||
22
stage0/stdlib/Init/Data/Nat/SOM.c
generated
22
stage0/stdlib/Init/Data/Nat/SOM.c
generated
|
|
@ -78,15 +78,12 @@ case 0:
|
|||
lean_object* x_3;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_2);
|
||||
x_5 = l_Nat_Linear_Var_denote(x_1, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -94,10 +91,7 @@ case 2:
|
|||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_2);
|
||||
x_8 = l_Nat_SOM_Expr_denote(x_1, x_6);
|
||||
x_9 = l_Nat_SOM_Expr_denote(x_1, x_7);
|
||||
x_10 = lean_nat_add(x_8, x_9);
|
||||
|
|
@ -109,10 +103,7 @@ default:
|
|||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_11 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_11);
|
||||
x_12 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_2);
|
||||
x_13 = l_Nat_SOM_Expr_denote(x_1, x_11);
|
||||
x_14 = l_Nat_SOM_Expr_denote(x_1, x_12);
|
||||
x_15 = lean_nat_mul(x_13, x_14);
|
||||
|
|
@ -128,6 +119,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Nat_SOM_Expr_denote(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -145,10 +137,7 @@ else
|
|||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = l_Nat_Linear_Var_denote(x_1, x_4);
|
||||
x_7 = l_Nat_SOM_Mon_denote(x_1, x_5);
|
||||
x_8 = lean_nat_mul(x_6, x_7);
|
||||
|
|
@ -163,6 +152,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Nat_SOM_Mon_denote(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -413,19 +403,12 @@ else
|
|||
{
|
||||
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;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_2);
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_6);
|
||||
x_7 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_4);
|
||||
x_8 = l_Nat_SOM_Mon_denote(x_1, x_7);
|
||||
x_9 = lean_nat_mul(x_6, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
x_10 = l_Nat_SOM_Poly_denote(x_1, x_5);
|
||||
x_11 = lean_nat_add(x_9, x_10);
|
||||
lean_dec(x_10);
|
||||
|
|
@ -439,6 +422,7 @@ _start:
|
|||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Nat_SOM_Poly_denote(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
|
|
|
|||
1560
stage0/stdlib/Init/Meta.c
generated
1560
stage0/stdlib/Init/Meta.c
generated
File diff suppressed because it is too large
Load diff
85
stage0/stdlib/Init/Prelude.c
generated
85
stage0/stdlib/Init/Prelude.c
generated
|
|
@ -296,6 +296,7 @@ LEAN_EXPORT lean_object* l_instLEFin___boxed(lean_object*);
|
|||
static lean_object* l_Array_mkArray4___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Macro_throwError(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instDecidableEqUInt32___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailingTailPos_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_namedPattern(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_get___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Macro_instMonadQuotationMacroM___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -647,6 +648,7 @@ LEAN_EXPORT lean_object* l_Array_mkArray8___rarg(lean_object*, lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l_Eq_ndrec(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_interpolatedStrKind;
|
||||
LEAN_EXPORT lean_object* l_BitVec_ofNatLt___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailingTailPos_x3f(lean_object*, uint8_t);
|
||||
static lean_object* l_instInhabitedSubstring___closed__2;
|
||||
static lean_object* l_instHashableString___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_TSyntaxArray_mkImpl___boxed(lean_object*);
|
||||
|
|
@ -757,6 +759,7 @@ LEAN_EXPORT lean_object* l_instPowOfHomogeneousPow___rarg(lean_object*, lean_obj
|
|||
LEAN_EXPORT lean_object* l_EStateM_seqRight(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_EStateM_get___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instInhabitedReaderT(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailing_x3f(lean_object*);
|
||||
static lean_object* l_EStateM_instMonadStateOf___closed__3;
|
||||
LEAN_EXPORT lean_object* l_EStateM_adaptExcept(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instLTPos;
|
||||
|
|
@ -772,6 +775,7 @@ LEAN_EXPORT lean_object* l_EStateM_map___rarg(lean_object*, lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Syntax_node8(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_instInhabitedForall(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailing_x3f___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_UInt16_decEq___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedName;
|
||||
LEAN_EXPORT lean_object* l_instMonadLiftT___rarg___boxed(lean_object*);
|
||||
|
|
@ -7864,6 +7868,87 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailing_x3f(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_2);
|
||||
x_3 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_box(0);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailing_x3f___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_SourceInfo_getTrailing_x3f(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailingTailPos_x3f(lean_object* x_1, uint8_t x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_SourceInfo_getTrailing_x3f(x_1);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_SourceInfo_getTailPos_x3f(x_1, x_2);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_5;
|
||||
x_5 = !lean_is_exclusive(x_3);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
x_6 = lean_ctor_get(x_3, 0);
|
||||
x_7 = lean_ctor_get(x_6, 2);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_ctor_set(x_3, 0, x_7);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_8 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_3);
|
||||
x_9 = lean_ctor_get(x_8, 2);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
x_10 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_SourceInfo_getTrailingTailPos_x3f___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox(x_2);
|
||||
lean_dec(x_2);
|
||||
x_4 = l_Lean_SourceInfo_getTrailingTailPos_x3f(x_1, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Syntax_node1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
15146
stage0/stdlib/Lake/DSL/DeclUtil.c
generated
15146
stage0/stdlib/Lake/DSL/DeclUtil.c
generated
File diff suppressed because it is too large
Load diff
988
stage0/stdlib/Lake/DSL/Require.c
generated
988
stage0/stdlib/Lake/DSL/Require.c
generated
File diff suppressed because it is too large
Load diff
16
stage0/stdlib/Lean/Compiler/LCNF/AuxDeclCache.c
generated
16
stage0/stdlib/Lean/Compiler/LCNF/AuxDeclCache.c
generated
|
|
@ -19,7 +19,6 @@ size_t lean_usize_shift_right(size_t, size_t);
|
|||
uint8_t lean_usize_dec_le(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_cacheAuxDecl___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_cacheAuxDecl___spec__4(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
size_t lean_usize_mul(size_t, size_t);
|
||||
|
|
@ -49,6 +48,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LC
|
|||
lean_object* l_Lean_Compiler_LCNF_normalizeFVarIds(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_cacheAuxDecl___closed__2;
|
||||
uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(lean_object*, lean_object*);
|
||||
uint64_t l___private_Lean_Compiler_LCNF_DeclHash_0__Lean_Compiler_LCNF_hashDecl____x40_Lean_Compiler_LCNF_DeclHash___hyg_269_(lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
|
|
@ -128,7 +128,7 @@ else
|
|||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = lean_array_fget(x_1, x_4);
|
||||
lean_inc(x_5);
|
||||
x_10 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_5, x_9);
|
||||
x_10 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_5, x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
|
|
@ -200,7 +200,7 @@ lean_inc(x_12);
|
|||
x_13 = lean_ctor_get(x_11, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_11);
|
||||
x_14 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_3, x_12);
|
||||
x_14 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_3, x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15;
|
||||
|
|
@ -261,7 +261,7 @@ lean_inc(x_27);
|
|||
x_28 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_26);
|
||||
x_29 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_3, x_27);
|
||||
x_29 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_3, x_27);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
lean_object* x_30;
|
||||
|
|
@ -407,7 +407,7 @@ else
|
|||
lean_object* x_17; uint8_t x_18;
|
||||
x_17 = lean_array_fget(x_5, x_2);
|
||||
lean_inc(x_3);
|
||||
x_18 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_3, x_17);
|
||||
x_18 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_3, x_17);
|
||||
if (x_18 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
|
|
@ -505,7 +505,7 @@ x_19 = lean_ctor_get(x_15, 0);
|
|||
x_20 = lean_ctor_get(x_15, 1);
|
||||
lean_inc(x_19);
|
||||
lean_inc(x_4);
|
||||
x_21 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_4, x_19);
|
||||
x_21 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_4, x_19);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
|
|
@ -541,7 +541,7 @@ lean_inc(x_26);
|
|||
lean_dec(x_15);
|
||||
lean_inc(x_26);
|
||||
lean_inc(x_4);
|
||||
x_28 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_4, x_26);
|
||||
x_28 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_4, x_26);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
|
|
@ -664,7 +664,7 @@ if (lean_is_exclusive(x_57)) {
|
|||
}
|
||||
lean_inc(x_60);
|
||||
lean_inc(x_4);
|
||||
x_63 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_4, x_60);
|
||||
x_63 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_4, x_60);
|
||||
if (x_63 == 0)
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
|
|
|
|||
38
stage0/stdlib/Lean/Compiler/LCNF/Basic.c
generated
38
stage0/stdlib/Lean/Compiler/LCNF/Basic.c
generated
|
|
@ -23,6 +23,7 @@ static lean_object* l_Lean_Compiler_LCNF_instInhabitedParam___closed__2;
|
|||
static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_Arg_updateTypeImp___closed__2;
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Decl_noinlineAttr(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Decl_alwaysInlineAttr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_Arg_updateTypeImp(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_instFVarIdSetInhabited;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateLetDeclCoreImp(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -59,7 +60,6 @@ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean
|
|||
lean_object* l_Lean_Expr_lit___override(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_instInhabitedCasesCore___closed__1;
|
||||
uint8_t l_List_beq___at___private_Lean_Data_OpenDecl_0__Lean_beqOpenDecl____x40_Lean_Data_OpenDecl___hyg_40____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(lean_object*, lean_object*);
|
||||
lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateFunImp(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_instHashableLetValue___closed__1;
|
||||
|
|
@ -141,7 +141,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_isDecl(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_sizeLe___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateJmpImp___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_go(lean_object*, lean_object*);
|
||||
|
|
@ -154,9 +153,9 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Param_toArg(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectParams___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_sizeLe(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectType___spec__1___lambda__1(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_LetValue_updateConstImp(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqAlt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_instBEqDecl___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_CasesCore_getCtorNames___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_outOfBounds___rarg(lean_object*);
|
||||
|
|
@ -170,6 +169,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_alwaysInlineAttr___boxed(lean
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_instantiateRangeArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instCode(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_Arg_updateFVarImp___closed__1;
|
||||
uint8_t l_Lean_Expr_hasLooseBVars(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_isTemplateLike(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -223,6 +223,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateParamCoreImp(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedCasesCore(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_getArity___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_attachCodeDecls(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isInstance(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -246,6 +247,7 @@ static lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Comp
|
|||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqLetValue____x40_Lean_Compiler_LCNF_Basic___hyg_844____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint64_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_hashLetValue____x40_Lean_Compiler_LCNF_Basic___hyg_1084_(lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateReturnImp___closed__1;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqCases___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateRangeArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -291,7 +293,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_
|
|||
static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___closed__1;
|
||||
lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_hashLitValue____x40_Lean_Compiler_LCNF_Basic___hyg_341____boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_mapCodeM___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_getParams(lean_object*);
|
||||
|
|
@ -326,10 +327,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_collectUsed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectType___spec__1___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_instantiateLevelParamsNoCache(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_inlineable___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_isReturnOf(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instLetDecl(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_instBEqCode___closed__1;
|
||||
|
|
@ -370,7 +371,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L
|
|||
static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltsImp___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_size_go___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_isTemplateLike___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_hasLocalInst___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqLitValue____x40_Lean_Compiler_LCNF_Basic___hyg_262____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1(lean_object*);
|
||||
|
|
@ -6618,7 +6618,7 @@ x_1 = l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -6665,7 +6665,7 @@ return x_10;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__2(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 uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__2(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; uint8_t x_9;
|
||||
|
|
@ -6706,7 +6706,7 @@ return x_17;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t 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; uint8_t x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; uint8_t x_26;
|
||||
|
|
@ -6820,7 +6820,7 @@ return x_35;
|
|||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
x_36 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__2(x_6, x_14, lean_box(0), x_6, x_14, x_32, lean_box(0));
|
||||
x_36 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__2(x_6, x_14, lean_box(0), x_6, x_14, x_32, lean_box(0));
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_6);
|
||||
if (x_36 == 0)
|
||||
|
|
@ -6906,7 +6906,7 @@ if (x_9 == 0)
|
|||
if (x_17 == 0)
|
||||
{
|
||||
uint8_t x_21;
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__1(x_10, x_18);
|
||||
x_21 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__1(x_10, x_18);
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
|
|
@ -6931,7 +6931,7 @@ return x_23;
|
|||
else
|
||||
{
|
||||
uint8_t x_24;
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__1(x_10, x_18);
|
||||
x_24 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__1(x_10, x_18);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
|
|
@ -6939,20 +6939,20 @@ return x_24;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__1(x_1, x_2);
|
||||
x_3 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__1(x_1, x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8; lean_object* x_9;
|
||||
x_8 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
x_8 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
|
|
@ -6961,11 +6961,11 @@ x_9 = lean_box(x_8);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_1, x_2);
|
||||
x_3 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_1, x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -6974,7 +6974,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_instBEqDecl___closed__1() {
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
158
stage0/stdlib/Lean/Compiler/LCNF/Specialize.c
generated
158
stage0/stdlib/Lean/Compiler/LCNF/Specialize.c
generated
|
|
@ -18,6 +18,7 @@ lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_findSpecCache_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__4;
|
||||
static double l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__5___closed__2;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__5;
|
||||
static lean_object* l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_isGround___spec__1___rarg___closed__1;
|
||||
lean_object* l_Lean_SMap_insert___at_Lean_Compiler_SpecState_addEntry___spec__11(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetValue_forFVarM___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__3(lean_object*, lean_object*);
|
||||
|
|
@ -35,7 +36,6 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Simp_withDiscrCtorIm
|
|||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__11;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__14;
|
||||
lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
|
|
@ -47,6 +47,7 @@ lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__1;
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__15;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Specialize_expandCodeDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -74,54 +75,46 @@ static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__
|
|||
static lean_object* l_Lean_Compiler_LCNF_specialize___closed__2;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___closed__1;
|
||||
lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277_(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__2;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Specialize_expandCodeDecls___spec__2(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_nextPowerOfTwo_go(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_FunDeclCore_toExprM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__4;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__2___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____lambda__1___closed__1;
|
||||
lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__2;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__7;
|
||||
lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____lambda__1___closed__6;
|
||||
lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_instInhabitedPUnit;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___closed__2;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_instInhabitedCacheEntry___closed__2;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__1;
|
||||
size_t lean_ptr_addr(lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__9;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__12;
|
||||
lean_object* l_Lean_Compiler_LCNF_eraseDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_expr_abstract(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Compiler_LCNF_Decl_setLevelParams(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___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_Compiler_LCNF_Specialize_specCacheExt;
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__5;
|
||||
lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Compiler_LCNF_ToExpr_abstractM___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_specialize___closed__1;
|
||||
|
|
@ -149,6 +142,7 @@ lean_object* l_Lean_RBNode_findCore___at___private_Lean_Meta_FunInfo_0__Lean_Met
|
|||
uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Compiler_LCNF_LCtx_addFunDecl___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Compiler_LCNF_addFVarSubst___spec__2(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__11;
|
||||
static lean_object* l_Lean_Compiler_LCNF_specialize___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Compiler_LCNF_Specialize_getRemainingArgs___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -160,6 +154,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg(lean
|
|||
LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___spec__2(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_findSpecCache_x3f___closed__1;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_addEntry(lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*);
|
||||
|
|
@ -196,7 +191,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl(lean_objec
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__4(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__9;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__3;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__7;
|
||||
lean_object* l_Lean_Compiler_LCNF_LetValue_toExpr(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4___closed__1;
|
||||
|
|
@ -208,7 +202,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey(lean_object*, lea
|
|||
LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__6;
|
||||
lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Compiler_LCNF_addFVarSubst___spec__5(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_OptionT_instMonad___rarg(lean_object*);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -235,7 +228,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_S
|
|||
LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__5;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___closed__1;
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__6;
|
||||
|
|
@ -247,6 +239,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls_go___bo
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__1;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__10;
|
||||
lean_object* l_List_mapTR_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__10(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBTree_contains___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
|
|
@ -257,6 +250,7 @@ static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_
|
|||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__2___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_getRemainingArgs(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__4;
|
||||
LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__10;
|
||||
lean_object* l_Lean_Compiler_LCNF_Arg_toExpr(lean_object*);
|
||||
|
|
@ -267,9 +261,9 @@ lean_object* l_Lean_Compiler_LCNF_CodeDecl_fvarId(lean_object*);
|
|||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Specialize_isGround___rarg___lambda__1(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Expr_instHashable;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM;
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_allFVarM___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__2;
|
||||
lean_object* l_Lean_Compiler_LCNF_allFVarM_go___at_Lean_Compiler_LCNF_allFVar___spec__2(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_specialize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -301,6 +295,9 @@ static lean_object* l_Lean_Compiler_LCNF_Specialize_instMonadScopeSpecializeM___
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__10;
|
||||
uint8_t l_Lean_Expr_hasFVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275_(lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__13;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__14;
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_withParams___spec__1(lean_object*, size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -311,11 +308,12 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1(l
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_getRemainingArgs___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SMap_instInhabited___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__12;
|
||||
LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Specialize_Collector_collect___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_instInhabitedOfMonad___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at_Lean_Compiler_LCNF_Specialize_withLetDecl___spec__5___closed__4;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__15;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__8;
|
||||
lean_object* l_Lean_Expr_instantiateLevelParamsNoCache(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToExpr_withParams_go___at_Lean_Compiler_LCNF_Specialize_mkKey___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -329,6 +327,7 @@ lean_object* lean_array_get_size(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__7;
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2___closed__1;
|
||||
|
|
@ -342,6 +341,7 @@ static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(lean_object*, lean_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_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect___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_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11764,7 +11764,7 @@ lean_dec(x_1);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__1() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -11774,7 +11774,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__2() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -11784,27 +11784,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__3() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__2;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__2;
|
||||
x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__4() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__3;
|
||||
x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__5() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -11812,17 +11812,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__6() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__4;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__5;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__4;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__7() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -11830,57 +11830,57 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__8() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__6;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__7;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__6;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__9() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__8;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__8;
|
||||
x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__10() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__9;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__9;
|
||||
x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__11() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__10;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__10;
|
||||
x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__12() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__11;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__11;
|
||||
x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__13() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -11888,33 +11888,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__14() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__12;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__13;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__12;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__15() {
|
||||
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__14;
|
||||
x_2 = lean_unsigned_to_nat(4277u);
|
||||
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__14;
|
||||
x_2 = lean_unsigned_to_nat(4275u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__1;
|
||||
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__1;
|
||||
x_3 = 1;
|
||||
x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__15;
|
||||
x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__15;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -12191,37 +12191,37 @@ l_Lean_Compiler_LCNF_specialize___closed__3 = _init_l_Lean_Compiler_LCNF_special
|
|||
lean_mark_persistent(l_Lean_Compiler_LCNF_specialize___closed__3);
|
||||
l_Lean_Compiler_LCNF_specialize = _init_l_Lean_Compiler_LCNF_specialize();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_specialize);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__1);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__2);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__3);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__4);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__5();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__5);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__6();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__6);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__7 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__7();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__7);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__8 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__8);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__9 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__9);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__10 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__10);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__11 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__11);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__12 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__12);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__13 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__13);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__14 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__14);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__15 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__15();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277____closed__15);
|
||||
if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4277_(lean_io_mk_world());
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__1();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__1);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__2();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__2);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__3();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__3);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__4();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__4);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__5();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__5);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__6();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__6);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__7 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__7();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__7);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__8 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__8();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__8);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__9 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__9();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__9);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__10 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__10();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__10);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__11 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__11();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__11);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__12 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__12();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__12);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__13 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__13();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__13);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__14 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__14();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__14);
|
||||
l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__15 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__15();
|
||||
lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275____closed__15);
|
||||
if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4275_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/LCNF/Testing.c
generated
4
stage0/stdlib/Lean/Compiler/LCNF/Testing.c
generated
|
|
@ -44,7 +44,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertReducesOrPreservesSi
|
|||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1___closed__2;
|
||||
lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -145,6 +144,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler
|
|||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertAroundEachOccurrence(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -3275,7 +3275,7 @@ x_11 = lean_nat_sub(x_6, x_10);
|
|||
lean_dec(x_6);
|
||||
x_12 = lean_array_fget(x_4, x_11);
|
||||
x_13 = lean_array_fget(x_5, x_11);
|
||||
x_14 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5957_(x_12, x_13);
|
||||
x_14 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5951_(x_12, x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
uint8_t x_15;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Data.c
generated
6
stage0/stdlib/Lean/Data.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Data
|
||||
// Imports: Lean.Data.AssocList Lean.Data.Format Lean.Data.HashMap Lean.Data.HashSet Lean.Data.Json Lean.Data.JsonRpc Lean.Data.KVMap Lean.Data.LBool Lean.Data.LOption Lean.Data.Lsp Lean.Data.Name Lean.Data.NameMap Lean.Data.OpenDecl Lean.Data.Options Lean.Data.PersistentArray Lean.Data.PersistentHashMap Lean.Data.PersistentHashSet Lean.Data.Position Lean.Data.PrefixTree Lean.Data.SMap Lean.Data.Trie Lean.Data.Xml Lean.Data.NameTrie Lean.Data.RBTree Lean.Data.RBMap Lean.Data.Rat Lean.Data.RArray
|
||||
// Imports: Lean.Data.AssocList Lean.Data.Format Lean.Data.HashMap Lean.Data.HashSet Lean.Data.Json Lean.Data.JsonRpc Lean.Data.KVMap Lean.Data.LBool Lean.Data.LOption Lean.Data.Lsp Lean.Data.Name Lean.Data.NameMap Lean.Data.OpenDecl Lean.Data.Options Lean.Data.PersistentArray Lean.Data.PersistentHashMap Lean.Data.PersistentHashSet Lean.Data.Position Lean.Data.PrefixTree Lean.Data.SMap Lean.Data.Trie Lean.Data.Xml Lean.Data.NameTrie Lean.Data.RBTree Lean.Data.RBMap Lean.Data.RArray
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -38,7 +38,6 @@ lean_object* initialize_Lean_Data_Xml(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Lean_Data_NameTrie(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_RBTree(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_RBMap(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Rat(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_RArray(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Data(uint8_t builtin, lean_object* w) {
|
||||
|
|
@ -120,9 +119,6 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Data_RBMap(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_Rat(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_RArray(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
844
stage0/stdlib/Lean/Data/Lsp/Basic.c
generated
844
stage0/stdlib/Lean/Data/Lsp/Basic.c
generated
File diff suppressed because it is too large
Load diff
20
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
20
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
|
|
@ -32,7 +32,6 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities;
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_545____closed__4;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1171____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_794____spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10332_(uint8_t);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_545____closed__5;
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__13;
|
||||
|
|
@ -48,6 +47,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_from
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_995____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1171____closed__10;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10053_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_758____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_545_(lean_object*);
|
||||
|
|
@ -154,7 +154,6 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonW
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__63;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__34;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1171____closed__8;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9335_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__8;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities;
|
||||
|
|
@ -163,7 +162,6 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonSer
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_280_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10265_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_794____closed__9;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____spec__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -194,6 +192,7 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonS
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_758____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_517_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_280____closed__5;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10838_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities;
|
||||
|
|
@ -216,6 +215,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJs
|
|||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_517____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__53;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__33;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9908_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_248____spec__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_963_(lean_object*);
|
||||
|
|
@ -254,6 +254,7 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTex
|
|||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_157____closed__6;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_280____closed__14;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1135____closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10905_(uint8_t);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__25;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1171____closed__14;
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1644____closed__68;
|
||||
|
|
@ -295,7 +296,6 @@ static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonW
|
|||
lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_436____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9480_(lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1171____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1460____closed__11;
|
||||
|
|
@ -4920,7 +4920,7 @@ lean_inc(x_4);
|
|||
lean_dec(x_2);
|
||||
x_5 = lean_unbox(x_4);
|
||||
lean_dec(x_4);
|
||||
x_6 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10332_(x_5);
|
||||
x_6 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10905_(x_5);
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_1);
|
||||
lean_ctor_set(x_7, 1, x_6);
|
||||
|
|
@ -4948,7 +4948,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_2);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9480_(x_4);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10053_(x_4);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_1);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
|
|
@ -5656,7 +5656,7 @@ return x_4;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10265_(x_3);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10838_(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
uint8_t x_6;
|
||||
|
|
@ -5707,7 +5707,7 @@ default:
|
|||
{
|
||||
lean_object* x_15; uint8_t x_16;
|
||||
lean_inc(x_3);
|
||||
x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10265_(x_3);
|
||||
x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10838_(x_3);
|
||||
x_16 = !lean_is_exclusive(x_3);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
@ -5826,7 +5826,7 @@ return x_4;
|
|||
case 1:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9335_(x_3);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9908_(x_3);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
uint8_t x_6;
|
||||
|
|
@ -5877,7 +5877,7 @@ default:
|
|||
{
|
||||
lean_object* x_15; uint8_t x_16;
|
||||
lean_inc(x_3);
|
||||
x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9335_(x_3);
|
||||
x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_9908_(x_3);
|
||||
x_16 = !lean_is_exclusive(x_3);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
20
stage0/stdlib/Lean/Data/Lsp/CodeActions.c
generated
|
|
@ -201,7 +201,6 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Ls
|
|||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionContext;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_884____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____spec__3___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6578____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__4;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__6;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____closed__4;
|
||||
|
|
@ -276,6 +275,7 @@ static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCo
|
|||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____closed__14;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1820_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____closed__20;
|
||||
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6864____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____closed__19;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049____closed__8;
|
||||
|
|
@ -299,7 +299,6 @@ LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeAction
|
|||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__5;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049____closed__38;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_884____closed__12;
|
||||
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6550____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_838____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1204____closed__27;
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049____closed__18;
|
||||
|
|
@ -318,6 +317,7 @@ static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonRe
|
|||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_147____spec__2(size_t, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_1130____closed__2;
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6892____spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1702_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_2049_(lean_object*);
|
||||
static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_884____closed__18;
|
||||
|
|
@ -2100,7 +2100,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6578____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6892____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -2138,7 +2138,7 @@ lean_inc(x_12);
|
|||
lean_dec(x_3);
|
||||
x_13 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__11;
|
||||
lean_inc(x_1);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6578____spec__1(x_1, x_13);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6892____spec__1(x_1, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
uint8_t x_15;
|
||||
|
|
@ -2362,11 +2362,11 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_obj
|
|||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__1;
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6550____spec__1(x_3, x_2);
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6864____spec__1(x_3, x_2);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
x_6 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__11;
|
||||
x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6550____spec__1(x_6, x_5);
|
||||
x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6864____spec__1(x_6, x_5);
|
||||
x_8 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_8);
|
||||
x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_2311_(x_8);
|
||||
|
|
@ -3525,11 +3525,11 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_obj
|
|||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__1;
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6550____spec__1(x_3, x_2);
|
||||
x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6864____spec__1(x_3, x_2);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
x_6 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__11;
|
||||
x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6550____spec__1(x_6, x_5);
|
||||
x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6864____spec__1(x_6, x_5);
|
||||
x_8 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_8);
|
||||
x_9 = lean_alloc_ctor(3, 1, 0);
|
||||
|
|
@ -4950,7 +4950,7 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__1;
|
||||
lean_inc(x_1);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6578____spec__1(x_1, x_2);
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6892____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
|
|
@ -4988,7 +4988,7 @@ lean_inc(x_12);
|
|||
lean_dec(x_3);
|
||||
x_13 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_389____closed__11;
|
||||
lean_inc(x_1);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6578____spec__1(x_1, x_13);
|
||||
x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_6892____spec__1(x_1, x_13);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
uint8_t x_15;
|
||||
|
|
|
|||
8922
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
8922
stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c
generated
File diff suppressed because it is too large
Load diff
1217
stage0/stdlib/Lean/Elab/App.c
generated
1217
stage0/stdlib/Lean/Elab/App.c
generated
File diff suppressed because it is too large
Load diff
243
stage0/stdlib/Lean/Elab/BuiltinTerm.c
generated
243
stage0/stdlib/Lean/Elab/BuiltinTerm.c
generated
|
|
@ -309,7 +309,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange__1___clo
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx_declRange__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_elabClear___spec__14___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWithAnnotateTerm___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole_declRange__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__45___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole__1___closed__3;
|
||||
|
|
@ -469,7 +468,6 @@ lean_object* l_Lean_Elab_Term_mkSaveInfoAnnotation(lean_object*);
|
|||
static lean_object* l_Lean_Elab_Term_elabLetMVar___closed__3;
|
||||
lean_object* l_Lean_quoteNameMk(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabOpen___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__34___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf_declRange__1___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_elabSetOption___lambda__1___closed__1;
|
||||
|
|
@ -648,6 +646,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Term_elabOp
|
|||
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_elabClear___spec__11___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabClear_declRange__1___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_evalFilePathUnsafe___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_withTermInfoContext_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen_declRange__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabEnsureExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -850,7 +849,6 @@ uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*);
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabClear__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabIncludeStr__1(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange__1___closed__7;
|
||||
lean_object* l_Lean_Elab_Term_withInfoContext_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_getMVarFromUserName___closed__4;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit__1___closed__3;
|
||||
|
|
@ -1078,7 +1076,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabIncludeStr__1___closed__1;
|
|||
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__52(size_t, size_t, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion_declRange__1___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_elabWaitIfTypeMVar___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWithAnnotateTerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2245,86 +2242,85 @@ return x_13;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19;
|
||||
x_14 = l_Lean_Elab_Term_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_15 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_14, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_14);
|
||||
x_17 = lean_box(0);
|
||||
x_18 = 1;
|
||||
lean_object* x_14; lean_object* 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_5, 1);
|
||||
lean_inc(x_14);
|
||||
x_15 = l_Lean_Syntax_getId(x_11);
|
||||
x_16 = 1;
|
||||
lean_inc(x_2);
|
||||
lean_inc(x_1);
|
||||
x_17 = lean_alloc_ctor(1, 4, 1);
|
||||
lean_ctor_set(x_17, 0, x_1);
|
||||
lean_ctor_set(x_17, 1, x_15);
|
||||
lean_ctor_set(x_17, 2, x_14);
|
||||
lean_ctor_set(x_17, 3, x_2);
|
||||
lean_ctor_set_uint8(x_17, sizeof(void*)*4, x_16);
|
||||
x_18 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
x_19 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_18);
|
||||
x_20 = l_Lean_Elab_Term_saveState___rarg(x_4, x_5, x_6, x_7, x_8, x_19);
|
||||
x_21 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_21);
|
||||
x_22 = lean_ctor_get(x_20, 1);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_20);
|
||||
x_23 = lean_box(0);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_11);
|
||||
x_19 = l_Lean_Elab_Term_elabTerm(x_11, x_17, x_18, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_16);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
x_24 = l_Lean_Elab_Term_elabTerm(x_11, x_23, x_16, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_22);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_11);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
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_dec(x_21);
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
x_26 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_24);
|
||||
lean_inc(x_1);
|
||||
x_22 = l_Lean_Elab_Term_addDotCompletionInfo(x_1, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21);
|
||||
x_23 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_22);
|
||||
x_24 = lean_unsigned_to_nat(1u);
|
||||
x_25 = l_Lean_Syntax_getArg(x_1, x_24);
|
||||
x_27 = l_Lean_Elab_Term_addDotCompletionInfo(x_1, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_26);
|
||||
x_28 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_27);
|
||||
x_29 = lean_unsigned_to_nat(1u);
|
||||
x_30 = l_Lean_Syntax_getArg(x_1, x_29);
|
||||
lean_dec(x_1);
|
||||
x_26 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2;
|
||||
x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_25, x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_23);
|
||||
x_31 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2;
|
||||
x_32 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_30, x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_28);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_25);
|
||||
return x_27;
|
||||
lean_dec(x_30);
|
||||
return x_32;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_28;
|
||||
x_28 = !lean_is_exclusive(x_19);
|
||||
if (x_28 == 0)
|
||||
uint8_t x_33;
|
||||
lean_dec(x_2);
|
||||
x_33 = !lean_is_exclusive(x_24);
|
||||
if (x_33 == 0)
|
||||
{
|
||||
lean_object* x_29; lean_object* x_30; uint8_t x_31;
|
||||
x_29 = lean_ctor_get(x_19, 0);
|
||||
x_30 = lean_ctor_get(x_19, 1);
|
||||
x_31 = l_Lean_Exception_isInterrupt(x_29);
|
||||
if (x_31 == 0)
|
||||
lean_object* x_34; lean_object* x_35; uint8_t x_36;
|
||||
x_34 = lean_ctor_get(x_24, 0);
|
||||
x_35 = lean_ctor_get(x_24, 1);
|
||||
x_36 = l_Lean_Exception_isInterrupt(x_34);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
uint8_t x_32;
|
||||
x_32 = l_Lean_Exception_isRuntime(x_29);
|
||||
if (x_32 == 0)
|
||||
uint8_t x_37;
|
||||
x_37 = l_Lean_Exception_isRuntime(x_34);
|
||||
if (x_37 == 0)
|
||||
{
|
||||
uint8_t 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_free_object(x_19);
|
||||
lean_dec(x_29);
|
||||
x_33 = 0;
|
||||
x_34 = l_Lean_Elab_Term_SavedState_restore(x_15, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_30);
|
||||
x_35 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_35);
|
||||
uint8_t 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_free_object(x_24);
|
||||
lean_dec(x_34);
|
||||
x_36 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_36);
|
||||
x_37 = l_Lean_Syntax_getId(x_11);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
x_38 = lean_alloc_ctor(1, 4, 1);
|
||||
lean_ctor_set(x_38, 0, x_1);
|
||||
lean_ctor_set(x_38, 1, x_37);
|
||||
lean_ctor_set(x_38, 2, x_36);
|
||||
lean_ctor_set(x_38, 3, x_2);
|
||||
lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_18);
|
||||
x_39 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_35);
|
||||
x_38 = 0;
|
||||
x_39 = l_Lean_Elab_Term_SavedState_restore(x_21, x_38, x_3, x_4, x_5, x_6, x_7, x_8, x_35);
|
||||
x_40 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_39);
|
||||
|
|
@ -2342,42 +2338,38 @@ return x_44;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_19;
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_19;
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_45; lean_object* x_46; uint8_t x_47;
|
||||
x_45 = lean_ctor_get(x_19, 0);
|
||||
x_46 = lean_ctor_get(x_19, 1);
|
||||
x_45 = lean_ctor_get(x_24, 0);
|
||||
x_46 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_46);
|
||||
lean_inc(x_45);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_24);
|
||||
x_47 = l_Lean_Exception_isInterrupt(x_45);
|
||||
if (x_47 == 0)
|
||||
{
|
||||
|
|
@ -2385,76 +2377,57 @@ uint8_t x_48;
|
|||
x_48 = l_Lean_Exception_isRuntime(x_45);
|
||||
if (x_48 == 0)
|
||||
{
|
||||
uint8_t 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;
|
||||
uint8_t 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_dec(x_45);
|
||||
x_49 = 0;
|
||||
x_50 = l_Lean_Elab_Term_SavedState_restore(x_15, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_46);
|
||||
x_50 = l_Lean_Elab_Term_SavedState_restore(x_21, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_46);
|
||||
x_51 = lean_ctor_get(x_50, 1);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_50);
|
||||
x_52 = lean_ctor_get(x_5, 1);
|
||||
lean_inc(x_52);
|
||||
x_53 = l_Lean_Syntax_getId(x_11);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
x_54 = lean_alloc_ctor(1, 4, 1);
|
||||
lean_ctor_set(x_54, 0, x_1);
|
||||
lean_ctor_set(x_54, 1, x_53);
|
||||
lean_ctor_set(x_54, 2, x_52);
|
||||
lean_ctor_set(x_54, 3, x_2);
|
||||
lean_ctor_set_uint8(x_54, sizeof(void*)*4, x_18);
|
||||
x_55 = l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(x_54, x_3, x_4, x_5, x_6, x_7, x_8, x_51);
|
||||
x_56 = lean_ctor_get(x_55, 1);
|
||||
lean_inc(x_56);
|
||||
lean_dec(x_55);
|
||||
x_57 = lean_unsigned_to_nat(1u);
|
||||
x_58 = l_Lean_Syntax_getArg(x_1, x_57);
|
||||
x_52 = lean_unsigned_to_nat(1u);
|
||||
x_53 = l_Lean_Syntax_getArg(x_1, x_52);
|
||||
lean_dec(x_1);
|
||||
x_59 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2;
|
||||
x_60 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_58, x_59, x_3, x_4, x_5, x_6, x_7, x_8, x_56);
|
||||
x_54 = l_Lean_Elab_Term_elabPipeCompletion___lambda__1___closed__2;
|
||||
x_55 = l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1(x_53, x_54, x_3, x_4, x_5, x_6, x_7, x_8, x_51);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_58);
|
||||
return x_60;
|
||||
lean_dec(x_53);
|
||||
return x_55;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_61;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_11);
|
||||
lean_object* x_56;
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_45);
|
||||
lean_ctor_set(x_61, 1, x_46);
|
||||
return x_61;
|
||||
x_56 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_45);
|
||||
lean_ctor_set(x_56, 1, x_46);
|
||||
return x_56;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_62;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_11);
|
||||
lean_object* x_57;
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_62 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_45);
|
||||
lean_ctor_set(x_62, 1, x_46);
|
||||
return x_62;
|
||||
x_57 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_45);
|
||||
lean_ctor_set(x_57, 1, x_46);
|
||||
return x_57;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -24124,7 +24097,7 @@ x_28 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_28, 0, x_1);
|
||||
lean_ctor_set(x_28, 1, x_23);
|
||||
lean_ctor_set(x_28, 2, x_27);
|
||||
x_29 = lean_alloc_ctor(4, 1, 0);
|
||||
x_29 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
x_30 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_26);
|
||||
x_31 = !lean_is_exclusive(x_30);
|
||||
|
|
@ -24520,7 +24493,7 @@ x_120 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_120, 0, x_1);
|
||||
lean_ctor_set(x_120, 1, x_115);
|
||||
lean_ctor_set(x_120, 2, x_119);
|
||||
x_121 = lean_alloc_ctor(4, 1, 0);
|
||||
x_121 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_121, 0, x_120);
|
||||
x_122 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_121, x_3, x_4, x_5, x_6, x_7, x_8, x_118);
|
||||
x_123 = lean_ctor_get(x_122, 1);
|
||||
|
|
@ -25630,17 +25603,6 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWithAnnotateTerm___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14;
|
||||
x_11 = lean_box(0);
|
||||
x_12 = lean_box(0);
|
||||
x_13 = 0;
|
||||
x_14 = l_Lean_Elab_Term_mkTermInfo(x_12, x_1, x_3, x_2, x_11, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_elabWithAnnotateTerm___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -25682,7 +25644,7 @@ return x_12;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t 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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24;
|
||||
x_13 = lean_unsigned_to_nat(1u);
|
||||
x_14 = l_Lean_Syntax_getArg(x_1, x_13);
|
||||
x_15 = lean_unsigned_to_nat(2u);
|
||||
|
|
@ -25697,29 +25659,14 @@ lean_closure_set(x_20, 0, x_16);
|
|||
lean_closure_set(x_20, 1, x_2);
|
||||
lean_closure_set(x_20, 2, x_18);
|
||||
lean_closure_set(x_20, 3, x_19);
|
||||
lean_inc(x_14);
|
||||
x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabWithAnnotateTerm___lambda__1___boxed), 10, 2);
|
||||
lean_closure_set(x_21, 0, x_14);
|
||||
lean_closure_set(x_21, 1, x_2);
|
||||
x_22 = l_Lean_Elab_Term_withInfoContext_x27(x_14, x_20, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_22;
|
||||
x_21 = lean_box(0);
|
||||
x_22 = lean_box(0);
|
||||
x_23 = 0;
|
||||
x_24 = l_Lean_Elab_Term_withTermInfoContext_x27(x_22, x_14, x_20, x_2, x_21, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWithAnnotateTerm___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l_Lean_Elab_Term_elabWithAnnotateTerm___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/Elab/Command.c
generated
12
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -15215,7 +15215,7 @@ lean_dec(x_11);
|
|||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_1);
|
||||
lean_ctor_set(x_15, 1, x_2);
|
||||
x_16 = lean_alloc_ctor(2, 1, 0);
|
||||
x_16 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
x_17 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
|
|
@ -15267,7 +15267,7 @@ lean_dec(x_29);
|
|||
x_33 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_1);
|
||||
lean_ctor_set(x_33, 1, x_2);
|
||||
x_34 = lean_alloc_ctor(2, 1, 0);
|
||||
x_34 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
|
|
@ -18250,7 +18250,7 @@ x_9 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_9, 0, x_8);
|
||||
lean_ctor_set(x_9, 1, x_1);
|
||||
lean_ctor_set(x_9, 2, x_2);
|
||||
x_10 = lean_alloc_ctor(3, 1, 0);
|
||||
x_10 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Command_withMacroExpansion___rarg___lambda__2___boxed), 5, 1);
|
||||
lean_closure_set(x_11, 0, x_10);
|
||||
|
|
@ -36800,7 +36800,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_withSetOptionIn
|
|||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = lean_alloc_ctor(6, 1, 0);
|
||||
x_5 = lean_alloc_ctor(7, 1, 0);
|
||||
lean_ctor_set(x_5, 0, x_1);
|
||||
x_6 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_5, x_2, x_3, x_4);
|
||||
return x_6;
|
||||
|
|
@ -37190,7 +37190,7 @@ x_26 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_26, 0, x_1);
|
||||
lean_ctor_set(x_26, 1, x_21);
|
||||
lean_ctor_set(x_26, 2, x_25);
|
||||
x_27 = lean_alloc_ctor(4, 1, 0);
|
||||
x_27 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
x_28 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_27, x_3, x_4, x_24);
|
||||
x_29 = !lean_is_exclusive(x_28);
|
||||
|
|
@ -37580,7 +37580,7 @@ x_118 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_118, 0, x_1);
|
||||
lean_ctor_set(x_118, 1, x_113);
|
||||
lean_ctor_set(x_118, 2, x_117);
|
||||
x_119 = lean_alloc_ctor(4, 1, 0);
|
||||
x_119 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_119, 0, x_118);
|
||||
x_120 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_119, x_3, x_4, x_116);
|
||||
x_121 = lean_ctor_get(x_120, 1);
|
||||
|
|
|
|||
717
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
717
stage0/stdlib/Lean/Elab/Deriving/FromToJson.c
generated
File diff suppressed because it is too large
Load diff
569
stage0/stdlib/Lean/Elab/Extra.c
generated
569
stage0/stdlib/Lean/Elab/Extra.c
generated
|
|
@ -22,7 +22,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore___lambda__1___boxed(
|
|||
static lean_object* l_Lean_Elab_Term_Op_elabBinRelCore_toBoolIfNecessary___closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_mkUnOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083_(lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasCoe___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOpLazy_declRange__1___closed__6;
|
||||
|
|
@ -100,6 +99,7 @@ static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___cl
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn__1___closed__5;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__15;
|
||||
lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__7;
|
||||
uint8_t l_Lean_Elab_Term_hasCDot(lean_object*);
|
||||
|
|
@ -124,7 +124,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_BinOpK
|
|||
uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinOpLazy(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__15;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHomogeneousInstance___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___closed__8;
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___closed__6;
|
||||
|
|
@ -143,6 +142,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabLeftact__1___closed__1;
|
|||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__25;
|
||||
lean_object* l_Lean_Elab_expandMacroImpl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty_declRange__1___closed__2;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOpLazy__1___closed__3;
|
||||
|
|
@ -151,10 +151,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore___lambda__2(lean_obj
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRelNoProp_declRange__1___closed__6;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_declRange__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__9;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_mkBinOp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withPushMacroExpansionStack___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__9;
|
||||
uint8_t l_Lean_Expr_hasMVar(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___spec__2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___closed__13;
|
||||
|
|
@ -162,6 +162,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinOp(lean_object*, lean_object
|
|||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_go___closed__6;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabLeftact_declRange__1___closed__6;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabRightact_declRange__1___closed__6;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__8;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabLeftact_declRange__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore_toBoolIfNecessary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -179,7 +180,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOp__1___closed__3;
|
|||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_processUnOp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_throwForInFailure___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__14;
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___closed__7;
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_go___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOpLazy__1___closed__2;
|
||||
|
|
@ -188,6 +188,7 @@ static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe_go
|
|||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___closed__3;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOpLazy_declRange__1___closed__7;
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn___closed__5;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRelNoProp_declRange__1___closed__2;
|
||||
lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeLightImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabRightact__1___closed__3;
|
||||
|
|
@ -203,7 +204,6 @@ static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__4;
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabRightact_declRange__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOpLazy_declRange__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabUnOp_declRange__1___closed__4;
|
||||
|
|
@ -211,7 +211,6 @@ lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_BinOpKind_noConfusion(lean_object*);
|
||||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOp_declRange__1___closed__7;
|
||||
|
|
@ -221,6 +220,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree
|
|||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabForIn_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty__1___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___spec__2___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -231,11 +231,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getDefaultInstances___at___private_Lean_Ela
|
|||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_go___closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__4;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_x27_declRange__1___closed__3;
|
||||
lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn_x27___lambda__1___closed__1;
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__1;
|
||||
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRelNoProp__1(lean_object*);
|
||||
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -250,6 +248,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore_toBoolIfNecessary(ui
|
|||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabLeftact_declRange__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__7;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRel_declRange__1___closed__7;
|
||||
extern lean_object* l_Lean_levelZero;
|
||||
|
|
@ -263,8 +262,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_x27_declRange__1___c
|
|||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__11;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRel_declRange__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabForIn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__10;
|
||||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_processUnOp___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -278,6 +275,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabLeftact_declRange__1___
|
|||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn__1(lean_object*);
|
||||
lean_object* l_Lean_Meta_mkFunUnit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__2;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabUnOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty_declRange__1___closed__4;
|
||||
|
|
@ -292,7 +290,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore___lambda__2___boxed(
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabUnOp_declRange__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Op_elabBinRelCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__5;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__23;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -308,6 +305,8 @@ static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go_
|
|||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabUnOp_declRange__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe_go___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn_x27___closed__8;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__4;
|
||||
lean_object* l_Lean_Elab_Term_withTermInfoContext_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_BinOpKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_isUnknown___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Meta_getDefaultInstances___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___spec__1___closed__1;
|
||||
|
|
@ -339,13 +338,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty_declR
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabForIn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabRightact_declRange__1___closed__5;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__11;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_elabBinRelCore_toBoolIfNecessary___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__10;
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___spec__2___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__12;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore_toBoolIfNecessary___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn_x27___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -360,7 +357,9 @@ static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___cl
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_processBinOp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__17;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__13;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__5;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRelNoProp_declRange__1___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__11;
|
||||
static lean_object* l_Lean_Elab_Term_Op_instBEqBinOpKind___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___lambda__1___closed__3;
|
||||
lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -385,20 +384,19 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRelCore___boxed(lean_object*
|
|||
lean_object* l_Lean_Meta_coerceSimple_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe_go(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__14;
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_go___closed__7;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRelNoProp_declRange__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_mkBinOp___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_indentExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__2;
|
||||
lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__3;
|
||||
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabRightact_declRange__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_elabBinRelCore_toBoolIfNecessary___closed__4;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__20;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__13;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_declRange__1___closed__5;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_processLeaf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -420,7 +418,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty_declR
|
|||
lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty_declRange__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__5;
|
||||
lean_object* l_Lean_Elab_Term_withInfoContext_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_declRange__1___closed__1;
|
||||
lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__15;
|
||||
|
|
@ -449,6 +446,7 @@ static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExpr___cl
|
|||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabUnOp__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_elabDefaultOrNonempty___closed__1;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabLeftact_declRange__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067_(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_elabForIn___closed__18;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_x27__1___closed__2;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -472,7 +470,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOp_declRange__1___cl
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_processBinOp___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_Op_elabBinRelCore_toBoolIfNecessary___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_x27__1___closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__6;
|
||||
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRelNoProp_declRange__1___closed__3;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
|
|
@ -504,14 +501,13 @@ lean_object* l_String_toSubstring_x27(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabRightact(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___spec__2___lambda__1___closed__2;
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_go___closed__9;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_elabBinRel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOp_declRange__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__8;
|
||||
lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabRightact_declRange__1___closed__7;
|
||||
lean_object* l_Lean_Elab_Term_tryPostpone(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_elabForIn_x27__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__7;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabRightact__1___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe_go___lambda__2___closed__4;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinOp__1___closed__2;
|
||||
|
|
@ -519,7 +515,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree
|
|||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toTree_go___closed__12;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_applyCoe_go___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___lambda__2___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Term_Op_elabBinRelNoProp__1___closed__2;
|
||||
static lean_object* _init_l___private_Lean_Elab_Extra_0__Lean_Elab_Term_getMonadForIn___closed__1() {
|
||||
|
|
@ -11588,17 +11583,6 @@ return x_28;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__2(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:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_10 = lean_box(0);
|
||||
x_11 = lean_box(0);
|
||||
x_12 = 0;
|
||||
x_13 = l_Lean_Elab_Term_mkTermInfo(x_11, x_1, x_2, x_10, x_10, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10;
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
|
|
@ -11649,16 +11633,6 @@ return x_17;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12; lean_object* x_13;
|
||||
x_11 = lean_box(0);
|
||||
x_12 = 0;
|
||||
x_13 = l_Lean_Elab_Term_mkTermInfo(x_1, x_2, x_3, x_11, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore(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:
|
||||
{
|
||||
|
|
@ -11847,38 +11821,40 @@ lean_closure_set(x_57, 0, x_54);
|
|||
lean_closure_set(x_57, 1, x_55);
|
||||
lean_closure_set(x_57, 2, x_56);
|
||||
lean_closure_set(x_57, 3, x_53);
|
||||
lean_inc(x_51);
|
||||
x_58 = lean_alloc_closure((void*)(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__2___boxed), 9, 1);
|
||||
lean_closure_set(x_58, 0, x_51);
|
||||
x_58 = lean_box(0);
|
||||
x_59 = !lean_is_exclusive(x_6);
|
||||
if (x_59 == 0)
|
||||
{
|
||||
lean_object* x_60; lean_object* x_61; lean_object* x_62;
|
||||
lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64;
|
||||
x_60 = lean_ctor_get(x_6, 5);
|
||||
x_61 = l_Lean_replaceRef(x_51, x_60);
|
||||
lean_dec(x_60);
|
||||
lean_ctor_set(x_6, 5, x_61);
|
||||
x_62 = l_Lean_Elab_Term_withInfoContext_x27(x_51, x_57, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_62;
|
||||
x_62 = lean_box(0);
|
||||
x_63 = 0;
|
||||
x_64 = l_Lean_Elab_Term_withTermInfoContext_x27(x_62, x_51, x_57, x_58, x_58, x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_64;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79;
|
||||
x_63 = lean_ctor_get(x_6, 0);
|
||||
x_64 = lean_ctor_get(x_6, 1);
|
||||
x_65 = lean_ctor_get(x_6, 2);
|
||||
x_66 = lean_ctor_get(x_6, 3);
|
||||
x_67 = lean_ctor_get(x_6, 4);
|
||||
x_68 = lean_ctor_get(x_6, 5);
|
||||
x_69 = lean_ctor_get(x_6, 6);
|
||||
x_70 = lean_ctor_get(x_6, 7);
|
||||
x_71 = lean_ctor_get(x_6, 8);
|
||||
x_72 = lean_ctor_get(x_6, 9);
|
||||
x_73 = lean_ctor_get(x_6, 10);
|
||||
x_74 = lean_ctor_get_uint8(x_6, sizeof(void*)*12);
|
||||
x_75 = lean_ctor_get(x_6, 11);
|
||||
x_76 = lean_ctor_get_uint8(x_6, sizeof(void*)*12 + 1);
|
||||
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83;
|
||||
x_65 = lean_ctor_get(x_6, 0);
|
||||
x_66 = lean_ctor_get(x_6, 1);
|
||||
x_67 = lean_ctor_get(x_6, 2);
|
||||
x_68 = lean_ctor_get(x_6, 3);
|
||||
x_69 = lean_ctor_get(x_6, 4);
|
||||
x_70 = lean_ctor_get(x_6, 5);
|
||||
x_71 = lean_ctor_get(x_6, 6);
|
||||
x_72 = lean_ctor_get(x_6, 7);
|
||||
x_73 = lean_ctor_get(x_6, 8);
|
||||
x_74 = lean_ctor_get(x_6, 9);
|
||||
x_75 = lean_ctor_get(x_6, 10);
|
||||
x_76 = lean_ctor_get_uint8(x_6, sizeof(void*)*12);
|
||||
x_77 = lean_ctor_get(x_6, 11);
|
||||
x_78 = lean_ctor_get_uint8(x_6, sizeof(void*)*12 + 1);
|
||||
lean_inc(x_77);
|
||||
lean_inc(x_75);
|
||||
lean_inc(x_74);
|
||||
lean_inc(x_73);
|
||||
lean_inc(x_72);
|
||||
lean_inc(x_71);
|
||||
|
|
@ -11888,191 +11864,192 @@ lean_inc(x_68);
|
|||
lean_inc(x_67);
|
||||
lean_inc(x_66);
|
||||
lean_inc(x_65);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
lean_dec(x_6);
|
||||
x_77 = l_Lean_replaceRef(x_51, x_68);
|
||||
lean_dec(x_68);
|
||||
x_78 = lean_alloc_ctor(0, 12, 2);
|
||||
lean_ctor_set(x_78, 0, x_63);
|
||||
lean_ctor_set(x_78, 1, x_64);
|
||||
lean_ctor_set(x_78, 2, x_65);
|
||||
lean_ctor_set(x_78, 3, x_66);
|
||||
lean_ctor_set(x_78, 4, x_67);
|
||||
lean_ctor_set(x_78, 5, x_77);
|
||||
lean_ctor_set(x_78, 6, x_69);
|
||||
lean_ctor_set(x_78, 7, x_70);
|
||||
lean_ctor_set(x_78, 8, x_71);
|
||||
lean_ctor_set(x_78, 9, x_72);
|
||||
lean_ctor_set(x_78, 10, x_73);
|
||||
lean_ctor_set(x_78, 11, x_75);
|
||||
lean_ctor_set_uint8(x_78, sizeof(void*)*12, x_74);
|
||||
lean_ctor_set_uint8(x_78, sizeof(void*)*12 + 1, x_76);
|
||||
x_79 = l_Lean_Elab_Term_withInfoContext_x27(x_51, x_57, x_58, x_2, x_3, x_4, x_5, x_78, x_7, x_8);
|
||||
return x_79;
|
||||
x_79 = l_Lean_replaceRef(x_51, x_70);
|
||||
lean_dec(x_70);
|
||||
x_80 = lean_alloc_ctor(0, 12, 2);
|
||||
lean_ctor_set(x_80, 0, x_65);
|
||||
lean_ctor_set(x_80, 1, x_66);
|
||||
lean_ctor_set(x_80, 2, x_67);
|
||||
lean_ctor_set(x_80, 3, x_68);
|
||||
lean_ctor_set(x_80, 4, x_69);
|
||||
lean_ctor_set(x_80, 5, x_79);
|
||||
lean_ctor_set(x_80, 6, x_71);
|
||||
lean_ctor_set(x_80, 7, x_72);
|
||||
lean_ctor_set(x_80, 8, x_73);
|
||||
lean_ctor_set(x_80, 9, x_74);
|
||||
lean_ctor_set(x_80, 10, x_75);
|
||||
lean_ctor_set(x_80, 11, x_77);
|
||||
lean_ctor_set_uint8(x_80, sizeof(void*)*12, x_76);
|
||||
lean_ctor_set_uint8(x_80, sizeof(void*)*12 + 1, x_78);
|
||||
x_81 = lean_box(0);
|
||||
x_82 = 0;
|
||||
x_83 = l_Lean_Elab_Term_withTermInfoContext_x27(x_81, x_51, x_57, x_58, x_58, x_82, x_2, x_3, x_4, x_5, x_80, x_7, x_8);
|
||||
return x_83;
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85;
|
||||
x_80 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_80);
|
||||
x_81 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_81);
|
||||
x_82 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_82);
|
||||
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89;
|
||||
x_84 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_84);
|
||||
x_85 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_85);
|
||||
x_86 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_86);
|
||||
lean_dec(x_1);
|
||||
x_83 = lean_alloc_closure((void*)(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__3), 9, 2);
|
||||
lean_closure_set(x_83, 0, x_82);
|
||||
lean_closure_set(x_83, 1, x_81);
|
||||
lean_inc(x_80);
|
||||
x_84 = lean_alloc_closure((void*)(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__2___boxed), 9, 1);
|
||||
lean_closure_set(x_84, 0, x_80);
|
||||
x_85 = !lean_is_exclusive(x_6);
|
||||
if (x_85 == 0)
|
||||
x_87 = lean_alloc_closure((void*)(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__2), 9, 2);
|
||||
lean_closure_set(x_87, 0, x_86);
|
||||
lean_closure_set(x_87, 1, x_85);
|
||||
x_88 = lean_box(0);
|
||||
x_89 = !lean_is_exclusive(x_6);
|
||||
if (x_89 == 0)
|
||||
{
|
||||
lean_object* x_86; lean_object* x_87; lean_object* x_88;
|
||||
x_86 = lean_ctor_get(x_6, 5);
|
||||
x_87 = l_Lean_replaceRef(x_80, x_86);
|
||||
lean_dec(x_86);
|
||||
lean_ctor_set(x_6, 5, x_87);
|
||||
x_88 = l_Lean_Elab_Term_withInfoContext_x27(x_80, x_83, x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_88;
|
||||
lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94;
|
||||
x_90 = lean_ctor_get(x_6, 5);
|
||||
x_91 = l_Lean_replaceRef(x_84, x_90);
|
||||
lean_dec(x_90);
|
||||
lean_ctor_set(x_6, 5, x_91);
|
||||
x_92 = lean_box(0);
|
||||
x_93 = 0;
|
||||
x_94 = l_Lean_Elab_Term_withTermInfoContext_x27(x_92, x_84, x_87, x_88, x_88, x_93, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_94;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
x_89 = lean_ctor_get(x_6, 0);
|
||||
x_90 = lean_ctor_get(x_6, 1);
|
||||
x_91 = lean_ctor_get(x_6, 2);
|
||||
x_92 = lean_ctor_get(x_6, 3);
|
||||
x_93 = lean_ctor_get(x_6, 4);
|
||||
x_94 = lean_ctor_get(x_6, 5);
|
||||
x_95 = lean_ctor_get(x_6, 6);
|
||||
x_96 = lean_ctor_get(x_6, 7);
|
||||
x_97 = lean_ctor_get(x_6, 8);
|
||||
x_98 = lean_ctor_get(x_6, 9);
|
||||
x_99 = lean_ctor_get(x_6, 10);
|
||||
x_100 = lean_ctor_get_uint8(x_6, sizeof(void*)*12);
|
||||
x_101 = lean_ctor_get(x_6, 11);
|
||||
x_102 = lean_ctor_get_uint8(x_6, sizeof(void*)*12 + 1);
|
||||
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113;
|
||||
x_95 = lean_ctor_get(x_6, 0);
|
||||
x_96 = lean_ctor_get(x_6, 1);
|
||||
x_97 = lean_ctor_get(x_6, 2);
|
||||
x_98 = lean_ctor_get(x_6, 3);
|
||||
x_99 = lean_ctor_get(x_6, 4);
|
||||
x_100 = lean_ctor_get(x_6, 5);
|
||||
x_101 = lean_ctor_get(x_6, 6);
|
||||
x_102 = lean_ctor_get(x_6, 7);
|
||||
x_103 = lean_ctor_get(x_6, 8);
|
||||
x_104 = lean_ctor_get(x_6, 9);
|
||||
x_105 = lean_ctor_get(x_6, 10);
|
||||
x_106 = lean_ctor_get_uint8(x_6, sizeof(void*)*12);
|
||||
x_107 = lean_ctor_get(x_6, 11);
|
||||
x_108 = lean_ctor_get_uint8(x_6, sizeof(void*)*12 + 1);
|
||||
lean_inc(x_107);
|
||||
lean_inc(x_105);
|
||||
lean_inc(x_104);
|
||||
lean_inc(x_103);
|
||||
lean_inc(x_102);
|
||||
lean_inc(x_101);
|
||||
lean_inc(x_100);
|
||||
lean_inc(x_99);
|
||||
lean_inc(x_98);
|
||||
lean_inc(x_97);
|
||||
lean_inc(x_96);
|
||||
lean_inc(x_95);
|
||||
lean_inc(x_94);
|
||||
lean_inc(x_93);
|
||||
lean_inc(x_92);
|
||||
lean_inc(x_91);
|
||||
lean_inc(x_90);
|
||||
lean_inc(x_89);
|
||||
lean_dec(x_6);
|
||||
x_103 = l_Lean_replaceRef(x_80, x_94);
|
||||
lean_dec(x_94);
|
||||
x_104 = lean_alloc_ctor(0, 12, 2);
|
||||
lean_ctor_set(x_104, 0, x_89);
|
||||
lean_ctor_set(x_104, 1, x_90);
|
||||
lean_ctor_set(x_104, 2, x_91);
|
||||
lean_ctor_set(x_104, 3, x_92);
|
||||
lean_ctor_set(x_104, 4, x_93);
|
||||
lean_ctor_set(x_104, 5, x_103);
|
||||
lean_ctor_set(x_104, 6, x_95);
|
||||
lean_ctor_set(x_104, 7, x_96);
|
||||
lean_ctor_set(x_104, 8, x_97);
|
||||
lean_ctor_set(x_104, 9, x_98);
|
||||
lean_ctor_set(x_104, 10, x_99);
|
||||
lean_ctor_set(x_104, 11, x_101);
|
||||
lean_ctor_set_uint8(x_104, sizeof(void*)*12, x_100);
|
||||
lean_ctor_set_uint8(x_104, sizeof(void*)*12 + 1, x_102);
|
||||
x_105 = l_Lean_Elab_Term_withInfoContext_x27(x_80, x_83, x_84, x_2, x_3, x_4, x_5, x_104, x_7, x_8);
|
||||
return x_105;
|
||||
x_109 = l_Lean_replaceRef(x_84, x_100);
|
||||
lean_dec(x_100);
|
||||
x_110 = lean_alloc_ctor(0, 12, 2);
|
||||
lean_ctor_set(x_110, 0, x_95);
|
||||
lean_ctor_set(x_110, 1, x_96);
|
||||
lean_ctor_set(x_110, 2, x_97);
|
||||
lean_ctor_set(x_110, 3, x_98);
|
||||
lean_ctor_set(x_110, 4, x_99);
|
||||
lean_ctor_set(x_110, 5, x_109);
|
||||
lean_ctor_set(x_110, 6, x_101);
|
||||
lean_ctor_set(x_110, 7, x_102);
|
||||
lean_ctor_set(x_110, 8, x_103);
|
||||
lean_ctor_set(x_110, 9, x_104);
|
||||
lean_ctor_set(x_110, 10, x_105);
|
||||
lean_ctor_set(x_110, 11, x_107);
|
||||
lean_ctor_set_uint8(x_110, sizeof(void*)*12, x_106);
|
||||
lean_ctor_set_uint8(x_110, sizeof(void*)*12 + 1, x_108);
|
||||
x_111 = lean_box(0);
|
||||
x_112 = 0;
|
||||
x_113 = l_Lean_Elab_Term_withTermInfoContext_x27(x_111, x_84, x_87, x_88, x_88, x_112, x_2, x_3, x_4, x_5, x_110, x_7, x_8);
|
||||
return x_113;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113;
|
||||
x_106 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_106);
|
||||
x_107 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_107);
|
||||
x_108 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_108);
|
||||
x_109 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_109);
|
||||
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121;
|
||||
x_114 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_114);
|
||||
x_115 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_115);
|
||||
x_116 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_116);
|
||||
x_117 = lean_ctor_get(x_1, 3);
|
||||
lean_inc(x_117);
|
||||
lean_dec(x_1);
|
||||
x_110 = lean_alloc_closure((void*)(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore), 8, 1);
|
||||
lean_closure_set(x_110, 0, x_109);
|
||||
lean_inc(x_107);
|
||||
x_111 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withMacroExpansion___rarg), 10, 3);
|
||||
lean_closure_set(x_111, 0, x_107);
|
||||
lean_closure_set(x_111, 1, x_108);
|
||||
lean_closure_set(x_111, 2, x_110);
|
||||
lean_inc(x_107);
|
||||
x_112 = lean_alloc_closure((void*)(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__4___boxed), 10, 2);
|
||||
lean_closure_set(x_112, 0, x_106);
|
||||
lean_closure_set(x_112, 1, x_107);
|
||||
x_113 = !lean_is_exclusive(x_6);
|
||||
if (x_113 == 0)
|
||||
x_118 = lean_alloc_closure((void*)(l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore), 8, 1);
|
||||
lean_closure_set(x_118, 0, x_117);
|
||||
lean_inc(x_115);
|
||||
x_119 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withMacroExpansion___rarg), 10, 3);
|
||||
lean_closure_set(x_119, 0, x_115);
|
||||
lean_closure_set(x_119, 1, x_116);
|
||||
lean_closure_set(x_119, 2, x_118);
|
||||
x_120 = lean_box(0);
|
||||
x_121 = !lean_is_exclusive(x_6);
|
||||
if (x_121 == 0)
|
||||
{
|
||||
lean_object* x_114; lean_object* x_115; lean_object* x_116;
|
||||
x_114 = lean_ctor_get(x_6, 5);
|
||||
x_115 = l_Lean_replaceRef(x_107, x_114);
|
||||
lean_dec(x_114);
|
||||
lean_ctor_set(x_6, 5, x_115);
|
||||
x_116 = l_Lean_Elab_Term_withInfoContext_x27(x_107, x_111, x_112, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_116;
|
||||
lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125;
|
||||
x_122 = lean_ctor_get(x_6, 5);
|
||||
x_123 = l_Lean_replaceRef(x_115, x_122);
|
||||
lean_dec(x_122);
|
||||
lean_ctor_set(x_6, 5, x_123);
|
||||
x_124 = 0;
|
||||
x_125 = l_Lean_Elab_Term_withTermInfoContext_x27(x_114, x_115, x_119, x_120, x_120, x_124, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
return x_125;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133;
|
||||
x_117 = lean_ctor_get(x_6, 0);
|
||||
x_118 = lean_ctor_get(x_6, 1);
|
||||
x_119 = lean_ctor_get(x_6, 2);
|
||||
x_120 = lean_ctor_get(x_6, 3);
|
||||
x_121 = lean_ctor_get(x_6, 4);
|
||||
x_122 = lean_ctor_get(x_6, 5);
|
||||
x_123 = lean_ctor_get(x_6, 6);
|
||||
x_124 = lean_ctor_get(x_6, 7);
|
||||
x_125 = lean_ctor_get(x_6, 8);
|
||||
x_126 = lean_ctor_get(x_6, 9);
|
||||
x_127 = lean_ctor_get(x_6, 10);
|
||||
x_128 = lean_ctor_get_uint8(x_6, sizeof(void*)*12);
|
||||
x_129 = lean_ctor_get(x_6, 11);
|
||||
x_130 = lean_ctor_get_uint8(x_6, sizeof(void*)*12 + 1);
|
||||
lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143;
|
||||
x_126 = lean_ctor_get(x_6, 0);
|
||||
x_127 = lean_ctor_get(x_6, 1);
|
||||
x_128 = lean_ctor_get(x_6, 2);
|
||||
x_129 = lean_ctor_get(x_6, 3);
|
||||
x_130 = lean_ctor_get(x_6, 4);
|
||||
x_131 = lean_ctor_get(x_6, 5);
|
||||
x_132 = lean_ctor_get(x_6, 6);
|
||||
x_133 = lean_ctor_get(x_6, 7);
|
||||
x_134 = lean_ctor_get(x_6, 8);
|
||||
x_135 = lean_ctor_get(x_6, 9);
|
||||
x_136 = lean_ctor_get(x_6, 10);
|
||||
x_137 = lean_ctor_get_uint8(x_6, sizeof(void*)*12);
|
||||
x_138 = lean_ctor_get(x_6, 11);
|
||||
x_139 = lean_ctor_get_uint8(x_6, sizeof(void*)*12 + 1);
|
||||
lean_inc(x_138);
|
||||
lean_inc(x_136);
|
||||
lean_inc(x_135);
|
||||
lean_inc(x_134);
|
||||
lean_inc(x_133);
|
||||
lean_inc(x_132);
|
||||
lean_inc(x_131);
|
||||
lean_inc(x_130);
|
||||
lean_inc(x_129);
|
||||
lean_inc(x_128);
|
||||
lean_inc(x_127);
|
||||
lean_inc(x_126);
|
||||
lean_inc(x_125);
|
||||
lean_inc(x_124);
|
||||
lean_inc(x_123);
|
||||
lean_inc(x_122);
|
||||
lean_inc(x_121);
|
||||
lean_inc(x_120);
|
||||
lean_inc(x_119);
|
||||
lean_inc(x_118);
|
||||
lean_inc(x_117);
|
||||
lean_dec(x_6);
|
||||
x_131 = l_Lean_replaceRef(x_107, x_122);
|
||||
lean_dec(x_122);
|
||||
x_132 = lean_alloc_ctor(0, 12, 2);
|
||||
lean_ctor_set(x_132, 0, x_117);
|
||||
lean_ctor_set(x_132, 1, x_118);
|
||||
lean_ctor_set(x_132, 2, x_119);
|
||||
lean_ctor_set(x_132, 3, x_120);
|
||||
lean_ctor_set(x_132, 4, x_121);
|
||||
lean_ctor_set(x_132, 5, x_131);
|
||||
lean_ctor_set(x_132, 6, x_123);
|
||||
lean_ctor_set(x_132, 7, x_124);
|
||||
lean_ctor_set(x_132, 8, x_125);
|
||||
lean_ctor_set(x_132, 9, x_126);
|
||||
lean_ctor_set(x_132, 10, x_127);
|
||||
lean_ctor_set(x_132, 11, x_129);
|
||||
lean_ctor_set_uint8(x_132, sizeof(void*)*12, x_128);
|
||||
lean_ctor_set_uint8(x_132, sizeof(void*)*12 + 1, x_130);
|
||||
x_133 = l_Lean_Elab_Term_withInfoContext_x27(x_107, x_111, x_112, x_2, x_3, x_4, x_5, x_132, x_7, x_8);
|
||||
return x_133;
|
||||
x_140 = l_Lean_replaceRef(x_115, x_131);
|
||||
lean_dec(x_131);
|
||||
x_141 = lean_alloc_ctor(0, 12, 2);
|
||||
lean_ctor_set(x_141, 0, x_126);
|
||||
lean_ctor_set(x_141, 1, x_127);
|
||||
lean_ctor_set(x_141, 2, x_128);
|
||||
lean_ctor_set(x_141, 3, x_129);
|
||||
lean_ctor_set(x_141, 4, x_130);
|
||||
lean_ctor_set(x_141, 5, x_140);
|
||||
lean_ctor_set(x_141, 6, x_132);
|
||||
lean_ctor_set(x_141, 7, x_133);
|
||||
lean_ctor_set(x_141, 8, x_134);
|
||||
lean_ctor_set(x_141, 9, x_135);
|
||||
lean_ctor_set(x_141, 10, x_136);
|
||||
lean_ctor_set(x_141, 11, x_138);
|
||||
lean_ctor_set_uint8(x_141, sizeof(void*)*12, x_137);
|
||||
lean_ctor_set_uint8(x_141, sizeof(void*)*12 + 1, x_139);
|
||||
x_142 = 0;
|
||||
x_143 = l_Lean_Elab_Term_withTermInfoContext_x27(x_114, x_115, x_119, x_120, x_120, x_142, x_2, x_3, x_4, x_5, x_141, x_7, x_8);
|
||||
return x_143;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -12088,34 +12065,6 @@ x_13 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__1(x
|
|||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__2___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:
|
||||
{
|
||||
lean_object* x_10;
|
||||
x_10 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_toExprCore___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_getDefaultInstances___at___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_hasHeterogeneousDefaultInstances___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -20124,7 +20073,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -20134,37 +20083,37 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__1;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__1;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_elabForIn__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__2;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__2;
|
||||
x_2 = l_Lean_Elab_Term_elabForIn___closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__3;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_Op_elabBinOp__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__5() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20172,17 +20121,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__6() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__4;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__5;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__4;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__7() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20190,37 +20139,37 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__8() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__6;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__7;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__6;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__9() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__8;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__8;
|
||||
x_2 = l_Lean_Elab_Term_elabForIn___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__10() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__9;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__9;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Term_elabForIn__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__11() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20228,17 +20177,17 @@ x_1 = lean_mk_string_unchecked("Extra", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__12() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__10;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__11;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__10;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__11;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__13() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -20246,33 +20195,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__14() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__12;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__13;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__12;
|
||||
x_2 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__13;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__15() {
|
||||
static lean_object* _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__14;
|
||||
x_2 = lean_unsigned_to_nat(7083u);
|
||||
x_1 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__14;
|
||||
x_2 = lean_unsigned_to_nat(7067u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l___private_Lean_Elab_Extra_0__Lean_Elab_Term_Op_analyze_go___closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__15;
|
||||
x_4 = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__15;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
|
|
@ -20854,37 +20803,37 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty_decl
|
|||
if (builtin) {res = l___regBuiltin_Lean_Elab_Term_Op_elabDefaultOrNonempty_declRange__1(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__1 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__1);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__2 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__2);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__3 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__3);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__4 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__4);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__5 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__5);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__6 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__6);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__7 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__7);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__8 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__8);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__9 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__9);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__10 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__10);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__11 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__11);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__12 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__12);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__13 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__13);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__14 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__14);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__15 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083____closed__15);
|
||||
if (builtin) {res = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7083_(lean_io_mk_world());
|
||||
}l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__1 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__1);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__2 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__2);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__3 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__3);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__4 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__4);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__5 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__5);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__6 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__6);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__7 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__7);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__8 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__8);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__9 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__9);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__10 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__10);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__11 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__11);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__12 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__12);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__13 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__13);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__14 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__14);
|
||||
l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__15 = _init_l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067____closed__15);
|
||||
if (builtin) {res = l_Lean_Elab_Term_Op_initFn____x40_Lean_Elab_Extra___hyg_7067_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
72
stage0/stdlib/Lean/Elab/GuardMsgs.c
generated
72
stage0/stdlib/Lean/Elab/GuardMsgs.c
generated
|
|
@ -81,7 +81,6 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_El
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__3;
|
||||
static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___closed__5;
|
||||
static lean_object* l___private_Lean_Elab_GuardMsgs_0__Lean_Elab_Tactic_GuardMsgs_messageToStringWithoutPos___lambda__3___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace(lean_object*);
|
||||
|
|
@ -151,7 +150,6 @@ lean_object* lean_string_utf8_next(lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_Elab_Command_commandElabAttribute;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_MessageOrdering_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210_(lean_object*);
|
||||
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__24___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -242,6 +240,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_SpecResult_noConfusion___r
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_removeTrailingWhitespaceMarker(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___lambda__7(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__36(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___lambda__8___closed__9;
|
||||
|
|
@ -280,7 +279,6 @@ extern lean_object* l_Lean_NameSet_empty;
|
|||
static lean_object* l_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__2;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs_declRange__1___closed__2;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___lambda__8___closed__10;
|
||||
|
|
@ -295,7 +293,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_Guar
|
|||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__11(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__38(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Elab_GuardMsgs___hyg_6____closed__2;
|
||||
static lean_object* l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__12;
|
||||
|
|
@ -308,6 +305,7 @@ LEAN_EXPORT uint8_t l_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___lambda__1(
|
|||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___lambda__8___closed__11;
|
||||
uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__23(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Diff_Histogram_addLeft___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___lambda__5(lean_object*, lean_object*);
|
||||
|
|
@ -372,6 +370,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Ela
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_SpecResult_toCtorIdx(uint8_t);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Elab_GuardMsgs___hyg_6____closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__32(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_GuardMsgs_instImpl____x40_Lean_Elab_GuardMsgs___hyg_1821____closed__1;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__2___closed__2;
|
||||
|
|
@ -418,6 +417,7 @@ lean_object* l_Subarray_split___rarg(lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_Elab_Tactic_GuardMsgs_revealTrailingWhitespace___closed__1;
|
||||
size_t lean_usize_land(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Tactic_GuardMsgs_elabGuardMsgs___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_instTypeNameGuardMsgFailure;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_GuardMsgs_WhitespaceMode_noConfusion___rarg(uint8_t, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_GuardMsgs_parseGuardMsgsSpec___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -9324,7 +9324,7 @@ x_103 = l_Lean_Elab_Tactic_GuardMsgs_instTypeNameGuardMsgFailure;
|
|||
lean_ctor_set(x_28, 1, x_67);
|
||||
lean_ctor_set(x_28, 0, x_103);
|
||||
lean_ctor_set(x_100, 1, x_28);
|
||||
x_104 = lean_alloc_ctor(8, 1, 0);
|
||||
x_104 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_104, 0, x_100);
|
||||
x_105 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_104, x_4, x_5, x_102);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9345,7 +9345,7 @@ lean_ctor_set(x_28, 0, x_108);
|
|||
x_109 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_109, 0, x_106);
|
||||
lean_ctor_set(x_109, 1, x_28);
|
||||
x_110 = lean_alloc_ctor(8, 1, 0);
|
||||
x_110 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_110, 0, x_109);
|
||||
x_111 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_110, x_4, x_5, x_107);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9392,7 +9392,7 @@ x_128 = l_Lean_Elab_Tactic_GuardMsgs_instTypeNameGuardMsgFailure;
|
|||
lean_ctor_set(x_28, 1, x_67);
|
||||
lean_ctor_set(x_28, 0, x_128);
|
||||
lean_ctor_set(x_125, 1, x_28);
|
||||
x_129 = lean_alloc_ctor(8, 1, 0);
|
||||
x_129 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_129, 0, x_125);
|
||||
x_130 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_129, x_4, x_5, x_127);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9413,7 +9413,7 @@ lean_ctor_set(x_28, 0, x_133);
|
|||
x_134 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_134, 0, x_131);
|
||||
lean_ctor_set(x_134, 1, x_28);
|
||||
x_135 = lean_alloc_ctor(8, 1, 0);
|
||||
x_135 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_135, 0, x_134);
|
||||
x_136 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_135, x_4, x_5, x_132);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9486,7 +9486,7 @@ if (lean_is_scalar(x_156)) {
|
|||
}
|
||||
lean_ctor_set(x_158, 0, x_154);
|
||||
lean_ctor_set(x_158, 1, x_28);
|
||||
x_159 = lean_alloc_ctor(8, 1, 0);
|
||||
x_159 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_159, 0, x_158);
|
||||
x_160 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_159, x_4, x_5, x_155);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9545,7 +9545,7 @@ if (lean_is_scalar(x_178)) {
|
|||
}
|
||||
lean_ctor_set(x_180, 0, x_176);
|
||||
lean_ctor_set(x_180, 1, x_28);
|
||||
x_181 = lean_alloc_ctor(8, 1, 0);
|
||||
x_181 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_181, 0, x_180);
|
||||
x_182 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_181, x_4, x_5, x_177);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9634,7 +9634,7 @@ if (lean_is_scalar(x_206)) {
|
|||
}
|
||||
lean_ctor_set(x_208, 0, x_204);
|
||||
lean_ctor_set(x_208, 1, x_28);
|
||||
x_209 = lean_alloc_ctor(8, 1, 0);
|
||||
x_209 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_209, 0, x_208);
|
||||
x_210 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_209, x_4, x_5, x_205);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9698,7 +9698,7 @@ if (lean_is_scalar(x_229)) {
|
|||
}
|
||||
lean_ctor_set(x_231, 0, x_227);
|
||||
lean_ctor_set(x_231, 1, x_28);
|
||||
x_232 = lean_alloc_ctor(8, 1, 0);
|
||||
x_232 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_232, 0, x_231);
|
||||
x_233 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_232, x_4, x_5, x_228);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9825,7 +9825,7 @@ if (lean_is_scalar(x_268)) {
|
|||
}
|
||||
lean_ctor_set(x_270, 0, x_266);
|
||||
lean_ctor_set(x_270, 1, x_28);
|
||||
x_271 = lean_alloc_ctor(8, 1, 0);
|
||||
x_271 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_271, 0, x_270);
|
||||
x_272 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_271, x_4, x_5, x_267);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -9894,7 +9894,7 @@ if (lean_is_scalar(x_291)) {
|
|||
}
|
||||
lean_ctor_set(x_293, 0, x_289);
|
||||
lean_ctor_set(x_293, 1, x_28);
|
||||
x_294 = lean_alloc_ctor(8, 1, 0);
|
||||
x_294 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_294, 0, x_293);
|
||||
x_295 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_294, x_4, x_5, x_290);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -10310,7 +10310,7 @@ if (lean_is_scalar(x_413)) {
|
|||
}
|
||||
lean_ctor_set(x_415, 0, x_411);
|
||||
lean_ctor_set(x_415, 1, x_28);
|
||||
x_416 = lean_alloc_ctor(8, 1, 0);
|
||||
x_416 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_416, 0, x_415);
|
||||
x_417 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_416, x_4, x_5, x_412);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -10379,7 +10379,7 @@ if (lean_is_scalar(x_436)) {
|
|||
}
|
||||
lean_ctor_set(x_438, 0, x_434);
|
||||
lean_ctor_set(x_438, 1, x_28);
|
||||
x_439 = lean_alloc_ctor(8, 1, 0);
|
||||
x_439 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_439, 0, x_438);
|
||||
x_440 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_439, x_4, x_5, x_435);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -10808,7 +10808,7 @@ if (lean_is_scalar(x_555)) {
|
|||
}
|
||||
lean_ctor_set(x_558, 0, x_553);
|
||||
lean_ctor_set(x_558, 1, x_557);
|
||||
x_559 = lean_alloc_ctor(8, 1, 0);
|
||||
x_559 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_559, 0, x_558);
|
||||
x_560 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_559, x_4, x_5, x_554);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -10878,7 +10878,7 @@ if (lean_is_scalar(x_579)) {
|
|||
}
|
||||
lean_ctor_set(x_582, 0, x_577);
|
||||
lean_ctor_set(x_582, 1, x_581);
|
||||
x_583 = lean_alloc_ctor(8, 1, 0);
|
||||
x_583 = lean_alloc_ctor(9, 1, 0);
|
||||
lean_ctor_set(x_583, 0, x_582);
|
||||
x_584 = l_Lean_Elab_pushInfoLeaf___at_Lean_withSetOptionIn___spec__3(x_583, x_4, x_5, x_578);
|
||||
lean_dec(x_5);
|
||||
|
|
@ -11923,7 +11923,7 @@ lean_object* x_16; lean_object* x_17;
|
|||
x_16 = lean_ctor_get(x_14, 0);
|
||||
x_17 = lean_ctor_get(x_14, 1);
|
||||
lean_dec(x_17);
|
||||
if (lean_obj_tag(x_16) == 8)
|
||||
if (lean_obj_tag(x_16) == 9)
|
||||
{
|
||||
uint8_t x_18;
|
||||
x_18 = !lean_is_exclusive(x_16);
|
||||
|
|
@ -12111,7 +12111,7 @@ lean_object* x_52;
|
|||
x_52 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_14);
|
||||
if (lean_obj_tag(x_52) == 8)
|
||||
if (lean_obj_tag(x_52) == 9)
|
||||
{
|
||||
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;
|
||||
x_53 = lean_ctor_get(x_52, 0);
|
||||
|
|
@ -12332,7 +12332,7 @@ lean_object* x_16; lean_object* x_17;
|
|||
x_16 = lean_ctor_get(x_14, 0);
|
||||
x_17 = lean_ctor_get(x_14, 1);
|
||||
lean_dec(x_17);
|
||||
if (lean_obj_tag(x_16) == 8)
|
||||
if (lean_obj_tag(x_16) == 9)
|
||||
{
|
||||
uint8_t x_18;
|
||||
x_18 = !lean_is_exclusive(x_16);
|
||||
|
|
@ -12520,7 +12520,7 @@ lean_object* x_52;
|
|||
x_52 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_52);
|
||||
lean_dec(x_14);
|
||||
if (lean_obj_tag(x_52) == 8)
|
||||
if (lean_obj_tag(x_52) == 9)
|
||||
{
|
||||
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;
|
||||
x_53 = lean_ctor_get(x_52, 0);
|
||||
|
|
@ -14920,7 +14920,7 @@ lean_dec(x_1);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__1() {
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -14932,16 +14932,16 @@ lean_ctor_set(x_3, 1, x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__2() {
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__1;
|
||||
x_1 = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__1;
|
||||
x_2 = lean_array_mk(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__3() {
|
||||
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -14949,12 +14949,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeActio
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__2;
|
||||
x_3 = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__3;
|
||||
x_2 = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__2;
|
||||
x_3 = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__3;
|
||||
x_4 = l_Lean_CodeAction_insertBuiltin(x_2, x_3, x_1);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -15238,13 +15238,13 @@ l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17 = _init_l_L
|
|||
lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__17);
|
||||
l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18 = _init_l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction___rarg___closed__18);
|
||||
l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__1);
|
||||
l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__2);
|
||||
l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210____closed__3);
|
||||
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3210_(lean_io_mk_world());
|
||||
l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__1();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__1);
|
||||
l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__2();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__2);
|
||||
l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__3();
|
||||
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212____closed__3);
|
||||
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_GuardMsgs_guardMsgsCodeAction_declare__1____x40_Lean_Elab_GuardMsgs___hyg_3212_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
542
stage0/stdlib/Lean/Elab/InfoTree/Main.c
generated
542
stage0/stdlib/Lean/Elab/InfoTree/Main.c
generated
|
|
@ -26,6 +26,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_CompletionInfo_format(lean_object*, lean_ob
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___rarg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_InfoTree_format___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_realizeGlobalConstWithInfos___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_PartialTermInfo_format___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*);
|
||||
|
|
@ -45,7 +46,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSa
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoHole(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_TermInfo_format___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_TermInfo_runMetaM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_CompletionInfo_format___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___spec__5(lean_object*);
|
||||
static lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_Elab_InfoTree_findInfo_x3f___spec__2___closed__1;
|
||||
|
|
@ -74,6 +75,7 @@ static lean_object* l_Lean_Elab_OmissionInfo_format___closed__4;
|
|||
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_realizeGlobalConstWithInfos___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Elab_InfoTree_substitute___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_PartialTermInfo_format(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatStxRange_fmtPos___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___rarg___lambda__1(lean_object*, lean_object*);
|
||||
|
|
@ -99,7 +101,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__2(lean
|
|||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoHole___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatStxRange_fmtPos___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext(lean_object*);
|
||||
|
|
@ -136,7 +138,7 @@ static lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatStxRa
|
|||
static lean_object* l_Lean_Elab_InfoTree_format___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_InfoTree_format___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___rarg___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__5;
|
||||
|
|
@ -200,6 +202,7 @@ static lean_object* l_Lean_Elab_OptionInfo_format___closed__2;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_PartialContextInfo_mergeIntoOuter_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ChoiceInfo_format(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ContextInfo_runCoreM___rarg___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_OptionInfo_format(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_assignInfoHoleId___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -271,6 +274,7 @@ static lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatStxRa
|
|||
static lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___rarg___lambda__1___closed__3;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_PartialTermInfo_format___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_UserWidgetInfo_format(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -323,7 +327,7 @@ static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Elab_InfoTree_substitut
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_Elab_realizeGlobalConstWithInfos___spec__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_InfoTree_findInfo_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_assignInfoHoleId(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_InfoTree_substitute___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ContextInfo_runCoreM___rarg___closed__3;
|
||||
|
|
@ -336,7 +340,7 @@ lean_object* l_Lean_ppTerm(lean_object*, lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___closed__3;
|
||||
static uint8_t l_Lean_Elab_ContextInfo_runCoreM___rarg___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_NameSet_empty;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___spec__1(lean_object*);
|
||||
|
|
@ -348,6 +352,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_realizeGlobalCo
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoHole___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_realizeGlobalConstNoOverloadWithInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ChoiceInfo_format___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Elab_assignInfoHoleId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
|
|
@ -374,7 +379,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_In
|
|||
static lean_object* l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3;
|
||||
static lean_object* l_Lean_Elab_TermInfo_format___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_ContextInfo_runCoreM___rarg___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__4(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ContextInfo_ppGoals___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_realizeGlobalConstNoOverloadWithInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Info_format(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -418,6 +423,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_MacroExpansionInfo_format(lean_object*, lea
|
|||
static lean_object* l_Lean_Elab_PartialContextInfo_mergeIntoOuter_x3f___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ContextInfo_ppGoals(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_ChoiceInfo_format___closed__2;
|
||||
static lean_object* l_Lean_Elab_instToFormatCustomInfo___closed__1;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
|
|
@ -430,7 +436,7 @@ static lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatStxRa
|
|||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_InfoTree_findInfo_x3f(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_modifyInfoTrees___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_assignInfoHoleId___spec__5(lean_object*);
|
||||
|
|
@ -4959,6 +4965,43 @@ lean_dec(x_4);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_PartialTermInfo_format___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Partial term @ ", 15, 15);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_PartialTermInfo_format___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_PartialTermInfo_format___closed__1;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_PartialTermInfo_format(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_2);
|
||||
x_4 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatElabInfo(x_1, x_3);
|
||||
x_5 = l_Lean_Elab_PartialTermInfo_format___closed__2;
|
||||
x_6 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
lean_ctor_set(x_6, 1, x_4);
|
||||
x_7 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatStxRange_fmtPos___closed__7;
|
||||
x_8 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_6);
|
||||
lean_ctor_set(x_8, 1, x_7);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___closed__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7287,6 +7330,40 @@ return x_32;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ChoiceInfo_format___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Choice @ ", 9, 9);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ChoiceInfo_format___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Elab_ChoiceInfo_format___closed__1;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ChoiceInfo_format(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_3 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatElabInfo(x_1, x_2);
|
||||
x_4 = l_Lean_Elab_ChoiceInfo_format___closed__2;
|
||||
x_5 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_5, 0, x_4);
|
||||
lean_ctor_set(x_5, 1, x_3);
|
||||
x_6 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_formatStxRange_fmtPos___closed__7;
|
||||
x_7 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_5);
|
||||
lean_ctor_set(x_7, 1, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Info_format(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -7311,61 +7388,60 @@ return x_7;
|
|||
}
|
||||
case 2:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_2);
|
||||
x_9 = l_Lean_Elab_CommandInfo_format(x_1, x_8, x_3);
|
||||
return x_9;
|
||||
x_9 = l_Lean_Elab_PartialTermInfo_format(x_1, x_8);
|
||||
x_10 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_3);
|
||||
return x_10;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
x_10 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_10);
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_2);
|
||||
x_11 = l_Lean_Elab_MacroExpansionInfo_format(x_1, x_10, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_11;
|
||||
x_12 = l_Lean_Elab_CommandInfo_format(x_1, x_11, x_3);
|
||||
return x_12;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
x_12 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_12);
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_2);
|
||||
x_13 = l_Lean_Elab_OptionInfo_format(x_1, x_12, x_3);
|
||||
return x_13;
|
||||
x_14 = l_Lean_Elab_MacroExpansionInfo_format(x_1, x_13, x_3);
|
||||
lean_dec(x_1);
|
||||
return x_14;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
x_14 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_14);
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_2);
|
||||
x_15 = l_Lean_Elab_FieldInfo_format(x_1, x_14, x_3);
|
||||
return x_15;
|
||||
x_16 = l_Lean_Elab_OptionInfo_format(x_1, x_15, x_3);
|
||||
return x_16;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17;
|
||||
x_16 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_16);
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
x_17 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_2);
|
||||
x_17 = l_Lean_Elab_CompletionInfo_format(x_1, x_16, x_3);
|
||||
return x_17;
|
||||
x_18 = l_Lean_Elab_FieldInfo_format(x_1, x_17, x_3);
|
||||
return x_18;
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_1);
|
||||
x_18 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_18);
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_2);
|
||||
x_19 = l_Lean_Elab_UserWidgetInfo_format(x_18);
|
||||
x_20 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_20, 0, x_19);
|
||||
lean_ctor_set(x_20, 1, x_3);
|
||||
x_20 = l_Lean_Elab_CompletionInfo_format(x_1, x_19, x_3);
|
||||
return x_20;
|
||||
}
|
||||
case 8:
|
||||
|
|
@ -7375,7 +7451,7 @@ lean_dec(x_1);
|
|||
x_21 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_2);
|
||||
x_22 = l_Lean_Elab_CustomInfo_format(x_21);
|
||||
x_22 = l_Lean_Elab_UserWidgetInfo_format(x_21);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_23, 0, x_22);
|
||||
lean_ctor_set(x_23, 1, x_3);
|
||||
|
|
@ -7388,7 +7464,7 @@ lean_dec(x_1);
|
|||
x_24 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_2);
|
||||
x_25 = l_Lean_Elab_FVarAliasInfo_format(x_24);
|
||||
x_25 = l_Lean_Elab_CustomInfo_format(x_24);
|
||||
x_26 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_3);
|
||||
|
|
@ -7397,24 +7473,49 @@ return x_26;
|
|||
case 10:
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
lean_dec(x_1);
|
||||
x_27 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_2);
|
||||
x_28 = l_Lean_Elab_FieldRedeclInfo_format(x_1, x_27);
|
||||
lean_dec(x_27);
|
||||
x_28 = l_Lean_Elab_FVarAliasInfo_format(x_27);
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
lean_ctor_set(x_29, 1, x_3);
|
||||
return x_29;
|
||||
}
|
||||
default:
|
||||
case 11:
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31;
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_30 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_2);
|
||||
x_31 = l_Lean_Elab_OmissionInfo_format(x_1, x_30, x_3);
|
||||
return x_31;
|
||||
x_31 = l_Lean_Elab_FieldRedeclInfo_format(x_1, x_30);
|
||||
lean_dec(x_30);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_31);
|
||||
lean_ctor_set(x_32, 1, x_3);
|
||||
return x_32;
|
||||
}
|
||||
case 12:
|
||||
{
|
||||
lean_object* x_33; lean_object* x_34;
|
||||
x_33 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_2);
|
||||
x_34 = l_Lean_Elab_OmissionInfo_format(x_1, x_33, x_3);
|
||||
return x_34;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
x_35 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_2);
|
||||
x_36 = l_Lean_Elab_ChoiceInfo_format(x_1, x_35);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_36);
|
||||
lean_ctor_set(x_37, 1, x_3);
|
||||
return x_37;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -7486,61 +7587,110 @@ uint8_t x_14;
|
|||
x_14 = !lean_is_exclusive(x_1);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_ctor_set_tag(x_1, 1);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
x_15 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_1);
|
||||
x_16 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
case 11:
|
||||
{
|
||||
uint8_t x_17;
|
||||
x_17 = !lean_is_exclusive(x_1);
|
||||
if (x_17 == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_18 = lean_ctor_get(x_1, 0);
|
||||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_18);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
lean_dec(x_19);
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_15);
|
||||
lean_ctor_set_tag(x_1, 1);
|
||||
lean_ctor_set(x_1, 0, x_20);
|
||||
lean_ctor_set(x_1, 0, x_16);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_17);
|
||||
lean_dec(x_1);
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_17);
|
||||
x_19 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
return x_19;
|
||||
}
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
uint8_t x_20;
|
||||
x_20 = !lean_is_exclusive(x_1);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_ctor_set_tag(x_1, 1);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
x_21 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_1);
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_21);
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_22);
|
||||
x_24 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
return x_24;
|
||||
x_22 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
return x_22;
|
||||
}
|
||||
}
|
||||
case 12:
|
||||
{
|
||||
uint8_t x_23;
|
||||
x_23 = !lean_is_exclusive(x_1);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_24 = lean_ctor_get(x_1, 0);
|
||||
x_25 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_24);
|
||||
x_26 = lean_ctor_get(x_25, 0);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_25);
|
||||
lean_ctor_set_tag(x_1, 1);
|
||||
lean_ctor_set(x_1, 0, x_26);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_27 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_1);
|
||||
x_28 = lean_ctor_get(x_27, 0);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_27);
|
||||
x_29 = lean_ctor_get(x_28, 0);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_28);
|
||||
x_30 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_30, 0, x_29);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
case 13:
|
||||
{
|
||||
uint8_t x_31;
|
||||
x_31 = !lean_is_exclusive(x_1);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
lean_ctor_set_tag(x_1, 1);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33;
|
||||
x_32 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_1);
|
||||
x_33 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_25;
|
||||
lean_object* x_34;
|
||||
lean_dec(x_1);
|
||||
x_25 = lean_box(0);
|
||||
return x_25;
|
||||
x_34 = lean_box(0);
|
||||
return x_34;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8804,7 +8954,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___rarg(lean_object* x_1,
|
|||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_alloc_ctor(6, 1, 0);
|
||||
x_4 = lean_alloc_ctor(7, 1, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
x_5 = l_Lean_Elab_pushInfoLeaf___rarg(x_1, x_2, x_4);
|
||||
return x_5;
|
||||
|
|
@ -10478,35 +10628,7 @@ lean_inc(x_2);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__2(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = !lean_is_exclusive(x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_ctor_get(x_2, 1);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_5 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
|
||||
x_6 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_6);
|
||||
lean_dec(x_2);
|
||||
x_7 = lean_alloc_ctor(0, 2, 1);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_1);
|
||||
lean_ctor_set_uint8(x_7, sizeof(void*)*2, x_5);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
|
|
@ -10614,48 +10736,64 @@ return x_29;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__3(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, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_1);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__3), 3, 2);
|
||||
x_5 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__2), 3, 2);
|
||||
lean_closure_set(x_5, 0, x_3);
|
||||
lean_closure_set(x_5, 1, x_2);
|
||||
x_6 = lean_apply_1(x_4, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_6 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_6);
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__2), 2, 1);
|
||||
lean_closure_set(x_7, 0, x_2);
|
||||
x_8 = lean_apply_1(x_6, x_7);
|
||||
x_6 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_4);
|
||||
x_7 = lean_apply_2(x_5, lean_box(0), x_6);
|
||||
x_8 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_7, x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__5(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 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__3), 3, 2);
|
||||
lean_closure_set(x_8, 0, x_1);
|
||||
lean_closure_set(x_8, 1, x_2);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_4);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__4), 4, 3);
|
||||
lean_closure_set(x_9, 0, x_3);
|
||||
lean_closure_set(x_9, 1, x_8);
|
||||
lean_closure_set(x_9, 2, x_4);
|
||||
x_10 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_9);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_9 = lean_ctor_get(x_5, 0);
|
||||
lean_inc(x_9);
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
lean_dec(x_5);
|
||||
x_10 = lean_apply_1(x_3, x_9);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__4), 3, 2);
|
||||
lean_closure_set(x_11, 0, x_1);
|
||||
lean_closure_set(x_11, 1, x_2);
|
||||
x_12 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_10, x_11);
|
||||
return x_12;
|
||||
lean_dec(x_3);
|
||||
x_11 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_7);
|
||||
x_12 = lean_apply_1(x_6, x_11);
|
||||
x_13 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_8);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -10667,37 +10805,39 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__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, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__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, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
x_9 = lean_ctor_get(x_8, 0);
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_9);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__5), 5, 4);
|
||||
lean_closure_set(x_11, 0, x_2);
|
||||
lean_closure_set(x_11, 1, x_7);
|
||||
lean_closure_set(x_11, 2, x_3);
|
||||
lean_closure_set(x_11, 3, x_4);
|
||||
x_12 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_11);
|
||||
x_13 = l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1;
|
||||
x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_13, x_12);
|
||||
return x_14;
|
||||
x_11 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_10);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__5), 7, 6);
|
||||
lean_closure_set(x_12, 0, x_2);
|
||||
lean_closure_set(x_12, 1, x_8);
|
||||
lean_closure_set(x_12, 2, x_9);
|
||||
lean_closure_set(x_12, 3, x_3);
|
||||
lean_closure_set(x_12, 4, x_4);
|
||||
lean_closure_set(x_12, 5, x_5);
|
||||
x_13 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_12);
|
||||
x_14 = l_Lean_Elab_withInfoContext_x27___rarg___lambda__6___closed__1;
|
||||
x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_14, x_13);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_8;
|
||||
x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*2);
|
||||
if (x_8 == 0)
|
||||
uint8_t x_9;
|
||||
x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*2);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
|
|
@ -10707,48 +10847,50 @@ return x_1;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
lean_inc(x_3);
|
||||
lean_inc(x_2);
|
||||
x_9 = l_Lean_Elab_getResetInfoTrees___rarg(x_2, x_3);
|
||||
lean_inc(x_5);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__6), 7, 6);
|
||||
lean_closure_set(x_10, 0, x_2);
|
||||
lean_closure_set(x_10, 1, x_3);
|
||||
lean_closure_set(x_10, 2, x_4);
|
||||
lean_closure_set(x_10, 3, x_5);
|
||||
lean_closure_set(x_10, 4, x_6);
|
||||
lean_closure_set(x_10, 5, x_1);
|
||||
x_11 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_9, x_10);
|
||||
return x_11;
|
||||
x_10 = l_Lean_Elab_getResetInfoTrees___rarg(x_2, x_3);
|
||||
lean_inc(x_4);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__6), 8, 7);
|
||||
lean_closure_set(x_11, 0, x_2);
|
||||
lean_closure_set(x_11, 1, x_3);
|
||||
lean_closure_set(x_11, 2, x_4);
|
||||
lean_closure_set(x_11, 3, x_5);
|
||||
lean_closure_set(x_11, 4, x_6);
|
||||
lean_closure_set(x_11, 5, x_7);
|
||||
lean_closure_set(x_11, 6, x_1);
|
||||
x_12 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_10, x_11);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_7 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_ctor_get(x_2, 0);
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_8 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
x_9 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__7___boxed), 7, 6);
|
||||
lean_closure_set(x_9, 0, x_5);
|
||||
lean_closure_set(x_9, 1, x_1);
|
||||
lean_closure_set(x_9, 2, x_2);
|
||||
lean_closure_set(x_9, 3, x_6);
|
||||
lean_closure_set(x_9, 4, x_7);
|
||||
lean_closure_set(x_9, 5, x_4);
|
||||
x_10 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_8, x_9);
|
||||
return x_10;
|
||||
x_9 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
x_10 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg___lambda__7___boxed), 8, 7);
|
||||
lean_closure_set(x_10, 0, x_5);
|
||||
lean_closure_set(x_10, 1, x_1);
|
||||
lean_closure_set(x_10, 2, x_2);
|
||||
lean_closure_set(x_10, 3, x_8);
|
||||
lean_closure_set(x_10, 4, x_7);
|
||||
lean_closure_set(x_10, 5, x_6);
|
||||
lean_closure_set(x_10, 6, x_4);
|
||||
x_11 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_9, x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg), 6, 0);
|
||||
x_2 = lean_alloc_closure((void*)(l_Lean_Elab_withInfoContext_x27___rarg), 7, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -10761,13 +10903,13 @@ lean_dec(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___rarg___lambda__7___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:
|
||||
{
|
||||
lean_object* x_8;
|
||||
x_8 = l_Lean_Elab_withInfoContext_x27___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
|
||||
lean_dec(x_7);
|
||||
return x_8;
|
||||
lean_object* x_9;
|
||||
x_9 = l_Lean_Elab_withInfoContext_x27___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
|
|
@ -12521,7 +12663,7 @@ static lean_object* _init_l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___clos
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("( __do_lift._@.Lean.Elab.InfoTree.Main._hyg.4432.0 ).isNone\n ", 62, 62);
|
||||
x_1 = lean_mk_string_unchecked("( __do_lift._@.Lean.Elab.InfoTree.Main._hyg.4574.0 ).isNone\n ", 62, 62);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -12549,7 +12691,7 @@ _start:
|
|||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = l_Lean_Elab_PartialContextInfo_mergeIntoOuter_x3f___closed__1;
|
||||
x_2 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__4;
|
||||
x_3 = lean_unsigned_to_nat(402u);
|
||||
x_3 = lean_unsigned_to_nat(425u);
|
||||
x_4 = lean_unsigned_to_nat(2u);
|
||||
x_5 = l_Lean_Elab_assignInfoHoleId___rarg___lambda__2___closed__3;
|
||||
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
|
||||
|
|
@ -12688,7 +12830,7 @@ x_7 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_7, 0, x_4);
|
||||
lean_ctor_set(x_7, 1, x_2);
|
||||
lean_ctor_set(x_7, 2, x_3);
|
||||
x_8 = lean_alloc_ctor(3, 1, 0);
|
||||
x_8 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
x_9 = lean_apply_2(x_6, lean_box(0), x_8);
|
||||
return x_9;
|
||||
|
|
@ -13269,6 +13411,10 @@ l_Lean_Elab_TermInfo_format___lambda__2___closed__1 = _init_l_Lean_Elab_TermInfo
|
|||
lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__2___closed__1);
|
||||
l_Lean_Elab_TermInfo_format___lambda__2___closed__2 = _init_l_Lean_Elab_TermInfo_format___lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_TermInfo_format___lambda__2___closed__2);
|
||||
l_Lean_Elab_PartialTermInfo_format___closed__1 = _init_l_Lean_Elab_PartialTermInfo_format___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_PartialTermInfo_format___closed__1);
|
||||
l_Lean_Elab_PartialTermInfo_format___closed__2 = _init_l_Lean_Elab_PartialTermInfo_format___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_PartialTermInfo_format___closed__2);
|
||||
l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___closed__1 = _init_l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___closed__1();
|
||||
lean_mark_persistent(l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___closed__1);
|
||||
l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___closed__2 = _init_l_Option_format___at_Lean_Elab_CompletionInfo_format___spec__1___closed__2();
|
||||
|
|
@ -13353,6 +13499,10 @@ l_Lean_Elab_OmissionInfo_format___closed__3 = _init_l_Lean_Elab_OmissionInfo_for
|
|||
lean_mark_persistent(l_Lean_Elab_OmissionInfo_format___closed__3);
|
||||
l_Lean_Elab_OmissionInfo_format___closed__4 = _init_l_Lean_Elab_OmissionInfo_format___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_OmissionInfo_format___closed__4);
|
||||
l_Lean_Elab_ChoiceInfo_format___closed__1 = _init_l_Lean_Elab_ChoiceInfo_format___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_ChoiceInfo_format___closed__1);
|
||||
l_Lean_Elab_ChoiceInfo_format___closed__2 = _init_l_Lean_Elab_ChoiceInfo_format___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_ChoiceInfo_format___closed__2);
|
||||
l_Lean_Elab_InfoTree_format___closed__1 = _init_l_Lean_Elab_InfoTree_format___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_InfoTree_format___closed__1);
|
||||
l_Lean_Elab_InfoTree_format___closed__2 = _init_l_Lean_Elab_InfoTree_format___closed__2();
|
||||
|
|
|
|||
28
stage0/stdlib/Lean/Elab/InfoTree/Types.c
generated
28
stage0/stdlib/Lean/Elab/InfoTree/Types.c
generated
|
|
@ -20,6 +20,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_setInfoState(lean_object*);
|
|||
static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__6;
|
||||
lean_object* l_Lean_Expr_bvar___override(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lean_Elab_instInhabitedPartialTermInfo___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedMacroExpansionInfo;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedTermInfo;
|
||||
static lean_object* l_Lean_Elab_instInhabitedFieldInfo___closed__1;
|
||||
|
|
@ -27,6 +28,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedInfoTree;
|
|||
static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__2;
|
||||
static lean_object* l_Lean_Elab_instInhabitedInfoTree___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_setInfoState___rarg___lambda__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedPartialTermInfo;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedInfoState;
|
||||
static lean_object* l_Lean_Elab_instInhabitedTacticInfo___closed__1;
|
||||
static lean_object* l_Lean_Elab_instInhabitedTermInfo___closed__8;
|
||||
|
|
@ -180,6 +182,28 @@ x_1 = l_Lean_Elab_instInhabitedTermInfo___closed__9;
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instInhabitedPartialTermInfo___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Elab_instInhabitedElabInfo___closed__1;
|
||||
x_3 = l_Lean_Elab_instInhabitedTermInfo___closed__7;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_2);
|
||||
lean_ctor_set(x_4, 1, x_3);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instInhabitedPartialTermInfo() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Elab_instInhabitedPartialTermInfo___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_instInhabitedCommandInfo() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -468,6 +492,10 @@ l_Lean_Elab_instInhabitedTermInfo___closed__9 = _init_l_Lean_Elab_instInhabitedT
|
|||
lean_mark_persistent(l_Lean_Elab_instInhabitedTermInfo___closed__9);
|
||||
l_Lean_Elab_instInhabitedTermInfo = _init_l_Lean_Elab_instInhabitedTermInfo();
|
||||
lean_mark_persistent(l_Lean_Elab_instInhabitedTermInfo);
|
||||
l_Lean_Elab_instInhabitedPartialTermInfo___closed__1 = _init_l_Lean_Elab_instInhabitedPartialTermInfo___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_instInhabitedPartialTermInfo___closed__1);
|
||||
l_Lean_Elab_instInhabitedPartialTermInfo = _init_l_Lean_Elab_instInhabitedPartialTermInfo();
|
||||
lean_mark_persistent(l_Lean_Elab_instInhabitedPartialTermInfo);
|
||||
l_Lean_Elab_instInhabitedCommandInfo = _init_l_Lean_Elab_instInhabitedCommandInfo();
|
||||
lean_mark_persistent(l_Lean_Elab_instInhabitedCommandInfo);
|
||||
l_Lean_Elab_instInhabitedFieldInfo___closed__1 = _init_l_Lean_Elab_instInhabitedFieldInfo___closed__1();
|
||||
|
|
|
|||
62
stage0/stdlib/Lean/Elab/LetRec.c
generated
62
stage0/stdlib/Lean/Elab/LetRec.c
generated
|
|
@ -76,6 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__27___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
|
||||
lean_object* l_ReaderT_pure___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_logException___at_Lean_Elab_Term_exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__22___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__27___lambda__2___boxed(lean_object**);
|
||||
|
|
@ -268,7 +269,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_LetR
|
|||
static lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__18___closed__5;
|
||||
lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__7___lambda__3___closed__2;
|
||||
lean_object* l_Lean_Elab_Term_withInfoContext_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Term_withInfoContext_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop(lean_object*);
|
||||
static lean_object* l_Lean_Elab_expandOptDocComment_x3f___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__1___closed__3;
|
||||
|
|
@ -7387,14 +7388,16 @@ return x_22;
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2___lambda__2(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:
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_10 = l_Lean_Elab_Term_mkBodyInfo(x_1, x_2);
|
||||
x_11 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_10 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_10, 0, x_2);
|
||||
x_11 = l_Lean_Elab_Term_mkBodyInfo(x_1, x_10);
|
||||
x_12 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_9);
|
||||
return x_12;
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
lean_ctor_set(x_13, 1, x_9);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
|
|
@ -7421,7 +7424,7 @@ lean_dec(x_15);
|
|||
lean_dec(x_1);
|
||||
if (lean_obj_tag(x_17) == 0)
|
||||
{
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_object* x_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;
|
||||
x_18 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_17);
|
||||
|
|
@ -7442,16 +7445,21 @@ lean_closure_set(x_23, 3, x_4);
|
|||
lean_inc(x_20);
|
||||
x_24 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___spec__2___lambda__2___boxed), 9, 1);
|
||||
lean_closure_set(x_24, 0, x_20);
|
||||
x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withInfoContext_x27), 10, 3);
|
||||
lean_closure_set(x_25, 0, x_20);
|
||||
lean_closure_set(x_25, 1, x_23);
|
||||
lean_closure_set(x_25, 2, x_24);
|
||||
x_26 = l_Lean_Elab_Term_withDeclName___rarg(x_19, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_18);
|
||||
return x_26;
|
||||
lean_inc(x_20);
|
||||
x_25 = l_Lean_Elab_Term_mkBodyInfo(x_20, x_22);
|
||||
x_26 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__12___rarg___boxed), 8, 1);
|
||||
lean_closure_set(x_26, 0, x_25);
|
||||
x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withInfoContext_x27), 11, 4);
|
||||
lean_closure_set(x_27, 0, x_20);
|
||||
lean_closure_set(x_27, 1, x_23);
|
||||
lean_closure_set(x_27, 2, x_24);
|
||||
lean_closure_set(x_27, 3, x_26);
|
||||
x_28 = l_Lean_Elab_Term_withDeclName___rarg(x_19, x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_18);
|
||||
return x_28;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_27;
|
||||
uint8_t x_29;
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
|
|
@ -7461,23 +7469,23 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_27 = !lean_is_exclusive(x_17);
|
||||
if (x_27 == 0)
|
||||
x_29 = !lean_is_exclusive(x_17);
|
||||
if (x_29 == 0)
|
||||
{
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
x_28 = lean_ctor_get(x_17, 0);
|
||||
x_29 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_29);
|
||||
lean_inc(x_28);
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_30 = lean_ctor_get(x_17, 0);
|
||||
x_31 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_31);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_17);
|
||||
x_30 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_30, 0, x_28);
|
||||
lean_ctor_set(x_30, 1, x_29);
|
||||
return x_30;
|
||||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_30);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1730
stage0/stdlib/Lean/Elab/Match.c
generated
1730
stage0/stdlib/Lean/Elab/Match.c
generated
File diff suppressed because it is too large
Load diff
3041
stage0/stdlib/Lean/Elab/MutualDef.c
generated
3041
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
728
stage0/stdlib/Lean/Elab/PatternVar.c
generated
728
stage0/stdlib/Lean/Elab/PatternVar.c
generated
|
|
@ -52,7 +52,7 @@ static lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedContext___c
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__13___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_maxRecDepthErrorMessage;
|
||||
lean_object* l_Lean_ConstantInfo_levelParams(lean_object*);
|
||||
|
|
@ -66,7 +66,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVar
|
|||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_instInhabitedNamedArg;
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4;
|
||||
uint8_t l_Lean_RBNode_isRed___rarg(lean_object*);
|
||||
lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -135,10 +135,11 @@ static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__9;
|
|||
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_getPatternVars___lambda__1___boxed(lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__3;
|
||||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__27;
|
||||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__4;
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -281,6 +282,7 @@ static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPa
|
|||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_instInhabitedState___closed__2;
|
||||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected_showName___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -482,7 +484,7 @@ lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t);
|
|||
uint8_t l_Lean_Name_isSuffixOf(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__21;
|
||||
|
|
@ -508,7 +510,7 @@ lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*, lean_
|
|||
static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__24;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Term_CollectPatternVars_collect___spec__2___closed__2;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11224,252 +11226,255 @@ x_1 = lean_mk_string_unchecked("with", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22;
|
||||
x_19 = l_Lean_Syntax_TSepArray_getElems___rarg(x_1);
|
||||
x_20 = lean_array_size(x_19);
|
||||
x_21 = 0;
|
||||
lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23;
|
||||
x_20 = l_Lean_Syntax_TSepArray_getElems___rarg(x_1);
|
||||
x_21 = lean_array_size(x_20);
|
||||
x_22 = 0;
|
||||
lean_inc(x_18);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3(x_2, x_3, x_20, x_21, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18);
|
||||
if (lean_obj_tag(x_22) == 0)
|
||||
x_23 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__3(x_2, x_3, x_21, x_22, x_20, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19);
|
||||
if (lean_obj_tag(x_23) == 0)
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t 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;
|
||||
x_23 = lean_ctor_get(x_22, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_22, 1);
|
||||
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t 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; size_t 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;
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_22);
|
||||
x_25 = lean_ctor_get(x_16, 5);
|
||||
x_25 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_16);
|
||||
x_26 = 0;
|
||||
x_27 = l_Lean_SourceInfo_fromRef(x_25, x_26);
|
||||
lean_dec(x_25);
|
||||
x_28 = lean_st_ref_get(x_17, x_24);
|
||||
lean_dec(x_23);
|
||||
x_26 = lean_ctor_get(x_17, 5);
|
||||
lean_inc(x_26);
|
||||
lean_dec(x_17);
|
||||
x_29 = lean_ctor_get(x_28, 1);
|
||||
lean_inc(x_29);
|
||||
if (lean_is_exclusive(x_28)) {
|
||||
lean_ctor_release(x_28, 0);
|
||||
lean_ctor_release(x_28, 1);
|
||||
x_30 = x_28;
|
||||
x_27 = 0;
|
||||
x_28 = l_Lean_SourceInfo_fromRef(x_26, x_27);
|
||||
lean_dec(x_26);
|
||||
x_29 = lean_st_ref_get(x_18, x_25);
|
||||
lean_dec(x_18);
|
||||
x_30 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_30);
|
||||
if (lean_is_exclusive(x_29)) {
|
||||
lean_ctor_release(x_29, 0);
|
||||
lean_ctor_release(x_29, 1);
|
||||
x_31 = x_29;
|
||||
} else {
|
||||
lean_dec_ref(x_28);
|
||||
x_30 = lean_box(0);
|
||||
lean_dec_ref(x_29);
|
||||
x_31 = lean_box(0);
|
||||
}
|
||||
x_31 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__1;
|
||||
lean_inc(x_27);
|
||||
x_32 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_27);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
x_33 = lean_array_size(x_23);
|
||||
x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__4(x_4, x_33, x_21, x_23);
|
||||
x_35 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___lambda__4___closed__2;
|
||||
x_36 = l_Lean_Syntax_SepArray_ofElems(x_35, x_34);
|
||||
lean_dec(x_34);
|
||||
x_37 = l_Lean_Elab_Term_CollectPatternVars_instInhabitedState___closed__1;
|
||||
x_38 = l_Array_append___rarg(x_37, x_36);
|
||||
lean_dec(x_36);
|
||||
x_39 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__3;
|
||||
lean_inc(x_27);
|
||||
x_40 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_40, 0, x_27);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
lean_ctor_set(x_40, 2, x_38);
|
||||
x_41 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__4;
|
||||
lean_inc(x_27);
|
||||
x_42 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_27);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
if (lean_obj_tag(x_9) == 0)
|
||||
x_32 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__1;
|
||||
lean_inc(x_28);
|
||||
x_33 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_28);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
x_34 = lean_array_size(x_24);
|
||||
x_35 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect___spec__4(x_4, x_34, x_22, x_24);
|
||||
x_36 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg___lambda__4___closed__2;
|
||||
x_37 = l_Lean_Syntax_SepArray_ofElems(x_36, x_35);
|
||||
lean_dec(x_35);
|
||||
x_38 = l_Lean_Elab_Term_CollectPatternVars_instInhabitedState___closed__1;
|
||||
x_39 = l_Array_append___rarg(x_38, x_37);
|
||||
lean_dec(x_37);
|
||||
x_40 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__3;
|
||||
lean_inc(x_28);
|
||||
x_41 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_41, 0, x_28);
|
||||
lean_ctor_set(x_41, 1, x_40);
|
||||
lean_ctor_set(x_41, 2, x_39);
|
||||
lean_inc(x_28);
|
||||
x_42 = l_Lean_Syntax_node1(x_28, x_5, x_41);
|
||||
x_43 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__4;
|
||||
lean_inc(x_28);
|
||||
x_44 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_28);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
x_43 = x_37;
|
||||
goto block_80;
|
||||
x_45 = x_38;
|
||||
goto block_82;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86;
|
||||
x_81 = lean_ctor_get(x_9, 0);
|
||||
x_82 = l_Array_append___rarg(x_37, x_81);
|
||||
lean_inc(x_27);
|
||||
x_83 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_83, 0, x_27);
|
||||
lean_ctor_set(x_83, 1, x_39);
|
||||
lean_ctor_set(x_83, 2, x_82);
|
||||
x_84 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__7;
|
||||
lean_inc(x_27);
|
||||
x_85 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_27);
|
||||
lean_ctor_set(x_85, 1, x_84);
|
||||
x_86 = l_Array_mkArray2___rarg(x_83, x_85);
|
||||
x_43 = x_86;
|
||||
goto block_80;
|
||||
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88;
|
||||
x_83 = lean_ctor_get(x_10, 0);
|
||||
x_84 = l_Array_append___rarg(x_38, x_83);
|
||||
lean_inc(x_28);
|
||||
x_85 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_85, 0, x_28);
|
||||
lean_ctor_set(x_85, 1, x_40);
|
||||
lean_ctor_set(x_85, 2, x_84);
|
||||
x_86 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__7;
|
||||
lean_inc(x_28);
|
||||
x_87 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_87, 0, x_28);
|
||||
lean_ctor_set(x_87, 1, x_86);
|
||||
x_88 = l_Array_mkArray2___rarg(x_85, x_87);
|
||||
x_45 = x_88;
|
||||
goto block_82;
|
||||
}
|
||||
block_80:
|
||||
block_82:
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45;
|
||||
x_44 = l_Array_append___rarg(x_37, x_43);
|
||||
lean_dec(x_43);
|
||||
lean_inc(x_27);
|
||||
x_45 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_45, 0, x_27);
|
||||
lean_ctor_set(x_45, 1, x_39);
|
||||
lean_ctor_set(x_45, 2, x_44);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__5;
|
||||
lean_inc(x_27);
|
||||
lean_object* x_46; lean_object* x_47;
|
||||
x_46 = l_Array_append___rarg(x_38, x_45);
|
||||
lean_dec(x_45);
|
||||
lean_inc(x_28);
|
||||
x_47 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_47, 0, x_27);
|
||||
lean_ctor_set(x_47, 1, x_39);
|
||||
lean_ctor_set(x_47, 0, x_28);
|
||||
lean_ctor_set(x_47, 1, x_40);
|
||||
lean_ctor_set(x_47, 2, x_46);
|
||||
lean_inc(x_47);
|
||||
lean_inc(x_27);
|
||||
x_48 = l_Lean_Syntax_node1(x_27, x_6, x_47);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50;
|
||||
x_49 = l_Lean_Syntax_node6(x_27, x_8, x_32, x_45, x_40, x_48, x_47, x_42);
|
||||
if (lean_is_scalar(x_30)) {
|
||||
x_50 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_48 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__5;
|
||||
lean_inc(x_28);
|
||||
x_49 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_49, 0, x_28);
|
||||
lean_ctor_set(x_49, 1, x_40);
|
||||
lean_ctor_set(x_49, 2, x_48);
|
||||
lean_inc(x_49);
|
||||
lean_inc(x_28);
|
||||
x_50 = l_Lean_Syntax_node1(x_28, x_7, x_49);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
{
|
||||
lean_object* x_51; lean_object* x_52;
|
||||
x_51 = l_Lean_Syntax_node6(x_28, x_9, x_33, x_47, x_42, x_50, x_49, x_44);
|
||||
if (lean_is_scalar(x_31)) {
|
||||
x_52 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_50 = x_30;
|
||||
x_52 = x_31;
|
||||
}
|
||||
lean_ctor_set(x_50, 0, x_49);
|
||||
lean_ctor_set(x_50, 1, x_29);
|
||||
return x_50;
|
||||
lean_ctor_set(x_52, 0, x_51);
|
||||
lean_ctor_set(x_52, 1, x_30);
|
||||
return x_52;
|
||||
}
|
||||
else
|
||||
{
|
||||
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_dec(x_47);
|
||||
x_51 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_51);
|
||||
lean_dec(x_7);
|
||||
x_52 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__6;
|
||||
lean_inc(x_27);
|
||||
x_53 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_53, 0, x_27);
|
||||
lean_ctor_set(x_53, 1, x_52);
|
||||
x_54 = l_Array_mkArray2___rarg(x_53, x_51);
|
||||
x_55 = l_Array_append___rarg(x_37, x_54);
|
||||
lean_dec(x_54);
|
||||
lean_inc(x_27);
|
||||
x_56 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_56, 0, x_27);
|
||||
lean_ctor_set(x_56, 1, x_39);
|
||||
lean_ctor_set(x_56, 2, x_55);
|
||||
x_57 = l_Lean_Syntax_node6(x_27, x_8, x_32, x_45, x_40, x_48, x_56, x_42);
|
||||
if (lean_is_scalar(x_30)) {
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
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_dec(x_49);
|
||||
x_53 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_8);
|
||||
x_54 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__6;
|
||||
lean_inc(x_28);
|
||||
x_55 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_28);
|
||||
lean_ctor_set(x_55, 1, x_54);
|
||||
x_56 = l_Array_mkArray2___rarg(x_55, x_53);
|
||||
x_57 = l_Array_append___rarg(x_38, x_56);
|
||||
lean_dec(x_56);
|
||||
lean_inc(x_28);
|
||||
x_58 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_58, 0, x_28);
|
||||
lean_ctor_set(x_58, 1, x_40);
|
||||
lean_ctor_set(x_58, 2, x_57);
|
||||
x_59 = l_Lean_Syntax_node6(x_28, x_9, x_33, x_47, x_42, x_50, x_58, x_44);
|
||||
if (lean_is_scalar(x_31)) {
|
||||
x_60 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_58 = x_30;
|
||||
x_60 = x_31;
|
||||
}
|
||||
lean_ctor_set(x_58, 0, x_57);
|
||||
lean_ctor_set(x_58, 1, x_29);
|
||||
return x_58;
|
||||
lean_ctor_set(x_60, 0, x_59);
|
||||
lean_ctor_set(x_60, 1, x_30);
|
||||
return x_60;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
x_59 = lean_ctor_get(x_5, 0);
|
||||
x_60 = 1;
|
||||
x_61 = l_Lean_SourceInfo_fromRef(x_59, x_60);
|
||||
x_62 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__5;
|
||||
x_63 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_61);
|
||||
lean_ctor_set(x_63, 1, x_62);
|
||||
x_64 = l_Array_mkArray1___rarg(x_63);
|
||||
x_65 = l_Array_append___rarg(x_37, x_64);
|
||||
lean_dec(x_64);
|
||||
lean_inc(x_27);
|
||||
x_66 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_66, 0, x_27);
|
||||
lean_ctor_set(x_66, 1, x_39);
|
||||
lean_ctor_set(x_66, 2, x_65);
|
||||
lean_inc(x_27);
|
||||
x_67 = l_Lean_Syntax_node1(x_27, x_6, x_66);
|
||||
if (lean_obj_tag(x_7) == 0)
|
||||
lean_object* x_61; uint8_t 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;
|
||||
x_61 = lean_ctor_get(x_6, 0);
|
||||
x_62 = 1;
|
||||
x_63 = l_Lean_SourceInfo_fromRef(x_61, x_62);
|
||||
x_64 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__5;
|
||||
x_65 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_65, 0, x_63);
|
||||
lean_ctor_set(x_65, 1, x_64);
|
||||
x_66 = l_Array_mkArray1___rarg(x_65);
|
||||
x_67 = l_Array_append___rarg(x_38, x_66);
|
||||
lean_dec(x_66);
|
||||
lean_inc(x_28);
|
||||
x_68 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_68, 0, x_28);
|
||||
lean_ctor_set(x_68, 1, x_40);
|
||||
lean_ctor_set(x_68, 2, x_67);
|
||||
lean_inc(x_28);
|
||||
x_69 = l_Lean_Syntax_node1(x_28, x_7, x_68);
|
||||
if (lean_obj_tag(x_8) == 0)
|
||||
{
|
||||
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71;
|
||||
x_68 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__5;
|
||||
lean_inc(x_27);
|
||||
x_69 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_69, 0, x_27);
|
||||
lean_ctor_set(x_69, 1, x_39);
|
||||
lean_ctor_set(x_69, 2, x_68);
|
||||
x_70 = l_Lean_Syntax_node6(x_27, x_8, x_32, x_45, x_40, x_67, x_69, x_42);
|
||||
if (lean_is_scalar(x_30)) {
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73;
|
||||
x_70 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__5;
|
||||
lean_inc(x_28);
|
||||
x_71 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_71, 0, x_28);
|
||||
lean_ctor_set(x_71, 1, x_40);
|
||||
lean_ctor_set(x_71, 2, x_70);
|
||||
x_72 = l_Lean_Syntax_node6(x_28, x_9, x_33, x_47, x_42, x_69, x_71, x_44);
|
||||
if (lean_is_scalar(x_31)) {
|
||||
x_73 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_71 = x_30;
|
||||
x_73 = x_31;
|
||||
}
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_29);
|
||||
return x_71;
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
lean_ctor_set(x_73, 1, x_30);
|
||||
return x_73;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79;
|
||||
x_72 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_72);
|
||||
lean_dec(x_7);
|
||||
x_73 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__6;
|
||||
lean_inc(x_27);
|
||||
x_74 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_27);
|
||||
lean_ctor_set(x_74, 1, x_73);
|
||||
x_75 = l_Array_mkArray2___rarg(x_74, x_72);
|
||||
x_76 = l_Array_append___rarg(x_37, x_75);
|
||||
lean_dec(x_75);
|
||||
lean_inc(x_27);
|
||||
x_77 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_77, 0, x_27);
|
||||
lean_ctor_set(x_77, 1, x_39);
|
||||
lean_ctor_set(x_77, 2, x_76);
|
||||
x_78 = l_Lean_Syntax_node6(x_27, x_8, x_32, x_45, x_40, x_67, x_77, x_42);
|
||||
if (lean_is_scalar(x_30)) {
|
||||
x_79 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81;
|
||||
x_74 = lean_ctor_get(x_8, 0);
|
||||
lean_inc(x_74);
|
||||
lean_dec(x_8);
|
||||
x_75 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__6;
|
||||
lean_inc(x_28);
|
||||
x_76 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_28);
|
||||
lean_ctor_set(x_76, 1, x_75);
|
||||
x_77 = l_Array_mkArray2___rarg(x_76, x_74);
|
||||
x_78 = l_Array_append___rarg(x_38, x_77);
|
||||
lean_dec(x_77);
|
||||
lean_inc(x_28);
|
||||
x_79 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_79, 0, x_28);
|
||||
lean_ctor_set(x_79, 1, x_40);
|
||||
lean_ctor_set(x_79, 2, x_78);
|
||||
x_80 = l_Lean_Syntax_node6(x_28, x_9, x_33, x_47, x_42, x_69, x_79, x_44);
|
||||
if (lean_is_scalar(x_31)) {
|
||||
x_81 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_79 = x_30;
|
||||
x_81 = x_31;
|
||||
}
|
||||
lean_ctor_set(x_79, 0, x_78);
|
||||
lean_ctor_set(x_79, 1, x_29);
|
||||
return x_79;
|
||||
lean_ctor_set(x_81, 0, x_80);
|
||||
lean_ctor_set(x_81, 1, x_30);
|
||||
return x_81;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_87;
|
||||
uint8_t x_89;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
x_87 = !lean_is_exclusive(x_22);
|
||||
if (x_87 == 0)
|
||||
lean_dec(x_5);
|
||||
x_89 = !lean_is_exclusive(x_23);
|
||||
if (x_89 == 0)
|
||||
{
|
||||
return x_22;
|
||||
return x_23;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_88; lean_object* x_89; lean_object* x_90;
|
||||
x_88 = lean_ctor_get(x_22, 0);
|
||||
x_89 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_89);
|
||||
lean_inc(x_88);
|
||||
lean_dec(x_22);
|
||||
x_90 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_88);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
return x_90;
|
||||
lean_object* x_90; lean_object* x_91; lean_object* x_92;
|
||||
x_90 = lean_ctor_get(x_23, 0);
|
||||
x_91 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_91);
|
||||
lean_inc(x_90);
|
||||
lean_dec(x_23);
|
||||
x_92 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_92, 0, x_90);
|
||||
lean_ctor_set(x_92, 1, x_91);
|
||||
return x_92;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -11555,117 +11560,119 @@ x_2 = l_Lean_stringToMessageData(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = l_Lean_Syntax_getArgs(x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Syntax_getArgs(x_1);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
x_17 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4;
|
||||
x_18 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5;
|
||||
x_19 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6;
|
||||
x_20 = lean_box(0);
|
||||
x_21 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(x_16, x_17, x_18, x_19, x_2, x_3, x_7, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
lean_dec(x_16);
|
||||
return x_21;
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_18 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__4;
|
||||
x_19 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__5;
|
||||
x_20 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__6;
|
||||
x_21 = lean_box(0);
|
||||
x_22 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(x_17, x_18, x_19, x_20, x_2, x_3, x_4, x_8, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
lean_dec(x_17);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_7);
|
||||
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; uint8_t x_30;
|
||||
lean_dec(x_17);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_22 = lean_ctor_get(x_5, 0);
|
||||
x_23 = l_Lean_Syntax_TSepArray_getElems___rarg(x_22);
|
||||
x_24 = lean_box(2);
|
||||
x_25 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__3;
|
||||
x_26 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_26, 0, x_24);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
lean_ctor_set(x_26, 2, x_23);
|
||||
x_27 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8;
|
||||
x_28 = l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_26, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_2);
|
||||
x_23 = lean_ctor_get(x_6, 0);
|
||||
x_24 = l_Lean_Syntax_TSepArray_getElems___rarg(x_23);
|
||||
x_25 = lean_box(2);
|
||||
x_26 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__3;
|
||||
x_27 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_27, 0, x_25);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
lean_ctor_set(x_27, 2, x_24);
|
||||
x_28 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___closed__8;
|
||||
x_29 = l_Lean_throwErrorAt___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___spec__1(x_27, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_26);
|
||||
x_29 = !lean_is_exclusive(x_28);
|
||||
if (x_29 == 0)
|
||||
lean_dec(x_27);
|
||||
x_30 = !lean_is_exclusive(x_29);
|
||||
if (x_30 == 0)
|
||||
{
|
||||
return x_28;
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_30 = lean_ctor_get(x_28, 0);
|
||||
x_31 = lean_ctor_get(x_28, 1);
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_31 = lean_ctor_get(x_29, 0);
|
||||
x_32 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_32);
|
||||
lean_inc(x_31);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_28);
|
||||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_30);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
return x_32;
|
||||
lean_dec(x_29);
|
||||
x_33 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
x_16 = lean_unsigned_to_nat(4u);
|
||||
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
|
||||
x_18 = l_Lean_Syntax_isNone(x_17);
|
||||
if (x_18 == 0)
|
||||
lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
x_17 = lean_unsigned_to_nat(4u);
|
||||
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
|
||||
x_19 = l_Lean_Syntax_isNone(x_18);
|
||||
if (x_19 == 0)
|
||||
{
|
||||
lean_object* x_19; uint8_t x_20;
|
||||
x_19 = lean_unsigned_to_nat(2u);
|
||||
lean_inc(x_17);
|
||||
x_20 = l_Lean_Syntax_matchesNull(x_17, x_19);
|
||||
if (x_20 == 0)
|
||||
lean_object* x_20; uint8_t x_21;
|
||||
x_20 = lean_unsigned_to_nat(2u);
|
||||
lean_inc(x_18);
|
||||
x_21 = l_Lean_Syntax_matchesNull(x_18, x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
lean_object* x_21;
|
||||
lean_dec(x_17);
|
||||
lean_object* x_22;
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
x_21 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
x_22 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
return x_21;
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_22 = lean_unsigned_to_nat(1u);
|
||||
x_23 = l_Lean_Syntax_getArg(x_17, x_22);
|
||||
lean_dec(x_17);
|
||||
x_24 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
x_25 = lean_box(0);
|
||||
x_26 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(x_2, x_7, x_3, x_4, x_5, x_25, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
return x_26;
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_23 = lean_unsigned_to_nat(1u);
|
||||
x_24 = l_Lean_Syntax_getArg(x_18, x_23);
|
||||
lean_dec(x_18);
|
||||
x_25 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
x_26 = lean_box(0);
|
||||
x_27 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(x_2, x_3, x_8, x_4, x_5, x_6, x_26, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
return x_27;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
lean_dec(x_17);
|
||||
x_27 = lean_box(0);
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
lean_dec(x_18);
|
||||
x_28 = lean_box(0);
|
||||
x_29 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(x_2, x_7, x_3, x_4, x_5, x_28, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
return x_29;
|
||||
x_29 = lean_box(0);
|
||||
x_30 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(x_2, x_3, x_8, x_4, x_5, x_6, x_29, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
return x_30;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -11673,7 +11680,7 @@ static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("optEllipsis", 11, 11);
|
||||
x_1 = lean_mk_string_unchecked("structInstFields", 16, 16);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -11689,24 +11696,41 @@ x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("optEllipsis", 11, 11);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_1 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__3;
|
||||
x_2 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__4;
|
||||
x_3 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__5;
|
||||
x_4 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__3;
|
||||
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5(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:
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
x_13 = lean_unsigned_to_nat(2u);
|
||||
x_14 = l_Lean_Syntax_getArg(x_1, x_13);
|
||||
x_15 = lean_unsigned_to_nat(3u);
|
||||
x_16 = l_Lean_Syntax_getArg(x_1, x_15);
|
||||
x_17 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__2;
|
||||
lean_inc(x_16);
|
||||
x_18 = l_Lean_Syntax_isOfKind(x_16, x_17);
|
||||
if (x_18 == 0)
|
||||
x_15 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__2;
|
||||
lean_inc(x_14);
|
||||
x_16 = l_Lean_Syntax_isOfKind(x_14, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_19;
|
||||
lean_dec(x_16);
|
||||
lean_object* x_17;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_2);
|
||||
x_19 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
x_17 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
|
|
@ -11714,28 +11738,26 @@ lean_dec(x_8);
|
|||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
return x_19;
|
||||
return x_17;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_20 = lean_unsigned_to_nat(0u);
|
||||
x_21 = l_Lean_Syntax_getArg(x_16, x_20);
|
||||
lean_dec(x_16);
|
||||
x_22 = l_Lean_Syntax_isNone(x_21);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; uint8_t x_24;
|
||||
x_23 = lean_unsigned_to_nat(1u);
|
||||
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
x_18 = lean_unsigned_to_nat(0u);
|
||||
x_19 = l_Lean_Syntax_getArg(x_14, x_18);
|
||||
lean_dec(x_14);
|
||||
x_20 = lean_unsigned_to_nat(3u);
|
||||
x_21 = l_Lean_Syntax_getArg(x_1, x_20);
|
||||
x_22 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__4;
|
||||
lean_inc(x_21);
|
||||
x_24 = l_Lean_Syntax_matchesNull(x_21, x_23);
|
||||
if (x_24 == 0)
|
||||
x_23 = l_Lean_Syntax_isOfKind(x_21, x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
lean_object* x_25;
|
||||
lean_object* x_24;
|
||||
lean_dec(x_21);
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_2);
|
||||
x_25 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
x_24 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
|
|
@ -11743,31 +11765,60 @@ lean_dec(x_8);
|
|||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
return x_25;
|
||||
return x_24;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_26 = l_Lean_Syntax_getArg(x_21, x_20);
|
||||
lean_object* x_25; uint8_t x_26;
|
||||
x_25 = l_Lean_Syntax_getArg(x_21, x_18);
|
||||
lean_dec(x_21);
|
||||
x_27 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
x_28 = lean_box(0);
|
||||
x_29 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(x_1, x_14, x_17, x_2, x_4, x_28, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_14);
|
||||
x_26 = l_Lean_Syntax_isNone(x_25);
|
||||
if (x_26 == 0)
|
||||
{
|
||||
lean_object* x_27; uint8_t x_28;
|
||||
x_27 = lean_unsigned_to_nat(1u);
|
||||
lean_inc(x_25);
|
||||
x_28 = l_Lean_Syntax_matchesNull(x_25, x_27);
|
||||
if (x_28 == 0)
|
||||
{
|
||||
lean_object* x_29;
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_2);
|
||||
x_29 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
x_30 = l_Lean_Syntax_getArg(x_25, x_18);
|
||||
lean_dec(x_25);
|
||||
x_31 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
x_32 = lean_box(0);
|
||||
x_33 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(x_1, x_19, x_15, x_22, x_2, x_4, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_31);
|
||||
lean_dec(x_19);
|
||||
return x_33;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
lean_dec(x_21);
|
||||
x_30 = lean_box(0);
|
||||
x_31 = lean_box(0);
|
||||
x_32 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(x_1, x_14, x_17, x_2, x_4, x_31, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_14);
|
||||
return x_32;
|
||||
lean_object* x_34; lean_object* x_35; lean_object* x_36;
|
||||
lean_dec(x_25);
|
||||
x_34 = lean_box(0);
|
||||
x_35 = lean_box(0);
|
||||
x_36 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(x_1, x_19, x_15, x_22, x_2, x_4, x_35, x_34, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
|
||||
lean_dec(x_19);
|
||||
return x_36;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -14809,42 +14860,43 @@ lean_object* x_15 = _args[14];
|
|||
lean_object* x_16 = _args[15];
|
||||
lean_object* x_17 = _args[16];
|
||||
lean_object* x_18 = _args[17];
|
||||
lean_object* x_19 = _args[18];
|
||||
_start:
|
||||
{
|
||||
lean_object* x_19;
|
||||
x_19 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18);
|
||||
lean_object* x_20;
|
||||
x_20 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19);
|
||||
lean_dec(x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_19;
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_16;
|
||||
x_16 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_17;
|
||||
x_17 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_16;
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
|
||||
|
|
@ -17495,6 +17547,10 @@ l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__1 = _init_l_Le
|
|||
lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__1);
|
||||
l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__2);
|
||||
l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__3 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__3);
|
||||
l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__4 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__5___closed__4);
|
||||
l_Lean_Elab_Term_CollectPatternVars_collect___lambda__10___closed__1 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__10___closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Term_CollectPatternVars_collect___lambda__10___closed__1);
|
||||
l_Lean_Elab_Term_CollectPatternVars_collect___lambda__10___closed__2 = _init_l_Lean_Elab_Term_CollectPatternVars_collect___lambda__10___closed__2();
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Elab/SetOption.c
generated
2
stage0/stdlib/Lean/Elab/SetOption.c
generated
|
|
@ -655,7 +655,7 @@ x_13 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_13, 0, x_1);
|
||||
lean_ctor_set(x_13, 1, x_2);
|
||||
lean_ctor_set(x_13, 2, x_12);
|
||||
x_14 = lean_alloc_ctor(4, 1, 0);
|
||||
x_14 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_inc(x_3);
|
||||
x_15 = l_Lean_Elab_pushInfoLeaf___rarg(x_3, x_4, x_14);
|
||||
|
|
|
|||
4702
stage0/stdlib/Lean/Elab/StructInst.c
generated
4702
stage0/stdlib/Lean/Elab/StructInst.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Lean/Elab/Structure.c
generated
2
stage0/stdlib/Lean/Elab/Structure.c
generated
|
|
@ -16636,7 +16636,7 @@ lean_inc(x_28);
|
|||
x_29 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_27);
|
||||
x_30 = lean_alloc_ctor(10, 1, 0);
|
||||
x_30 = lean_alloc_ctor(11, 1, 0);
|
||||
lean_ctor_set(x_30, 0, x_2);
|
||||
x_31 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(x_30, x_14, x_15, x_16, x_17, x_18, x_19, x_29);
|
||||
x_32 = lean_ctor_get(x_31, 1);
|
||||
|
|
|
|||
3154
stage0/stdlib/Lean/Elab/Syntax.c
generated
3154
stage0/stdlib/Lean/Elab/Syntax.c
generated
File diff suppressed because it is too large
Load diff
190
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
190
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -21,6 +21,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainModule(lean_object*, lean_obj
|
|||
LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Term_reportUnsolvedGoals___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryCatchRestore(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -31,6 +32,7 @@ static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrA
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTactic1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__3;
|
||||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__9;
|
||||
static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1___closed__1;
|
||||
extern lean_object* l_Lean_profiler;
|
||||
|
|
@ -43,7 +45,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadExceptExceptionTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__3;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__2;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__4___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_admitGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -68,6 +70,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SavedState_restore___boxed(lean_obje
|
|||
extern lean_object* l_Lean_Elab_Tactic_instInhabitedTacticParsedSnapshot;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_maxRecDepthErrorMessage;
|
||||
static lean_object* l_Lean_Elab_Tactic_closeMainGoal___lambda__1___closed__1;
|
||||
|
|
@ -79,7 +82,6 @@ lean_object* lean_io_promise_new(lean_object*);
|
|||
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__12;
|
||||
static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -120,6 +122,7 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_appendGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMacroExpansion___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__7;
|
||||
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainGoal_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -140,11 +143,13 @@ static double l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___
|
|||
static lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Tactic_evalTactic___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_throwNoGoalsToBeSolved___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__16;
|
||||
lean_object* l_Lean_MessageData_hasSyntheticSorry(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_popMainGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_get_num_heartbeats(lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
|
|
@ -159,6 +164,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*);
|
|||
lean_object* l_Lean_Expr_mvar___override(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withTacticInfoContext___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__6;
|
||||
lean_object* lean_io_promise_result(lean_object*);
|
||||
uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -172,6 +178,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_replaceMainGoal___boxed(lean_object*
|
|||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryTactic(lean_object*);
|
||||
lean_object* l_Lean_Exception_toMessageData(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -180,7 +187,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg(lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainModule___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__6___boxed__const__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_isIncrementalElab___at_Lean_Elab_Tactic_evalTactic_eval___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -235,7 +241,6 @@ static lean_object* l_Lean_Elab_Tactic_evalTactic_throwExs___closed__2;
|
|||
static lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__3___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549_(lean_object*);
|
||||
lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -249,6 +254,7 @@ lean_object* l_Lean_MessageData_ofSyntax(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tryTactic_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__2___boxed(lean_object**);
|
||||
static lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM___closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__2;
|
||||
lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getGoals(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -262,9 +268,7 @@ static double l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutTacticIncrementality___at_Lean_Elab_Tactic_evalTactic_eval___spec__4___lambda__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__6___closed__6;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__4;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590_(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals___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_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_withMacroExpansion___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -289,14 +293,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instMonadBacktrackSavedStateTacticM;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_withMacroExpansion___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_List_isEmpty___rarg(lean_object*);
|
||||
|
|
@ -304,7 +306,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at
|
|||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instAlternativeTacticM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*);
|
||||
|
|
@ -324,6 +325,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval(lean_object*, lean_o
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instInhabitedTacticM___rarg(lean_object*);
|
||||
lean_object* lean_io_mono_nanos_now(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__6___closed__4;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instInhabitedTacticM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeMainGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__4;
|
||||
|
|
@ -342,12 +344,10 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_tagUntagged
|
|||
LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Tactic_evalTactic___spec__9(lean_object*);
|
||||
lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pruneSolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__5;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_closeMainGoal___lambda__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_eval___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -378,6 +378,7 @@ static lean_object* l_Lean_Elab_Tactic_run___lambda__1___closed__1;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Language_Snapshot_Diagnostics_empty;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__14;
|
||||
static lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Elab_isAbortTacticException(lean_object*);
|
||||
|
|
@ -390,6 +391,7 @@ lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_PersistentHashMap_contains___at_Lean_MVarId_isAssigned___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Tactic_evalTactic___spec__4___rarg___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_inheritedTraceOptions;
|
||||
|
|
@ -397,15 +399,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__2___boxed(lean_
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_throwNoGoalsToBeSolved(lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addTraceNode___spec__1(size_t, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_focusAndDone___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
double l_Float_ofScientific(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__6___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_pruneSolvedGoals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__13;
|
||||
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__13;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__15;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Tactic_evalTactic___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -423,8 +425,9 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTac
|
|||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__1___closed__1;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__11;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__11;
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__3___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___rarg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5___closed__4;
|
||||
|
|
@ -468,14 +471,13 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Tactic_evalTa
|
|||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4___closed__2;
|
||||
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_tagUntaggedGoals___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__7;
|
||||
lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__4___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic_handleEx___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withMainContext(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__6;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withRestoreOrSaveFull___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortTactic___at_Lean_Elab_Tactic_done___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Tactic_evalTactic___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -520,7 +522,6 @@ LEAN_EXPORT lean_object* l_List_filterAuxM___at_Lean_Elab_Tactic_pruneSolvedGoal
|
|||
lean_object* l_Lean_Language_SnapshotTask_get___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1;
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__3;
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withCaseRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -538,7 +539,7 @@ static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_handl
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_withTacticInfoContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_evalTactic_expandEval___lambda__3___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__10;
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__1;
|
||||
static lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__2;
|
||||
|
|
@ -576,7 +577,6 @@ lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_obj
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_saveState(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_getMainDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Tactic_withTacticInfoContext___spec__2___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTactic___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_dbg_trace(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_run___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -19391,7 +19391,7 @@ x_14 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_14, 0, x_13);
|
||||
lean_ctor_set(x_14, 1, x_1);
|
||||
lean_ctor_set(x_14, 2, x_2);
|
||||
x_15 = lean_alloc_ctor(3, 1, 0);
|
||||
x_15 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
x_16 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
|
|
@ -23417,7 +23417,7 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -23427,7 +23427,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__2() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -23437,27 +23437,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__3() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__2;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__2;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__4() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__3;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__5() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -23465,17 +23465,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__6() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__4;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__5;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__4;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__7() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -23483,47 +23483,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__8() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__6;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__7;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__6;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__7;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__9() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__8;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__8;
|
||||
x_2 = l_Lean_Elab_Tactic_mkTacticAttribute___closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__10() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__9;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__9;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__11() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__10;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__10;
|
||||
x_2 = l_Lean_logAt___at_Lean_Elab_Term_reportUnsolvedGoals___spec__2___lambda__2___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__12() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -23531,17 +23531,17 @@ x_1 = lean_mk_string_unchecked("Basic", 5, 5);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__13() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__11;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__12;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__11;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__12;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__14() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -23549,54 +23549,54 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__15() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__13;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__14;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__13;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__14;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__16() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8549u);
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8548u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__1;
|
||||
x_2 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__1;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__16;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__16;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590____closed__1() {
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8590u);
|
||||
x_1 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(8589u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_List_forIn_x27_loop___at_Lean_Elab_Tactic_evalTactic_handleEx___spec__4___closed__2;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590____closed__1;
|
||||
x_4 = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589____closed__1;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -23852,44 +23852,44 @@ l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1 = _init_l_Lean_Elab_Tactic_get
|
|||
lean_mark_persistent(l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__1);
|
||||
l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2 = _init_l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_getNameOfIdent_x27___closed__2);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__1);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__2);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__3 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__3);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__4 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__4);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__5 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__5);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__6 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__6);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__7 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__7);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__8 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__8);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__9 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__9);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__10 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__10);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__11 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__11);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__12 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__12);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__13 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__13);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__14 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__14);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__15 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__15);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__16 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__16();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549____closed__16);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8549_(lean_io_mk_world());
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__1);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__2 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__2();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__2);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__3 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__3();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__3);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__4 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__4();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__4);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__5 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__5();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__5);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__6 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__6();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__6);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__7 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__7();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__7);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__8 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__8();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__8);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__9 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__9();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__9);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__10 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__10();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__10);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__11 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__11();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__11);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__12 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__12();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__12);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__13 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__13();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__13);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__14 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__14();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__14);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__15 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__15();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__15);
|
||||
l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__16 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__16();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548____closed__16);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8548_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590____closed__1);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8590_(lean_io_mk_world());
|
||||
}l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589____closed__1 = _init_l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589____closed__1();
|
||||
lean_mark_persistent(l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589____closed__1);
|
||||
if (builtin) {res = l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_8589_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
6
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
|
|
@ -21220,7 +21220,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_ela
|
|||
_start:
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12;
|
||||
x_11 = lean_alloc_ctor(6, 1, 0);
|
||||
x_11 = lean_alloc_ctor(7, 1, 0);
|
||||
lean_ctor_set(x_11, 0, x_1);
|
||||
x_12 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_12;
|
||||
|
|
@ -21434,7 +21434,7 @@ x_30 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_30, 0, x_1);
|
||||
lean_ctor_set(x_30, 1, x_25);
|
||||
lean_ctor_set(x_30, 2, x_29);
|
||||
x_31 = lean_alloc_ctor(4, 1, 0);
|
||||
x_31 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
x_32 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28);
|
||||
x_33 = !lean_is_exclusive(x_32);
|
||||
|
|
@ -21829,7 +21829,7 @@ x_122 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_122, 0, x_1);
|
||||
lean_ctor_set(x_122, 1, x_117);
|
||||
lean_ctor_set(x_122, 2, x_121);
|
||||
x_123 = lean_alloc_ctor(4, 1, 0);
|
||||
x_123 = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(x_123, 0, x_122);
|
||||
x_124 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3(x_123, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_120);
|
||||
x_125 = lean_ctor_get(x_124, 1);
|
||||
|
|
|
|||
3808
stage0/stdlib/Lean/Elab/Tactic/Config.c
generated
3808
stage0/stdlib/Lean/Elab/Tactic/Config.c
generated
File diff suppressed because it is too large
Load diff
2256
stage0/stdlib/Lean/Elab/Tactic/Ext.c
generated
2256
stage0/stdlib/Lean/Elab/Tactic/Ext.c
generated
File diff suppressed because it is too large
Load diff
3869
stage0/stdlib/Lean/Elab/Term.c
generated
3869
stage0/stdlib/Lean/Elab/Term.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Language/Lean.c
generated
8
stage0/stdlib/Lean/Language/Lean.c
generated
|
|
@ -8248,7 +8248,7 @@ x_7 = l_List_mapTR_loop___at_Lean_Language_Lean_process_processHeader___spec__1_
|
|||
x_8 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
lean_ctor_set(x_8, 1, x_5);
|
||||
x_9 = lean_alloc_ctor(2, 1, 0);
|
||||
x_9 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
x_10 = l_List_mapTR_loop___at_Lean_Language_Lean_process_processHeader___spec__1___closed__4;
|
||||
x_11 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -8276,7 +8276,7 @@ x_15 = l_List_mapTR_loop___at_Lean_Language_Lean_process_processHeader___spec__1
|
|||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
lean_ctor_set(x_16, 1, x_13);
|
||||
x_17 = lean_alloc_ctor(2, 1, 0);
|
||||
x_17 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_17, 0, x_16);
|
||||
x_18 = l_List_mapTR_loop___at_Lean_Language_Lean_process_processHeader___spec__1___closed__4;
|
||||
x_19 = lean_alloc_ctor(1, 2, 0);
|
||||
|
|
@ -8529,7 +8529,7 @@ lean_inc(x_5);
|
|||
x_34 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_33);
|
||||
lean_ctor_set(x_34, 1, x_5);
|
||||
x_35 = lean_alloc_ctor(2, 1, 0);
|
||||
x_35 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_35, 0, x_34);
|
||||
x_36 = lean_unsigned_to_nat(1u);
|
||||
x_37 = l_Lean_Syntax_getArg(x_5, x_36);
|
||||
|
|
@ -8847,7 +8847,7 @@ lean_inc(x_5);
|
|||
x_155 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_155, 0, x_154);
|
||||
lean_ctor_set(x_155, 1, x_5);
|
||||
x_156 = lean_alloc_ctor(2, 1, 0);
|
||||
x_156 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_156, 0, x_155);
|
||||
x_157 = lean_unsigned_to_nat(1u);
|
||||
x_158 = l_Lean_Syntax_getArg(x_5, x_157);
|
||||
|
|
|
|||
|
|
@ -160,10 +160,10 @@ static lean_object* l_Lean_Linter_constructorNameAsVariable___elambda__1___close
|
|||
static lean_object* l_Lean_Linter_constructorNameAsVariable___elambda__1___closed__4;
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_ConstructorAsVariable___hyg_1342_(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Linter_constructorNameAsVariable___elambda__1___spec__9___closed__1;
|
||||
lean_object* l_Lean_Elab_Info_stx(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_ConstructorAsVariable___hyg_1340_(lean_object*);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofName(lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Linter_constructorNameAsVariable___elambda__1___spec__15___closed__3;
|
||||
|
|
@ -4108,7 +4108,7 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_ConstructorAsVariable___hyg_1340_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_ConstructorAsVariable___hyg_1342_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -4225,7 +4225,7 @@ l_Lean_Linter_constructorNameAsVariable___closed__3 = _init_l_Lean_Linter_constr
|
|||
lean_mark_persistent(l_Lean_Linter_constructorNameAsVariable___closed__3);
|
||||
l_Lean_Linter_constructorNameAsVariable = _init_l_Lean_Linter_constructorNameAsVariable();
|
||||
lean_mark_persistent(l_Lean_Linter_constructorNameAsVariable);
|
||||
if (builtin) {res = l_Lean_Linter_initFn____x40_Lean_Linter_ConstructorAsVariable___hyg_1340_(lean_io_mk_world());
|
||||
if (builtin) {res = l_Lean_Linter_initFn____x40_Lean_Linter_ConstructorAsVariable___hyg_1342_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Linter/MissingDocs.c
generated
2
stage0/stdlib/Lean/Linter/MissingDocs.c
generated
|
|
@ -5479,7 +5479,7 @@ return x_4;
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_MissingDocs_checkDecl___spec__12___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 10)
|
||||
if (lean_obj_tag(x_2) == 11)
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
|
|
|
|||
878
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
878
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Linter/Util.c
generated
4
stage0/stdlib/Lean/Linter/Util.c
generated
|
|
@ -525,7 +525,7 @@ return x_24;
|
|||
}
|
||||
else
|
||||
{
|
||||
if (lean_obj_tag(x_4) == 3)
|
||||
if (lean_obj_tag(x_4) == 4)
|
||||
{
|
||||
uint8_t x_25;
|
||||
x_25 = !lean_is_exclusive(x_4);
|
||||
|
|
@ -629,7 +629,7 @@ x_51 = lean_apply_2(x_49, lean_box(0), x_50);
|
|||
return x_51;
|
||||
}
|
||||
}
|
||||
case 3:
|
||||
case 4:
|
||||
{
|
||||
uint8_t x_52;
|
||||
x_52 = !lean_is_exclusive(x_10);
|
||||
|
|
|
|||
168
stage0/stdlib/Lean/Meta/Tactic/AC/Main.c
generated
168
stage0/stdlib/Lean/Meta/Tactic/AC/Main.c
generated
|
|
@ -20,27 +20,25 @@ lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_obj
|
|||
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___closed__1;
|
||||
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__3___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__8;
|
||||
lean_object* l_Lean_mkNatLit(lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_Lean_Meta_AC_toACExpr___spec__7(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
||||
lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof___spec__2(size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__4;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__6;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_Meta_AC_toACExpr___spec__10___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_acRflTactic___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda__1(lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__14;
|
||||
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___lambda__2___closed__3;
|
||||
static lean_object* l_Lean_Meta_AC_getInstance___closed__6;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_abstractAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Std_HashMap_get_x21___at_Lean_Meta_AC_toACExpr___spec__9___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__13;
|
||||
lean_object* l_Lean_mkApp7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_HashMap_get_x21___at_Lean_Meta_AC_toACExpr___spec__9(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_acNfTargetTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -49,7 +47,6 @@ uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
|||
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__13;
|
||||
static lean_object* l_Lean_Meta_AC_getInstance___closed__1;
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -111,7 +108,7 @@ static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1___close
|
|||
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getFVarIds(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_AC_acNfHypTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__2;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__9;
|
||||
lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_CollectFVars_visit___spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Data_AC_norm___at_Lean_Meta_AC_buildNormProof___spec__3(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*);
|
||||
|
|
@ -130,12 +127,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArra
|
|||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___lambda__2___closed__2;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__2;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__7;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___closed__1;
|
||||
lean_object* l_Lean_MVarId_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__1;
|
||||
lean_object* l_panic___rarg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___lambda__2___closed__1;
|
||||
|
|
@ -144,6 +139,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__4___boxed(
|
|||
static lean_object* l_Lean_Meta_AC_evalNf0___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_acNfTargetTactic___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_expr_eqv(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__7;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__6;
|
||||
extern lean_object* l_Lean_Meta_Simp_neutralConfig;
|
||||
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1(lean_object*);
|
||||
|
|
@ -151,10 +147,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__2___boxed(
|
|||
static lean_object* l_Lean_Meta_AC_getInstance___closed__2;
|
||||
static lean_object* l_Lean_Meta_AC_getInstance___closed__7;
|
||||
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_AC_toACExpr___spec__11(lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__1;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__1;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__4;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__5;
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__3(lean_object*);
|
||||
|
|
@ -227,17 +225,14 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_AC_toACExpr___
|
|||
static lean_object* l___regBuiltin_Lean_Meta_AC_evalNf0__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__3;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__4;
|
||||
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1___closed__1;
|
||||
lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalizedRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_AC_toACExpr___spec__5(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Data_AC_evalList___at_Lean_Meta_AC_buildNormProof___spec__6___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_toACExpr___closed__4;
|
||||
static lean_object* l_Lean_Meta_AC_preContext___closed__7;
|
||||
|
|
@ -248,7 +243,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr;
|
|||
lean_object* l_Lean_Data_AC_mergeIdem(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_acRflTactic___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__11;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__14;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__6;
|
||||
|
|
@ -259,6 +254,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof_convertTarget___boxed(lea
|
|||
static lean_object* l_Lean_Meta_AC_toACExpr___closed__3;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_preContext___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_applySimpResultToLocalDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
|
|
@ -271,16 +267,16 @@ static lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___closed_
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toPreExpr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___closed__2;
|
||||
lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_abstractAtoms_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_indentExpr(lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Meta_AC_buildNormProof___spec__7___closed__1;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__5;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___closed__2;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_preContext___closed__3;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__1;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__15;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__3;
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
|
|
@ -295,7 +291,6 @@ static lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda_
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_getInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__10;
|
||||
static lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_insertionSort_swapLoop___at_Lean_Meta_AC_toACExpr___spec__8(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toPreExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -308,7 +303,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_acRflTactic___rarg___lambda__1(lean_obje
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toACExpr(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_Meta_AC_toACExpr___spec__10(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool;
|
||||
static lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___closed__1;
|
||||
LEAN_EXPORT uint8_t l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__2(lean_object*);
|
||||
|
|
@ -316,6 +311,8 @@ size_t lean_usize_add(size_t, size_t);
|
|||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Meta_AC_toACExpr___spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_instInhabitedPreContext___closed__2;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__10;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__11;
|
||||
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instInhabitedPreContext;
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -325,6 +322,7 @@ static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__5;
|
|||
static lean_object* l_Lean_Meta_AC_buildNormProof___closed__4;
|
||||
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__2;
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda__1___boxed(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__6;
|
||||
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1___closed__5;
|
||||
|
|
@ -347,6 +345,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_acNfTargetTactic___lambda__1(lean_object
|
|||
static lean_object* l_Lean_Meta_AC_buildNormProof___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572_(lean_object*);
|
||||
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_Meta_AC_toACExpr___spec__10___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toPreExpr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -358,6 +357,7 @@ lean_object* l_Lean_Data_AC_sort(lean_object*);
|
|||
static lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_Meta_AC_toACExpr___spec__10___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__3;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__7;
|
||||
static lean_object* l_Lean_Meta_AC_getInstance___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_getInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -365,11 +365,11 @@ static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__2;
|
|||
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__1;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__5;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__3;
|
||||
static lean_object* l_Lean_Meta_AC_instInhabitedPreContext___closed__1;
|
||||
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__7;
|
||||
static lean_object* l_Lean_Meta_AC_preContext___closed__4;
|
||||
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__15;
|
||||
size_t lean_usize_land(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_post___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_AC_getInstance___closed__5;
|
||||
|
|
@ -10202,7 +10202,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -10212,27 +10212,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__1;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__1;
|
||||
x_2 = l_Lean_Meta_AC_getInstance___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__2;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__2;
|
||||
x_2 = l_Lean_Meta_AC_getInstance___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10240,17 +10240,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__3;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__4;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__3;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__4;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10258,57 +10258,57 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__5;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__6;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__5;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__6;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__8() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__7;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__7;
|
||||
x_2 = l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__9() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__8;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__8;
|
||||
x_2 = l_Lean_Meta_AC_getInstance___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__10() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__9;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__9;
|
||||
x_2 = l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__11() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__10;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__10;
|
||||
x_2 = l_Lean_Meta_AC_getInstance___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__12() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10316,17 +10316,17 @@ x_1 = lean_mk_string_unchecked("Main", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__13() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__11;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__12;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__11;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__12;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__14() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -10334,33 +10334,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__15() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__13;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__14;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__13;
|
||||
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__14;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__16() {
|
||||
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(6580u);
|
||||
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__15;
|
||||
x_2 = lean_unsigned_to_nat(6572u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Meta_AC_getInstance___closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__16;
|
||||
x_4 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__16;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -10655,39 +10655,39 @@ lean_mark_persistent(l___regBuiltin_Lean_Meta_AC_evalNf0__1___closed__3);
|
|||
if (builtin) {res = l___regBuiltin_Lean_Meta_AC_evalNf0__1(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__1 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__1);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__2 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__2);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__3 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__3);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__4 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__4);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__5 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__5);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__6 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__6);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__7 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__7);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__8 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__8);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__9 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__9);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__10 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__10);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__11 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__11);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__12 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__12);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__13 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__13);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__14 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__14);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__15 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__15);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__16 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580____closed__16);
|
||||
if (builtin) {res = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6580_(lean_io_mk_world());
|
||||
}l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__1 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__1);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__2 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__2);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__3 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__3);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__4 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__4);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__5 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__5);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__6 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__6);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__7 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__7);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__8 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__8();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__8);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__9 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__9();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__9);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__10 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__10();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__10);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__11 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__11();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__11);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__12 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__12();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__12);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__13 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__13();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__13);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__14 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__14();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__14);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__15 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__15();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__15);
|
||||
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__16 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__16();
|
||||
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572____closed__16);
|
||||
if (builtin) {res = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6572_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
308
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
308
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
|
|
@ -17,6 +17,7 @@ static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9__
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__3___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__10;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Tactic_FunInd_buildInductionBody___spec__43___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___closed__5;
|
||||
|
|
@ -67,9 +68,9 @@ static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildIn
|
|||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_WF_instInhabitedEqnInfo;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkPProdFst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__30(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*);
|
||||
|
|
@ -85,6 +86,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__2(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_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentArray_toArray___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -114,6 +116,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductio
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deduplicateIHs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__12;
|
||||
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_tell(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -128,6 +131,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_de
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__26___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__10;
|
||||
lean_object* l_Lean_Elab_Structural_RecArgInfo_pickIndicesMajor(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__3;
|
||||
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -157,18 +161,17 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*)
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_projectMutualInduct___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__3___closed__1;
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_withUserNames___at_Lean_Tactic_FunInd_buildInductionBody___spec__38(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, size_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_Tactic_FunInd_deriveInductionStructural___lambda__12___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Tactic_FunInd_buildInductionBody___spec__35___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__7___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__4(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Tactic_FunInd_buildInductionCase___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_array(lean_object*, lean_object*);
|
||||
|
|
@ -176,7 +179,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda
|
|||
static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_localMapM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__9;
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
static lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__42___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -319,6 +321,7 @@ lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_
|
|||
static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__6___closed__2;
|
||||
lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__5;
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__3;
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__14___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__12___closed__1;
|
||||
|
|
@ -326,6 +329,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__1___boxe
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_stripPProdProjs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__2;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Structural_instInhabitedRecArgInfo;
|
||||
|
|
@ -391,6 +395,7 @@ LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Tactic_FunInd_foldAndCollect___
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Structural_eqnInfoExt;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__21___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*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__29___closed__2;
|
||||
|
|
@ -432,6 +437,7 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__2(lean_ob
|
|||
lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls_go___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Tactic_FunInd_foldAndCollect___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Tactic_FunInd_foldAndCollect___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -475,9 +481,7 @@ static lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__3___closed
|
|||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__8___closed__1;
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__13___closed__2;
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static double l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__30___lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__1;
|
||||
lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mkHEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -493,15 +497,16 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda
|
|||
static lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__6___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_allHeqToEq___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_getPrefix(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__3___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__26(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_branch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExpr___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_tell___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__28(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Tactic_FunInd_abstractIndependentMVars___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___boxed__const__1;
|
||||
|
|
@ -542,7 +547,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Tactic_FunInd_cl
|
|||
LEAN_EXPORT uint8_t l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__42___lambda__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__22___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__10;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lean_Meta_MatcherApp_forallAltTelescope_x27___at_Lean_Tactic_FunInd_buildInductionBody___spec__43___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__8___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -554,6 +558,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__27(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_exec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__14___closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withErasedFVars___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__23___closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2;
|
||||
|
|
@ -576,11 +581,13 @@ static lean_object* l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___sp
|
|||
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_withLetDecls___rarg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_getConstInfoDefn___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_to_list(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__11;
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__10___closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__1;
|
||||
lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__11___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -589,7 +596,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lea
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__25___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Expr_hasLooseBVars(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -629,9 +635,9 @@ extern lean_object* l_Lean_instInhabitedExpr;
|
|||
LEAN_EXPORT lean_object* l_StateT_pure___at_Lean_Tactic_FunInd_buildInductionBody___spec__47(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__6;
|
||||
static lean_object* l_Lean_Tactic_FunInd_removeLamda___rarg___lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls_go(lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_exec(lean_object*);
|
||||
lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deduplicateIHs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -643,12 +649,12 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___rarg___lambda__1(lea
|
|||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__30___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_FVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__1;
|
||||
lean_object* l_panic___at_Lean_Expr_appFn_x21___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_StateT_bind___at_Lean_Tactic_FunInd_buildInductionCase___spec__6(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__22(lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__3___closed__3;
|
||||
|
|
@ -658,6 +664,7 @@ static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__9__
|
|||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__16___closed__3;
|
||||
lean_object* l_Array_indexOfAux___at_Lean_Meta_getElimExprInfo___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__12___closed__2;
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
|
|
@ -679,7 +686,6 @@ static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___clo
|
|||
lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_returnsPi___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Tactic_FunInd_withLetDecls___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda___at_Lean_Tactic_FunInd_buildInductionBody___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763_(lean_object*);
|
||||
extern lean_object* l_Lean_warningAsError;
|
||||
static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__4___closed__1;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___lambda__2___closed__1;
|
||||
|
|
@ -693,10 +699,8 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_branch___rarg___lambda__1(lean_o
|
|||
LEAN_EXPORT lean_object* l_StateT_lift___at_Lean_Tactic_FunInd_buildInductionBody___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_trace_profiler_threshold;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__9___closed__1;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__3___closed__4;
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__1;
|
||||
|
|
@ -713,11 +717,12 @@ static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___closed__1;
|
|||
uint8_t l_Lean_LocalDecl_isLet(lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___closed__3;
|
||||
static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___lambda__2___closed__3;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__25___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Tactic_FunInd_buildInductionCase___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__1;
|
||||
lean_object* l_Array_range(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_buildInductionBody___spec__4___lambda__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__19___lambda__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -726,6 +731,7 @@ LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Tactic_FunInd_foldAndColl
|
|||
static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__32___closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__23___closed__1;
|
||||
lean_object* l_Lean_Expr_appFn_x21(lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_withUserNames___at_Lean_Tactic_FunInd_buildInductionBody___spec__38___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___lambda__4___closed__3;
|
||||
static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__5___closed__1;
|
||||
|
|
@ -751,7 +757,6 @@ static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_F
|
|||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__31(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__5___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_localMapM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -766,7 +771,6 @@ static lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__1
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__3(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__3;
|
||||
lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Tactic_FunInd_mkLambdaFVarsMasked___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -789,15 +793,18 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Tactic_FunInd_bui
|
|||
lean_object* l_Lean_throwError___at_Lean_LMVarId_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_inheritedTraceOptions;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__11;
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__28___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Structural_IndGroupInfo_ofInductiveVal(lean_object*);
|
||||
static lean_object* l_panic___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__13___closed__1;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__7___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Tactic_FunInd_buildInductionBody___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__4;
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addTraceNode___spec__1(size_t, size_t, lean_object*);
|
||||
|
|
@ -821,6 +828,7 @@ lean_object* l_Lean_Meta_instantiateLambda___boxed(lean_object*, lean_object*, l
|
|||
static lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__5___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
double l_Float_ofScientific(lean_object*, uint8_t, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__9;
|
||||
lean_object* l_Lean_LocalDecl_userName(lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__4;
|
||||
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Tactic_FunInd_foldAndCollect___spec__14(lean_object*, lean_object*, size_t, size_t);
|
||||
|
|
@ -832,6 +840,7 @@ lean_object* lean_name_append_index_after(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__3___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__39___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionCase___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Tactic_FunInd_buildInductionBody___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -845,7 +854,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_de
|
|||
static lean_object* l_panic___at_Lean_Tactic_FunInd_foldAndCollect___spec__5___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__11;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__39___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__15___closed__3;
|
||||
|
|
@ -905,17 +913,14 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductio
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_buildInductionBody___spec__20___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_mkLambdaFVarsMasked(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__12;
|
||||
static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___closed__1;
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__13___closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__13___closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_branch___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__6;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Tactic_FunInd_buildInductionBody___spec__45___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__3___closed__1;
|
||||
|
|
@ -925,7 +930,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatcherApp_Transform_0__Lea
|
|||
static lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__11___closed__2;
|
||||
extern lean_object* l_Lean_brecOnSuffix;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_foldAndCollect___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_getConstInfo___at_Lean_Tactic_FunInd_foldAndCollect___spec__3___closed__2;
|
||||
|
|
@ -938,7 +942,6 @@ static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__12___closed__1
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Tactic_FunInd_foldAndCollect___spec__34(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__1;
|
||||
|
|
@ -973,7 +976,6 @@ static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__7___clos
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_abstractIndependentMVars___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__6;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__2;
|
||||
lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__8___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_maskArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
|
|
@ -1019,7 +1021,6 @@ LEAN_EXPORT lean_object* l_StateT_pure___at_Lean_Tactic_FunInd_buildInductionBod
|
|||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__36(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_buildInductionCase___spec__7___lambda__3___boxed(lean_object**);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_M_localM(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1071,7 +1072,6 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_bu
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_withLetDecls_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe___at_Lean_Tactic_FunInd_M_localMapM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__1;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__6;
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7___boxed(lean_object**);
|
||||
|
|
@ -1149,7 +1149,6 @@ lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_getRecArgInfo___spec__2(l
|
|||
static lean_object* l_Lean_Expr_withAppAux___at_Lean_Tactic_FunInd_unpackMutualInduction___spec__1___closed__2;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveInductionStructural___lambda__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_cleanupAfter_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__1___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__44___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1165,7 +1164,6 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_removeLamda(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Tactic_FunInd_foldAndCollect___spec__22(lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__3___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Tactic_FunInd_deriveUnaryInduction___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Tactic_FunInd_foldAndCollect___spec__30___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__8___closed__1;
|
||||
|
|
@ -1186,6 +1184,8 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanPackedArgs___lambda__2___boxe
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Tactic_FunInd_foldAndCollect___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Array_contains___at_Lean_Meta_addImplicitTargets_collect___spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Structural_Positions_groupAndSort___spec__6(lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__2;
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905_(lean_object*);
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_assertIHs___spec__1___closed__1;
|
||||
static lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__9___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1250,11 +1250,9 @@ LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__2(l
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_foldAndCollect___lambda__20___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_Expr_beta(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_cleanupAfter_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__21(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__12___closed__6;
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_maskArray___spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_buildInductionBody___spec__33(uint8_t, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Expr_mdataExpr_x21(lean_object*);
|
||||
|
|
@ -1303,14 +1301,16 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_de
|
|||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_deriveUnaryInduction___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_106_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__5___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__1___closed__1;
|
||||
static lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__2;
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__5;
|
||||
static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__3___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_isFunInductName___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_transform___at_Lean_Tactic_FunInd_buildInductionBody___spec__30___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionBody___lambda__4___boxed(lean_object**);
|
||||
static lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__1;
|
||||
static lean_object* l_Lean_Tactic_FunInd_unpackMutualInduction___lambda__6___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_buildInductionCase___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__16___at_Lean_Tactic_FunInd_deriveInductionStructural___spec__17___boxed(lean_object**);
|
||||
|
|
@ -76813,7 +76813,7 @@ lean_dec(x_1);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__1(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; lean_object* x_7;
|
||||
|
|
@ -76825,15 +76825,15 @@ lean_ctor_set(x_7, 1, x_4);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__1() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__1___boxed), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__1___boxed), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__2() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__2() {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_1; uint8_t x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5;
|
||||
|
|
@ -76858,7 +76858,7 @@ lean_ctor_set_uint8(x_5, 12, x_2);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__3() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -76866,21 +76866,21 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__3;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__3;
|
||||
x_2 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__5() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4;
|
||||
x_2 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__32___closed__3;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -76888,13 +76888,13 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__6() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__2;
|
||||
x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__5;
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__2;
|
||||
x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__5;
|
||||
x_4 = l_Lean_Tactic_FunInd_M_run___rarg___closed__1;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = 0;
|
||||
|
|
@ -76910,12 +76910,12 @@ lean_ctor_set_uint8(x_7, sizeof(void*)*6 + 1, x_6);
|
|||
return x_7;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__7() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4;
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4;
|
||||
x_3 = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
|
|
@ -76929,22 +76929,22 @@ lean_ctor_set(x_3, 8, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__8() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4;
|
||||
x_2 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
lean_ctor_set(x_2, 1, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__9() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4;
|
||||
x_2 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
lean_ctor_set(x_2, 1, x_1);
|
||||
|
|
@ -76953,13 +76953,13 @@ lean_ctor_set(x_2, 3, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__10() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__8;
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4;
|
||||
x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__9;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__8;
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4;
|
||||
x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__9;
|
||||
x_4 = lean_alloc_ctor(0, 7, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -76971,11 +76971,11 @@ lean_ctor_set(x_4, 6, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__11() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4;
|
||||
x_1 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4;
|
||||
x_2 = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
lean_ctor_set(x_2, 1, x_1);
|
||||
|
|
@ -76984,15 +76984,15 @@ lean_ctor_set(x_2, 3, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__12() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__7;
|
||||
x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__10;
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__7;
|
||||
x_3 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__10;
|
||||
x_4 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Tactic_FunInd_foldAndCollect___spec__32___closed__3;
|
||||
x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__11;
|
||||
x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__11;
|
||||
x_6 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_6, 0, x_2);
|
||||
lean_ctor_set(x_6, 1, x_3);
|
||||
|
|
@ -77002,7 +77002,7 @@ lean_ctor_set(x_6, 4, x_5);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2(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;
|
||||
|
|
@ -77016,7 +77016,7 @@ x_8 = lean_ctor_get(x_5, 1);
|
|||
x_9 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_7);
|
||||
x_10 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__1;
|
||||
x_10 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_11 = l_Lean_Tactic_FunInd_isFunInductName(x_9, x_1);
|
||||
lean_dec(x_9);
|
||||
|
|
@ -77040,14 +77040,14 @@ lean_free_object(x_5);
|
|||
x_15 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_1);
|
||||
x_16 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__12;
|
||||
x_16 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__12;
|
||||
x_17 = lean_st_mk_ref(x_16, x_8);
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
lean_inc(x_18);
|
||||
x_19 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_19);
|
||||
lean_dec(x_17);
|
||||
x_20 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__6;
|
||||
x_20 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__6;
|
||||
lean_inc(x_18);
|
||||
x_21 = l_Lean_Tactic_FunInd_deriveInduction(x_15, x_20, x_18, x_2, x_3, x_19);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
|
|
@ -77131,7 +77131,7 @@ lean_dec(x_5);
|
|||
x_40 = lean_ctor_get(x_38, 0);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_38);
|
||||
x_41 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__1;
|
||||
x_41 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__1;
|
||||
lean_inc(x_1);
|
||||
x_42 = l_Lean_Tactic_FunInd_isFunInductName(x_40, x_1);
|
||||
lean_dec(x_40);
|
||||
|
|
@ -77153,14 +77153,14 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean
|
|||
x_46 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_1);
|
||||
x_47 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__12;
|
||||
x_47 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__12;
|
||||
x_48 = lean_st_mk_ref(x_47, x_39);
|
||||
x_49 = lean_ctor_get(x_48, 0);
|
||||
lean_inc(x_49);
|
||||
x_50 = lean_ctor_get(x_48, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_48);
|
||||
x_51 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__6;
|
||||
x_51 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__6;
|
||||
lean_inc(x_49);
|
||||
x_52 = l_Lean_Tactic_FunInd_deriveInduction(x_46, x_51, x_49, x_2, x_3, x_50);
|
||||
if (lean_obj_tag(x_52) == 0)
|
||||
|
|
@ -77235,7 +77235,7 @@ return x_66;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__1() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -77243,19 +77243,19 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_isFunInductName___boxed),
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__2() {
|
||||
static lean_object* _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2), 4, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2), 4, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__1;
|
||||
x_2 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__1;
|
||||
x_3 = l_Lean_registerReservedNamePredicate(x_2, x_1);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
|
|
@ -77263,7 +77263,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
|||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__2;
|
||||
x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__2;
|
||||
x_6 = l_Lean_registerReservedNameAction(x_5, x_4);
|
||||
return x_6;
|
||||
}
|
||||
|
|
@ -77291,18 +77291,18 @@ return x_10;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__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_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__1(x_1, x_2, x_3, x_4);
|
||||
x_5 = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__1(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__1() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -77310,17 +77310,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__2() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__1;
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__3() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -77328,17 +77328,17 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__4() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__2;
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__2;
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__3;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__5() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -77346,47 +77346,47 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__6() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__4;
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__5;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__4;
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__5;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__7() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__6;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__6;
|
||||
x_2 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__8() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__7;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__7;
|
||||
x_2 = l_Lean_logAt___at_Lean_Tactic_FunInd_buildInductionBody___spec__42___lambda__2___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__9() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__8;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__8;
|
||||
x_2 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__2;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__10() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -77394,33 +77394,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__11() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__9;
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__10;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__9;
|
||||
x_2 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__10;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__12() {
|
||||
static lean_object* _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__11;
|
||||
x_2 = lean_unsigned_to_nat(16909u);
|
||||
x_1 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__11;
|
||||
x_2 = lean_unsigned_to_nat(16905u);
|
||||
x_3 = l_Lean_Name_num___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Tactic_FunInd_foldAndCollect___lambda__27___closed__3;
|
||||
x_3 = 0;
|
||||
x_4 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__12;
|
||||
x_4 = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__12;
|
||||
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -78069,62 +78069,62 @@ l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__1 = _init_l_Lean_Tact
|
|||
lean_mark_persistent(l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__1);
|
||||
l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_isFunInductName___lambda__2___closed__2);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__1);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__2);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__3();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__3);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__4);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__5 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__5();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__5);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__6 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__6();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__6);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__7 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__7();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__7);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__8 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__8();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__8);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__9 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__9();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__9);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__10 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__10();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__10);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__11 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__11();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__11);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__12 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__12();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____lambda__2___closed__12);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__1();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__1);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__2();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763____closed__2);
|
||||
if (builtin) {res = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16763_(lean_io_mk_world());
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__1();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__1);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__2();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__2);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__3 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__3();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__3);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__4);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__5 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__5();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__5);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__6 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__6();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__6);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__7 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__7();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__7);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__8 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__8();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__8);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__9 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__9();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__9);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__10 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__10();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__10);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__11 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__11();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__11);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__12 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__12();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____lambda__2___closed__12);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__1 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__1();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__1);
|
||||
l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__2 = _init_l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__2();
|
||||
lean_mark_persistent(l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759____closed__2);
|
||||
if (builtin) {res = l_Lean_Tactic_FunInd_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16759_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__1 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__1();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__1);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__2 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__2();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__2);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__3 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__3();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__3);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__4 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__4();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__4);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__5 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__5();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__5);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__6 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__6();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__6);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__7 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__7();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__7);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__8 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__8();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__8);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__9 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__9();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__9);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__10 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__10();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__10);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__11 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__11();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__11);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__12 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__12();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909____closed__12);
|
||||
if (builtin) {res = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16909_(lean_io_mk_world());
|
||||
}l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__1 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__1();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__1);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__2 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__2();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__2);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__3 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__3();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__3);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__4 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__4();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__4);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__5 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__5();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__5);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__6 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__6();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__6);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__7 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__7();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__7);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__8 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__8();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__8);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__9 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__9();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__9);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__10 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__10();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__10);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__11 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__11();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__11);
|
||||
l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__12 = _init_l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__12();
|
||||
lean_mark_persistent(l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905____closed__12);
|
||||
if (builtin) {res = l_initFn____x40_Lean_Meta_Tactic_FunInd___hyg_16905_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
}return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
1402
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c
generated
1402
stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c
generated
File diff suppressed because it is too large
Load diff
8
stage0/stdlib/Lean/Meta/Tactic/Replace.c
generated
8
stage0/stdlib/Lean/Meta/Tactic/Replace.c
generated
|
|
@ -3125,7 +3125,7 @@ x_35 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_35, 0, x_33);
|
||||
lean_ctor_set(x_35, 1, x_24);
|
||||
lean_ctor_set(x_35, 2, x_31);
|
||||
lean_ctor_set_tag(x_14, 9);
|
||||
lean_ctor_set_tag(x_14, 10);
|
||||
lean_ctor_set(x_14, 0, x_35);
|
||||
x_36 = l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1(x_14, x_7, x_8, x_9, x_10, x_34);
|
||||
x_37 = lean_ctor_get(x_36, 1);
|
||||
|
|
@ -3186,7 +3186,7 @@ x_49 = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(x_49, 0, x_47);
|
||||
lean_ctor_set(x_49, 1, x_24);
|
||||
lean_ctor_set(x_49, 2, x_45);
|
||||
x_50 = lean_alloc_ctor(9, 1, 0);
|
||||
x_50 = lean_alloc_ctor(10, 1, 0);
|
||||
lean_ctor_set(x_50, 0, x_49);
|
||||
x_51 = l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1(x_50, x_7, x_8, x_9, x_10, x_48);
|
||||
x_52 = lean_ctor_get(x_51, 1);
|
||||
|
|
@ -3279,10 +3279,10 @@ lean_ctor_set(x_72, 0, x_70);
|
|||
lean_ctor_set(x_72, 1, x_60);
|
||||
lean_ctor_set(x_72, 2, x_67);
|
||||
if (lean_is_scalar(x_68)) {
|
||||
x_73 = lean_alloc_ctor(9, 1, 0);
|
||||
x_73 = lean_alloc_ctor(10, 1, 0);
|
||||
} else {
|
||||
x_73 = x_68;
|
||||
lean_ctor_set_tag(x_73, 9);
|
||||
lean_ctor_set_tag(x_73, 10);
|
||||
}
|
||||
lean_ctor_set(x_73, 0, x_72);
|
||||
x_74 = l_Lean_Elab_pushInfoLeaf___at_Lean_MVarId_withReverted___spec__1(x_73, x_7, x_8, x_9, x_10, x_71);
|
||||
|
|
|
|||
104
stage0/stdlib/Lean/Meta/Tactic/TryThis.c
generated
104
stage0/stdlib/Lean/Meta/Tactic/TryThis.c
generated
|
|
@ -18,7 +18,6 @@ static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed_
|
|||
static uint8_t l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__18;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__5;
|
||||
lean_object* l_Lean_FileMap_utf8RangeToLspRange(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__10;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_instInhabitedSuggestion___closed__1;
|
||||
|
|
@ -49,7 +48,6 @@ lean_object* l_Lean_Json_mkObj(lean_object*);
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__10;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__7;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -61,6 +59,7 @@ lean_object* l_Lean_PrettyPrinter_delab(lean_object*, lean_object*, lean_object*
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisWidget;
|
||||
lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__2;
|
||||
static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addTermSuggestion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__1___closed__1;
|
||||
|
|
@ -167,7 +166,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addTermSuggestions___boxed(l
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__20;
|
||||
uint8_t l_instDecidableNot___rarg(uint8_t);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___lambda__1___boxed(lean_object*);
|
||||
lean_object* lean_st_ref_take(lean_object*, lean_object*);
|
||||
lean_object* l_String_findLineStart(lean_object*, lean_object*);
|
||||
|
|
@ -211,12 +209,14 @@ static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__71;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__54;
|
||||
extern lean_object* l_Lean_instToJsonJson;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__5;
|
||||
static double l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__43;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instToMessageDataSuggestionText(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionText_prettyExtra___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__9;
|
||||
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__6;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__23;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__9;
|
||||
|
|
@ -245,7 +245,6 @@ double pow(double, double);
|
|||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__18;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__7;
|
||||
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__2___closed__1;
|
||||
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
|
||||
|
|
@ -310,6 +309,7 @@ static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__32;
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__11;
|
||||
static lean_object* l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1___closed__3;
|
||||
static lean_object* l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__3;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -323,9 +323,9 @@ lean_object* l_Lean_Widget_savePanelWidgetInfo(uint64_t, lean_object*, lean_obje
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__19;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586_(lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instToMessageDataSuggestion(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_success___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -408,6 +408,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_instCoeHeadTSyntaxConsSyntax
|
|||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
size_t lean_array_size(lean_object*);
|
||||
double round(double);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__7;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__17;
|
||||
static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__5;
|
||||
|
|
@ -445,7 +447,6 @@ lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_D
|
|||
lean_object* l_Lean_MessageData_bracket(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__53;
|
||||
uint8_t l_Lean_Expr_isConst(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__6;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__3;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__24;
|
||||
|
|
@ -455,6 +456,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_ad
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8;
|
||||
lean_object* l_String_toSubstring_x27(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__4;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_Suggestion_toJsonAndInfoM___lambda__3___closed__1;
|
||||
|
|
@ -463,9 +465,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Meta_Tactic_TryThi
|
|||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_warning___closed__1;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__15;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_addExactSuggestions___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584_(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___closed__3;
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_value___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__17;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1168,7 +1168,7 @@ return x_16;
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_tryThisProvider___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_4) == 8)
|
||||
if (lean_obj_tag(x_4) == 9)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
|
|
@ -1726,7 +1726,7 @@ lean_dec(x_7);
|
|||
return x_12;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__1() {
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1734,7 +1734,7 @@ x_1 = lean_mk_string_unchecked("format", 6, 6);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__2() {
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1742,17 +1742,17 @@ x_1 = lean_mk_string_unchecked("inputWidth", 10, 10);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__3() {
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__1;
|
||||
x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__2;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__1;
|
||||
x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__2;
|
||||
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4() {
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1760,7 +1760,7 @@ x_1 = lean_mk_string_unchecked("", 0, 0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__5() {
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1768,13 +1768,13 @@ x_1 = lean_mk_string_unchecked("ideal input width", 17, 17);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__6() {
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = lean_unsigned_to_nat(100u);
|
||||
x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_3 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__5;
|
||||
x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_3 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__5;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
|
|
@ -1782,7 +1782,7 @@ lean_ctor_set(x_4, 2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__7() {
|
||||
static lean_object* _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__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_7;
|
||||
|
|
@ -1790,19 +1790,19 @@ x_1 = l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1___closed__1;
|
|||
x_2 = l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1___closed__2;
|
||||
x_3 = l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1___closed__3;
|
||||
x_4 = l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1___closed__4;
|
||||
x_5 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__1;
|
||||
x_6 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__2;
|
||||
x_5 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__1;
|
||||
x_6 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__2;
|
||||
x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__3;
|
||||
x_3 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__6;
|
||||
x_4 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__7;
|
||||
x_2 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__3;
|
||||
x_3 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__6;
|
||||
x_4 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__7;
|
||||
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_5____spec__1(x_2, x_3, x_4, x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -3854,10 +3854,10 @@ x_38 = lean_alloc_ctor(0, 2, 0);
|
|||
lean_ctor_set(x_38, 0, x_37);
|
||||
lean_ctor_set(x_38, 1, x_19);
|
||||
if (lean_is_scalar(x_17)) {
|
||||
x_39 = lean_alloc_ctor(8, 1, 0);
|
||||
x_39 = lean_alloc_ctor(9, 1, 0);
|
||||
} else {
|
||||
x_39 = x_17;
|
||||
lean_ctor_set_tag(x_39, 8);
|
||||
lean_ctor_set_tag(x_39, 9);
|
||||
}
|
||||
lean_ctor_set(x_39, 0, x_38);
|
||||
x_40 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_realizeGlobalConstNoOverloadWithInfo___spec__3(x_39, x_8, x_9, x_27);
|
||||
|
|
@ -4137,10 +4137,10 @@ x_140 = lean_alloc_ctor(0, 2, 0);
|
|||
lean_ctor_set(x_140, 0, x_139);
|
||||
lean_ctor_set(x_140, 1, x_136);
|
||||
if (lean_is_scalar(x_17)) {
|
||||
x_141 = lean_alloc_ctor(8, 1, 0);
|
||||
x_141 = lean_alloc_ctor(9, 1, 0);
|
||||
} else {
|
||||
x_141 = x_17;
|
||||
lean_ctor_set_tag(x_141, 8);
|
||||
lean_ctor_set_tag(x_141, 9);
|
||||
}
|
||||
lean_ctor_set(x_141, 0, x_140);
|
||||
x_142 = l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_realizeGlobalConstNoOverloadWithInfo___spec__3(x_141, x_8, x_9, x_128);
|
||||
|
|
@ -4333,7 +4333,7 @@ static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addSuggestion___closed__1()
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_2 = l_Lean_stringToMessageData(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -6395,7 +6395,7 @@ static lean_object* _init_l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed_
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_2 = l_String_toSubstring_x27(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -8200,7 +8200,7 @@ static lean_object* _init_l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRew
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_1 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_2 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
|
|
@ -8685,7 +8685,7 @@ lean_ctor_set(x_24, 1, x_23);
|
|||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
x_25 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_25 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_26 = lean_box(0);
|
||||
x_27 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__1(x_6, x_2, x_3, x_25, x_24, x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_10);
|
||||
|
|
@ -8729,7 +8729,7 @@ x_39 = lean_format_pretty(x_35, x_37, x_38, x_38);
|
|||
x_40 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8;
|
||||
x_41 = lean_string_append(x_40, x_39);
|
||||
lean_dec(x_39);
|
||||
x_42 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_42 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_43 = lean_string_append(x_41, x_42);
|
||||
x_44 = lean_string_append(x_42, x_43);
|
||||
lean_dec(x_43);
|
||||
|
|
@ -8794,7 +8794,7 @@ lean_ctor_set(x_59, 1, x_58);
|
|||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_60; lean_object* x_61; lean_object* x_62;
|
||||
x_60 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_60 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_61 = lean_box(0);
|
||||
x_62 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__1(x_6, x_2, x_3, x_60, x_59, x_61, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
|
||||
lean_dec(x_10);
|
||||
|
|
@ -8838,7 +8838,7 @@ x_74 = lean_format_pretty(x_70, x_72, x_73, x_73);
|
|||
x_75 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__8;
|
||||
x_76 = lean_string_append(x_75, x_74);
|
||||
lean_dec(x_74);
|
||||
x_77 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4;
|
||||
x_77 = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4;
|
||||
x_78 = lean_string_append(x_76, x_77);
|
||||
x_79 = lean_string_append(x_77, x_78);
|
||||
lean_dec(x_78);
|
||||
|
|
@ -9497,21 +9497,21 @@ l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___closed__4 = _init_l_Lean_Met
|
|||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___closed__4);
|
||||
l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___closed__5 = _init_l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_delabToRefinableSyntax___closed__5);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__1 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__1);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__2 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__2);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__3 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__3);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__4);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__5 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__5);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__6 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__6);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__7 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584____closed__7);
|
||||
res = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_584_(lean_io_mk_world());
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__1 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__1);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__2 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__2);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__3 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__3();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__3);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__4);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__5 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__5();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__5);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__6 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__6();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__6);
|
||||
l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__7 = _init_l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__7();
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586____closed__7);
|
||||
res = l_Lean_Meta_Tactic_TryThis_initFn____x40_Lean_Meta_Tactic_TryThis___hyg_586_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Meta_Tactic_TryThis_format_inputWidth = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Meta_Tactic_TryThis_format_inputWidth);
|
||||
|
|
|
|||
681
stage0/stdlib/Lean/Parser/Command.c
generated
681
stage0/stdlib/Lean/Parser/Command.c
generated
File diff suppressed because it is too large
Load diff
1486
stage0/stdlib/Lean/Parser/Term.c
generated
1486
stage0/stdlib/Lean/Parser/Term.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -6591,7 +6591,7 @@ lean_inc(x_14);
|
|||
x_15 = lean_ctor_get(x_13, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_13);
|
||||
x_16 = lean_alloc_ctor(5, 1, 0);
|
||||
x_16 = lean_alloc_ctor(6, 1, 0);
|
||||
lean_ctor_set(x_16, 0, x_14);
|
||||
x_17 = lean_st_ref_take(x_7, x_15);
|
||||
x_18 = lean_ctor_get(x_17, 0);
|
||||
|
|
@ -7868,7 +7868,7 @@ lean_inc(x_13);
|
|||
x_14 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_12);
|
||||
x_15 = lean_alloc_ctor(11, 1, 0);
|
||||
x_15 = lean_alloc_ctor(12, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_13);
|
||||
x_16 = lean_st_ref_take(x_6, x_14);
|
||||
x_17 = lean_ctor_get(x_16, 0);
|
||||
|
|
|
|||
1622
stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c
generated
1622
stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Server/CodeActions/Provider.c
generated
4
stage0/stdlib/Lean/Server/CodeActions/Provider.c
generated
|
|
@ -4388,7 +4388,7 @@ return x_48;
|
|||
}
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
case 3:
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_49 = lean_ctor_get(x_21, 0);
|
||||
|
|
@ -4689,7 +4689,7 @@ if (lean_obj_tag(x_4) == 1)
|
|||
lean_object* x_6;
|
||||
x_6 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_6);
|
||||
if (lean_obj_tag(x_6) == 2)
|
||||
if (lean_obj_tag(x_6) == 3)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10;
|
||||
x_7 = lean_ctor_get(x_6, 0);
|
||||
|
|
|
|||
39168
stage0/stdlib/Lean/Server/Completion.c
generated
39168
stage0/stdlib/Lean/Server/Completion.c
generated
File diff suppressed because it is too large
Load diff
23164
stage0/stdlib/Lean/Server/Completion/CompletionCollectors.c
generated
Normal file
23164
stage0/stdlib/Lean/Server/Completion/CompletionCollectors.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2962
stage0/stdlib/Lean/Server/Completion/CompletionInfoSelection.c
generated
Normal file
2962
stage0/stdlib/Lean/Server/Completion/CompletionInfoSelection.c
generated
Normal file
File diff suppressed because it is too large
Load diff
528
stage0/stdlib/Lean/Server/Completion/CompletionItemData.c
generated
Normal file
528
stage0/stdlib/Lean/Server/Completion/CompletionItemData.c
generated
Normal file
|
|
@ -0,0 +1,528 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Server.Completion.CompletionItemData
|
||||
// Imports: Lean.Server.FileSource
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3049_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3;
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCompletionItem;
|
||||
static lean_object* l_Lean_Lsp_instFileSourceCompletionItem___closed__1;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____lambda__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__6;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_173____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2943_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82____closed__1;
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instToJsonCompletionItemData___closed__1;
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__12;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__13;
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4;
|
||||
extern lean_object* l_String_instInhabited;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__7;
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__14;
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__8;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__11;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemData___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemData;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__3;
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemData;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__2;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__9;
|
||||
static lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2943_(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
x_2 = 0;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("params", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lsp", 3, 3);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("CompletionItemData", 18, 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__2;
|
||||
x_2 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__3;
|
||||
x_3 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__4;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____lambda__1___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__5;
|
||||
x_2 = 1;
|
||||
x_3 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__6;
|
||||
x_4 = l_Lean_Name_toString(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(".", 1, 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__7;
|
||||
x_2 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__8;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__10;
|
||||
x_2 = 1;
|
||||
x_3 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__6;
|
||||
x_4 = l_Lean_Name_toString(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__9;
|
||||
x_2 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__11;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(": ", 2, 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__12;
|
||||
x_2 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__13;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__14;
|
||||
x_7 = lean_string_append(x_6, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_3, 0, x_7);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_8 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_3);
|
||||
x_9 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__14;
|
||||
x_10 = lean_string_append(x_9, x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = !lean_is_exclusive(x_3);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_3);
|
||||
x_14 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____lambda__1___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____lambda__1(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemData___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemData() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Lsp_instFromJsonCompletionItemData___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = lean_array_mk(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3049_(x_1);
|
||||
x_3 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1;
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
x_5 = lean_box(0);
|
||||
x_6 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_4);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
x_7 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
x_8 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82____closed__1;
|
||||
x_9 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_173____spec__1(x_7, x_8);
|
||||
x_10 = l_Lean_Json_mkObj(x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemData___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemData() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Lsp_instToJsonCompletionItemData___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_String_instInhabited;
|
||||
x_3 = lean_panic_fn(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("no data param on completion item ", 33, 33);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("", 0, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean.Server.Completion.CompletionItemData", 41, 41);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean.Lsp.CompletionItem.getFileSource!", 38, 38);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_ctor_get(x_1, 6);
|
||||
lean_inc(x_2);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1;
|
||||
x_5 = lean_string_append(x_4, x_3);
|
||||
lean_dec(x_3);
|
||||
x_6 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2;
|
||||
x_7 = lean_string_append(x_5, x_6);
|
||||
x_8 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3;
|
||||
x_9 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4;
|
||||
x_10 = lean_unsigned_to_nat(34u);
|
||||
x_11 = lean_unsigned_to_nat(22u);
|
||||
x_12 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_8, x_9, x_10, x_11, x_7);
|
||||
lean_dec(x_7);
|
||||
x_13 = l_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(x_12);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_1);
|
||||
x_14 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_2);
|
||||
x_15 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15_(x_14);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_15);
|
||||
x_17 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3;
|
||||
x_18 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4;
|
||||
x_19 = lean_unsigned_to_nat(34u);
|
||||
x_20 = lean_unsigned_to_nat(22u);
|
||||
x_21 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_17, x_18, x_19, x_20, x_16);
|
||||
lean_dec(x_16);
|
||||
x_22 = l_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(x_21);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
x_23 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_15);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_23);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFileSourceCompletionItem___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_CompletionItem_getFileSource_x21), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFileSourceCompletionItem() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Lsp_instFileSourceCompletionItem___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Server_FileSource(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_Completion_CompletionItemData(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Lean_Server_FileSource(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__1);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__2 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__2);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__3 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__3);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__4 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__4);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__5 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__5);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__6 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__6);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__7 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__7);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__8 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__8);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__9 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__9);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__10 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__10);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__11 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__11);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__12 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__12);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__13 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__13);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__14 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_15____closed__14);
|
||||
l_Lean_Lsp_instFromJsonCompletionItemData___closed__1 = _init_l_Lean_Lsp_instFromJsonCompletionItemData___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemData___closed__1);
|
||||
l_Lean_Lsp_instFromJsonCompletionItemData = _init_l_Lean_Lsp_instFromJsonCompletionItemData();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemData);
|
||||
l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82____closed__1 = _init_l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82____closed__1);
|
||||
l_Lean_Lsp_instToJsonCompletionItemData___closed__1 = _init_l_Lean_Lsp_instToJsonCompletionItemData___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemData___closed__1);
|
||||
l_Lean_Lsp_instToJsonCompletionItemData = _init_l_Lean_Lsp_instToJsonCompletionItemData();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemData);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4);
|
||||
l_Lean_Lsp_instFileSourceCompletionItem___closed__1 = _init_l_Lean_Lsp_instFileSourceCompletionItem___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFileSourceCompletionItem___closed__1);
|
||||
l_Lean_Lsp_instFileSourceCompletionItem = _init_l_Lean_Lsp_instFileSourceCompletionItem();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFileSourceCompletionItem);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
2352
stage0/stdlib/Lean/Server/Completion/CompletionResolution.c
generated
Normal file
2352
stage0/stdlib/Lean/Server/Completion/CompletionResolution.c
generated
Normal file
File diff suppressed because it is too large
Load diff
33
stage0/stdlib/Lean/Server/Completion/CompletionUtils.c
generated
Normal file
33
stage0/stdlib/Lean/Server/Completion/CompletionUtils.c
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Server.Completion.CompletionUtils
|
||||
// Imports: Init.Prelude Lean.Elab.InfoTree.Types
|
||||
#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_Prelude(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Elab_InfoTree_Types(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_Completion_CompletionUtils(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Prelude(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_InfoTree_Types(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
1205
stage0/stdlib/Lean/Server/Completion/EligibleHeaderDecls.c
generated
Normal file
1205
stage0/stdlib/Lean/Server/Completion/EligibleHeaderDecls.c
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Server.ImportCompletion
|
||||
// Imports: Lean.Data.Name Lean.Data.NameTrie Lean.Data.Lsp.Utf16 Lean.Data.Lsp.LanguageFeatures Lean.Util.Paths Lean.Util.LakePath Lean.Server.CompletionItemData
|
||||
// Module: Lean.Server.Completion.ImportCompletion
|
||||
// Imports: Lean.Data.NameTrie Lean.Util.Paths Lean.Util.LakePath Lean.Server.Completion.CompletionItemData
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -20,6 +20,7 @@ lean_object* l_Lean_initSrcSearchPath(lean_object*, lean_object*);
|
|||
static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__5;
|
||||
lean_object* l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_computePartialImportCompletions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_NameTrie_toArray___rarg(lean_object*);
|
||||
|
|
@ -56,6 +57,7 @@ lean_object* lean_io_process_child_wait(lean_object*, lean_object*, lean_object*
|
|||
static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__3;
|
||||
static lean_object* l_Array_forIn_x27Unsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2487____spec__1(lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*);
|
||||
static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__6;
|
||||
|
|
@ -98,7 +100,6 @@ LEAN_EXPORT lean_object* l_ImportCompletion_determinePartialHeaderCompletions___
|
|||
static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__4;
|
||||
static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__5;
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3;
|
||||
lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_ImportCompletion_computePartialImportCompletions(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_ImportCompletion_computePartialImportCompletions___spec__3___lambda__1(lean_object*);
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
|
|
@ -133,7 +134,6 @@ lean_object* lean_array_mk(lean_object*);
|
|||
static lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___closed__1;
|
||||
uint8_t l_Substring_beq(lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419____spec__3(lean_object*, lean_object*);
|
||||
static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__2;
|
||||
lean_object* l_Lean_NameTrie_matchingToArray___rarg(lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
|
|
@ -2248,7 +2248,7 @@ x_29 = lean_ctor_get(x_24, 0);
|
|||
lean_dec(x_29);
|
||||
x_30 = l_System_FilePath_extension(x_23);
|
||||
x_31 = l_Array_forIn_x27Unsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___closed__2;
|
||||
x_32 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419____spec__3(x_30, x_31);
|
||||
x_32 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2487____spec__1(x_30, x_31);
|
||||
lean_dec(x_30);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
|
|
@ -2342,7 +2342,7 @@ lean_inc(x_52);
|
|||
lean_dec(x_24);
|
||||
x_53 = l_System_FilePath_extension(x_23);
|
||||
x_54 = l_Array_forIn_x27Unsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___closed__2;
|
||||
x_55 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419____spec__3(x_53, x_54);
|
||||
x_55 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2487____spec__1(x_53, x_54);
|
||||
lean_dec(x_53);
|
||||
if (x_55 == 0)
|
||||
{
|
||||
|
|
@ -3178,7 +3178,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_1
|
|||
x_10 = lean_ctor_get(x_6, 6);
|
||||
lean_dec(x_10);
|
||||
lean_inc(x_1);
|
||||
x_11 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82_(x_1);
|
||||
x_11 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82_(x_1);
|
||||
x_12 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_6, 6, x_12);
|
||||
|
|
@ -3208,7 +3208,7 @@ lean_inc(x_18);
|
|||
lean_inc(x_17);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_1);
|
||||
x_24 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82_(x_1);
|
||||
x_24 = l___private_Lean_Server_Completion_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_Completion_CompletionItemData___hyg_82_(x_1);
|
||||
x_25 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_25, 0, x_24);
|
||||
x_26 = lean_alloc_ctor(0, 8, 0);
|
||||
|
|
@ -3530,37 +3530,25 @@ lean_dec(x_1);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Data_Name(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_NameTrie(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Lsp_Utf16(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Util_Paths(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Util_LakePath(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Server_CompletionItemData(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Server_Completion_CompletionItemData(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_ImportCompletion(uint8_t builtin, lean_object* w) {
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_Completion_ImportCompletion(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Lean_Data_Name(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_NameTrie(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_Lsp_Utf16(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Data_Lsp_LanguageFeatures(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Util_Paths(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Util_LakePath(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Server_CompletionItemData(builtin, lean_io_mk_world());
|
||||
res = initialize_Lean_Server_Completion_CompletionItemData(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_ImportCompletion_AvailableImports_toImportTrie___closed__1 = _init_l_ImportCompletion_AvailableImports_toImportTrie___closed__1();
|
||||
5561
stage0/stdlib/Lean/Server/Completion/SyntheticCompletion.c
generated
Normal file
5561
stage0/stdlib/Lean/Server/Completion/SyntheticCompletion.c
generated
Normal file
File diff suppressed because it is too large
Load diff
528
stage0/stdlib/Lean/Server/CompletionItemData.c
generated
528
stage0/stdlib/Lean/Server/CompletionItemData.c
generated
|
|
@ -1,528 +0,0 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Server.CompletionItemData
|
||||
// Imports: Lean.Server.FileSource
|
||||
#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_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3;
|
||||
lean_object* l_Lean_Json_mkObj(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCompletionItem;
|
||||
static lean_object* l_Lean_Lsp_instFileSourceCompletionItem___closed__1;
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____lambda__1___boxed(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__12;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__10;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__13;
|
||||
lean_object* l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_173____spec__1(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____spec__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__3;
|
||||
static lean_object* l_Lean_Lsp_instToJsonCompletionItemData___closed__1;
|
||||
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__6;
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____spec__1___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82____closed__1;
|
||||
extern lean_object* l_String_instInhabited;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1;
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2476_(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__5;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82_(lean_object*);
|
||||
static lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15_(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__8;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__7;
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemData___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemData;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____lambda__1(lean_object*);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemData;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__2;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__11;
|
||||
static lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__4;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2370_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____spec__1(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2370_(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____lambda__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
x_2 = 0;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("params", 6, 6);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lsp", 3, 3);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("CompletionItemData", 18, 18);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__2;
|
||||
x_2 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__3;
|
||||
x_3 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__4;
|
||||
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____lambda__1___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__5;
|
||||
x_2 = 1;
|
||||
x_3 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__6;
|
||||
x_4 = l_Lean_Name_toString(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(".", 1, 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__7;
|
||||
x_2 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__8;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1;
|
||||
x_3 = l_Lean_Name_str___override(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__10;
|
||||
x_2 = 1;
|
||||
x_3 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__6;
|
||||
x_4 = l_Lean_Name_toString(x_1, x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__9;
|
||||
x_2 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__11;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked(": ", 2, 2);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__12;
|
||||
x_2 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__13;
|
||||
x_3 = lean_string_append(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____spec__1(x_1, x_2);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__14;
|
||||
x_7 = lean_string_append(x_6, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_3, 0, x_7);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
x_8 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_3);
|
||||
x_9 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__14;
|
||||
x_10 = lean_string_append(x_9, x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_11, 0, x_10);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = !lean_is_exclusive(x_3);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
x_13 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_3);
|
||||
x_14 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_14, 0, x_13);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____spec__1(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____lambda__1___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____lambda__1(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemData___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemData() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Lsp_instFromJsonCompletionItemData___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82____closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = lean_array_mk(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2476_(x_1);
|
||||
x_3 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1;
|
||||
x_4 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
x_5 = lean_box(0);
|
||||
x_6 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_4);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
x_7 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_5);
|
||||
x_8 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82____closed__1;
|
||||
x_9 = l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_173____spec__1(x_7, x_8);
|
||||
x_10 = l_Lean_Json_mkObj(x_9);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemData___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82_), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemData() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Lsp_instToJsonCompletionItemData___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_String_instInhabited;
|
||||
x_3 = lean_panic_fn(x_2, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("no data param on completion item ", 33, 33);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("", 0, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean.Server.CompletionItemData", 30, 30);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("Lean.Lsp.CompletionItem.getFileSource!", 38, 38);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItem_getFileSource_x21(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_ctor_get(x_1, 6);
|
||||
lean_inc(x_2);
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec(x_1);
|
||||
x_4 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1;
|
||||
x_5 = lean_string_append(x_4, x_3);
|
||||
lean_dec(x_3);
|
||||
x_6 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2;
|
||||
x_7 = lean_string_append(x_5, x_6);
|
||||
x_8 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3;
|
||||
x_9 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4;
|
||||
x_10 = lean_unsigned_to_nat(34u);
|
||||
x_11 = lean_unsigned_to_nat(22u);
|
||||
x_12 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_8, x_9, x_10, x_11, x_7);
|
||||
lean_dec(x_7);
|
||||
x_13 = l_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(x_12);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_1);
|
||||
x_14 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_2);
|
||||
x_15 = l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15_(x_14);
|
||||
if (lean_obj_tag(x_15) == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_15);
|
||||
x_17 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3;
|
||||
x_18 = l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4;
|
||||
x_19 = lean_unsigned_to_nat(34u);
|
||||
x_20 = lean_unsigned_to_nat(22u);
|
||||
x_21 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_17, x_18, x_19, x_20, x_16);
|
||||
lean_dec(x_16);
|
||||
x_22 = l_panic___at_Lean_Lsp_CompletionItem_getFileSource_x21___spec__1(x_21);
|
||||
return x_22;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24;
|
||||
x_23 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_15);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_23);
|
||||
return x_24;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFileSourceCompletionItem___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_CompletionItem_getFileSource_x21), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Lsp_instFileSourceCompletionItem() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Lsp_instFileSourceCompletionItem___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Server_FileSource(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_CompletionItemData(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Lean_Server_FileSource(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__1);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__2 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__2();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__2);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__3 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__3();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__3);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__4 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__4();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__4);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__5 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__5();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__5);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__6 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__6();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__6);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__7 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__7();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__7);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__8 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__8();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__8);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__9 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__9();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__9);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__10 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__10();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__10);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__11 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__11();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__11);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__12 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__12();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__12);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__13 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__13();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__13);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__14 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__14();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_fromJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_15____closed__14);
|
||||
l_Lean_Lsp_instFromJsonCompletionItemData___closed__1 = _init_l_Lean_Lsp_instFromJsonCompletionItemData___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemData___closed__1);
|
||||
l_Lean_Lsp_instFromJsonCompletionItemData = _init_l_Lean_Lsp_instFromJsonCompletionItemData();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemData);
|
||||
l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82____closed__1 = _init_l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82____closed__1();
|
||||
lean_mark_persistent(l___private_Lean_Server_CompletionItemData_0__Lean_Lsp_toJsonCompletionItemData____x40_Lean_Server_CompletionItemData___hyg_82____closed__1);
|
||||
l_Lean_Lsp_instToJsonCompletionItemData___closed__1 = _init_l_Lean_Lsp_instToJsonCompletionItemData___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemData___closed__1);
|
||||
l_Lean_Lsp_instToJsonCompletionItemData = _init_l_Lean_Lsp_instToJsonCompletionItemData();
|
||||
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemData);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__1);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__2);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__3);
|
||||
l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4 = _init_l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4();
|
||||
lean_mark_persistent(l_Lean_Lsp_CompletionItem_getFileSource_x21___closed__4);
|
||||
l_Lean_Lsp_instFileSourceCompletionItem___closed__1 = _init_l_Lean_Lsp_instFileSourceCompletionItem___closed__1();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFileSourceCompletionItem___closed__1);
|
||||
l_Lean_Lsp_instFileSourceCompletionItem = _init_l_Lean_Lsp_instFileSourceCompletionItem();
|
||||
lean_mark_persistent(l_Lean_Lsp_instFileSourceCompletionItem);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
24
stage0/stdlib/Lean/Server/FileWorker.c
generated
24
stage0/stdlib/Lean/Server/FileWorker.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Server.FileWorker
|
||||
// Imports: Init.System.IO Init.Data.Channel Lean.Data.RBMap Lean.Environment Lean.Data.Lsp Lean.Data.Json.FromToJson Lean.Util.FileSetupInfo Lean.LoadDynlib Lean.Language.Lean Lean.Server.Utils Lean.Server.AsyncList Lean.Server.References Lean.Server.FileWorker.Utils Lean.Server.FileWorker.RequestHandling Lean.Server.FileWorker.WidgetRequests Lean.Server.FileWorker.SetupFile Lean.Server.Rpc.Basic Lean.Widget.InteractiveDiagnostic Lean.Server.ImportCompletion
|
||||
// Imports: Init.System.IO Init.Data.Channel Lean.Data.RBMap Lean.Environment Lean.Data.Lsp Lean.Data.Json.FromToJson Lean.Util.FileSetupInfo Lean.LoadDynlib Lean.Language.Lean Lean.Server.Utils Lean.Server.AsyncList Lean.Server.References Lean.Server.FileWorker.Utils Lean.Server.FileWorker.RequestHandling Lean.Server.FileWorker.WidgetRequests Lean.Server.FileWorker.SetupFile Lean.Server.Rpc.Basic Lean.Widget.InteractiveDiagnostic Lean.Server.Completion.ImportCompletion
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -89,6 +89,7 @@ static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean
|
|||
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_RBNode_isRed___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_mainLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2879_(lean_object*);
|
||||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_instInhabitedReportSnapshotsState___closed__1;
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__55;
|
||||
|
|
@ -104,7 +105,6 @@ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_ini
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleNotification(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static uint8_t l_Lean_Server_FileWorker_handleDidChange___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2306_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker_mkLspOutputChannel(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__21;
|
||||
|
|
@ -140,6 +140,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileW
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_handleGetInteractiveDiagnosticsRequest___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*);
|
||||
lean_object* l_Lean_RBNode_balRight___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_promise_result(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2943_(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__37;
|
||||
lean_object* l_Prod_map___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -150,7 +151,6 @@ LEAN_EXPORT lean_object* lean_server_worker_main(lean_object*, lean_object*);
|
|||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__23;
|
||||
static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_reportSnapshots___lambda__6___closed__1;
|
||||
static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_FileWorker_runRefreshTask___spec__3___closed__1;
|
||||
lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1450_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker_getImportClosure_x3f(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__64;
|
||||
|
|
@ -424,6 +424,7 @@ static lean_object* l_Lean_Server_FileWorker_sendServerRequest___rarg___closed__
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___lambda__7(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleRequest___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1452_(lean_object*);
|
||||
lean_object* l_Lean_Server_foldDocumentChanges(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1850____at_Lean_Server_FileWorker_handleRequest___spec__4___closed__1;
|
||||
static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__5;
|
||||
|
|
@ -565,7 +566,6 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializePar
|
|||
lean_object* l_Lean_Server_maybeTee(lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupImports___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1850____at_Lean_Server_FileWorker_handleRequest___spec__4___closed__11;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2370_(lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_initAndRunWorker_writeErrorDiag___closed__1;
|
||||
lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoUpdateNotification___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -14827,7 +14827,7 @@ x_14 = l_ImportCompletion_find(x_2, x_13, x_3, x_6);
|
|||
x_15 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_4);
|
||||
x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2306_(x_14);
|
||||
x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2879_(x_14);
|
||||
lean_ctor_set_tag(x_8, 2);
|
||||
lean_ctor_set(x_8, 1, x_16);
|
||||
lean_ctor_set(x_8, 0, x_5);
|
||||
|
|
@ -14873,7 +14873,7 @@ x_28 = l_ImportCompletion_find(x_2, x_27, x_3, x_6);
|
|||
x_29 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_4);
|
||||
x_30 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2306_(x_28);
|
||||
x_30 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2879_(x_28);
|
||||
x_31 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_5);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
|
|
@ -14912,7 +14912,7 @@ x_13 = l_ImportCompletion_find(x_2, x_12, x_3, x_7);
|
|||
x_14 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_14);
|
||||
lean_dec(x_4);
|
||||
x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2306_(x_13);
|
||||
x_15 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2879_(x_13);
|
||||
x_16 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_5);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
|
|
@ -15282,7 +15282,7 @@ _start:
|
|||
{
|
||||
lean_object* x_5;
|
||||
lean_inc(x_1);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2370_(x_1);
|
||||
x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2943_(x_1);
|
||||
if (lean_obj_tag(x_5) == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
|
|
@ -17025,7 +17025,7 @@ x_85 = lean_ctor_get(x_70, 0);
|
|||
x_86 = lean_ctor_get(x_62, 2);
|
||||
lean_inc(x_86);
|
||||
lean_dec(x_62);
|
||||
x_87 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1450_(x_86);
|
||||
x_87 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1452_(x_86);
|
||||
x_88 = l_IO_ofExcept___at_Lean_Server_FileWorker_handleRequest___spec__3(x_87, x_63);
|
||||
if (lean_obj_tag(x_88) == 0)
|
||||
{
|
||||
|
|
@ -17199,7 +17199,7 @@ lean_dec(x_70);
|
|||
x_144 = lean_ctor_get(x_62, 2);
|
||||
lean_inc(x_144);
|
||||
lean_dec(x_62);
|
||||
x_145 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1450_(x_144);
|
||||
x_145 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1452_(x_144);
|
||||
x_146 = l_IO_ofExcept___at_Lean_Server_FileWorker_handleRequest___spec__3(x_145, x_63);
|
||||
if (lean_obj_tag(x_146) == 0)
|
||||
{
|
||||
|
|
@ -28081,7 +28081,7 @@ lean_object* initialize_Lean_Server_FileWorker_WidgetRequests(uint8_t builtin, l
|
|||
lean_object* initialize_Lean_Server_FileWorker_SetupFile(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Server_Rpc_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Widget_InteractiveDiagnostic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Server_ImportCompletion(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Server_Completion_ImportCompletion(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_FileWorker(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -28141,7 +28141,7 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Widget_InteractiveDiagnostic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Server_ImportCompletion(builtin, lean_io_mk_world());
|
||||
res = initialize_Lean_Server_Completion_ImportCompletion(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoUpdateNotification___closed__1 = _init_l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_mkIleanInfoUpdateNotification___closed__1();
|
||||
|
|
|
|||
2866
stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c
generated
2866
stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c
generated
File diff suppressed because it is too large
Load diff
876
stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c
generated
876
stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c
generated
File diff suppressed because it is too large
Load diff
1367
stage0/stdlib/Lean/Server/InfoUtils.c
generated
1367
stage0/stdlib/Lean/Server/InfoUtils.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Lean/Server/References.c
generated
6
stage0/stdlib/Lean/Server/References.c
generated
|
|
@ -11154,7 +11154,7 @@ return x_77;
|
|||
}
|
||||
}
|
||||
}
|
||||
case 4:
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82;
|
||||
x_78 = lean_ctor_get(x_2, 0);
|
||||
|
|
@ -11224,7 +11224,7 @@ return x_103;
|
|||
}
|
||||
}
|
||||
}
|
||||
case 5:
|
||||
case 6:
|
||||
{
|
||||
lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108;
|
||||
x_104 = lean_ctor_get(x_2, 0);
|
||||
|
|
@ -15614,7 +15614,7 @@ return x_13;
|
|||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_combineIdents_buildIdMap___spec__7___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 9)
|
||||
if (lean_obj_tag(x_2) == 10)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; 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;
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
|
|
|
|||
10931
stage0/stdlib/Lean/Server/Rpc/Deriving.c
generated
10931
stage0/stdlib/Lean/Server/Rpc/Deriving.c
generated
File diff suppressed because one or more lines are too long
88
stage0/stdlib/Lean/Server/Watchdog.c
generated
88
stage0/stdlib/Lean/Server/Watchdog.c
generated
|
|
@ -59,6 +59,7 @@ static lean_object* l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_Watchd
|
|||
lean_object* l_Lean_JsonNumber_toString(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleRequest___spec__8___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyIncomingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7518_(lean_object*);
|
||||
static lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__4___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_FileWorker_queuedMsgs___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Server_Watchdog_handleWorkspaceSymbol___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -101,12 +102,12 @@ size_t lean_uint64_to_usize(uint64_t);
|
|||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages___closed__1;
|
||||
lean_object* lean_io_as_task(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyPrepareParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6311_(lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleRequest___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_findWorkerPath___lambda__2___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleNotification___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3515_(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__18;
|
||||
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__20;
|
||||
uint8_t l_Lean_RBNode_isRed___rarg(lean_object*);
|
||||
|
|
@ -126,7 +127,6 @@ lean_object* l_Array_qpartition___rarg(lean_object*, lean_object*, lean_object*,
|
|||
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__9;
|
||||
LEAN_EXPORT lean_object* l_IO_Mutex_atomically___at_Lean_Server_Watchdog_FileWorker_waitForProc___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcReleaseParams____x40_Lean_Data_Lsp_Extra___hyg_2503_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonPrepareRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10613_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_forwardNotification___at_Lean_Server_Watchdog_handleNotification___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_FileWorker_errorPendingRequests___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6(lean_object*, lean_object*);
|
||||
|
|
@ -140,6 +140,7 @@ uint8_t l_Lean_Name_isAnonymous(lean_object*);
|
|||
static lean_object* l_Lean_Server_Watchdog_startFileWorker___closed__3;
|
||||
lean_object* l_System_FilePath_extension(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_Watchdog_handleRequest___spec__18(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonPrepareRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11186_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Server_Watchdog_startLoadingReferences___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Json_toStructured_x3f___at___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___spec__1___closed__2;
|
||||
|
|
@ -166,18 +167,19 @@ lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonLeanDidOpenTextDo
|
|||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__13;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Server_Watchdog_handleCancelRequest___spec__1(lean_object*, lean_object*);
|
||||
lean_object* lean_io_getenv(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyOutgoingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7825_(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__24;
|
||||
uint8_t lean_float_decLt(double, double);
|
||||
lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnectParams____x40_Lean_Data_Lsp_Extra___hyg_1754_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_toJsonCallHierarchyItemData____x40_Lean_Server_Watchdog___hyg_4276_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1080_(lean_object*);
|
||||
uint8_t l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__15;
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__4;
|
||||
lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Server_References_allRefsFor___spec__5(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_runClientTask___lambda__1(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_RBNode_balLeft___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__18;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyIncomingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6713_(lean_object*);
|
||||
lean_object* lean_io_basemutex_lock(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_startLoadingReferences___closed__1;
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__1;
|
||||
|
|
@ -206,7 +208,6 @@ lean_object* l_List_flatMapTR_go___at___private_Lean_Server_Rpc_Basic_0__Lean_Ls
|
|||
LEAN_EXPORT lean_object* l_Array_groupByKey___at_Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_Watchdog_mainLoop___spec__1(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Server_Watchdog_handleRename___spec__5(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyIncomingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6945_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Server_Watchdog_FileWorker_waitForProc___spec__1___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -318,6 +319,7 @@ LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Watchdo
|
|||
static lean_object* l_Lean_Server_Watchdog_mainLoop___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_startLoadingReferences___lambda__2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_forwardRequestToWorker___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyIncomingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7286_(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_parseParams___rarg___closed__2;
|
||||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_fromJsonCallHierarchyItemData____x40_Lean_Server_Watchdog___hyg_4170____closed__3;
|
||||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_fromJsonCallHierarchyItemData____x40_Lean_Server_Watchdog___hyg_4170____closed__5;
|
||||
|
|
@ -384,7 +386,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleImportClosure___boxed(lean
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_callHierarchyItemOf_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__5___lambda__1(lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__5;
|
||||
uint8_t l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_529_(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_terminateFileWorker___closed__2;
|
||||
lean_object* lean_stream_of_handle(lean_object*);
|
||||
|
|
@ -445,7 +446,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Wat
|
|||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_mainLoop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_handleDidChange___lambda__1___closed__1;
|
||||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6313_(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidSaveTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_750_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_forwardRequestToWorker(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_Watchdog_handleRequest___spec__6(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -462,6 +462,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_startLoadingReferences___lambda_
|
|||
lean_object* l_Lean_Server_Ilean_load(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__1(size_t, size_t, lean_object*);
|
||||
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10963_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at_Lean_Server_Watchdog_ImportData_update___spec__2(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_instFromJsonCallHierarchyItemData___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleNotification___spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -471,7 +472,6 @@ static lean_object* l_Lean_Server_Watchdog_startFileWorker___closed__1;
|
|||
static lean_object* l_Lean_Server_Watchdog_watchdogMain___closed__1;
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__3;
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__22;
|
||||
uint64_t l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls___spec__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_Watchdog_startFileWorker___spec__2(lean_object*);
|
||||
lean_object* l_System_SearchPath_searchModuleNameOfUri(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -526,7 +526,6 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Server_Watchdog_handleCall
|
|||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls_collapseSameOutgoingCalls___spec__6(lean_object*, lean_object*);
|
||||
lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Server_Watchdog_findFileWorker_x3f___spec__1___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3738_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_FileWorker_stdout(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls___spec__2(lean_object*, lean_object*);
|
||||
|
|
@ -541,7 +540,6 @@ lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Message_0__Lean_fro
|
|||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_handleCancelRequest___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_handleRequest___lambda__1___closed__3;
|
||||
static lean_object* l_Lean_Server_Watchdog_handleNotification___closed__1;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10390_(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_handleNotification___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Server_Watchdog_handlePrepareCallHierarchy___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_IO_FS_Stream_readMessage(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -586,6 +584,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls
|
|||
LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Server_Watchdog_FileWorker_waitForProc___spec__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Server_Watchdog_handleRename___spec__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
uint64_t l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_fromJsonCallHierarchyItemData____x40_Lean_Server_Watchdog___hyg_4170____closed__14;
|
||||
LEAN_EXPORT lean_object* l_Array_groupByKey___at_Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls___spec__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_tryDischargeQueuedMessages(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -654,6 +653,7 @@ LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspNotification___at_Lean_Server_Wa
|
|||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_findFileWorker_x3f___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyOutgoingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7593_(lean_object*);
|
||||
lean_object* lean_panic_fn(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_handleRename___spec__10(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_terminateFileWorker___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -666,7 +666,6 @@ static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__4;
|
|||
lean_object* l_Lean_Server_foldDocumentChanges(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_Watchdog_notifyAboutStaleDependency___spec__1(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__6;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5642_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_forwardRequestToWorker___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_5319_(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__59;
|
||||
|
|
@ -719,7 +718,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Wat
|
|||
static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__2;
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
lean_object* lean_array_mk(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyOutgoingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7252_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleNotification___spec__13___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at_Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls___spec__4(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_ImportData_update___spec__11(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -749,12 +747,12 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_CallHierarchyItemData_fromItem_x
|
|||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_FileWorker_errorPendingRequests(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
size_t lean_array_size(lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyOutgoingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7020_(lean_object*);
|
||||
static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_fromJsonCallHierarchyItemData____x40_Lean_Server_Watchdog___hyg_4170____closed__8;
|
||||
static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdogAux___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleIleanInfoFinal(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleRequest___spec__16___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Watchdog_handleRequest___spec__17___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6886_(lean_object*);
|
||||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__9;
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_startFileWorker___closed__2;
|
||||
|
|
@ -792,6 +790,7 @@ lean_object* l_Lean_Server_References_addIlean(lean_object*, lean_object*, lean_
|
|||
static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_Watchdog_initAndRunWatchdogAux___spec__2___closed__55;
|
||||
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_124_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_Watchdog_handleRequest___spec__9(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6215_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleRequest___spec__10___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_callHierarchyItemOf_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_References_finalizeWorkerRefs(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -829,6 +828,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleDidChangeWatchedFiles(lean
|
|||
static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_Watchdog_ImportData_update___spec__7(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_string_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4311_(lean_object*);
|
||||
static lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_Watchdog_ImportData_update___spec__11___closed__2;
|
||||
static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -848,12 +848,12 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Serv
|
|||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_Watchdog_handleRename___lambda__1___closed__3;
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyPrepareParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5738_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleIleanInfoUpdate(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls_collapseSameOutgoingCalls___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Server_Watchdog_handleDidChangeWatchedFiles___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_Watchdog_ImportData_update___spec__3(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handlePrepareCallHierarchy___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4088_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Server_Watchdog_handleCallHierarchyOutgoingCalls___spec__5(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_SearchPath_findAllWithExt(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -19202,7 +19202,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_ctor_get(x_2, 2);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_4, x_1);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_4, x_1);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
x_2 = x_6;
|
||||
|
|
@ -19233,7 +19233,7 @@ else
|
|||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_4, x_1);
|
||||
x_6 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_4, x_1);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
x_2 = x_5;
|
||||
|
|
@ -19265,7 +19265,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = lean_array_get_size(x_1);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_4);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_4);
|
||||
x_8 = 32;
|
||||
x_9 = lean_uint64_shift_right(x_7, x_8);
|
||||
x_10 = lean_uint64_xor(x_7, x_9);
|
||||
|
|
@ -19296,7 +19296,7 @@ lean_inc(x_23);
|
|||
lean_inc(x_22);
|
||||
lean_dec(x_2);
|
||||
x_25 = lean_array_get_size(x_1);
|
||||
x_26 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_22);
|
||||
x_26 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_22);
|
||||
x_27 = 32;
|
||||
x_28 = lean_uint64_shift_right(x_26, x_27);
|
||||
x_29 = lean_uint64_xor(x_26, x_28);
|
||||
|
|
@ -19388,7 +19388,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
|||
x_6 = lean_ctor_get(x_3, 0);
|
||||
x_7 = lean_ctor_get(x_3, 1);
|
||||
x_8 = lean_ctor_get(x_3, 2);
|
||||
x_9 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_6, x_1);
|
||||
x_9 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_6, x_1);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10;
|
||||
|
|
@ -19415,7 +19415,7 @@ lean_inc(x_13);
|
|||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_3);
|
||||
x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_11, x_1);
|
||||
x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_11, x_1);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
|
|
@ -19460,7 +19460,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
|||
x_5 = lean_ctor_get(x_2, 0);
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
x_7 = lean_ctor_get(x_2, 2);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_5, x_1);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_5, x_1);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9;
|
||||
|
|
@ -19486,7 +19486,7 @@ lean_inc(x_12);
|
|||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_2);
|
||||
x_13 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_10, x_1);
|
||||
x_13 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_10, x_1);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
|
|
@ -19532,7 +19532,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; uint64_t x_16; uint64_t
|
|||
x_13 = lean_ctor_get(x_8, 0);
|
||||
x_14 = lean_ctor_get(x_8, 1);
|
||||
x_15 = lean_array_get_size(x_14);
|
||||
x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_11);
|
||||
x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_11);
|
||||
x_17 = 32;
|
||||
x_18 = lean_uint64_shift_right(x_16, x_17);
|
||||
x_19 = lean_uint64_xor(x_16, x_18);
|
||||
|
|
@ -19794,7 +19794,7 @@ lean_inc(x_124);
|
|||
lean_inc(x_123);
|
||||
lean_dec(x_8);
|
||||
x_125 = lean_array_get_size(x_124);
|
||||
x_126 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_11);
|
||||
x_126 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_11);
|
||||
x_127 = 32;
|
||||
x_128 = lean_uint64_shift_right(x_126, x_127);
|
||||
x_129 = lean_uint64_xor(x_126, x_128);
|
||||
|
|
@ -21925,7 +21925,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_ctor_get(x_2, 2);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_4, x_1);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_4, x_1);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
x_2 = x_6;
|
||||
|
|
@ -21956,7 +21956,7 @@ else
|
|||
lean_object* x_4; lean_object* x_5; uint8_t x_6;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_4, x_1);
|
||||
x_6 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_4, x_1);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
x_2 = x_5;
|
||||
|
|
@ -21988,7 +21988,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8
|
|||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 2);
|
||||
x_6 = lean_array_get_size(x_1);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_4);
|
||||
x_7 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_4);
|
||||
x_8 = 32;
|
||||
x_9 = lean_uint64_shift_right(x_7, x_8);
|
||||
x_10 = lean_uint64_xor(x_7, x_9);
|
||||
|
|
@ -22019,7 +22019,7 @@ lean_inc(x_23);
|
|||
lean_inc(x_22);
|
||||
lean_dec(x_2);
|
||||
x_25 = lean_array_get_size(x_1);
|
||||
x_26 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_22);
|
||||
x_26 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_22);
|
||||
x_27 = 32;
|
||||
x_28 = lean_uint64_shift_right(x_26, x_27);
|
||||
x_29 = lean_uint64_xor(x_26, x_28);
|
||||
|
|
@ -22111,7 +22111,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
|||
x_6 = lean_ctor_get(x_3, 0);
|
||||
x_7 = lean_ctor_get(x_3, 1);
|
||||
x_8 = lean_ctor_get(x_3, 2);
|
||||
x_9 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_6, x_1);
|
||||
x_9 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_6, x_1);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10;
|
||||
|
|
@ -22138,7 +22138,7 @@ lean_inc(x_13);
|
|||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_3);
|
||||
x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_11, x_1);
|
||||
x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_11, x_1);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
|
|
@ -22183,7 +22183,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
|||
x_5 = lean_ctor_get(x_2, 0);
|
||||
x_6 = lean_ctor_get(x_2, 1);
|
||||
x_7 = lean_ctor_get(x_2, 2);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_5, x_1);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_5, x_1);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9;
|
||||
|
|
@ -22209,7 +22209,7 @@ lean_inc(x_12);
|
|||
lean_inc(x_11);
|
||||
lean_inc(x_10);
|
||||
lean_dec(x_2);
|
||||
x_13 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6419_(x_10, x_1);
|
||||
x_13 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_beqCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6992_(x_10, x_1);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15;
|
||||
|
|
@ -22255,7 +22255,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; uint64_t x_16; uint64_t
|
|||
x_13 = lean_ctor_get(x_8, 0);
|
||||
x_14 = lean_ctor_get(x_8, 1);
|
||||
x_15 = lean_array_get_size(x_14);
|
||||
x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_11);
|
||||
x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_11);
|
||||
x_17 = 32;
|
||||
x_18 = lean_uint64_shift_right(x_16, x_17);
|
||||
x_19 = lean_uint64_xor(x_16, x_18);
|
||||
|
|
@ -22517,7 +22517,7 @@ lean_inc(x_124);
|
|||
lean_inc(x_123);
|
||||
lean_dec(x_8);
|
||||
x_125 = lean_array_get_size(x_124);
|
||||
x_126 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6589_(x_11);
|
||||
x_126 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_hashCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7162_(x_11);
|
||||
x_127 = 32;
|
||||
x_128 = lean_uint64_shift_right(x_126, x_127);
|
||||
x_129 = lean_uint64_xor(x_126, x_128);
|
||||
|
|
@ -37065,7 +37065,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
lean_inc(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10390_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10963_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
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;
|
||||
|
|
@ -37136,7 +37136,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
lean_inc(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonPrepareRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_10613_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonPrepareRenameParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11186_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
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;
|
||||
|
|
@ -37247,7 +37247,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
lean_inc(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyOutgoingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7020_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyOutgoingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7593_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
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;
|
||||
|
|
@ -37296,7 +37296,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_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyOutgoingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7252_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyOutgoingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7825_(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);
|
||||
|
|
@ -37351,7 +37351,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
lean_inc(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyIncomingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6713_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyIncomingCallsParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7286_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
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;
|
||||
|
|
@ -37400,7 +37400,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_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyIncomingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6945_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyIncomingCall____x40_Lean_Data_Lsp_LanguageFeatures___hyg_7518_(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);
|
||||
|
|
@ -37455,7 +37455,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
lean_inc(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyPrepareParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5738_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCallHierarchyPrepareParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6311_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
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;
|
||||
|
|
@ -37504,7 +37504,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_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6313_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCallHierarchyItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6886_(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);
|
||||
|
|
@ -37559,7 +37559,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
lean_inc(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3738_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonWorkspaceSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4311_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
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;
|
||||
|
|
@ -37608,7 +37608,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_6 = lean_unsigned_to_nat(0u);
|
||||
x_7 = lean_array_uset(x_3, x_2, x_6);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5642_(x_5);
|
||||
x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_6215_(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);
|
||||
|
|
@ -37663,7 +37663,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
lean_inc(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3515_(x_1);
|
||||
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4088_(x_1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
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;
|
||||
|
|
|
|||
1754
stage0/stdlib/Lean/Widget/UserWidget.c
generated
1754
stage0/stdlib/Lean/Widget/UserWidget.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Std.c
generated
6
stage0/stdlib/Std.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Std
|
||||
// Imports: Std.Data Std.Sat Std.Tactic Std.Internal
|
||||
// Imports: Std.Data Std.Sat Std.Time Std.Tactic Std.Internal
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -15,6 +15,7 @@ extern "C" {
|
|||
#endif
|
||||
lean_object* initialize_Std_Data(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Sat(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Tactic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Internal(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
|
|
@ -28,6 +29,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Std_Sat(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Tactic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Data.Rat
|
||||
// Module: Std.Internal.Rat
|
||||
// Imports: Init.NotationExtra Init.Data.ToString.Macro Init.Data.Int.DivMod Init.Data.Nat.Gcd
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
|
|
@ -14,85 +14,85 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
lean_object* lean_nat_gcd(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instBEqRat;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_add(lean_object*, lean_object*);
|
||||
lean_object* lean_int_mod(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_36_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instLE;
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instOfNat(lean_object*);
|
||||
static lean_object* l_Lean_instBEqRat___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instReprRat(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_neg(lean_object*);
|
||||
static lean_object* l_Lean_instToStringRat___closed__2;
|
||||
LEAN_EXPORT uint8_t l_Lean_instDecidableEqRat(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Rat_instSub___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instSub;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkRat(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instDecidableEqRat___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_div___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_normalize(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instCoeInt(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_instDecidableLe(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_normalize___boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_instDecidableLt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Rat_instMul___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_lt___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_mkRat(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDiv___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Std_Internal_Rat_0__Std_Internal_decEqRat____x40_Std_Internal_Rat___hyg_111_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instLE;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instReprRat(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_div___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Internal_Rat_floor___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instSub;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instAdd;
|
||||
LEAN_EXPORT uint8_t l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instToStringRat(lean_object*);
|
||||
uint8_t lean_int_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instInhabitedRat___closed__2;
|
||||
static lean_object* l_Lean_instInhabitedRat___closed__1;
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_Rat_0__Lean_decEqRat____x40_Lean_Data_Rat___hyg_110_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_36____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instMul;
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instLT;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instMul;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instLT;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDecidableLt___boxed(lean_object*, lean_object*);
|
||||
uint8_t l_instDecidableNot___rarg(uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instNeg;
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDecidableLt___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_inv(lean_object*);
|
||||
static lean_object* l_Lean_Rat_instNeg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_instInhabitedRat;
|
||||
static lean_object* l_Lean_Rat_instAdd___closed__1;
|
||||
static lean_object* l_Lean_instReprRat___closed__2;
|
||||
static lean_object* l_Lean_instReprRat___closed__1;
|
||||
static lean_object* l_Std_Internal_instInhabitedRat___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_normalize(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_neg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instCoeInt(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_instDecidableLt(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Internal_instToStringRat___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDecidableLe___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Int_repr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_div(lean_object*, lean_object*);
|
||||
lean_object* lean_int_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instToStringRat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDecidableLe___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instToStringRat___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instReprRat___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Rat_0__Lean_decEqRat____x40_Lean_Data_Rat___hyg_110____boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instOfNat(lean_object*);
|
||||
static lean_object* l_Std_Internal_Rat_instSub___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_ceil(lean_object*);
|
||||
static lean_object* l_Std_Internal_instInhabitedRat___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_lt___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_instDecidableLe(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Internal_instToStringRat___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instReprRat___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_int_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_isInt___boxed(lean_object*);
|
||||
static lean_object* l_Std_Internal_instToStringRat___closed__3;
|
||||
static lean_object* l_Std_Internal_mkRat___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_isInt___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Rat_0__Std_Internal_decEqRat____x40_Std_Internal_Rat___hyg_111____boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_abs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDiv(lean_object*, lean_object*);
|
||||
lean_object* lean_int_mul(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Rat_floor___closed__1;
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instAdd;
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_mul___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_isInt(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_mul___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_instToStringRat___closed__3;
|
||||
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Internal_instBEqRat___closed__1;
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_normalize___boxed(lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_floor(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_ceil(lean_object*);
|
||||
static lean_object* l_Lean_mkRat___closed__1;
|
||||
static lean_object* l_Std_Internal_Rat_instAdd___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_inv(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instNeg;
|
||||
static lean_object* l_Std_Internal_Rat_instNeg___closed__1;
|
||||
static lean_object* l_Std_Internal_Rat_instMul___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instInhabitedRat;
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
uint8_t lean_int_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_isInt(lean_object*);
|
||||
static lean_object* l_Std_Internal_instReprRat___closed__2;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_int_ediv(lean_object*, lean_object*);
|
||||
lean_object* lean_int_neg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDiv___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instDecidableEqRat___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_instDecidableEqRat(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDiv(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Internal_instReprRat___closed__1;
|
||||
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instBEqRat;
|
||||
static lean_object* _init_l_Lean_instInhabitedRat___closed__1() {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_floor(lean_object*);
|
||||
static lean_object* _init_l_Std_Internal_instInhabitedRat___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -101,11 +101,11 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instInhabitedRat___closed__2() {
|
||||
static lean_object* _init_l_Std_Internal_instInhabitedRat___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_1 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(0u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -113,15 +113,15 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instInhabitedRat() {
|
||||
static lean_object* _init_l_Std_Internal_instInhabitedRat() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_instInhabitedRat___closed__2;
|
||||
x_1 = l_Std_Internal_instInhabitedRat___closed__2;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_36_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37_(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
|
|
@ -144,34 +144,34 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_36____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_36_(x_1, x_2);
|
||||
x_3 = l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37_(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instBEqRat___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_instBEqRat___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_36____boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Std_Internal_Rat_0__Std_Internal_beqRat____x40_Std_Internal_Rat___hyg_37____boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instBEqRat() {
|
||||
static lean_object* _init_l_Std_Internal_instBEqRat() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_instBEqRat___closed__1;
|
||||
x_1 = l_Std_Internal_instBEqRat___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Data_Rat_0__Lean_decEqRat____x40_Lean_Data_Rat___hyg_110_(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l___private_Std_Internal_Rat_0__Std_Internal_decEqRat____x40_Std_Internal_Rat___hyg_111_(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
|
|
@ -194,37 +194,37 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Data_Rat_0__Lean_decEqRat____x40_Lean_Data_Rat___hyg_110____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Rat_0__Std_Internal_decEqRat____x40_Std_Internal_Rat___hyg_111____boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Lean_Data_Rat_0__Lean_decEqRat____x40_Lean_Data_Rat___hyg_110_(x_1, x_2);
|
||||
x_3 = l___private_Std_Internal_Rat_0__Std_Internal_decEqRat____x40_Std_Internal_Rat___hyg_111_(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_instDecidableEqRat(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_instDecidableEqRat(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l___private_Lean_Data_Rat_0__Lean_decEqRat____x40_Lean_Data_Rat___hyg_110_(x_1, x_2);
|
||||
x_3 = l___private_Std_Internal_Rat_0__Std_Internal_decEqRat____x40_Std_Internal_Rat___hyg_111_(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instDecidableEqRat___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instDecidableEqRat___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_instDecidableEqRat(x_1, x_2);
|
||||
x_3 = l_Std_Internal_instDecidableEqRat(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instToStringRat___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_instToStringRat___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -232,7 +232,7 @@ x_1 = lean_mk_string_unchecked("", 0, 0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instToStringRat___closed__2() {
|
||||
static lean_object* _init_l_Std_Internal_instToStringRat___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -240,7 +240,7 @@ x_1 = lean_mk_string_unchecked("/", 1, 1);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instToStringRat___closed__3() {
|
||||
static lean_object* _init_l_Std_Internal_instToStringRat___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -248,7 +248,7 @@ x_1 = lean_mk_string_unchecked("-", 1, 1);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instToStringRat(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instToStringRat(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -263,7 +263,7 @@ x_5 = lean_ctor_get(x_1, 0);
|
|||
lean_inc(x_5);
|
||||
lean_dec(x_1);
|
||||
x_6 = l___private_Init_Data_Repr_0__Nat_reprFast(x_2);
|
||||
x_7 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_7 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_8 = lean_int_dec_lt(x_5, x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
@ -271,10 +271,10 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_
|
|||
x_9 = lean_nat_abs(x_5);
|
||||
lean_dec(x_5);
|
||||
x_10 = l___private_Init_Data_Repr_0__Nat_reprFast(x_9);
|
||||
x_11 = l_Lean_instToStringRat___closed__1;
|
||||
x_11 = l_Std_Internal_instToStringRat___closed__1;
|
||||
x_12 = lean_string_append(x_11, x_10);
|
||||
lean_dec(x_10);
|
||||
x_13 = l_Lean_instToStringRat___closed__2;
|
||||
x_13 = l_Std_Internal_instToStringRat___closed__2;
|
||||
x_14 = lean_string_append(x_12, x_13);
|
||||
x_15 = lean_string_append(x_14, x_6);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -291,13 +291,13 @@ lean_dec(x_17);
|
|||
x_19 = lean_nat_add(x_18, x_3);
|
||||
lean_dec(x_18);
|
||||
x_20 = l___private_Init_Data_Repr_0__Nat_reprFast(x_19);
|
||||
x_21 = l_Lean_instToStringRat___closed__3;
|
||||
x_21 = l_Std_Internal_instToStringRat___closed__3;
|
||||
x_22 = lean_string_append(x_21, x_20);
|
||||
lean_dec(x_20);
|
||||
x_23 = l_Lean_instToStringRat___closed__1;
|
||||
x_23 = l_Std_Internal_instToStringRat___closed__1;
|
||||
x_24 = lean_string_append(x_23, x_22);
|
||||
lean_dec(x_22);
|
||||
x_25 = l_Lean_instToStringRat___closed__2;
|
||||
x_25 = l_Std_Internal_instToStringRat___closed__2;
|
||||
x_26 = lean_string_append(x_24, x_25);
|
||||
x_27 = lean_string_append(x_26, x_6);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -312,7 +312,7 @@ lean_dec(x_2);
|
|||
x_29 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_29);
|
||||
lean_dec(x_1);
|
||||
x_30 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_30 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_31 = lean_int_dec_lt(x_29, x_30);
|
||||
if (x_31 == 0)
|
||||
{
|
||||
|
|
@ -332,7 +332,7 @@ lean_dec(x_34);
|
|||
x_36 = lean_nat_add(x_35, x_3);
|
||||
lean_dec(x_35);
|
||||
x_37 = l___private_Init_Data_Repr_0__Nat_reprFast(x_36);
|
||||
x_38 = l_Lean_instToStringRat___closed__3;
|
||||
x_38 = l_Std_Internal_instToStringRat___closed__3;
|
||||
x_39 = lean_string_append(x_38, x_37);
|
||||
lean_dec(x_37);
|
||||
return x_39;
|
||||
|
|
@ -340,7 +340,7 @@ return x_39;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instReprRat___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_instReprRat___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -348,7 +348,7 @@ x_1 = lean_mk_string_unchecked("(", 1, 1);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_instReprRat___closed__2() {
|
||||
static lean_object* _init_l_Std_Internal_instReprRat___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -356,7 +356,7 @@ x_1 = lean_mk_string_unchecked(" : Rat)/", 8, 8);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instReprRat(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instReprRat(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; uint8_t x_5;
|
||||
|
|
@ -371,7 +371,7 @@ x_6 = lean_ctor_get(x_1, 0);
|
|||
lean_inc(x_6);
|
||||
lean_dec(x_1);
|
||||
x_7 = l___private_Init_Data_Repr_0__Nat_reprFast(x_3);
|
||||
x_8 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_8 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_9 = lean_int_dec_lt(x_6, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
@ -379,14 +379,14 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean
|
|||
x_10 = lean_nat_abs(x_6);
|
||||
lean_dec(x_6);
|
||||
x_11 = l___private_Init_Data_Repr_0__Nat_reprFast(x_10);
|
||||
x_12 = l_Lean_instReprRat___closed__1;
|
||||
x_12 = l_Std_Internal_instReprRat___closed__1;
|
||||
x_13 = lean_string_append(x_12, x_11);
|
||||
lean_dec(x_11);
|
||||
x_14 = l_Lean_instReprRat___closed__2;
|
||||
x_14 = l_Std_Internal_instReprRat___closed__2;
|
||||
x_15 = lean_string_append(x_13, x_14);
|
||||
x_16 = lean_string_append(x_15, x_7);
|
||||
lean_dec(x_7);
|
||||
x_17 = l_Lean_instToStringRat___closed__1;
|
||||
x_17 = l_Std_Internal_instToStringRat___closed__1;
|
||||
x_18 = lean_string_append(x_16, x_17);
|
||||
x_19 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
@ -402,17 +402,17 @@ lean_dec(x_20);
|
|||
x_22 = lean_nat_add(x_21, x_4);
|
||||
lean_dec(x_21);
|
||||
x_23 = l___private_Init_Data_Repr_0__Nat_reprFast(x_22);
|
||||
x_24 = l_Lean_instToStringRat___closed__3;
|
||||
x_24 = l_Std_Internal_instToStringRat___closed__3;
|
||||
x_25 = lean_string_append(x_24, x_23);
|
||||
lean_dec(x_23);
|
||||
x_26 = l_Lean_instReprRat___closed__1;
|
||||
x_26 = l_Std_Internal_instReprRat___closed__1;
|
||||
x_27 = lean_string_append(x_26, x_25);
|
||||
lean_dec(x_25);
|
||||
x_28 = l_Lean_instReprRat___closed__2;
|
||||
x_28 = l_Std_Internal_instReprRat___closed__2;
|
||||
x_29 = lean_string_append(x_27, x_28);
|
||||
x_30 = lean_string_append(x_29, x_7);
|
||||
lean_dec(x_7);
|
||||
x_31 = l_Lean_instToStringRat___closed__1;
|
||||
x_31 = l_Std_Internal_instToStringRat___closed__1;
|
||||
x_32 = lean_string_append(x_30, x_31);
|
||||
x_33 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_33, 0, x_32);
|
||||
|
|
@ -426,7 +426,7 @@ lean_dec(x_3);
|
|||
x_34 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_1);
|
||||
x_35 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_35 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_36 = lean_int_dec_lt(x_34, x_35);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
|
|
@ -451,16 +451,16 @@ return x_42;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_instReprRat___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_instReprRat___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_instReprRat(x_1, x_2);
|
||||
x_3 = l_Std_Internal_instReprRat(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_normalize(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_normalize(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
|
|
@ -493,20 +493,20 @@ return x_1;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_normalize___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_normalize___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Rat_normalize(x_1);
|
||||
x_2 = l_Std_Internal_Rat_normalize(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_mkRat___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_mkRat___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_1 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_2 = lean_unsigned_to_nat(1u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
@ -514,7 +514,7 @@ lean_ctor_set(x_3, 1, x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_mkRat(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_mkRat(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -563,12 +563,12 @@ else
|
|||
lean_object* x_14;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_14 = l_Lean_mkRat___closed__1;
|
||||
x_14 = l_Std_Internal_mkRat___closed__1;
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_isInt(lean_object* x_1) {
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_isInt(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -578,23 +578,23 @@ x_4 = lean_nat_dec_eq(x_2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_isInt___boxed(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_isInt___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l_Lean_Rat_isInt(x_1);
|
||||
x_2 = l_Std_Internal_Rat_isInt(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_lt(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_lt(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_26; uint8_t x_27;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
x_26 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_26 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_27 = lean_int_dec_lt(x_3, x_26);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
|
|
@ -664,7 +664,7 @@ block_25:
|
|||
{
|
||||
lean_object* x_5; uint8_t x_6;
|
||||
lean_dec(x_4);
|
||||
x_5 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_5 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_6 = lean_int_dec_lt(x_5, x_3);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
|
|
@ -732,16 +732,16 @@ return x_24;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_lt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_lt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Rat_lt(x_1, x_2);
|
||||
x_3 = l_Std_Internal_Rat_lt(x_1, x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_mul(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_mul(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
|
|
@ -779,23 +779,23 @@ lean_ctor_set(x_19, 1, x_18);
|
|||
return x_19;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_mul___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_mul___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Rat_mul(x_1, x_2);
|
||||
x_3 = l_Std_Internal_Rat_mul(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_inv(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_inv(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
x_3 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_3 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_4 = lean_int_dec_lt(x_2, x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
|
|
@ -839,26 +839,26 @@ return x_14;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_div(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_div(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Rat_inv(x_2);
|
||||
x_4 = l_Lean_Rat_mul(x_1, x_3);
|
||||
x_3 = l_Std_Internal_Rat_inv(x_2);
|
||||
x_4 = l_Std_Internal_Rat_mul(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_div___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_div___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Rat_div(x_1, x_2);
|
||||
x_3 = l_Std_Internal_Rat_div(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_add(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_add(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
|
|
@ -958,7 +958,7 @@ return x_34;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_sub(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_sub(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
|
|
@ -1063,7 +1063,7 @@ return x_36;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_neg(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_neg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
|
|
@ -1094,7 +1094,7 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_floor___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_floor___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
|
|
@ -1103,7 +1103,7 @@ x_2 = lean_nat_to_int(x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_floor(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_floor(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -1120,7 +1120,7 @@ lean_dec(x_1);
|
|||
x_6 = lean_nat_to_int(x_2);
|
||||
x_7 = lean_int_mod(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_8 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_9 = lean_int_dec_lt(x_5, x_8);
|
||||
lean_dec(x_5);
|
||||
if (x_9 == 0)
|
||||
|
|
@ -1130,7 +1130,7 @@ return x_7;
|
|||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
x_10 = l_Lean_Rat_floor___closed__1;
|
||||
x_10 = l_Std_Internal_Rat_floor___closed__1;
|
||||
x_11 = lean_int_sub(x_7, x_10);
|
||||
lean_dec(x_7);
|
||||
return x_11;
|
||||
|
|
@ -1147,7 +1147,7 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_ceil(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_ceil(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -1164,7 +1164,7 @@ lean_dec(x_1);
|
|||
x_6 = lean_nat_to_int(x_2);
|
||||
x_7 = lean_int_mod(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
x_8 = l_Lean_instInhabitedRat___closed__1;
|
||||
x_8 = l_Std_Internal_instInhabitedRat___closed__1;
|
||||
x_9 = lean_int_dec_lt(x_8, x_5);
|
||||
lean_dec(x_5);
|
||||
if (x_9 == 0)
|
||||
|
|
@ -1174,7 +1174,7 @@ return x_7;
|
|||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
x_10 = l_Lean_Rat_floor___closed__1;
|
||||
x_10 = l_Std_Internal_Rat_floor___closed__1;
|
||||
x_11 = lean_int_add(x_7, x_10);
|
||||
lean_dec(x_7);
|
||||
return x_11;
|
||||
|
|
@ -1191,7 +1191,7 @@ return x_12;
|
|||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instLT() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instLT() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1199,24 +1199,24 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_instDecidableLt(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_instDecidableLt(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = l_Lean_Rat_lt(x_1, x_2);
|
||||
x_3 = l_Std_Internal_Rat_lt(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDecidableLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDecidableLt___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Rat_instDecidableLt(x_1, x_2);
|
||||
x_3 = l_Std_Internal_Rat_instDecidableLt(x_1, x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instLE() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instLE() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
|
|
@ -1224,108 +1224,108 @@ x_1 = lean_box(0);
|
|||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Lean_Rat_instDecidableLe(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT uint8_t l_Std_Internal_Rat_instDecidableLe(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; uint8_t x_4;
|
||||
x_3 = l_Lean_Rat_lt(x_2, x_1);
|
||||
x_3 = l_Std_Internal_Rat_lt(x_2, x_1);
|
||||
x_4 = l_instDecidableNot___rarg(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDecidableLe___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDecidableLe___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Rat_instDecidableLe(x_1, x_2);
|
||||
x_3 = l_Std_Internal_Rat_instDecidableLe(x_1, x_2);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instAdd___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instAdd___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Rat_add), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_Internal_Rat_add), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instAdd() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instAdd() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Rat_instAdd___closed__1;
|
||||
x_1 = l_Std_Internal_Rat_instAdd___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instSub___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instSub___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Rat_sub), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_Internal_Rat_sub), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instSub() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instSub() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Rat_instSub___closed__1;
|
||||
x_1 = l_Std_Internal_Rat_instSub___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instNeg___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instNeg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Rat_neg), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_Internal_Rat_neg), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instNeg() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instNeg() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Rat_instNeg___closed__1;
|
||||
x_1 = l_Std_Internal_Rat_instNeg___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instMul___closed__1() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instMul___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Lean_Rat_mul___boxed), 2, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_Internal_Rat_mul___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Rat_instMul() {
|
||||
static lean_object* _init_l_Std_Internal_Rat_instMul() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Rat_instMul___closed__1;
|
||||
x_1 = l_Std_Internal_Rat_instMul___closed__1;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDiv(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDiv(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4;
|
||||
x_3 = l_Lean_Rat_inv(x_2);
|
||||
x_4 = l_Lean_Rat_mul(x_1, x_3);
|
||||
x_3 = l_Std_Internal_Rat_inv(x_2);
|
||||
x_4 = l_Std_Internal_Rat_mul(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instDiv___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instDiv___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Rat_instDiv(x_1, x_2);
|
||||
x_3 = l_Std_Internal_Rat_instDiv(x_1, x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instOfNat(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instOfNat(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
|
|
@ -1337,7 +1337,7 @@ lean_ctor_set(x_4, 1, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Rat_instCoeInt(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Rat_instCoeInt(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -1353,7 +1353,7 @@ lean_object* initialize_Init_Data_ToString_Macro(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Init_Data_Int_DivMod(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Nat_Gcd(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Data_Rat(uint8_t builtin, lean_object* w) {
|
||||
LEAN_EXPORT lean_object* initialize_Std_Internal_Rat(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
|
|
@ -1369,50 +1369,50 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Nat_Gcd(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_instInhabitedRat___closed__1 = _init_l_Lean_instInhabitedRat___closed__1();
|
||||
lean_mark_persistent(l_Lean_instInhabitedRat___closed__1);
|
||||
l_Lean_instInhabitedRat___closed__2 = _init_l_Lean_instInhabitedRat___closed__2();
|
||||
lean_mark_persistent(l_Lean_instInhabitedRat___closed__2);
|
||||
l_Lean_instInhabitedRat = _init_l_Lean_instInhabitedRat();
|
||||
lean_mark_persistent(l_Lean_instInhabitedRat);
|
||||
l_Lean_instBEqRat___closed__1 = _init_l_Lean_instBEqRat___closed__1();
|
||||
lean_mark_persistent(l_Lean_instBEqRat___closed__1);
|
||||
l_Lean_instBEqRat = _init_l_Lean_instBEqRat();
|
||||
lean_mark_persistent(l_Lean_instBEqRat);
|
||||
l_Lean_instToStringRat___closed__1 = _init_l_Lean_instToStringRat___closed__1();
|
||||
lean_mark_persistent(l_Lean_instToStringRat___closed__1);
|
||||
l_Lean_instToStringRat___closed__2 = _init_l_Lean_instToStringRat___closed__2();
|
||||
lean_mark_persistent(l_Lean_instToStringRat___closed__2);
|
||||
l_Lean_instToStringRat___closed__3 = _init_l_Lean_instToStringRat___closed__3();
|
||||
lean_mark_persistent(l_Lean_instToStringRat___closed__3);
|
||||
l_Lean_instReprRat___closed__1 = _init_l_Lean_instReprRat___closed__1();
|
||||
lean_mark_persistent(l_Lean_instReprRat___closed__1);
|
||||
l_Lean_instReprRat___closed__2 = _init_l_Lean_instReprRat___closed__2();
|
||||
lean_mark_persistent(l_Lean_instReprRat___closed__2);
|
||||
l_Lean_mkRat___closed__1 = _init_l_Lean_mkRat___closed__1();
|
||||
lean_mark_persistent(l_Lean_mkRat___closed__1);
|
||||
l_Lean_Rat_floor___closed__1 = _init_l_Lean_Rat_floor___closed__1();
|
||||
lean_mark_persistent(l_Lean_Rat_floor___closed__1);
|
||||
l_Lean_Rat_instLT = _init_l_Lean_Rat_instLT();
|
||||
lean_mark_persistent(l_Lean_Rat_instLT);
|
||||
l_Lean_Rat_instLE = _init_l_Lean_Rat_instLE();
|
||||
lean_mark_persistent(l_Lean_Rat_instLE);
|
||||
l_Lean_Rat_instAdd___closed__1 = _init_l_Lean_Rat_instAdd___closed__1();
|
||||
lean_mark_persistent(l_Lean_Rat_instAdd___closed__1);
|
||||
l_Lean_Rat_instAdd = _init_l_Lean_Rat_instAdd();
|
||||
lean_mark_persistent(l_Lean_Rat_instAdd);
|
||||
l_Lean_Rat_instSub___closed__1 = _init_l_Lean_Rat_instSub___closed__1();
|
||||
lean_mark_persistent(l_Lean_Rat_instSub___closed__1);
|
||||
l_Lean_Rat_instSub = _init_l_Lean_Rat_instSub();
|
||||
lean_mark_persistent(l_Lean_Rat_instSub);
|
||||
l_Lean_Rat_instNeg___closed__1 = _init_l_Lean_Rat_instNeg___closed__1();
|
||||
lean_mark_persistent(l_Lean_Rat_instNeg___closed__1);
|
||||
l_Lean_Rat_instNeg = _init_l_Lean_Rat_instNeg();
|
||||
lean_mark_persistent(l_Lean_Rat_instNeg);
|
||||
l_Lean_Rat_instMul___closed__1 = _init_l_Lean_Rat_instMul___closed__1();
|
||||
lean_mark_persistent(l_Lean_Rat_instMul___closed__1);
|
||||
l_Lean_Rat_instMul = _init_l_Lean_Rat_instMul();
|
||||
lean_mark_persistent(l_Lean_Rat_instMul);
|
||||
l_Std_Internal_instInhabitedRat___closed__1 = _init_l_Std_Internal_instInhabitedRat___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_instInhabitedRat___closed__1);
|
||||
l_Std_Internal_instInhabitedRat___closed__2 = _init_l_Std_Internal_instInhabitedRat___closed__2();
|
||||
lean_mark_persistent(l_Std_Internal_instInhabitedRat___closed__2);
|
||||
l_Std_Internal_instInhabitedRat = _init_l_Std_Internal_instInhabitedRat();
|
||||
lean_mark_persistent(l_Std_Internal_instInhabitedRat);
|
||||
l_Std_Internal_instBEqRat___closed__1 = _init_l_Std_Internal_instBEqRat___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_instBEqRat___closed__1);
|
||||
l_Std_Internal_instBEqRat = _init_l_Std_Internal_instBEqRat();
|
||||
lean_mark_persistent(l_Std_Internal_instBEqRat);
|
||||
l_Std_Internal_instToStringRat___closed__1 = _init_l_Std_Internal_instToStringRat___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_instToStringRat___closed__1);
|
||||
l_Std_Internal_instToStringRat___closed__2 = _init_l_Std_Internal_instToStringRat___closed__2();
|
||||
lean_mark_persistent(l_Std_Internal_instToStringRat___closed__2);
|
||||
l_Std_Internal_instToStringRat___closed__3 = _init_l_Std_Internal_instToStringRat___closed__3();
|
||||
lean_mark_persistent(l_Std_Internal_instToStringRat___closed__3);
|
||||
l_Std_Internal_instReprRat___closed__1 = _init_l_Std_Internal_instReprRat___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_instReprRat___closed__1);
|
||||
l_Std_Internal_instReprRat___closed__2 = _init_l_Std_Internal_instReprRat___closed__2();
|
||||
lean_mark_persistent(l_Std_Internal_instReprRat___closed__2);
|
||||
l_Std_Internal_mkRat___closed__1 = _init_l_Std_Internal_mkRat___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_mkRat___closed__1);
|
||||
l_Std_Internal_Rat_floor___closed__1 = _init_l_Std_Internal_Rat_floor___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_floor___closed__1);
|
||||
l_Std_Internal_Rat_instLT = _init_l_Std_Internal_Rat_instLT();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instLT);
|
||||
l_Std_Internal_Rat_instLE = _init_l_Std_Internal_Rat_instLE();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instLE);
|
||||
l_Std_Internal_Rat_instAdd___closed__1 = _init_l_Std_Internal_Rat_instAdd___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instAdd___closed__1);
|
||||
l_Std_Internal_Rat_instAdd = _init_l_Std_Internal_Rat_instAdd();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instAdd);
|
||||
l_Std_Internal_Rat_instSub___closed__1 = _init_l_Std_Internal_Rat_instSub___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instSub___closed__1);
|
||||
l_Std_Internal_Rat_instSub = _init_l_Std_Internal_Rat_instSub();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instSub);
|
||||
l_Std_Internal_Rat_instNeg___closed__1 = _init_l_Std_Internal_Rat_instNeg___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instNeg___closed__1);
|
||||
l_Std_Internal_Rat_instNeg = _init_l_Std_Internal_Rat_instNeg();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instNeg);
|
||||
l_Std_Internal_Rat_instMul___closed__1 = _init_l_Std_Internal_Rat_instMul___closed__1();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instMul___closed__1);
|
||||
l_Std_Internal_Rat_instMul = _init_l_Std_Internal_Rat_instMul();
|
||||
lean_mark_persistent(l_Std_Internal_Rat_instMul);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
57
stage0/stdlib/Std/Time.c
generated
Normal file
57
stage0/stdlib/Std/Time.c
generated
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time
|
||||
// Imports: Std.Time.Time Std.Time.Date Std.Time.Zoned Std.Time.Format Std.Time.DateTime Std.Time.Notation Std.Time.Duration Std.Time.Zoned.Database
|
||||
#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_Time_Time(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Zoned(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Format(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_DateTime(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Notation(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Duration(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Zoned_Database(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Time_Time(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Zoned(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Format(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_DateTime(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Notation(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Duration(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Zoned_Database(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
33
stage0/stdlib/Std/Time/Date.c
generated
Normal file
33
stage0/stdlib/Std/Time/Date.c
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time.Date
|
||||
// Imports: Std.Time.Date.Basic Std.Time.Date.PlainDate
|
||||
#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_Time_Date_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date_PlainDate(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time_Date(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Time_Date_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date_PlainDate(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
2894
stage0/stdlib/Std/Time/Date/Basic.c
generated
Normal file
2894
stage0/stdlib/Std/Time/Date/Basic.c
generated
Normal file
File diff suppressed because it is too large
Load diff
4831
stage0/stdlib/Std/Time/Date/PlainDate.c
generated
Normal file
4831
stage0/stdlib/Std/Time/Date/PlainDate.c
generated
Normal file
File diff suppressed because it is too large
Load diff
100
stage0/stdlib/Std/Time/Date/Unit/Basic.c
generated
Normal file
100
stage0/stdlib/Std/Time/Date/Unit/Basic.c
generated
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time.Date.Unit.Basic
|
||||
// Imports: Std.Time.Date.Unit.Day Std.Time.Date.Unit.Month Std.Time.Date.Unit.Year Std.Time.Date.Unit.Weekday Std.Time.Date.Unit.Week
|
||||
#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
|
||||
static lean_object* l_Std_Time_Day_Offset_ofWeeks___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_toWeeks___boxed(lean_object*);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_ofWeeks___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_toWeeks(lean_object*);
|
||||
lean_object* lean_int_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_ofWeeks(lean_object*);
|
||||
lean_object* lean_int_ediv(lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Std_Time_Day_Offset_ofWeeks___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(7u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_ofWeeks(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Std_Time_Day_Offset_ofWeeks___closed__1;
|
||||
x_3 = lean_int_mul(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_ofWeeks___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Day_Offset_ofWeeks(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_toWeeks(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Std_Time_Day_Offset_ofWeeks___closed__1;
|
||||
x_3 = lean_int_ediv(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_Offset_toWeeks___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Day_Offset_toWeeks(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Std_Time_Date_Unit_Day(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date_Unit_Month(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date_Unit_Year(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date_Unit_Weekday(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date_Unit_Week(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time_Date_Unit_Basic(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Time_Date_Unit_Day(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date_Unit_Month(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date_Unit_Year(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date_Unit_Weekday(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date_Unit_Week(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Std_Time_Day_Offset_ofWeeks___closed__1 = _init_l_Std_Time_Day_Offset_ofWeeks___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Day_Offset_ofWeeks___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
1554
stage0/stdlib/Std/Time/Date/Unit/Day.c
generated
Normal file
1554
stage0/stdlib/Std/Time/Date/Unit/Day.c
generated
Normal file
File diff suppressed because it is too large
Load diff
3303
stage0/stdlib/Std/Time/Date/Unit/Month.c
generated
Normal file
3303
stage0/stdlib/Std/Time/Date/Unit/Month.c
generated
Normal file
File diff suppressed because it is too large
Load diff
1294
stage0/stdlib/Std/Time/Date/Unit/Week.c
generated
Normal file
1294
stage0/stdlib/Std/Time/Date/Unit/Week.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2221
stage0/stdlib/Std/Time/Date/Unit/Weekday.c
generated
Normal file
2221
stage0/stdlib/Std/Time/Date/Unit/Weekday.c
generated
Normal file
File diff suppressed because it is too large
Load diff
1273
stage0/stdlib/Std/Time/Date/Unit/Year.c
generated
Normal file
1273
stage0/stdlib/Std/Time/Date/Unit/Year.c
generated
Normal file
File diff suppressed because it is too large
Load diff
419
stage0/stdlib/Std/Time/Date/ValidDate.c
generated
Normal file
419
stage0/stdlib/Std/Time/Date/ValidDate.c
generated
Normal file
|
|
@ -0,0 +1,419 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time.Date.ValidDate
|
||||
// Imports: Std.Internal.Rat Std.Time.Date.Unit.Day Std.Time.Date.Unit.Month
|
||||
#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
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal(uint8_t, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__18;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__8;
|
||||
lean_object* l_Std_Time_Month_Ordinal_days(uint8_t, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__4;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__5;
|
||||
lean_object* lean_int_emod(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__9;
|
||||
uint8_t lean_int_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_dayOfYear___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_dayOfYear(uint8_t, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__13;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__15;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_instInhabitedValidDate___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_int_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal_go(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__16;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__19;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__11;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__12;
|
||||
lean_object* l_Std_Time_Month_Ordinal_cumulativeDays(uint8_t, lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__14;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__7;
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__6;
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
lean_object* lean_int_neg(lean_object*);
|
||||
static lean_object* l_Std_Time_instInhabitedValidDate___closed__17;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_instInhabitedValidDate(uint8_t);
|
||||
static lean_object* l_Std_Time_ValidDate_ofOrdinal___closed__1;
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(1u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(11u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__2;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__3;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_3 = lean_int_sub(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__4;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_2 = lean_int_sub(x_1, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__6;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__5;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__7;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__5;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__8;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__5;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__9;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(30u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__11;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__12;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_3 = lean_int_sub(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__13;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__6;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__14;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__15;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__14;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__16;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__14;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__17;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_instInhabitedValidDate___closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_instInhabitedValidDate___closed__10;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__18;
|
||||
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_Std_Time_instInhabitedValidDate(uint8_t x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_instInhabitedValidDate___closed__19;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_instInhabitedValidDate___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_3 = l_Std_Time_instInhabitedValidDate(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_dayOfYear(uint8_t x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_3 = lean_ctor_get(x_2, 0);
|
||||
x_4 = l_Std_Time_Month_Ordinal_cumulativeDays(x_1, x_3);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_int_add(x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_dayOfYear___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_4 = l_Std_Time_ValidDate_dayOfYear(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal_go(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_7 = l_Std_Time_Month_Ordinal_days(x_1, x_3);
|
||||
x_8 = lean_int_add(x_4, x_7);
|
||||
lean_dec(x_7);
|
||||
x_9 = lean_int_dec_le(x_2, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
lean_dec(x_4);
|
||||
x_10 = l_Std_Time_instInhabitedValidDate___closed__1;
|
||||
x_11 = lean_int_add(x_3, x_10);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_11;
|
||||
x_4 = x_8;
|
||||
x_5 = lean_box(0);
|
||||
x_6 = lean_box(0);
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
lean_dec(x_8);
|
||||
x_13 = lean_int_neg(x_4);
|
||||
lean_dec(x_4);
|
||||
x_14 = lean_int_add(x_2, x_13);
|
||||
lean_dec(x_13);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_3);
|
||||
lean_ctor_set(x_15, 1, x_14);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal_go___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_1);
|
||||
lean_dec(x_1);
|
||||
x_8 = l_Std_Time_ValidDate_ofOrdinal_go(x_7, x_2, x_3, x_4, x_5, x_6);
|
||||
lean_dec(x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_ValidDate_ofOrdinal___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal(uint8_t x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = l_Std_Time_instInhabitedValidDate___closed__10;
|
||||
x_4 = l_Std_Time_ValidDate_ofOrdinal___closed__1;
|
||||
x_5 = l_Std_Time_ValidDate_ofOrdinal_go(x_1, x_2, x_3, x_4, lean_box(0), lean_box(0));
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_ValidDate_ofOrdinal___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = lean_unbox(x_1);
|
||||
lean_dec(x_1);
|
||||
x_4 = l_Std_Time_ValidDate_ofOrdinal(x_3, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Std_Internal_Rat(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date_Unit_Day(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Date_Unit_Month(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time_Date_ValidDate(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Internal_Rat(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date_Unit_Day(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Date_Unit_Month(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Std_Time_instInhabitedValidDate___closed__1 = _init_l_Std_Time_instInhabitedValidDate___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__1);
|
||||
l_Std_Time_instInhabitedValidDate___closed__2 = _init_l_Std_Time_instInhabitedValidDate___closed__2();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__2);
|
||||
l_Std_Time_instInhabitedValidDate___closed__3 = _init_l_Std_Time_instInhabitedValidDate___closed__3();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__3);
|
||||
l_Std_Time_instInhabitedValidDate___closed__4 = _init_l_Std_Time_instInhabitedValidDate___closed__4();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__4);
|
||||
l_Std_Time_instInhabitedValidDate___closed__5 = _init_l_Std_Time_instInhabitedValidDate___closed__5();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__5);
|
||||
l_Std_Time_instInhabitedValidDate___closed__6 = _init_l_Std_Time_instInhabitedValidDate___closed__6();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__6);
|
||||
l_Std_Time_instInhabitedValidDate___closed__7 = _init_l_Std_Time_instInhabitedValidDate___closed__7();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__7);
|
||||
l_Std_Time_instInhabitedValidDate___closed__8 = _init_l_Std_Time_instInhabitedValidDate___closed__8();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__8);
|
||||
l_Std_Time_instInhabitedValidDate___closed__9 = _init_l_Std_Time_instInhabitedValidDate___closed__9();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__9);
|
||||
l_Std_Time_instInhabitedValidDate___closed__10 = _init_l_Std_Time_instInhabitedValidDate___closed__10();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__10);
|
||||
l_Std_Time_instInhabitedValidDate___closed__11 = _init_l_Std_Time_instInhabitedValidDate___closed__11();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__11);
|
||||
l_Std_Time_instInhabitedValidDate___closed__12 = _init_l_Std_Time_instInhabitedValidDate___closed__12();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__12);
|
||||
l_Std_Time_instInhabitedValidDate___closed__13 = _init_l_Std_Time_instInhabitedValidDate___closed__13();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__13);
|
||||
l_Std_Time_instInhabitedValidDate___closed__14 = _init_l_Std_Time_instInhabitedValidDate___closed__14();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__14);
|
||||
l_Std_Time_instInhabitedValidDate___closed__15 = _init_l_Std_Time_instInhabitedValidDate___closed__15();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__15);
|
||||
l_Std_Time_instInhabitedValidDate___closed__16 = _init_l_Std_Time_instInhabitedValidDate___closed__16();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__16);
|
||||
l_Std_Time_instInhabitedValidDate___closed__17 = _init_l_Std_Time_instInhabitedValidDate___closed__17();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__17);
|
||||
l_Std_Time_instInhabitedValidDate___closed__18 = _init_l_Std_Time_instInhabitedValidDate___closed__18();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__18);
|
||||
l_Std_Time_instInhabitedValidDate___closed__19 = _init_l_Std_Time_instInhabitedValidDate___closed__19();
|
||||
lean_mark_persistent(l_Std_Time_instInhabitedValidDate___closed__19);
|
||||
l_Std_Time_ValidDate_ofOrdinal___closed__1 = _init_l_Std_Time_ValidDate_ofOrdinal___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_ValidDate_ofOrdinal___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
588
stage0/stdlib/Std/Time/DateTime.c
generated
Normal file
588
stage0/stdlib/Std/Time/DateTime.c
generated
Normal file
|
|
@ -0,0 +1,588 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time.DateTime
|
||||
// Imports: Std.Time.DateTime.Timestamp Std.Time.DateTime.PlainDateTime
|
||||
#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
|
||||
static lean_object* l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1;
|
||||
lean_object* l_Std_Time_Duration_ofNanoseconds(lean_object*);
|
||||
lean_object* l_Std_Time_PlainDate_toDaysSinceUNIXEpoch(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__14;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDate_instHSubDuration(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__15;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_ofPlainDateTimeAssumingUTC(lean_object*);
|
||||
lean_object* lean_int_emod(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_toPlainDate___boxed(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__11;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_toPlainTime(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__16;
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
lean_object* l_Std_Time_PlainTime_ofNanoseconds(lean_object*);
|
||||
extern lean_object* l_Std_Time_PlainTime_midnight;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__13;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__18;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_ofPlainTime(lean_object*);
|
||||
lean_object* l_Std_Time_PlainDateTime_toTimestampAssumingUTC(lean_object*);
|
||||
lean_object* l_Std_Time_PlainDateTime_ofTimestampAssumingUTC(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__2;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__10;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__12;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__3;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__9;
|
||||
static lean_object* l_Std_Time_PlainDate_instHSubDuration___closed__1;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
lean_object* lean_int_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_getTimeAssumingUTC___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_toPlainDate(lean_object*);
|
||||
lean_object* lean_int_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDate_toTimestampAssumingUTC(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_getTimeAssumingUTC(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_ofPlainDateAssumingUTC(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateTimeAssumingUTC___boxed(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__6;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_ofPlainDate(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateAssumingUTC___boxed(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_toPlainTime___boxed(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__17;
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__4;
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1;
|
||||
lean_object* l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch(lean_object*);
|
||||
lean_object* lean_int_ediv(lean_object*, lean_object*);
|
||||
lean_object* lean_int_neg(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__19;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_instHSubDuration(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateTimeAssumingUTC(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateAssumingUTC(lean_object*);
|
||||
static lean_object* l_Std_Time_PlainDateTime_ofPlainTime___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_ofPlainDateTimeAssumingUTC(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_PlainDateTime_toTimestampAssumingUTC(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateTimeAssumingUTC(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofTimestampAssumingUTC(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateTimeAssumingUTC___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Timestamp_toPlainDateTimeAssumingUTC(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(86400u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_ofPlainDateAssumingUTC(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Std_Time_PlainDate_toDaysSinceUNIXEpoch(x_1);
|
||||
x_3 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1;
|
||||
x_4 = lean_int_mul(x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
x_5 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2;
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_4);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateAssumingUTC(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
x_3 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1;
|
||||
x_4 = lean_int_ediv(x_2, x_3);
|
||||
x_5 = l_Std_Time_PlainDate_ofDaysSinceUNIXEpoch(x_4);
|
||||
lean_dec(x_4);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_toPlainDateAssumingUTC___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Timestamp_toPlainDateAssumingUTC(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(1000000000u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_getTimeAssumingUTC(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
x_3 = l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1;
|
||||
x_4 = lean_int_mul(x_2, x_3);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
x_6 = lean_int_add(x_4, x_5);
|
||||
lean_dec(x_4);
|
||||
x_7 = l_Std_Time_PlainTime_ofNanoseconds(x_6);
|
||||
lean_dec(x_6);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Timestamp_getTimeAssumingUTC___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Timestamp_getTimeAssumingUTC(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDate_toTimestampAssumingUTC(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_2 = l_Std_Time_PlainDate_toDaysSinceUNIXEpoch(x_1);
|
||||
x_3 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1;
|
||||
x_4 = lean_int_mul(x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
x_5 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2;
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_4);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDate_instHSubDuration___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2;
|
||||
x_2 = lean_int_neg(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDate_instHSubDuration(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_3 = l_Std_Time_PlainDate_toDaysSinceUNIXEpoch(x_1);
|
||||
x_4 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1;
|
||||
x_5 = lean_int_mul(x_3, x_4);
|
||||
lean_dec(x_3);
|
||||
x_6 = l_Std_Time_PlainDate_toDaysSinceUNIXEpoch(x_2);
|
||||
x_7 = lean_int_mul(x_6, x_4);
|
||||
lean_dec(x_6);
|
||||
x_8 = lean_int_neg(x_7);
|
||||
lean_dec(x_7);
|
||||
x_9 = l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1;
|
||||
x_10 = lean_int_mul(x_5, x_9);
|
||||
lean_dec(x_5);
|
||||
x_11 = l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2;
|
||||
x_12 = lean_int_add(x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
x_13 = lean_int_mul(x_8, x_9);
|
||||
lean_dec(x_8);
|
||||
x_14 = l_Std_Time_PlainDate_instHSubDuration___closed__1;
|
||||
x_15 = lean_int_add(x_13, x_14);
|
||||
lean_dec(x_13);
|
||||
x_16 = lean_int_add(x_12, x_15);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_12);
|
||||
x_17 = l_Std_Time_Duration_ofNanoseconds(x_16);
|
||||
lean_dec(x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_ofPlainDate(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Std_Time_PlainTime_midnight;
|
||||
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_Std_Time_PlainDateTime_toPlainDate(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_toPlainDate___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_PlainDateTime_toPlainDate(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(1u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(11u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__3() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__2;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__4() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__3;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_3 = lean_int_sub(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__5() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__4;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__6() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_2 = lean_int_sub(x_1, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__7() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__6;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__5;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__8() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__7;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__5;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__9() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__8;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__5;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__10() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__9;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__11() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(30u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__12() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__11;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__13() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__12;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_3 = lean_int_sub(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__14() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__13;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__15() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__6;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__14;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__16() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__15;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__14;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__17() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__16;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__14;
|
||||
x_3 = lean_int_emod(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__18() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__17;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__19() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Std_Time_PlainDateTime_ofPlainTime___closed__1;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__10;
|
||||
x_3 = l_Std_Time_PlainDateTime_ofPlainTime___closed__18;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_1);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_ofPlainTime(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Std_Time_PlainDateTime_ofPlainTime___closed__19;
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_toPlainTime(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_2);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_toPlainTime___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_PlainDateTime_toPlainTime(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_PlainDateTime_instHSubDuration(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_3 = l_Std_Time_PlainDateTime_toTimestampAssumingUTC(x_1);
|
||||
x_4 = l_Std_Time_PlainDateTime_toTimestampAssumingUTC(x_2);
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_int_neg(x_5);
|
||||
lean_dec(x_5);
|
||||
x_7 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_4);
|
||||
x_8 = lean_int_neg(x_7);
|
||||
lean_dec(x_7);
|
||||
x_9 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1;
|
||||
x_11 = lean_int_mul(x_9, x_10);
|
||||
lean_dec(x_9);
|
||||
x_12 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_3);
|
||||
x_13 = lean_int_add(x_11, x_12);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_11);
|
||||
x_14 = lean_int_mul(x_6, x_10);
|
||||
lean_dec(x_6);
|
||||
x_15 = lean_int_add(x_14, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_14);
|
||||
x_16 = lean_int_add(x_13, x_15);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_13);
|
||||
x_17 = l_Std_Time_Duration_ofNanoseconds(x_16);
|
||||
lean_dec(x_16);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Std_Time_DateTime_Timestamp(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_DateTime_PlainDateTime(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time_DateTime(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Time_DateTime_Timestamp(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_DateTime_PlainDateTime(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1 = _init_l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__1);
|
||||
l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2 = _init_l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2();
|
||||
lean_mark_persistent(l_Std_Time_Timestamp_ofPlainDateAssumingUTC___closed__2);
|
||||
l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1 = _init_l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Timestamp_getTimeAssumingUTC___closed__1);
|
||||
l_Std_Time_PlainDate_instHSubDuration___closed__1 = _init_l_Std_Time_PlainDate_instHSubDuration___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_PlainDate_instHSubDuration___closed__1);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__1 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__1);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__2 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__2();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__2);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__3 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__3();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__3);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__4 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__4();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__4);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__5 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__5();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__5);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__6 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__6();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__6);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__7 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__7();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__7);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__8 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__8();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__8);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__9 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__9();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__9);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__10 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__10();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__10);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__11 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__11();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__11);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__12 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__12();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__12);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__13 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__13();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__13);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__14 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__14();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__14);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__15 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__15();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__15);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__16 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__16();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__16);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__17 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__17();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__17);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__18 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__18();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__18);
|
||||
l_Std_Time_PlainDateTime_ofPlainTime___closed__19 = _init_l_Std_Time_PlainDateTime_ofPlainTime___closed__19();
|
||||
lean_mark_persistent(l_Std_Time_PlainDateTime_ofPlainTime___closed__19);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
6439
stage0/stdlib/Std/Time/DateTime/PlainDateTime.c
generated
Normal file
6439
stage0/stdlib/Std/Time/DateTime/PlainDateTime.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2260
stage0/stdlib/Std/Time/DateTime/Timestamp.c
generated
Normal file
2260
stage0/stdlib/Std/Time/DateTime/Timestamp.c
generated
Normal file
File diff suppressed because it is too large
Load diff
2924
stage0/stdlib/Std/Time/Duration.c
generated
Normal file
2924
stage0/stdlib/Std/Time/Duration.c
generated
Normal file
File diff suppressed because it is too large
Load diff
7956
stage0/stdlib/Std/Time/Format.c
generated
Normal file
7956
stage0/stdlib/Std/Time/Format.c
generated
Normal file
File diff suppressed because it is too large
Load diff
89589
stage0/stdlib/Std/Time/Format/Basic.c
generated
Normal file
89589
stage0/stdlib/Std/Time/Format/Basic.c
generated
Normal file
File diff suppressed because it is too large
Load diff
33
stage0/stdlib/Std/Time/Internal.c
generated
Normal file
33
stage0/stdlib/Std/Time/Internal.c
generated
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time.Internal
|
||||
// Imports: Std.Time.Internal.Bounded Std.Time.Internal.UnitVal
|
||||
#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_Time_Internal_Bounded(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Internal_UnitVal(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time_Internal(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Time_Internal_Bounded(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Internal_UnitVal(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
1958
stage0/stdlib/Std/Time/Internal/Bounded.c
generated
Normal file
1958
stage0/stdlib/Std/Time/Internal/Bounded.c
generated
Normal file
File diff suppressed because it is too large
Load diff
832
stage0/stdlib/Std/Time/Internal/UnitVal.c
generated
Normal file
832
stage0/stdlib/Std/Time/Internal/UnitVal.c
generated
Normal file
|
|
@ -0,0 +1,832 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time.Internal.UnitVal
|
||||
// Imports: Init.Data Std.Internal.Rat
|
||||
#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_Std_Time_Internal_UnitVal_instToString___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ofNat___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instDecidableLeUnitVal___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLT(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLE(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instToString___rarg___boxed(lean_object*);
|
||||
static lean_object* l_Std_Time_Internal_UnitVal_instSub___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul___boxed(lean_object*);
|
||||
uint8_t lean_int_dec_le(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Internal_UnitVal_instToString___rarg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div___rarg(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Time_Internal_instInhabitedUnitVal___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_convert(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instOfNat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_convert___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instDecidableLeUnitVal(lean_object*);
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instSub___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ofNat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instInhabitedUnitVal(lean_object*);
|
||||
lean_object* l_Int_repr(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt___boxed(lean_object*);
|
||||
lean_object* l_Std_Internal_Rat_div(lean_object*, lean_object*);
|
||||
lean_object* lean_int_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Internal_instDecidableLeUnitVal___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLE___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instOfNat___boxed(lean_object*);
|
||||
lean_object* lean_int_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv(lean_object*);
|
||||
static lean_object* l_Std_Time_Internal_UnitVal_instAdd___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instLEUnitVal(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instLEUnitVal___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_abs(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs___rarg___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add___rarg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instSub(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instDecidableLeUnitVal___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_int_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instBEqUnitVal(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div___rarg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instAdd___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instInhabitedUnitVal___boxed(lean_object*);
|
||||
lean_object* l_Repr_addAppParen(lean_object*, lean_object*);
|
||||
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instToString(lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instAdd(lean_object*);
|
||||
static lean_object* l_Std_Time_Internal_instBEqUnitVal___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ofNat___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLT___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr___boxed(lean_object*);
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv___rarg(lean_object*, lean_object*);
|
||||
uint8_t lean_int_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt___rarg(lean_object*);
|
||||
lean_object* lean_int_ediv(lean_object*, lean_object*);
|
||||
lean_object* lean_int_neg(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instOfNat___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instToString___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv___rarg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instBEqUnitVal___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg___rarg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr___rarg(lean_object*, lean_object*);
|
||||
static lean_object* _init_l_Std_Time_Internal_instInhabitedUnitVal___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instInhabitedUnitVal(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_instInhabitedUnitVal___closed__1;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instInhabitedUnitVal___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_instInhabitedUnitVal(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = lean_int_dec_eq(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35_(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Internal_instBEqUnitVal___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Std_Time_Internal_UnitVal_0__Std_Time_Internal_beqUnitVal____x40_Std_Time_Internal_UnitVal___hyg_35____rarg___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instBEqUnitVal(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_instBEqUnitVal___closed__1;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instBEqUnitVal___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_instBEqUnitVal(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instLEUnitVal(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_box(0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instLEUnitVal___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_instLEUnitVal(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Internal_instDecidableLeUnitVal___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = lean_int_dec_le(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instDecidableLeUnitVal(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_instDecidableLeUnitVal___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instDecidableLeUnitVal___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l_Std_Time_Internal_instDecidableLeUnitVal___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_instDecidableLeUnitVal___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_instDecidableLeUnitVal(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ofNat___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ofNat(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_ofNat___rarg), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ofNat___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_ofNat(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_inc(x_1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_toInt___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_toInt___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_toInt___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_toInt(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_int_mul(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_mul___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_Time_Internal_UnitVal_mul___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_mul___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_mul(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_int_ediv(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_ediv___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_Time_Internal_UnitVal_ediv___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_ediv___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_ediv(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_int_div(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_div___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_Time_Internal_UnitVal_div___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_div___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_div(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_int_add(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_add___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_Time_Internal_UnitVal_add___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_add___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_add(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_int_sub(x_1, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_sub___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_Time_Internal_UnitVal_sub___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_sub___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_sub(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = lean_nat_abs(x_1);
|
||||
x_3 = lean_nat_to_int(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_abs___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_abs___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_abs___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_abs(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_convert(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_4 = l_Std_Internal_Rat_div(x_1, x_2);
|
||||
x_5 = lean_ctor_get(x_4, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_int_mul(x_3, x_5);
|
||||
lean_dec(x_5);
|
||||
x_7 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_4);
|
||||
x_8 = lean_nat_to_int(x_7);
|
||||
x_9 = lean_int_ediv(x_6, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_convert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Std_Time_Internal_UnitVal_convert(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instOfNat___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instOfNat(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_instOfNat___rarg), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instOfNat___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instOfNat(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr___rarg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; uint8_t x_4;
|
||||
x_3 = l_Std_Time_Internal_instInhabitedUnitVal___closed__1;
|
||||
x_4 = lean_int_dec_lt(x_1, x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
x_5 = l_Int_repr(x_1);
|
||||
x_6 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_6, 0, x_5);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_7 = l_Int_repr(x_1);
|
||||
x_8 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
x_9 = l_Repr_addAppParen(x_8, x_2);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_instRepr___rarg___boxed), 2, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr___rarg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_Time_Internal_UnitVal_instRepr___rarg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instRepr___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instRepr(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLE(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_box(0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLE___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instLE(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLT(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_box(0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instLT___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instLT(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Internal_UnitVal_instAdd___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_add___rarg___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instAdd(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instAdd___closed__1;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instAdd___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instAdd(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Internal_UnitVal_instSub___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_sub___rarg___boxed), 2, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instSub(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instSub___closed__1;
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instSub___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instSub(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_int_neg(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_instNeg___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instNeg___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instNeg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instNeg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Internal_UnitVal_instToString___rarg___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("-", 1, 1);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instToString___rarg(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; uint8_t x_3;
|
||||
x_2 = l_Std_Time_Internal_instInhabitedUnitVal___closed__1;
|
||||
x_3 = lean_int_dec_lt(x_1, x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = lean_nat_abs(x_1);
|
||||
x_5 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
|
||||
x_6 = lean_nat_abs(x_1);
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
x_8 = lean_nat_sub(x_6, x_7);
|
||||
lean_dec(x_6);
|
||||
x_9 = lean_nat_add(x_8, x_7);
|
||||
lean_dec(x_8);
|
||||
x_10 = l___private_Init_Data_Repr_0__Nat_reprFast(x_9);
|
||||
x_11 = l_Std_Time_Internal_UnitVal_instToString___rarg___closed__1;
|
||||
x_12 = lean_string_append(x_11, x_10);
|
||||
lean_dec(x_10);
|
||||
return x_12;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instToString(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Std_Time_Internal_UnitVal_instToString___rarg___boxed), 1, 0);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instToString___rarg___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instToString___rarg(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Internal_UnitVal_instToString___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Std_Time_Internal_UnitVal_instToString(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Internal_Rat(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time_Internal_UnitVal(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Init_Data(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Internal_Rat(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Std_Time_Internal_instInhabitedUnitVal___closed__1 = _init_l_Std_Time_Internal_instInhabitedUnitVal___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Internal_instInhabitedUnitVal___closed__1);
|
||||
l_Std_Time_Internal_instBEqUnitVal___closed__1 = _init_l_Std_Time_Internal_instBEqUnitVal___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Internal_instBEqUnitVal___closed__1);
|
||||
l_Std_Time_Internal_UnitVal_instAdd___closed__1 = _init_l_Std_Time_Internal_UnitVal_instAdd___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Internal_UnitVal_instAdd___closed__1);
|
||||
l_Std_Time_Internal_UnitVal_instSub___closed__1 = _init_l_Std_Time_Internal_UnitVal_instSub___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Internal_UnitVal_instSub___closed__1);
|
||||
l_Std_Time_Internal_UnitVal_instToString___rarg___closed__1 = _init_l_Std_Time_Internal_UnitVal_instToString___rarg___closed__1();
|
||||
lean_mark_persistent(l_Std_Time_Internal_UnitVal_instToString___rarg___closed__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
14749
stage0/stdlib/Std/Time/Notation.c
generated
Normal file
14749
stage0/stdlib/Std/Time/Notation.c
generated
Normal file
File diff suppressed because it is too large
Load diff
10271
stage0/stdlib/Std/Time/Notation/Spec.c
generated
Normal file
10271
stage0/stdlib/Std/Time/Notation/Spec.c
generated
Normal file
File diff suppressed because it is too large
Load diff
37
stage0/stdlib/Std/Time/Time.c
generated
Normal file
37
stage0/stdlib/Std/Time/Time.c
generated
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
// Lean compiler output
|
||||
// Module: Std.Time.Time
|
||||
// Imports: Std.Time.Time.Basic Std.Time.Time.HourMarker Std.Time.Time.PlainTime
|
||||
#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_Time_Time_Basic(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Time_HourMarker(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Std_Time_Time_PlainTime(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Std_Time_Time(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Std_Time_Time_Basic(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Time_HourMarker(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Std_Time_Time_PlainTime(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue