chore: update stage0

This commit is contained in:
Lean stage0 autoupdater 2025-04-24 10:54:10 +00:00
parent be66157583
commit e00a2f63ec
109 changed files with 17872 additions and 6990 deletions

View file

@ -387,15 +387,10 @@ compacted_region::compacted_region(size_t sz, void * data, void * base_addr, boo
m_end(static_cast<char*>(data)+sz) {
}
compacted_region::compacted_region(object_compactor const & c):
m_begin(malloc(c.size())),
m_next(m_begin),
m_end(static_cast<char*>(m_begin) + c.size()) {
memcpy(m_begin, c.data(), c.size());
}
compacted_region::~compacted_region() {
m_free_data();
if (m_free_data) {
m_free_data();
}
}
inline object * compacted_region::fix_object_ptr(object * o) {

View file

@ -1,5 +1,7 @@
#include "util/options.h"
// please update
namespace lean {
options get_default_options() {
options opts;

View file

@ -2343,7 +2343,7 @@ x_9 = l_Array_swapAt_x21___rarg___closed__2;
x_10 = lean_string_append(x_8, x_9);
x_11 = l_Array_swapAt_x21___rarg___closed__3;
x_12 = l_Array_swapAt_x21___rarg___closed__4;
x_13 = lean_unsigned_to_nat(436u);
x_13 = lean_unsigned_to_nat(438u);
x_14 = lean_unsigned_to_nat(4u);
x_15 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_11, x_12, x_13, x_14, x_10);
lean_dec(x_10);
@ -7817,7 +7817,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_Array_swapAt_x21___rarg___closed__3;
x_2 = l_Array_findSome_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(1219u);
x_3 = lean_unsigned_to_nat(1221u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Array_findSome_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -11642,7 +11642,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_Array_swapAt_x21___rarg___closed__3;
x_2 = l_Array_eraseIdx_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(1819u);
x_3 = lean_unsigned_to_nat(1821u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_Array_eraseIdx_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -11872,7 +11872,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_Array_swapAt_x21___rarg___closed__3;
x_2 = l_Array_insertIdx_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(1904u);
x_3 = lean_unsigned_to_nat(1906u);
x_4 = lean_unsigned_to_nat(7u);
x_5 = l_Array_eraseIdx_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -2322,7 +2322,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_ByteArray_toUInt64LE_x21___closed__4;
x_2 = l_ByteArray_toUInt64LE_x21___closed__5;
x_3 = lean_unsigned_to_nat(353u);
x_3 = lean_unsigned_to_nat(355u);
x_4 = lean_unsigned_to_nat(2u);
x_5 = l_ByteArray_toUInt64LE_x21___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -2420,7 +2420,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_ByteArray_toUInt64LE_x21___closed__4;
x_2 = l_ByteArray_toUInt64BE_x21___closed__1;
x_3 = lean_unsigned_to_nat(365u);
x_3 = lean_unsigned_to_nat(367u);
x_4 = lean_unsigned_to_nat(2u);
x_5 = l_ByteArray_toUInt64LE_x21___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -260,7 +260,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_List_get_x21___rarg___closed__1;
x_2 = l_List_get_x21___rarg___closed__2;
x_3 = lean_unsigned_to_nat(66u);
x_3 = lean_unsigned_to_nat(68u);
x_4 = lean_unsigned_to_nat(18u);
x_5 = l_List_get_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -382,7 +382,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_List_get_x21___rarg___closed__1;
x_2 = l_List_getLast_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(113u);
x_3 = lean_unsigned_to_nat(115u);
x_4 = lean_unsigned_to_nat(13u);
x_5 = l_List_getLast_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -449,7 +449,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_List_get_x21___rarg___closed__1;
x_2 = l_List_head_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(129u);
x_3 = lean_unsigned_to_nat(131u);
x_4 = lean_unsigned_to_nat(12u);
x_5 = l_List_getLast_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -524,7 +524,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_List_get_x21___rarg___closed__1;
x_2 = l_List_tail_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(148u);
x_3 = lean_unsigned_to_nat(150u);
x_4 = lean_unsigned_to_nat(13u);
x_5 = l_List_getLast_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -52,7 +52,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_Option_get_x21___rarg___closed__1;
x_2 = l_Option_get_x21___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Option_get_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -191,7 +191,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_String_toNat_x21___closed__1;
x_2 = l_String_toNat_x21___closed__2;
x_3 = lean_unsigned_to_nat(31u);
x_3 = lean_unsigned_to_nat(33u);
x_4 = lean_unsigned_to_nat(4u);
x_5 = l_String_toNat_x21___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -864,7 +864,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_String_toNat_x21___closed__1;
x_2 = l_String_fromUTF8_x21___closed__1;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_String_fromUTF8_x21___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -5056,7 +5056,7 @@ x_10 = l_Vector_swapAt_x21___rarg___closed__2;
x_11 = lean_string_append(x_9, x_10);
x_12 = l_Vector_swapAt_x21___rarg___closed__3;
x_13 = l_Vector_swapAt_x21___rarg___closed__4;
x_14 = lean_unsigned_to_nat(436u);
x_14 = lean_unsigned_to_nat(438u);
x_15 = lean_unsigned_to_nat(4u);
x_16 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_12, x_13, x_14, x_15, x_11);
lean_dec(x_11);
@ -5388,7 +5388,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_Vector_eraseIdx_x21___rarg___closed__1;
x_2 = l_Vector_eraseIdx_x21___rarg___closed__2;
x_3 = lean_unsigned_to_nat(370u);
x_3 = lean_unsigned_to_nat(372u);
x_4 = lean_unsigned_to_nat(4u);
x_5 = l_Vector_eraseIdx_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -5517,7 +5517,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_Vector_eraseIdx_x21___rarg___closed__1;
x_2 = l_Vector_insertIdx_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(383u);
x_3 = lean_unsigned_to_nat(385u);
x_4 = lean_unsigned_to_nat(4u);
x_5 = l_Vector_eraseIdx_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -353,7 +353,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_outOfBounds___rarg___closed__1;
x_2 = l_outOfBounds___rarg___closed__2;
x_3 = lean_unsigned_to_nat(11u);
x_3 = lean_unsigned_to_nat(13u);
x_4 = lean_unsigned_to_nat(2u);
x_5 = l_outOfBounds___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -3550,7 +3550,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_outOfBounds___rarg___closed__1;
x_2 = l___private_Init_GetElem_0__List_get_x21Internal___rarg___closed__1;
x_3 = lean_unsigned_to_nat(272u);
x_3 = lean_unsigned_to_nat(274u);
x_4 = lean_unsigned_to_nat(18u);
x_5 = l___private_Init_GetElem_0__List_get_x21Internal___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -14851,7 +14851,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_List_foldr___at_Substring_toName___spec__1___closed__1;
x_2 = l_List_foldr___at_Substring_toName___spec__1___closed__2;
x_3 = lean_unsigned_to_nat(1039u);
x_3 = lean_unsigned_to_nat(1041u);
x_4 = lean_unsigned_to_nat(10u);
x_5 = l_List_foldr___at_Substring_toName___spec__1___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -11027,7 +11027,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_IO_FS_withIsolatedStreams___rarg___lambda__1___closed__1;
x_2 = l_IO_FS_withIsolatedStreams___rarg___lambda__1___closed__2;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___rarg___lambda__1___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -643,7 +643,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_System_Uri_UriEscape_decodeUri___closed__2;
x_2 = l_System_Uri_UriEscape_decodeUri___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_System_Uri_UriEscape_decodeUri___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -13247,7 +13247,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_IO_FS_withIsolatedStreams___at_Lake_buildFileAfterDep___spec__2___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_buildFileAfterDep___spec__2___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_buildFileAfterDep___spec__2___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -4577,7 +4577,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_IO_FS_withIsolatedStreams___at_Lake_LeanExe_recBuildExe___spec__22___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_LeanExe_recBuildExe___spec__22___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_LeanExe_recBuildExe___spec__22___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1537,7 +1537,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_IO_FS_withIsolatedStreams___at_Lake_ExternLib_recBuildStatic___spec__3___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_ExternLib_recBuildStatic___spec__3___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_ExternLib_recBuildStatic___spec__3___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1305,7 +1305,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_IO_FS_withIsolatedStreams___at___private_Lake_Build_InputFile_0__Lake_InputFile_recFetch___spec__2___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at___private_Lake_Build_InputFile_0__Lake_InputFile_recFetch___spec__2___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at___private_Lake_Build_InputFile_0__Lake_InputFile_recFetch___spec__2___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -7503,7 +7503,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_IO_FS_withIsolatedStreams___at_Lake_Job_async___spec__1___rarg___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_Job_async___spec__1___rarg___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_Job_async___spec__1___rarg___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -2498,7 +2498,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_IO_FS_withIsolatedStreams___at_Lake_ensureJob___spec__1___rarg___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_ensureJob___spec__1___rarg___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_ensureJob___spec__1___rarg___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -4159,7 +4159,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_IO_FS_withIsolatedStreams___at_Lake_LeanLib_recCollectLocalModules___spec__4___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_LeanLib_recCollectLocalModules___spec__4___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_LeanLib_recCollectLocalModules___spec__4___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -4851,7 +4851,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_IO_FS_withIsolatedStreams___at_Lake_Module_recParseImports___spec__9___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_Module_recParseImports___spec__9___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_Module_recParseImports___spec__9___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1957,7 +1957,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_IO_FS_withIsolatedStreams___at_Lake_Package_recFetchDeps___spec__4___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_Package_recFetchDeps___spec__4___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_Package_recFetchDeps___spec__4___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -11049,7 +11049,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_IO_FS_withIsolatedStreams___at_Lake_Workspace_runFetchM___spec__1___rarg___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_Workspace_runFetchM___spec__1___rarg___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_Workspace_runFetchM___spec__1___rarg___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -4526,7 +4526,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_IO_FS_withIsolatedStreams___at___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___spec__2___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___spec__2___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___spec__2___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1043,7 +1043,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_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lake_DSL_elabRunIO___spec__1___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -2044,7 +2044,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lake_takeNamePart___closed__1;
x_2 = l_Lake_takeNamePart___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lake_takeNamePart___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -162,7 +162,7 @@ lean_inc(x_8);
lean_dec(x_7);
x_9 = l_Lean_instInhabitedDeclarationRanges;
x_10 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_declareBuiltinDocStringAndRanges___spec__3___closed__1;
x_11 = 0;
x_11 = 1;
x_12 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_9, x_10, x_8, x_1, x_11);
lean_ctor_set(x_5, 0, x_12);
return x_5;
@ -180,7 +180,7 @@ lean_inc(x_15);
lean_dec(x_13);
x_16 = l_Lean_instInhabitedDeclarationRanges;
x_17 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_declareBuiltinDocStringAndRanges___spec__3___closed__1;
x_18 = 0;
x_18 = 1;
x_19 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_16, x_17, x_15, x_1, x_18);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);

View file

@ -1665,21 +1665,23 @@ return x_1;
static lean_object* _init_l_Lean_initFn____x40_Lean_Class___hyg_83____closed__7() {
_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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_Class___hyg_83____closed__3;
x_3 = l_Lean_initFn____x40_Lean_Class___hyg_83____closed__4;
x_4 = l_Lean_initFn____x40_Lean_Class___hyg_83____closed__5;
x_5 = l_Lean_initFn____x40_Lean_Class___hyg_83____closed__6;
x_6 = 2;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Class___hyg_83_(lean_object* x_1) {

View file

@ -5332,7 +5332,7 @@ x_13 = l_Lean_IR_reshapeAux___closed__2;
x_14 = lean_string_append(x_12, x_13);
x_15 = l_Lean_IR_reshapeAux___closed__3;
x_16 = l_Lean_IR_reshapeAux___closed__4;
x_17 = lean_unsigned_to_nat(436u);
x_17 = lean_unsigned_to_nat(438u);
x_18 = lean_unsigned_to_nat(4u);
x_19 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_15, x_16, x_17, x_18, x_14);
lean_dec(x_14);

View file

@ -2146,21 +2146,23 @@ return x_1;
static lean_object* _init_l_Lean_IR_initFn____x40_Lean_Compiler_IR_CompilerM___hyg_464____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
x_1 = l_Lean_IR_initFn____x40_Lean_Compiler_IR_CompilerM___hyg_464____closed__4;
x_2 = l_Lean_IR_initFn____x40_Lean_Compiler_IR_CompilerM___hyg_464____closed__6;
x_3 = l_Lean_IR_initFn____x40_Lean_Compiler_IR_CompilerM___hyg_464____closed__9;
x_4 = l_Lean_IR_initFn____x40_Lean_Compiler_IR_CompilerM___hyg_464____closed__10;
x_5 = 0;
x_6 = l_Lean_IR_initFn____x40_Lean_Compiler_IR_CompilerM___hyg_464____closed__8;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_2);
lean_ctor_set(x_7, 2, x_3);
lean_ctor_set(x_7, 3, x_4);
lean_ctor_set(x_7, 4, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_5);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_2);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set(x_8, 3, x_4);
lean_ctor_set(x_8, 4, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_5);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_initFn____x40_Lean_Compiler_IR_CompilerM___hyg_464_(lean_object* x_1) {

View file

@ -5238,21 +5238,23 @@ return x_1;
static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1177____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1177____closed__5;
x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1177____closed__7;
x_3 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1177____closed__10;
x_4 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1177____closed__11;
x_5 = 0;
x_6 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1177____closed__9;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_2);
lean_ctor_set(x_7, 2, x_3);
lean_ctor_set(x_7, 3, x_4);
lean_ctor_set(x_7, 4, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_5);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_2);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set(x_8, 3, x_4);
lean_ctor_set(x_8, 4, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_5);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1177_(lean_object* x_1) {
@ -9775,7 +9777,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_IR_UnreachableBranches_interpFnBody___closed__1;
x_2 = l_Lean_IR_UnreachableBranches_interpFnBody___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_IR_UnreachableBranches_interpFnBody___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -3018,7 +3018,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_IR_EmitC_emitMainFn___lambda__1___closed__17;
x_2 = l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__18;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__19;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -58446,7 +58446,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_IR_EmitLLVM_emitMainFn___lambda__6___closed__5;
x_2 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__6;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__6___closed__7;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -7727,21 +7727,23 @@ return x_1;
static lean_object* _init_l_Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_1933____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
x_1 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_1933____closed__6;
x_2 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_1933____closed__8;
x_3 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_1933____closed__11;
x_4 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_1933____closed__12;
x_5 = 0;
x_6 = l_Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_1933____closed__10;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_2);
lean_ctor_set(x_7, 2, x_3);
lean_ctor_set(x_7, 3, x_4);
lean_ctor_set(x_7, 4, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_5);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_2);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set(x_8, 3, x_4);
lean_ctor_set(x_8, 4, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_5);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_UnreachableBranches_initFn____x40_Lean_Compiler_LCNF_ElimDeadBranches___hyg_1933_(lean_object* x_1) {

View file

@ -1682,21 +1682,23 @@ return x_1;
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkDeclExt(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10;
x_3 = l_Lean_Compiler_LCNF_mkDeclExt___closed__2;
x_4 = l_Lean_Compiler_LCNF_mkDeclExt___closed__5;
x_5 = l_Lean_Compiler_LCNF_mkDeclExt___closed__6;
x_6 = 0;
x_7 = l_Lean_Compiler_LCNF_mkDeclExt___closed__4;
x_8 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_7);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
x_9 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_8, x_2);
return x_9;
x_8 = 1;
x_9 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_9, 0, x_1);
lean_ctor_set(x_9, 1, x_3);
lean_ctor_set(x_9, 2, x_4);
lean_ctor_set(x_9, 3, x_5);
lean_ctor_set(x_9, 4, x_7);
lean_ctor_set_uint8(x_9, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_9, sizeof(void*)*5 + 1, x_8);
x_10 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_9, x_2);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_mkDeclExt___spec__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) {

View file

@ -2275,21 +2275,23 @@ return x_1;
static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_370____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_370____closed__5;
x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_370____closed__7;
x_3 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_370____closed__10;
x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_370____closed__11;
x_5 = 0;
x_6 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_370____closed__9;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_2);
lean_ctor_set(x_7, 2, x_3);
lean_ctor_set(x_7, 3, x_4);
lean_ctor_set(x_7, 4, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_5);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_2);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set(x_8, 3, x_4);
lean_ctor_set(x_8, 4, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_5);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_370_(lean_object* x_1) {

View file

@ -753,21 +753,23 @@ return x_1;
static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
x_1 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__6;
x_2 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__8;
x_3 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__11;
x_4 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__12;
x_5 = 0;
x_6 = l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49____closed__10;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_2);
lean_ctor_set(x_7, 2, x_3);
lean_ctor_set(x_7, 3, x_4);
lean_ctor_set(x_7, 4, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_5);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_2);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set(x_8, 3, x_4);
lean_ctor_set(x_8, 4, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_5);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_49_(lean_object* x_1) {

View file

@ -5642,21 +5642,23 @@ return x_1;
static lean_object* _init_l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_1123____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8;
x_1 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_1123____closed__2;
x_2 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_1123____closed__4;
x_3 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_1123____closed__7;
x_4 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_1123____closed__8;
x_5 = 0;
x_6 = l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_1123____closed__6;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_2);
lean_ctor_set(x_7, 2, x_3);
lean_ctor_set(x_7, 3, x_4);
lean_ctor_set(x_7, 4, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_5);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_2);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set(x_8, 3, x_4);
lean_ctor_set(x_8, 4, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_5);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_Specialize___hyg_1123_(lean_object* x_1) {

View file

@ -17643,7 +17643,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_IO_FS_withIsolatedStreams___at_Lean_Core_wrapAsyncAsSnapshot___spec__15___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lean_Core_wrapAsyncAsSnapshot___spec__15___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lean_Core_wrapAsyncAsSnapshot___spec__15___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -14,33 +14,28 @@
extern "C" {
#endif
lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__1;
LEAN_EXPORT lean_object* l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_declRangeExt;
static lean_object* l_Lean_addDeclarationRanges___rarg___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__2;
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___closed__1;
static lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_4_(lean_object*);
lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__4;
LEAN_EXPORT lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges(lean_object*, lean_object*);
uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addBuiltinDeclarationRanges___closed__1;
static lean_object* l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f(lean_object*);
lean_object* lean_st_ref_take(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__3;
uint8_t lean_is_aux_recursor(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_builtinDeclRanges;
lean_object* l_Lean_Name_getPrefix(lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45_(lean_object*);
@ -48,10 +43,12 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*);
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__3___closed__1;
lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f(lean_object*);
extern lean_object* l_Lean_instInhabitedDeclarationRanges;
LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
@ -90,34 +87,7 @@ return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
return x_1;
}
else
{
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;
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_ctor_get(x_2, 3);
x_7 = l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__2(x_1, x_3);
lean_inc(x_5);
lean_inc(x_4);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_4);
lean_ctor_set(x_8, 1, x_5);
x_9 = lean_array_push(x_7, x_8);
x_1 = x_9;
x_2 = x_6;
goto _start;
}
}
}
static lean_object* _init_l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___closed__1() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -126,13 +96,12 @@ x_2 = lean_array_mk(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___closed__1;
x_3 = l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__2(x_2, x_1);
return x_3;
lean_object* x_2;
x_2 = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___closed__1;
return x_2;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__1() {
@ -165,7 +134,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45___
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___boxed), 1, 0);
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___boxed), 1, 0);
return x_1;
}
}
@ -179,20 +148,11 @@ x_4 = l_Lean_mkMapDeclarationExtension___rarg(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Lean_RBNode_fold___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___boxed(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1(x_1);
x_2 = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1(x_1);
lean_dec(x_1);
return x_2;
}
@ -298,7 +258,7 @@ lean_inc(x_5);
lean_dec(x_4);
x_6 = l_Lean_instInhabitedDeclarationRanges;
x_7 = l_Lean_addDeclarationRanges___rarg___lambda__1___closed__1;
x_8 = 0;
x_8 = 1;
x_9 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_6, x_7, x_3, x_2, x_8);
x_10 = lean_apply_2(x_5, lean_box(0), x_9);
return x_10;
@ -541,8 +501,8 @@ if (lean_io_result_is_error(res)) return res;
l_Lean_builtinDeclRanges = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_builtinDeclRanges);
lean_dec_ref(res);
}l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___closed__1 = _init_l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___closed__1();
lean_mark_persistent(l_Lean_RBMap_toArray___at_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____spec__1___closed__1);
}l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___closed__1 = _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____lambda__1___closed__1);
l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__1 = _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__1);
l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__2 = _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_45____closed__2();

View file

@ -790,21 +790,23 @@ return x_1;
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__15() {
_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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__11;
x_3 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__12;
x_4 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__13;
x_5 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__14;
x_6 = 2;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 0;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377_(lean_object* x_1) {
@ -898,7 +900,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object*
x_6 = lean_ctor_get(x_3, 0);
x_7 = l_Lean_getModuleDoc_x3f___closed__1;
x_8 = l_Lean_addMainModuleDoc___closed__1;
x_9 = 0;
x_9 = 1;
x_10 = l_Lean_PersistentEnvExtension_getModuleEntries___rarg(x_7, x_8, x_1, x_6, x_9);
lean_dec(x_6);
lean_ctor_set(x_3, 0, x_10);
@ -912,7 +914,7 @@ lean_inc(x_11);
lean_dec(x_3);
x_12 = l_Lean_getModuleDoc_x3f___closed__1;
x_13 = l_Lean_addMainModuleDoc___closed__1;
x_14 = 0;
x_14 = 1;
x_15 = l_Lean_PersistentEnvExtension_getModuleEntries___rarg(x_12, x_13, x_1, x_11, x_14);
lean_dec(x_11);
x_16 = lean_alloc_ctor(1, 1, 0);

View file

@ -29085,7 +29085,7 @@ lean_inc(x_8);
lean_dec(x_7);
x_9 = l_Lean_instInhabitedDeclarationRanges;
x_10 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_Elab_Command_elabAddDeclDoc___spec__1___closed__1;
x_11 = 0;
x_11 = 1;
x_12 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_9, x_10, x_8, x_1, x_11);
lean_ctor_set(x_5, 0, x_12);
return x_5;
@ -29103,7 +29103,7 @@ lean_inc(x_15);
lean_dec(x_13);
x_16 = l_Lean_instInhabitedDeclarationRanges;
x_17 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_Elab_Command_elabAddDeclDoc___spec__1___closed__1;
x_18 = 0;
x_18 = 1;
x_19 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_16, x_17, x_15, x_1, x_18);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);

View file

@ -7918,7 +7918,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_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_elabEvalCoreUnsafe___spec__7___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_elabEvalCoreUnsafe___spec__7___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_elabEvalCoreUnsafe___spec__7___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -19263,7 +19263,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_Term_elabCalcSteps___closed__2;
x_2 = l_Lean_Elab_Term_elabCalcSteps___closed__3;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Elab_Term_elabCalcSteps___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Lean.Elab.Command
// Imports: Lean.Meta.Diagnostics Lean.Elab.Binders Lean.Elab.SyntheticMVars Lean.Elab.SetOption Lean.Language.Basic
// Imports: Lean.Meta.Diagnostics Lean.Elab.Binders Lean.Elab.SyntheticMVars Lean.Elab.SetOption Lean.Language.Basic Lean.Meta.ForEachExpr
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -165,6 +165,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__
lean_object* lean_array_push(lean_object*, lean_object*);
static double l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4___closed__5;
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_liftTermElabM___spec__13(lean_object*);
static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_631____closed__12;
static lean_object* l_Lean_Elab_Command_elabCommand_go___closed__3;
@ -346,6 +347,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___b
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_unlockAsync(lean_object*);
lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__3___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_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_IO_CancelToken_new(lean_object*);
static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__5;
@ -643,6 +645,7 @@ lean_object* lean_mk_thunk(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___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_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___lambda__1___closed__1;
lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
lean_object* l_Lean_Meta_mkForallFVars_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_addTraceAsMessages___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__3___closed__2;
@ -690,6 +693,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___s
LEAN_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at_Lean_Elab_Command_elabCommand_go___spec__16(lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3;
lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(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_Command_runLinters___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Lean_Elab_Command___hyg_2185____closed__6;
@ -721,6 +725,7 @@ static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5;
static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__7(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand_go___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(lean_object*, size_t, size_t);
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand_go___spec__1___closed__1;
lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withDeclName___spec__3___rarg(lean_object*, lean_object*);
lean_object* l_Lean_Language_SnapshotTask_cancelRec___rarg(lean_object*, lean_object*, lean_object*);
@ -904,7 +909,6 @@ lean_object* lean_io_error_to_string(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand_go___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__2___closed__4;
lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___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_elabSetOption_setOption___at_Lean_withSetOptionIn___spec__6___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand_go(lean_object*, lean_object*, lean_object*, lean_object*);
@ -19266,7 +19270,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_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lean_Elab_Command_wrapAsyncAsSnapshot___spec__10___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -39304,7 +39308,7 @@ lean_dec(x_25);
x_28 = !lean_is_exclusive(x_4);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
x_29 = lean_ctor_get(x_4, 5);
lean_dec(x_29);
lean_ctor_set(x_4, 5, x_27);
@ -39312,76 +39316,332 @@ x_30 = l_Lean_Core_resetMessageLog(x_8, x_9, x_26);
x_31 = lean_ctor_get(x_30, 1);
lean_inc(x_31);
lean_dec(x_30);
x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed), 10, 1);
lean_closure_set(x_32, 0, x_2);
x_33 = lean_box(0);
x_34 = l_Lean_Elab_Command_runTermElabM___rarg___lambda__2___closed__1;
x_35 = l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(x_3, x_34, x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_31);
x_32 = lean_box(0);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_4);
x_33 = l_Lean_Elab_Term_addAutoBoundImplicits(x_3, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_31);
lean_dec(x_3);
return x_35;
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37;
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_33, 1);
lean_inc(x_35);
lean_dec(x_33);
x_36 = lean_array_get_size(x_34);
x_37 = lean_nat_dec_lt(x_17, x_36);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39;
lean_dec(x_36);
x_38 = lean_apply_1(x_2, x_34);
x_39 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_35);
return x_39;
}
else
{
lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; lean_object* x_49; uint8_t x_50; uint8_t x_51; uint8_t 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;
x_36 = lean_ctor_get(x_4, 0);
x_37 = lean_ctor_get(x_4, 1);
x_38 = lean_ctor_get_uint8(x_4, sizeof(void*)*7);
x_39 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 1);
x_40 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 2);
x_41 = lean_ctor_get(x_4, 2);
x_42 = lean_ctor_get(x_4, 3);
x_43 = lean_ctor_get(x_4, 4);
x_44 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 3);
x_45 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 4);
x_46 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 5);
x_47 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 6);
x_48 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 7);
x_49 = lean_ctor_get(x_4, 6);
x_50 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 8);
x_51 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 9);
x_52 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 10);
lean_inc(x_49);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_inc(x_37);
lean_inc(x_36);
size_t x_40; uint8_t x_41;
x_40 = lean_usize_of_nat(x_36);
x_41 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(x_34, x_23, x_40);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43;
lean_dec(x_36);
x_42 = lean_apply_1(x_2, x_34);
x_43 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_35);
return x_43;
}
else
{
lean_object* x_44; lean_object* x_45;
x_44 = l_Lean_Elab_Command_runTermElabM___rarg___lambda__2___closed__1;
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
x_45 = l_Lean_Meta_mkForallFVars_x27(x_34, x_44, x_6, x_7, x_8, x_9, x_35);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54;
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
x_47 = lean_ctor_get(x_45, 1);
lean_inc(x_47);
lean_dec(x_45);
x_48 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_48, 0, x_36);
x_49 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed), 10, 1);
lean_closure_set(x_49, 0, x_2);
x_50 = lean_box(x_12);
x_51 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg___boxed), 11, 4);
lean_closure_set(x_51, 0, x_46);
lean_closure_set(x_51, 1, x_48);
lean_closure_set(x_51, 2, x_49);
lean_closure_set(x_51, 3, x_50);
x_52 = l_Lean_Elab_Command_mkMetaContext___closed__3;
x_53 = l_Lean_Elab_Command_instInhabitedScope___closed__1;
x_54 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__3___rarg(x_52, x_53, x_51, x_4, x_5, x_6, x_7, x_8, x_9, x_47);
return x_54;
}
else
{
uint8_t x_55;
lean_dec(x_36);
lean_dec(x_4);
x_53 = lean_alloc_ctor(0, 7, 11);
lean_ctor_set(x_53, 0, x_36);
lean_ctor_set(x_53, 1, x_37);
lean_ctor_set(x_53, 2, x_41);
lean_ctor_set(x_53, 3, x_42);
lean_ctor_set(x_53, 4, x_43);
lean_ctor_set(x_53, 5, x_27);
lean_ctor_set(x_53, 6, x_49);
lean_ctor_set_uint8(x_53, sizeof(void*)*7, x_38);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 1, x_39);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 2, x_40);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 3, x_44);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 4, x_45);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 5, x_46);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 6, x_47);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 7, x_48);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 8, x_50);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 9, x_51);
lean_ctor_set_uint8(x_53, sizeof(void*)*7 + 10, x_52);
x_54 = l_Lean_Core_resetMessageLog(x_8, x_9, x_26);
x_55 = lean_ctor_get(x_54, 1);
lean_inc(x_55);
lean_dec(x_54);
x_56 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed), 10, 1);
lean_closure_set(x_56, 0, x_2);
x_57 = lean_box(0);
x_58 = l_Lean_Elab_Command_runTermElabM___rarg___lambda__2___closed__1;
x_59 = l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(x_3, x_58, x_56, x_57, x_53, x_5, x_6, x_7, x_8, x_9, x_55);
lean_dec(x_3);
return x_59;
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_55 = !lean_is_exclusive(x_45);
if (x_55 == 0)
{
return x_45;
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58;
x_56 = lean_ctor_get(x_45, 0);
x_57 = lean_ctor_get(x_45, 1);
lean_inc(x_57);
lean_inc(x_56);
lean_dec(x_45);
x_58 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_58, 0, x_56);
lean_ctor_set(x_58, 1, x_57);
return x_58;
}
}
}
}
}
else
{
uint8_t x_60;
uint8_t x_59;
lean_dec(x_4);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_59 = !lean_is_exclusive(x_33);
if (x_59 == 0)
{
return x_33;
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62;
x_60 = lean_ctor_get(x_33, 0);
x_61 = lean_ctor_get(x_33, 1);
lean_inc(x_61);
lean_inc(x_60);
lean_dec(x_33);
x_62 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
return x_62;
}
}
}
else
{
lean_object* x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; uint8_t x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84;
x_63 = lean_ctor_get(x_4, 0);
x_64 = lean_ctor_get(x_4, 1);
x_65 = lean_ctor_get_uint8(x_4, sizeof(void*)*7);
x_66 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 1);
x_67 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 2);
x_68 = lean_ctor_get(x_4, 2);
x_69 = lean_ctor_get(x_4, 3);
x_70 = lean_ctor_get(x_4, 4);
x_71 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 3);
x_72 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 4);
x_73 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 5);
x_74 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 6);
x_75 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 7);
x_76 = lean_ctor_get(x_4, 6);
x_77 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 8);
x_78 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 9);
x_79 = lean_ctor_get_uint8(x_4, sizeof(void*)*7 + 10);
lean_inc(x_76);
lean_inc(x_70);
lean_inc(x_69);
lean_inc(x_68);
lean_inc(x_64);
lean_inc(x_63);
lean_dec(x_4);
x_80 = lean_alloc_ctor(0, 7, 11);
lean_ctor_set(x_80, 0, x_63);
lean_ctor_set(x_80, 1, x_64);
lean_ctor_set(x_80, 2, x_68);
lean_ctor_set(x_80, 3, x_69);
lean_ctor_set(x_80, 4, x_70);
lean_ctor_set(x_80, 5, x_27);
lean_ctor_set(x_80, 6, x_76);
lean_ctor_set_uint8(x_80, sizeof(void*)*7, x_65);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 1, x_66);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 2, x_67);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 3, x_71);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 4, x_72);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 5, x_73);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 6, x_74);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 7, x_75);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 8, x_77);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 9, x_78);
lean_ctor_set_uint8(x_80, sizeof(void*)*7 + 10, x_79);
x_81 = l_Lean_Core_resetMessageLog(x_8, x_9, x_26);
x_82 = lean_ctor_get(x_81, 1);
lean_inc(x_82);
lean_dec(x_81);
x_83 = lean_box(0);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_80);
x_84 = l_Lean_Elab_Term_addAutoBoundImplicits(x_3, x_83, x_80, x_5, x_6, x_7, x_8, x_9, x_82);
lean_dec(x_3);
if (lean_obj_tag(x_84) == 0)
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88;
x_85 = lean_ctor_get(x_84, 0);
lean_inc(x_85);
x_86 = lean_ctor_get(x_84, 1);
lean_inc(x_86);
lean_dec(x_84);
x_87 = lean_array_get_size(x_85);
x_88 = lean_nat_dec_lt(x_17, x_87);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90;
lean_dec(x_87);
x_89 = lean_apply_1(x_2, x_85);
x_90 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_89, x_80, x_5, x_6, x_7, x_8, x_9, x_86);
return x_90;
}
else
{
size_t x_91; uint8_t x_92;
x_91 = lean_usize_of_nat(x_87);
x_92 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__1(x_85, x_23, x_91);
if (x_92 == 0)
{
lean_object* x_93; lean_object* x_94;
lean_dec(x_87);
x_93 = lean_apply_1(x_2, x_85);
x_94 = l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(x_93, x_80, x_5, x_6, x_7, x_8, x_9, x_86);
return x_94;
}
else
{
lean_object* x_95; lean_object* x_96;
x_95 = l_Lean_Elab_Command_runTermElabM___rarg___lambda__2___closed__1;
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
x_96 = l_Lean_Meta_mkForallFVars_x27(x_85, x_95, x_6, x_7, x_8, x_9, x_86);
if (lean_obj_tag(x_96) == 0)
{
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;
x_97 = lean_ctor_get(x_96, 0);
lean_inc(x_97);
x_98 = lean_ctor_get(x_96, 1);
lean_inc(x_98);
lean_dec(x_96);
x_99 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_99, 0, x_87);
x_100 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runTermElabM___rarg___lambda__1___boxed), 10, 1);
lean_closure_set(x_100, 0, x_2);
x_101 = lean_box(x_12);
x_102 = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg___boxed), 11, 4);
lean_closure_set(x_102, 0, x_97);
lean_closure_set(x_102, 1, x_99);
lean_closure_set(x_102, 2, x_100);
lean_closure_set(x_102, 3, x_101);
x_103 = l_Lean_Elab_Command_mkMetaContext___closed__3;
x_104 = l_Lean_Elab_Command_instInhabitedScope___closed__1;
x_105 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__3___rarg(x_103, x_104, x_102, x_80, x_5, x_6, x_7, x_8, x_9, x_98);
return x_105;
}
else
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109;
lean_dec(x_87);
lean_dec(x_80);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_106 = lean_ctor_get(x_96, 0);
lean_inc(x_106);
x_107 = lean_ctor_get(x_96, 1);
lean_inc(x_107);
if (lean_is_exclusive(x_96)) {
lean_ctor_release(x_96, 0);
lean_ctor_release(x_96, 1);
x_108 = x_96;
} else {
lean_dec_ref(x_96);
x_108 = lean_box(0);
}
if (lean_is_scalar(x_108)) {
x_109 = lean_alloc_ctor(1, 2, 0);
} else {
x_109 = x_108;
}
lean_ctor_set(x_109, 0, x_106);
lean_ctor_set(x_109, 1, x_107);
return x_109;
}
}
}
}
else
{
lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113;
lean_dec(x_80);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_110 = lean_ctor_get(x_84, 0);
lean_inc(x_110);
x_111 = lean_ctor_get(x_84, 1);
lean_inc(x_111);
if (lean_is_exclusive(x_84)) {
lean_ctor_release(x_84, 0);
lean_ctor_release(x_84, 1);
x_112 = x_84;
} else {
lean_dec_ref(x_84);
x_112 = lean_box(0);
}
if (lean_is_scalar(x_112)) {
x_113 = lean_alloc_ctor(1, 2, 0);
} else {
x_113 = x_112;
}
lean_ctor_set(x_113, 0, x_110);
lean_ctor_set(x_113, 1, x_111);
return x_113;
}
}
}
else
{
uint8_t x_114;
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
@ -39390,23 +39650,23 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_60 = !lean_is_exclusive(x_13);
if (x_60 == 0)
x_114 = !lean_is_exclusive(x_13);
if (x_114 == 0)
{
return x_13;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63;
x_61 = lean_ctor_get(x_13, 0);
x_62 = lean_ctor_get(x_13, 1);
lean_inc(x_62);
lean_inc(x_61);
lean_object* x_115; lean_object* x_116; lean_object* x_117;
x_115 = lean_ctor_get(x_13, 0);
x_116 = lean_ctor_get(x_13, 1);
lean_inc(x_116);
lean_inc(x_115);
lean_dec(x_13);
x_63 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
return x_63;
x_117 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_117, 0, x_115);
lean_ctor_set(x_117, 1, x_116);
return x_117;
}
}
}
@ -39617,7 +39877,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_Command_modifyScope___closed__1;
x_2 = l_Lean_Elab_Command_modifyScope___closed__2;
x_3 = lean_unsigned_to_nat(741u);
x_3 = lean_unsigned_to_nat(749u);
x_4 = lean_unsigned_to_nat(16u);
x_5 = l_Lean_Elab_Command_modifyScope___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -44385,6 +44645,7 @@ lean_object* initialize_Lean_Elab_Binders(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Elab_SyntheticMVars(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Elab_SetOption(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Language_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Meta_ForEachExpr(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Elab_Command(uint8_t builtin, lean_object* w) {
lean_object * res;
@ -44405,6 +44666,9 @@ lean_dec_ref(res);
res = initialize_Lean_Language_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_ForEachExpr(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Elab_Command_instInhabitedScope___closed__1 = _init_l_Lean_Elab_Command_instInhabitedScope___closed__1();
lean_mark_persistent(l_Lean_Elab_Command_instInhabitedScope___closed__1);
l_Lean_Elab_Command_instInhabitedScope___closed__2 = _init_l_Lean_Elab_Command_instInhabitedScope___closed__2();

View file

@ -3126,7 +3126,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_Command_expandMacroArg_mkSyntaxAndPat___lambda__2___closed__3;
x_2 = l_Lean_Elab_Command_expandMacroArg_mkSyntaxAndPat___lambda__2___closed__4;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Elab_Command_expandMacroArg_mkSyntaxAndPat___lambda__2___closed__5;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -496,7 +496,6 @@ lean_object* l_Lean_LocalDecl_setUserName(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5___lambda__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Array_contains___at_Lean_Meta_setMVarUserNamesAt___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_instantiateMVarsProfiling(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_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__1___closed__4;
@ -1077,6 +1076,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_E
LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5732_(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__6___boxed(lean_object**);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Array_contains___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
@ -31054,7 +31054,7 @@ if (lean_obj_tag(x_3) == 1)
lean_object* x_4; uint8_t x_5;
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
x_5 = l_Array_contains___at_Lean_Meta_setMVarUserNamesAt___spec__1(x_1, x_3);
x_5 = l_Array_contains___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__4(x_1, x_3);
lean_dec(x_3);
if (x_5 == 0)
{
@ -34009,7 +34009,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_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___closed__1;
x_2 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -3748,7 +3748,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_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__22___closed__4;
x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__22___closed__5;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__22___closed__6;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -14,6 +14,7 @@
extern "C" {
#endif
lean_object* l_Lean_Expr_bindingName_x21(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_Mutual_addPreDefsFromUnary___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___boxed(lean_object*);
extern lean_object* l_Lean_Elab_instInhabitedPreDefinition;
@ -34,10 +35,8 @@ uint8_t lean_usize_dec_eq(size_t, size_t);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_withCommonTelescope___spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__2___boxed(lean_object**);
static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDefs(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_withEnableInfoTree___at_Lean_Elab_Mutual_addPreDefsFromUnary___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2(lean_object*, size_t, size_t);
lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_withCommonTelescope_go(lean_object*);
lean_object* l_Lean_Elab_PreDefinition_filterAttrs(lean_object*, lean_object*);
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2___closed__4;
@ -56,12 +55,12 @@ static lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttrib
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_withCommonTelescope_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___spec__1(uint8_t, size_t, size_t, 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_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefAttributes___spec__2___closed__3;
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_to_list(lean_object*);
LEAN_EXPORT uint8_t l_Lean_Elab_Mutual_addPreDefsFromUnary___lambda__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__6;
lean_object* l_Lean_Elab_abstractNestedProofs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_instInhabitedExpr;
@ -76,14 +75,13 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_addP
extern lean_object* l_Lean_diagnostics;
lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*);
uint8_t l_Lean_Expr_binderInfo(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addAndCompileUnsafe___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___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* l_List_mapTR_loop___at_Lean_Elab_addAndCompileUnsafe___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Mutual_addPreDefsFromUnary___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_withCommonTelescope(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Mutual_addPreDefAttributes___spec__3(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*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__4;
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___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___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -104,7 +102,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_addPreDefA
lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__4___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_Array_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__2___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_anyMUnsafe_any___at_Lean_Elab_Mutual_withCommonTelescope_go___spec__3___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDefs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
@ -1471,244 +1468,103 @@ lean_dec(x_2);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___spec__1(uint8_t x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_12;
x_12 = lean_usize_dec_lt(x_3, x_2);
if (x_12 == 0)
{
lean_object* x_13;
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_4);
lean_ctor_set(x_13, 1, x_11);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
x_14 = lean_array_uget(x_4, x_3);
x_15 = lean_unsigned_to_nat(0u);
x_16 = lean_array_uset(x_4, x_3, x_15);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
x_17 = l_Lean_Elab_abstractNestedProofs(x_14, x_1, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22;
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 = 1;
x_21 = lean_usize_add(x_3, x_20);
x_22 = lean_array_uset(x_16, x_3, x_18);
x_3 = x_21;
x_4 = x_22;
x_11 = x_19;
goto _start;
}
else
{
uint8_t x_24;
lean_dec(x_16);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
x_24 = !lean_is_exclusive(x_17);
if (x_24 == 0)
{
return x_17;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27;
x_25 = lean_ctor_get(x_17, 0);
x_26 = lean_ctor_get(x_17, 1);
lean_inc(x_26);
lean_inc(x_25);
lean_dec(x_17);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set(x_27, 1, x_26);
return x_27;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDefs(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10;
lean_inc(x_8);
lean_inc(x_7);
lean_object* x_8;
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
lean_inc(x_1);
x_10 = l_Lean_Elab_addAndCompilePartialRec(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_10) == 0)
x_8 = l_Lean_Elab_eraseRecAppSyntax(x_1, x_5, x_6, x_7);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14;
x_11 = lean_ctor_get(x_10, 1);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_array_size(x_1);
x_13 = 0;
lean_inc(x_8);
lean_inc(x_7);
x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_addAndCompileUnsafe___spec__1(x_12, x_13, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_11);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18;
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_array_size(x_15);
x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___spec__1(x_2, x_17, x_13, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_16);
lean_dec(x_4);
lean_dec(x_3);
if (lean_obj_tag(x_18) == 0)
{
uint8_t x_19;
x_19 = !lean_is_exclusive(x_18);
if (x_19 == 0)
{
return x_18;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22;
x_20 = lean_ctor_get(x_18, 0);
x_21 = lean_ctor_get(x_18, 1);
lean_inc(x_21);
lean_inc(x_20);
lean_dec(x_18);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
return x_22;
}
}
else
{
uint8_t x_23;
x_23 = !lean_is_exclusive(x_18);
if (x_23 == 0)
{
return x_18;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_24 = lean_ctor_get(x_18, 0);
x_25 = lean_ctor_get(x_18, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_18);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
else
{
uint8_t x_27;
lean_object* x_9; lean_object* x_10; lean_object* x_11;
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_8, 1);
lean_inc(x_10);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_27 = !lean_is_exclusive(x_14);
if (x_27 == 0)
x_11 = l_Lean_Elab_abstractNestedProofs(x_9, x_2, x_3, x_4, x_5, x_6, x_10);
if (lean_obj_tag(x_11) == 0)
{
return x_14;
uint8_t x_12;
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
return x_11;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30;
x_28 = lean_ctor_get(x_14, 0);
x_29 = lean_ctor_get(x_14, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_14);
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;
}
}
}
else
{
uint8_t x_31;
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_1);
x_31 = !lean_is_exclusive(x_10);
if (x_31 == 0)
{
return x_10;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34;
x_32 = lean_ctor_get(x_10, 0);
x_33 = lean_ctor_get(x_10, 1);
lean_inc(x_33);
lean_inc(x_32);
lean_dec(x_10);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_33);
return x_34;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; size_t x_13; size_t x_14; lean_object* x_15;
x_12 = lean_unbox(x_1);
lean_dec(x_1);
x_13 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_14 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Mutual_cleanPreDefs___spec__1(x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_object* x_13; lean_object* x_14; lean_object* x_15;
x_13 = lean_ctor_get(x_11, 0);
x_14 = lean_ctor_get(x_11, 1);
lean_inc(x_14);
lean_inc(x_13);
lean_dec(x_11);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDefs___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) {
else
{
uint8_t x_16;
x_16 = !lean_is_exclusive(x_11);
if (x_16 == 0)
{
return x_11;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19;
x_17 = lean_ctor_get(x_11, 0);
x_18 = lean_ctor_get(x_11, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_11);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
return x_19;
}
}
}
else
{
uint8_t x_20;
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_20 = !lean_is_exclusive(x_8);
if (x_20 == 0)
{
return x_8;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23;
x_21 = lean_ctor_get(x_8, 0);
x_22 = lean_ctor_get(x_8, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_8);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
return x_23;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef___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_10; lean_object* x_11;
x_10 = lean_unbox(x_2);
uint8_t x_8; lean_object* x_9;
x_8 = lean_unbox(x_2);
lean_dec(x_2);
x_11 = l_Lean_Elab_Mutual_cleanPreDefs(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
return x_11;
x_9 = l_Lean_Elab_Mutual_cleanPreDef(x_1, x_8, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
static lean_object* _init_l_Lean_setReducibilityStatus___at_Lean_Elab_Mutual_addPreDefAttributes___spec__1___closed__1() {

File diff suppressed because it is too large Load diff

View file

@ -482,7 +482,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_TerminationMeasure_elab___lambda__2___closed__1;
x_2 = l_Lean_Elab_TerminationMeasure_elab___lambda__2___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Elab_TerminationMeasure_elab___lambda__2___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -16779,7 +16779,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_Term_Quotation_getQuotKind___closed__13;
x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__14;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__15;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -399,7 +399,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_Tactic_BVDecide_Frontend_TacticContext_new_determineSolver___closed__3;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_TacticContext_new_determineSolver___closed__4;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_TacticContext_new_determineSolver___closed__5;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1446,7 +1446,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_Tactic_BVDecide_Frontend_Normalize_bvNormalize_go___lambda__11___closed__1;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_bvNormalize_go___lambda__11___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_bvNormalize_go___lambda__11___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -2550,7 +2550,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__1;
x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_Tactic_BVDecide_LRAT_trim_mapping___spec__2___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1181,7 +1181,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l___private_Lean_Elab_Tactic_Config_0__Lean_Elab_Tactic_expandFieldName___lambda__1___closed__11;
x_2 = l___private_Lean_Elab_Tactic_Config_0__Lean_Elab_Tactic_expandFieldName___lambda__1___closed__12;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l___private_Lean_Elab_Tactic_Config_0__Lean_Elab_Tactic_expandFieldName___lambda__1___closed__13;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -9983,7 +9983,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_mkCongrArgZeroThm___lambda__1___closed__1;
x_2 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_mkCongrArgZeroThm___lambda__1___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_mkCongrArgZeroThm___lambda__1___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -18368,7 +18368,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_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_mkSimpOnly___spec__20___lambda__2___closed__1;
x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_mkSimpOnly___spec__20___lambda__2___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Tactic_mkSimpOnly___spec__20___lambda__2___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -17,12 +17,12 @@ LEAN_EXPORT lean_object* l_Lean_instInhabitedMapDeclarationExtension___lambda__5
static lean_object* l_Lean_TagDeclarationExtension_instInhabited___closed__1;
static lean_object* l_Lean_MapDeclarationExtension_insert___rarg___closed__2;
LEAN_EXPORT lean_object* l_panic___at_Lean_MapDeclarationExtension_insert___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Lean_EnvExtension___hyg_833_;
LEAN_EXPORT lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_quickLt___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2;
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__9;
LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries(lean_object*, lean_object*);
static lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__1;
LEAN_EXPORT lean_object* l_Lean_TagDeclarationExtension_instInhabited;
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__27;
static lean_object* l_Lean_TagDeclarationExtension_tag___closed__8;
@ -38,9 +38,8 @@ LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__3(lea
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_mkMapDeclarationExtension___spec__3___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkTagDeclarationExtension___closed__3;
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__10;
static lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2;
static lean_object* l_Lean_instInhabitedMapDeclarationExtension___closed__5;
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_instInhabited___rarg(lean_object*);
@ -49,6 +48,7 @@ LEAN_EXPORT lean_object* l_Lean_instInhabitedMapDeclarationExtension___lambda__3
LEAN_EXPORT lean_object* l_Lean_mkTagDeclarationExtension___lambda__2(lean_object*);
LEAN_EXPORT uint8_t l_Lean_MapDeclarationExtension_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__2;
lean_object* l_List_foldl___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
@ -71,6 +71,7 @@ lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*,
lean_object* lean_nat_div(lean_object*, lean_object*);
static lean_object* l_Lean_mkMapDeclarationExtension___rarg___closed__2;
LEAN_EXPORT lean_object* l_Lean_instInhabitedMapDeclarationExtension___lambda__4(lean_object*);
static lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__1;
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_getEntries___rarg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_MapDeclarationExtension_insert___rarg___closed__4;
@ -95,7 +96,7 @@ lean_object* l_List_filterTR_loop___rarg(lean_object*, lean_object*, lean_object
LEAN_EXPORT uint8_t l_Array_binSearchAux___at_Lean_TagDeclarationExtension_isTagged___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Environment_asyncMayContain(lean_object*, lean_object*);
static lean_object* l_Lean_instInhabitedMapDeclarationExtension___closed__3;
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5(lean_object*);
lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__26;
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_MapDeclarationExtension_contains___spec__1(lean_object*);
@ -107,14 +108,13 @@ LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_setState___rarg(lea
static lean_object* l_Lean_TagDeclarationExtension_tag___closed__3;
lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__28;
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4(lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBMap_toArray___at_Lean_mkMapDeclarationExtension___spec__1___rarg(lean_object*);
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__29;
LEAN_EXPORT lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_modifyState___rarg___lambda__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_modifyState(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkTagDeclarationExtension___lambda__3(lean_object*);
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object*, lean_object*);
@ -135,12 +135,12 @@ static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__2;
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__25;
LEAN_EXPORT lean_object* l_Lean_RBMap_toArray___at_Lean_mkMapDeclarationExtension___spec__1___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkTagDeclarationExtension___closed__2;
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_replayOfFilter(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_getEntries(lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
static lean_object* l_Lean_MapDeclarationExtension_insert___rarg___closed__1;
LEAN_EXPORT lean_object* l___auto____x40_Lean_EnvExtension___hyg_806_;
extern lean_object* l_Lean_NameSet_empty;
LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__2(lean_object*, lean_object*);
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__7;
@ -154,6 +154,7 @@ LEAN_EXPORT lean_object* l_Lean_instInhabitedMapDeclarationExtension___lambda__5
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__6;
LEAN_EXPORT lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Lean_EnvExtension___hyg_585_;
static lean_object* l_Lean_mkTagDeclarationExtension___closed__1;
LEAN_EXPORT lean_object* l_Lean_RBMap_toArray___at_Lean_mkMapDeclarationExtension___spec__1(lean_object*);
extern lean_object* l_Id_instMonad;
@ -164,7 +165,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*, uint8_t);
lean_object* l___private_Init_Data_Array_QSort_0__Array_qpartition___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___boxed(lean_object*);
static lean_object* l_Lean_TagDeclarationExtension_isTagged___closed__1;
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
lean_object* l_List_reverse___rarg(lean_object*);
@ -202,8 +203,8 @@ LEAN_EXPORT lean_object* l_Lean_mkTagDeclarationExtension___lambda__2___boxed(le
LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_setState(lean_object*, lean_object*);
static lean_object* l_Lean_mkMapDeclarationExtension___rarg___closed__4;
LEAN_EXPORT lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Lean_EnvExtension___hyg_558_;
LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_MapDeclarationExtension_find_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instInhabitedMapDeclarationExtension___lambda__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__23;
LEAN_EXPORT lean_object* l_panic___at_Lean_TagDeclarationExtension_tag___spec__1(lean_object*, lean_object*);
@ -707,7 +708,36 @@ return x_15;
}
}
}
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object* x_1, lean_object* x_2) {
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4;
x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*5 + 1);
if (x_4 == 0)
{
lean_object* x_5;
lean_dec(x_3);
lean_dec(x_1);
x_5 = lean_array_mk(x_2);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
lean_dec(x_2);
x_6 = lean_ctor_get(x_1, 3);
lean_inc(x_6);
lean_dec(x_1);
x_7 = lean_ctor_get(x_3, 0);
lean_inc(x_7);
lean_dec(x_3);
x_8 = l_List_reverse___rarg(x_7);
x_9 = lean_apply_1(x_6, x_8);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4(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;
@ -722,7 +752,7 @@ x_6 = lean_apply_1(x_3, x_5);
return x_6;
}
}
static lean_object* _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__1() {
static lean_object* _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__1() {
_start:
{
lean_object* x_1;
@ -730,17 +760,17 @@ x_1 = lean_mk_string_unchecked("number of local entries: ", 25, 25);
return x_1;
}
}
static lean_object* _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2() {
static lean_object* _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__1;
x_1 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___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_registerSimplePersistentEnvExtension___rarg___lambda__4(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5(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;
@ -750,14 +780,14 @@ x_4 = l_List_lengthTRAux___rarg(x_2, x_3);
x_5 = l___private_Init_Data_Repr_0__Nat_reprFast(x_4);
x_6 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_6, 0, x_5);
x_7 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2;
x_7 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__2;
x_8 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_8, 0, x_7);
lean_ctor_set(x_8, 1, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___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_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___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) {
_start:
{
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; uint8_t x_18;
@ -820,14 +850,14 @@ static lean_object* _init_l_Lean_registerSimplePersistentEnvExtension___rarg___c
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___boxed), 1, 0);
x_1 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15;
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 2);
@ -850,79 +880,80 @@ lean_closure_set(x_12, 1, x_7);
lean_inc(x_1);
x_13 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2), 3, 1);
lean_closure_set(x_13, 0, x_1);
x_14 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3), 2, 1);
lean_inc(x_1);
x_14 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3), 3, 2);
lean_closure_set(x_14, 0, x_1);
lean_closure_set(x_14, 1, x_7);
x_15 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4), 2, 1);
lean_closure_set(x_15, 0, x_1);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
x_15 = lean_box(0);
x_16 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2;
lean_inc(x_14);
x_17 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_17, 0, x_3);
lean_ctor_set(x_17, 1, x_11);
lean_ctor_set(x_17, 2, x_12);
lean_ctor_set(x_17, 3, x_13);
lean_ctor_set(x_17, 4, x_14);
lean_ctor_set(x_17, 5, x_14);
lean_ctor_set(x_17, 6, x_16);
lean_ctor_set(x_17, 7, x_15);
lean_ctor_set_uint8(x_17, sizeof(void*)*8, x_5);
x_18 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_17, x_2);
return x_18;
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
x_16 = lean_box(0);
x_17 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2;
x_18 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_18, 0, x_3);
lean_ctor_set(x_18, 1, x_11);
lean_ctor_set(x_18, 2, x_12);
lean_ctor_set(x_18, 3, x_13);
lean_ctor_set(x_18, 4, x_14);
lean_ctor_set(x_18, 5, x_15);
lean_ctor_set(x_18, 6, x_17);
lean_ctor_set(x_18, 7, x_16);
lean_ctor_set_uint8(x_18, sizeof(void*)*8, x_5);
x_19 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_18, x_2);
return x_19;
}
else
{
uint8_t x_19;
x_19 = !lean_is_exclusive(x_6);
if (x_19 == 0)
uint8_t x_20;
x_20 = !lean_is_exclusive(x_6);
if (x_20 == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_20 = lean_ctor_get(x_6, 0);
x_21 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___boxed), 6, 2);
lean_closure_set(x_21, 0, x_8);
lean_closure_set(x_21, 1, x_20);
lean_ctor_set(x_6, 0, x_21);
x_22 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2;
lean_inc(x_14);
x_23 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_23, 0, x_3);
lean_ctor_set(x_23, 1, x_11);
lean_ctor_set(x_23, 2, x_12);
lean_ctor_set(x_23, 3, x_13);
lean_ctor_set(x_23, 4, x_14);
lean_ctor_set(x_23, 5, x_14);
lean_ctor_set(x_23, 6, x_22);
lean_ctor_set(x_23, 7, x_6);
lean_ctor_set_uint8(x_23, sizeof(void*)*8, x_5);
x_24 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_23, x_2);
return x_24;
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_21 = lean_ctor_get(x_6, 0);
x_22 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__6___boxed), 6, 2);
lean_closure_set(x_22, 0, x_8);
lean_closure_set(x_22, 1, x_21);
lean_ctor_set(x_6, 0, x_22);
x_23 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2;
x_24 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_24, 0, x_3);
lean_ctor_set(x_24, 1, x_11);
lean_ctor_set(x_24, 2, x_12);
lean_ctor_set(x_24, 3, x_13);
lean_ctor_set(x_24, 4, x_14);
lean_ctor_set(x_24, 5, x_15);
lean_ctor_set(x_24, 6, x_23);
lean_ctor_set(x_24, 7, x_6);
lean_ctor_set_uint8(x_24, sizeof(void*)*8, x_5);
x_25 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_24, x_2);
return x_25;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
x_25 = lean_ctor_get(x_6, 0);
lean_inc(x_25);
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
x_26 = lean_ctor_get(x_6, 0);
lean_inc(x_26);
lean_dec(x_6);
x_26 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___boxed), 6, 2);
lean_closure_set(x_26, 0, x_8);
lean_closure_set(x_26, 1, x_25);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_26);
x_28 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2;
lean_inc(x_14);
x_29 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_29, 0, x_3);
lean_ctor_set(x_29, 1, x_11);
lean_ctor_set(x_29, 2, x_12);
lean_ctor_set(x_29, 3, x_13);
lean_ctor_set(x_29, 4, x_14);
lean_ctor_set(x_29, 5, x_14);
lean_ctor_set(x_29, 6, x_28);
lean_ctor_set(x_29, 7, x_27);
lean_ctor_set_uint8(x_29, sizeof(void*)*8, x_5);
x_30 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_29, x_2);
return x_30;
x_27 = lean_alloc_closure((void*)(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__6___boxed), 6, 2);
lean_closure_set(x_27, 0, x_8);
lean_closure_set(x_27, 1, x_26);
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_27);
x_29 = l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2;
x_30 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_30, 0, x_3);
lean_ctor_set(x_30, 1, x_11);
lean_ctor_set(x_30, 2, x_12);
lean_ctor_set(x_30, 3, x_13);
lean_ctor_set(x_30, 4, x_14);
lean_ctor_set(x_30, 5, x_15);
lean_ctor_set(x_30, 6, x_29);
lean_ctor_set(x_30, 7, x_28);
lean_ctor_set_uint8(x_30, sizeof(void*)*8, x_5);
x_31 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_30, x_2);
return x_31;
}
}
}
@ -944,20 +975,20 @@ lean_dec(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___boxed(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4(x_1);
x_2 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___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_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7;
x_7 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6);
x_7 = l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_3);
return x_7;
@ -1192,7 +1223,7 @@ lean_dec(x_2);
return x_5;
}
}
static lean_object* _init_l___auto____x40_Lean_EnvExtension___hyg_558_() {
static lean_object* _init_l___auto____x40_Lean_EnvExtension___hyg_585_() {
_start:
{
lean_object* x_1;
@ -1336,20 +1367,22 @@ return x_1;
LEAN_EXPORT lean_object* l_Lean_mkTagDeclarationExtension(lean_object* x_1, uint8_t x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10;
x_4 = lean_box(0);
x_5 = l_Lean_mkTagDeclarationExtension___closed__1;
x_6 = l_Lean_mkTagDeclarationExtension___closed__2;
x_7 = l_Lean_mkTagDeclarationExtension___closed__3;
x_8 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_5);
lean_ctor_set(x_8, 2, x_6);
lean_ctor_set(x_8, 3, x_7);
lean_ctor_set(x_8, 4, x_4);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_2);
x_9 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_8, x_3);
return x_9;
x_8 = 1;
x_9 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_9, 0, x_1);
lean_ctor_set(x_9, 1, x_5);
lean_ctor_set(x_9, 2, x_6);
lean_ctor_set(x_9, 3, x_7);
lean_ctor_set(x_9, 4, x_4);
lean_ctor_set_uint8(x_9, sizeof(void*)*5, x_2);
lean_ctor_set_uint8(x_9, sizeof(void*)*5 + 1, x_8);
x_10 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_9, x_3);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
@ -1462,7 +1495,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_TagDeclarationExtension_tag___closed__4;
x_2 = l_Lean_TagDeclarationExtension_tag___closed__5;
x_3 = lean_unsigned_to_nat(106u);
x_3 = lean_unsigned_to_nat(112u);
x_4 = lean_unsigned_to_nat(2u);
x_5 = l_Lean_TagDeclarationExtension_tag___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -1493,7 +1526,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_TagDeclarationExtension_tag___closed__4;
x_2 = l_Lean_TagDeclarationExtension_tag___closed__5;
x_3 = lean_unsigned_to_nat(105u);
x_3 = lean_unsigned_to_nat(111u);
x_4 = lean_unsigned_to_nat(2u);
x_5 = l_Lean_TagDeclarationExtension_tag___closed__8;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -1929,7 +1962,7 @@ lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l___auto____x40_Lean_EnvExtension___hyg_806_() {
static lean_object* _init_l___auto____x40_Lean_EnvExtension___hyg_833_() {
_start:
{
lean_object* x_1;
@ -2255,7 +2288,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_TagDeclarationExtension_tag___closed__4;
x_2 = l_Lean_MapDeclarationExtension_insert___rarg___closed__1;
x_3 = lean_unsigned_to_nat(147u);
x_3 = lean_unsigned_to_nat(153u);
x_4 = lean_unsigned_to_nat(2u);
x_5 = l_Lean_TagDeclarationExtension_tag___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -2286,7 +2319,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_TagDeclarationExtension_tag___closed__4;
x_2 = l_Lean_MapDeclarationExtension_insert___rarg___closed__1;
x_3 = lean_unsigned_to_nat(146u);
x_3 = lean_unsigned_to_nat(152u);
x_4 = lean_unsigned_to_nat(2u);
x_5 = l_Lean_MapDeclarationExtension_insert___rarg___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -2845,16 +2878,16 @@ l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__29 = _init_l
lean_mark_persistent(l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam___closed__29);
l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam = _init_l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam();
lean_mark_persistent(l_Lean_SimplePersistentEnvExtensionDescr_name___autoParam);
l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__1 = _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__1();
lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__1);
l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2 = _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2();
lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___closed__2);
l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__1 = _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__1();
lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__1);
l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__2 = _init_l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__2();
lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__5___closed__2);
l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1 = _init_l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1();
lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1);
l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2 = _init_l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2();
lean_mark_persistent(l_Lean_registerSimplePersistentEnvExtension___rarg___closed__2);
l___auto____x40_Lean_EnvExtension___hyg_558_ = _init_l___auto____x40_Lean_EnvExtension___hyg_558_();
lean_mark_persistent(l___auto____x40_Lean_EnvExtension___hyg_558_);
l___auto____x40_Lean_EnvExtension___hyg_585_ = _init_l___auto____x40_Lean_EnvExtension___hyg_585_();
lean_mark_persistent(l___auto____x40_Lean_EnvExtension___hyg_585_);
l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1___closed__1 = _init_l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1___closed__1();
lean_mark_persistent(l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1___closed__1);
l_Lean_mkTagDeclarationExtension___closed__1 = _init_l_Lean_mkTagDeclarationExtension___closed__1();
@ -2905,8 +2938,8 @@ l_Lean_instInhabitedMapDeclarationExtension___closed__6 = _init_l_Lean_instInhab
lean_mark_persistent(l_Lean_instInhabitedMapDeclarationExtension___closed__6);
l_Lean_instInhabitedMapDeclarationExtension___closed__7 = _init_l_Lean_instInhabitedMapDeclarationExtension___closed__7();
lean_mark_persistent(l_Lean_instInhabitedMapDeclarationExtension___closed__7);
l___auto____x40_Lean_EnvExtension___hyg_806_ = _init_l___auto____x40_Lean_EnvExtension___hyg_806_();
lean_mark_persistent(l___auto____x40_Lean_EnvExtension___hyg_806_);
l___auto____x40_Lean_EnvExtension___hyg_833_ = _init_l___auto____x40_Lean_EnvExtension___hyg_833_();
lean_mark_persistent(l___auto____x40_Lean_EnvExtension___hyg_833_);
l_Lean_mkMapDeclarationExtension___rarg___closed__1 = _init_l_Lean_mkMapDeclarationExtension___rarg___closed__1();
lean_mark_persistent(l_Lean_mkMapDeclarationExtension___rarg___closed__1);
l_Lean_mkMapDeclarationExtension___rarg___closed__2 = _init_l_Lean_mkMapDeclarationExtension___rarg___closed__2();

View file

@ -243,7 +243,7 @@ static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40
LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__10(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12(uint8_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Environment_asyncPrefix_x3f(lean_object*);
lean_object* lean_get_num_attributes(lean_object*);
static lean_object* l_Lean_PersistentEnvExtensionDescr_name___autoParam___closed__18;
@ -486,7 +486,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_throwU
static lean_object* l_Lean_Environment_addDeclCore___closed__1;
static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__5;
static lean_object* l___private_Lean_Environment_0__Lean_Environment_mkFallbackConstInfo___closed__12;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_div(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkEmptyEnvironment___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Environment_displayStats___closed__7;
@ -1140,7 +1140,7 @@ LEAN_EXPORT lean_object* l_Lean_instImpl____x40_Lean_Environment___hyg_1961_;
lean_object* lean_expr_dbg_to_string(lean_object*);
static lean_object* l_Lean_Environment_realizeConst___lambda__5___closed__1;
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_mkExtNameMap___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(uint8_t, lean_object*, size_t, size_t, lean_object*);
lean_object* lean_compacted_region_free(size_t, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instGetElem_x3fArrayModuleIdxLtNatToNatSize___lambda__1___boxed(lean_object*, lean_object*);
@ -1181,7 +1181,7 @@ static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats
static lean_object* l_Lean_EnvExtension_ensureExtensionsArraySize_loop___closed__1;
LEAN_EXPORT lean_object* l_Lean_Environment_addConstAsync___lambda__6(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_AsyncConstantInfo_ofConstantInfo(lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___private_Lean_Environment_0__Lean_Kernel_Environment_add___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Environment_0__Lean_Environment_updateBaseAfterKernelAdd___spec__1(lean_object*, lean_object*, lean_object*);
@ -1204,7 +1204,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_findS
static lean_object* l___private_Lean_Environment_0__Lean_reprConstantKind____x40_Lean_Environment___hyg_1336____closed__8;
static lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__4;
LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_findStateAsync___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f___boxed(lean_object*, lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_OLeanLevel_adjustFileName(lean_object*, uint8_t);
@ -1214,7 +1214,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_findTa
static lean_object* l___private_Lean_Environment_0__Lean_Environment_looksLikeOldCodegenName___closed__6;
static lean_object* l_Lean_Environment_AddConstAsyncResult_commitSignature___closed__1;
LEAN_EXPORT lean_object* l_Lean_EnvExtension_setState(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_List_toString___at_Lean_Environment_AddConstAsyncResult_commitConst___spec__1(lean_object*);
lean_object* l_ReaderT_instMonad___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_withImportModules___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -22574,72 +22574,88 @@ lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(lean_object* x_1) {
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(lean_object* x_1, uint8_t x_2) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5;
x_2 = lean_ctor_get(x_1, 1);
x_3 = lean_array_get_size(x_2);
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_lt(x_4, x_3);
if (x_5 == 0)
lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6;
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_array_get_size(x_3);
x_5 = lean_unsigned_to_nat(0u);
x_6 = lean_nat_dec_lt(x_5, x_4);
if (x_6 == 0)
{
lean_object* x_6;
lean_dec(x_3);
x_6 = lean_box(0);
return x_6;
lean_object* x_7;
lean_dec(x_4);
x_7 = lean_box(0);
return x_7;
}
else
{
lean_object* x_7; lean_object* x_8; uint8_t x_9;
x_7 = lean_array_fget(x_2, x_4);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_ctor_get_uint8(x_8, sizeof(void*)*5);
if (x_9 == 0)
{
lean_object* x_10;
lean_dec(x_3);
x_10 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_10, 0, x_8);
return x_10;
}
else
{
lean_object* x_11; uint8_t x_12;
lean_object* x_8; lean_object* x_9; uint8_t x_10;
x_8 = lean_array_fget(x_3, x_5);
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec(x_8);
x_11 = lean_unsigned_to_nat(1u);
x_12 = lean_nat_dec_lt(x_11, x_3);
lean_dec(x_3);
if (x_12 == 0)
x_10 = lean_ctor_get_uint8(x_9, sizeof(void*)*5);
if (x_10 == 0)
{
lean_object* x_13;
x_13 = lean_box(0);
return x_13;
lean_object* x_11;
lean_dec(x_4);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_9);
return x_11;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16;
x_14 = lean_array_fget(x_2, x_11);
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
lean_dec(x_14);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
uint8_t x_12; uint8_t x_13;
x_12 = 0;
x_13 = l_Lean_instDecidableEqOLeanLevel(x_2, x_12);
if (x_13 == 0)
{
lean_object* x_14; uint8_t x_15;
lean_dec(x_9);
x_14 = lean_unsigned_to_nat(1u);
x_15 = lean_nat_dec_lt(x_14, x_4);
lean_dec(x_4);
if (x_15 == 0)
{
lean_object* x_16;
x_16 = lean_box(0);
return x_16;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19;
x_17 = lean_array_fget(x_3, x_14);
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;
}
}
else
{
lean_object* x_20;
lean_dec(x_4);
x_20 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_20, 0, x_9);
return x_20;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f___boxed(lean_object* x_1) {
}
LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_2;
x_2 = l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(x_1);
uint8_t x_3; lean_object* x_4;
x_3 = lean_unbox(x_2);
lean_dec(x_2);
x_4 = l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(x_1, x_3);
lean_dec(x_1);
return x_2;
return x_4;
}
}
static lean_object* _init_l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_throwAlreadyImported___spec__1___closed__1() {
@ -23325,7 +23341,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_2 = l_Array_forIn_x27Unsafe_loop___at_Lean_importModulesCore___spec__8___lambda__1___closed__1;
x_3 = lean_unsigned_to_nat(1734u);
x_3 = lean_unsigned_to_nat(1735u);
x_4 = lean_unsigned_to_nat(41u);
x_5 = l_Lean_readModuleData___closed__5;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -27959,73 +27975,73 @@ goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6;
x_6 = lean_usize_dec_eq(x_3, x_4);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10;
x_7 = lean_array_uget(x_2, x_3);
x_8 = l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(x_7, x_1);
lean_dec(x_7);
x_9 = 1;
x_10 = lean_usize_add(x_3, x_9);
if (lean_obj_tag(x_8) == 0)
{
x_3 = x_10;
goto _start;
}
else
{
lean_object* x_12; lean_object* x_13;
x_12 = lean_ctor_get(x_8, 0);
lean_inc(x_12);
lean_dec(x_8);
x_13 = lean_array_push(x_5, x_12);
x_3 = x_10;
x_5 = x_13;
goto _start;
}
}
else
{
return x_5;
}
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5;
x_5 = lean_usize_dec_eq(x_2, x_3);
x_5 = lean_nat_dec_lt(x_3, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9;
x_6 = lean_array_uget(x_1, x_2);
x_7 = l___private_Lean_Environment_0__Lean_ImportedModule_serverData_x3f(x_6);
lean_dec(x_6);
x_8 = 1;
x_9 = lean_usize_add(x_2, x_8);
if (lean_obj_tag(x_7) == 0)
{
x_2 = x_9;
goto _start;
lean_object* x_6;
x_6 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1;
return x_6;
}
else
{
lean_object* x_11; lean_object* x_12;
x_11 = lean_ctor_get(x_7, 0);
lean_inc(x_11);
lean_object* x_7; uint8_t x_8;
x_7 = lean_array_get_size(x_2);
x_8 = lean_nat_dec_le(x_4, x_7);
lean_dec(x_7);
x_12 = lean_array_push(x_4, x_11);
x_2 = x_9;
x_4 = x_12;
goto _start;
}
if (x_8 == 0)
{
lean_object* x_9;
x_9 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1;
return x_9;
}
else
{
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4;
x_4 = lean_nat_dec_lt(x_2, x_3);
if (x_4 == 0)
{
lean_object* x_5;
x_5 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1;
return x_5;
}
else
{
lean_object* x_6; uint8_t x_7;
x_6 = lean_array_get_size(x_1);
x_7 = lean_nat_dec_le(x_3, x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_object* x_8;
x_8 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1;
return x_8;
}
else
{
size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12;
x_9 = lean_usize_of_nat(x_2);
size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13;
x_10 = lean_usize_of_nat(x_3);
x_11 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1;
x_12 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(x_1, x_9, x_10, x_11);
return x_12;
x_11 = lean_usize_of_nat(x_4);
x_12 = l_Lean_EnvExtension_initFn____x40_Lean_Environment___hyg_6193____closed__1;
x_13 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(x_1, x_2, x_10, x_11, x_12);
return x_13;
}
}
}
@ -28295,29 +28311,29 @@ if (x_19 == 0)
{
lean_dec(x_18);
x_23 = x_11;
goto block_90;
goto block_92;
}
else
{
uint8_t x_91;
x_91 = lean_nat_dec_le(x_18, x_18);
if (x_91 == 0)
uint8_t x_93;
x_93 = lean_nat_dec_le(x_18, x_18);
if (x_93 == 0)
{
lean_dec(x_18);
x_23 = x_11;
goto block_90;
goto block_92;
}
else
{
size_t x_92; lean_object* x_93;
x_92 = lean_usize_of_nat(x_18);
size_t x_94; lean_object* x_95;
x_94 = lean_usize_of_nat(x_18);
lean_dec(x_18);
x_93 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15(x_16, x_14, x_92, x_11);
x_23 = x_93;
goto block_90;
x_95 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__15(x_16, x_14, x_94, x_11);
x_23 = x_95;
goto block_92;
}
}
block_90:
block_92:
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
x_24 = lean_unsigned_to_nat(4u);
@ -28360,218 +28376,220 @@ lean_ctor_set_uint8(x_39, sizeof(void*)*2, x_37);
x_40 = l_Lean_EnvExtension_mkInitialExtStates(x_34);
if (lean_obj_tag(x_40) == 0)
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49;
lean_object* x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51;
x_41 = lean_ctor_get(x_40, 0);
lean_inc(x_41);
x_42 = lean_ctor_get(x_40, 1);
lean_inc(x_42);
lean_dec(x_40);
x_43 = l_Array_isEmpty___rarg(x_2);
x_44 = lean_array_get_size(x_12);
x_45 = lean_nat_dec_lt(x_11, x_44);
x_46 = lean_box(0);
x_47 = lean_box(0);
x_44 = 0;
x_45 = l_Lean_instDecidableEqOLeanLevel(x_7, x_44);
x_46 = lean_array_get_size(x_12);
x_47 = lean_nat_dec_lt(x_11, x_46);
x_48 = lean_box(0);
x_49 = lean_box(0);
lean_inc(x_16);
x_48 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_41, x_16, x_11, x_42);
x_50 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_41, x_16, x_11, x_42);
if (x_43 == 0)
{
uint8_t x_81;
x_81 = 1;
x_49 = x_81;
goto block_80;
uint8_t x_83;
x_83 = 1;
x_51 = x_83;
goto block_82;
}
else
{
x_49 = x_37;
goto block_80;
x_51 = x_37;
goto block_82;
}
block_80:
block_82:
{
lean_object* x_50;
if (x_45 == 0)
{
lean_object* x_74;
x_74 = l_Lean_instInhabitedModuleData___closed__1;
x_50 = x_74;
goto block_73;
}
else
{
uint8_t x_75;
x_75 = lean_nat_dec_le(x_44, x_44);
if (x_75 == 0)
lean_object* x_52;
if (x_47 == 0)
{
lean_object* x_76;
x_76 = l_Lean_instInhabitedModuleData___closed__1;
x_50 = x_76;
goto block_73;
x_52 = x_76;
goto block_75;
}
else
{
size_t x_77; lean_object* x_78; lean_object* x_79;
x_77 = lean_usize_of_nat(x_44);
x_78 = l_Lean_instInhabitedModuleData___closed__1;
x_79 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14(x_14, x_12, x_14, x_77, x_78);
x_50 = x_79;
goto block_73;
}
}
block_73:
uint8_t x_77;
x_77 = lean_nat_dec_le(x_46, x_46);
if (x_77 == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65;
x_51 = lean_ctor_get(x_48, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_48, 1);
lean_inc(x_52);
lean_dec(x_48);
x_53 = lean_box(0);
lean_object* x_78;
x_78 = l_Lean_instInhabitedModuleData___closed__1;
x_52 = x_78;
goto block_75;
}
else
{
size_t x_79; lean_object* x_80; lean_object* x_81;
x_79 = lean_usize_of_nat(x_46);
x_80 = l_Lean_instInhabitedModuleData___closed__1;
x_81 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14(x_14, x_12, x_14, x_79, x_80);
x_52 = x_81;
goto block_75;
}
}
block_75:
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
x_53 = lean_ctor_get(x_50, 0);
lean_inc(x_53);
x_54 = lean_ctor_get(x_50, 1);
lean_inc(x_54);
lean_dec(x_50);
x_55 = lean_box(0);
lean_inc(x_16);
lean_inc(x_9);
x_54 = lean_alloc_ctor(0, 5, 5);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_54, 1, x_2);
lean_ctor_set(x_54, 2, x_50);
lean_ctor_set(x_54, 3, x_9);
lean_ctor_set(x_54, 4, x_16);
lean_ctor_set_uint32(x_54, sizeof(void*)*5, x_4);
lean_ctor_set_uint8(x_54, sizeof(void*)*5 + 4, x_7);
x_55 = l_Lean_Kernel_instInhabitedDiagnostics___closed__3;
x_56 = l_Lean_NameSet_empty;
lean_inc(x_51);
x_57 = lean_alloc_ctor(0, 6, 1);
lean_ctor_set(x_57, 0, x_39);
lean_ctor_set(x_57, 1, x_55);
lean_ctor_set(x_57, 2, x_35);
lean_ctor_set(x_57, 3, x_51);
lean_ctor_set(x_57, 4, x_56);
lean_ctor_set(x_57, 5, x_54);
lean_ctor_set_uint8(x_57, sizeof(void*)*6, x_49);
x_58 = l_Array_filterMapM___at_Lean_finalizeImport___spec__12(x_12, x_11, x_44);
lean_dec(x_44);
x_56 = lean_alloc_ctor(0, 5, 5);
lean_ctor_set(x_56, 0, x_55);
lean_ctor_set(x_56, 1, x_2);
lean_ctor_set(x_56, 2, x_52);
lean_ctor_set(x_56, 3, x_9);
lean_ctor_set(x_56, 4, x_16);
lean_ctor_set_uint32(x_56, sizeof(void*)*5, x_4);
lean_ctor_set_uint8(x_56, sizeof(void*)*5 + 4, x_45);
x_57 = l_Lean_Kernel_instInhabitedDiagnostics___closed__3;
x_58 = l_Lean_NameSet_empty;
lean_inc(x_53);
x_59 = lean_alloc_ctor(0, 6, 1);
lean_ctor_set(x_59, 0, x_39);
lean_ctor_set(x_59, 1, x_57);
lean_ctor_set(x_59, 2, x_35);
lean_ctor_set(x_59, 3, x_53);
lean_ctor_set(x_59, 4, x_58);
lean_ctor_set(x_59, 5, x_56);
lean_ctor_set_uint8(x_59, sizeof(void*)*6, x_51);
x_60 = l_Array_filterMapM___at_Lean_finalizeImport___spec__12(x_7, x_12, x_11, x_46);
lean_dec(x_46);
lean_dec(x_12);
x_59 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_51, x_58, x_11, x_52);
x_60 = lean_ctor_get(x_59, 0);
lean_inc(x_60);
x_61 = lean_ctor_get(x_59, 1);
lean_inc(x_61);
lean_dec(x_59);
lean_inc(x_57);
x_62 = lean_task_pure(x_57);
x_63 = l_Lean_instInhabitedAsyncConsts___closed__2;
x_64 = l_Lean_Environment_ofKernelEnv___closed__1;
x_65 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_65, 0, x_57);
lean_ctor_set(x_65, 1, x_60);
lean_ctor_set(x_65, 2, x_62);
lean_ctor_set(x_65, 3, x_63);
lean_ctor_set(x_65, 4, x_47);
lean_ctor_set(x_65, 5, x_47);
lean_ctor_set(x_65, 6, x_46);
lean_ctor_set(x_65, 7, x_64);
lean_ctor_set_uint8(x_65, sizeof(void*)*8, x_37);
x_61 = l___private_Lean_Environment_0__Lean_setImportedEntries(x_53, x_60, x_11, x_54);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
lean_inc(x_59);
x_64 = lean_task_pure(x_59);
x_65 = l_Lean_instInhabitedAsyncConsts___closed__2;
x_66 = l_Lean_Environment_ofKernelEnv___closed__1;
x_67 = lean_alloc_ctor(0, 8, 1);
lean_ctor_set(x_67, 0, x_59);
lean_ctor_set(x_67, 1, x_62);
lean_ctor_set(x_67, 2, x_64);
lean_ctor_set(x_67, 3, x_65);
lean_ctor_set(x_67, 4, x_49);
lean_ctor_set(x_67, 5, x_49);
lean_ctor_set(x_67, 6, x_48);
lean_ctor_set(x_67, 7, x_66);
lean_ctor_set_uint8(x_67, sizeof(void*)*8, x_37);
if (x_5 == 0)
{
lean_object* x_66; lean_object* x_67;
x_66 = lean_box(0);
x_67 = l_Lean_finalizeImport___lambda__2(x_46, x_3, x_6, x_16, x_5, x_65, x_66, x_61);
return x_67;
lean_object* x_68; lean_object* x_69;
x_68 = lean_box(0);
x_69 = l_Lean_finalizeImport___lambda__2(x_48, x_3, x_6, x_16, x_5, x_67, x_68, x_63);
return x_69;
}
else
{
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72;
x_68 = lean_runtime_mark_persistent(x_65, x_61);
x_69 = lean_ctor_get(x_68, 0);
lean_inc(x_69);
x_70 = lean_ctor_get(x_68, 1);
lean_inc(x_70);
lean_dec(x_68);
x_71 = lean_box(0);
x_72 = l_Lean_finalizeImport___lambda__2(x_46, x_3, x_6, x_16, x_5, x_69, x_71, x_70);
return x_72;
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74;
x_70 = lean_runtime_mark_persistent(x_67, x_63);
x_71 = lean_ctor_get(x_70, 0);
lean_inc(x_71);
x_72 = lean_ctor_get(x_70, 1);
lean_inc(x_72);
lean_dec(x_70);
x_73 = lean_box(0);
x_74 = l_Lean_finalizeImport___lambda__2(x_48, x_3, x_6, x_16, x_5, x_71, x_73, x_72);
return x_74;
}
}
}
}
else
{
uint8_t x_82;
uint8_t x_84;
lean_dec(x_39);
lean_dec(x_35);
lean_dec(x_16);
lean_dec(x_12);
lean_dec(x_3);
lean_dec(x_2);
x_82 = !lean_is_exclusive(x_40);
if (x_82 == 0)
x_84 = !lean_is_exclusive(x_40);
if (x_84 == 0)
{
return x_40;
}
else
{
lean_object* x_83; lean_object* x_84; lean_object* x_85;
x_83 = lean_ctor_get(x_40, 0);
x_84 = lean_ctor_get(x_40, 1);
lean_inc(x_84);
lean_inc(x_83);
lean_object* x_85; lean_object* x_86; lean_object* x_87;
x_85 = lean_ctor_get(x_40, 0);
x_86 = lean_ctor_get(x_40, 1);
lean_inc(x_86);
lean_inc(x_85);
lean_dec(x_40);
x_85 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_85, 0, x_83);
lean_ctor_set(x_85, 1, x_84);
return x_85;
x_87 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_87, 0, x_85);
lean_ctor_set(x_87, 1, x_86);
return x_87;
}
}
}
else
{
uint8_t x_86;
uint8_t x_88;
lean_dec(x_16);
lean_dec(x_12);
lean_dec(x_3);
lean_dec(x_2);
x_86 = !lean_is_exclusive(x_32);
if (x_86 == 0)
x_88 = !lean_is_exclusive(x_32);
if (x_88 == 0)
{
return x_32;
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89;
x_87 = lean_ctor_get(x_32, 0);
x_88 = lean_ctor_get(x_32, 1);
lean_inc(x_88);
lean_inc(x_87);
lean_object* x_89; lean_object* x_90; lean_object* x_91;
x_89 = lean_ctor_get(x_32, 0);
x_90 = lean_ctor_get(x_32, 1);
lean_inc(x_90);
lean_inc(x_89);
lean_dec(x_32);
x_89 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_89, 0, x_87);
lean_ctor_set(x_89, 1, x_88);
return x_89;
x_91 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_91, 0, x_89);
lean_ctor_set(x_91, 1, x_90);
return x_91;
}
}
}
}
else
{
uint8_t x_94;
uint8_t x_96;
lean_dec(x_12);
lean_dec(x_3);
lean_dec(x_2);
x_94 = !lean_is_exclusive(x_15);
if (x_94 == 0)
x_96 = !lean_is_exclusive(x_15);
if (x_96 == 0)
{
return x_15;
}
else
{
lean_object* x_95; lean_object* x_96; lean_object* x_97;
x_95 = lean_ctor_get(x_15, 0);
x_96 = lean_ctor_get(x_15, 1);
lean_inc(x_96);
lean_inc(x_95);
lean_object* x_97; lean_object* x_98; lean_object* x_99;
x_97 = lean_ctor_get(x_15, 0);
x_98 = lean_ctor_get(x_15, 1);
lean_inc(x_98);
lean_inc(x_97);
lean_dec(x_15);
x_97 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_97, 0, x_95);
lean_ctor_set(x_97, 1, x_96);
return x_97;
x_99 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_99, 0, x_97);
lean_ctor_set(x_99, 1, x_98);
return x_99;
}
}
}
@ -28690,28 +28708,32 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_finalizeImport___spec__11(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7;
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(x_1, x_5, x_6, x_4);
uint8_t x_6; size_t x_7; size_t x_8; lean_object* x_9;
x_6 = lean_unbox(x_1);
lean_dec(x_1);
return x_7;
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_9 = l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__13(x_6, x_2, x_7, x_8, x_5);
lean_dec(x_2);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_finalizeImport___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_4;
x_4 = l_Array_filterMapM___at_Lean_finalizeImport___spec__12(x_1, x_2, x_3);
uint8_t x_5; lean_object* x_6;
x_5 = lean_unbox(x_1);
lean_dec(x_1);
x_6 = l_Array_filterMapM___at_Lean_finalizeImport___spec__12(x_5, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_4;
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_finalizeImport___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
@ -28928,62 +28950,44 @@ lean_inc(x_13);
x_15 = l_Lean_importModulesCore(x_2, x_10, x_13, x_14);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17;
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
lean_dec(x_15);
x_17 = lean_st_ref_get(x_13, x_16);
lean_dec(x_13);
if (x_10 == 0)
{
lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21;
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 = 1;
x_21 = l_Lean_finalizeImport(x_18, x_2, x_3, x_4, x_5, x_6, x_20, x_19);
x_20 = l_Lean_finalizeImport(x_18, x_2, x_3, x_4, x_5, x_6, x_1, x_19);
lean_dec(x_18);
return x_21;
return x_20;
}
else
{
lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25;
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_17, 1);
lean_inc(x_23);
lean_dec(x_17);
x_24 = 0;
x_25 = l_Lean_finalizeImport(x_22, x_2, x_3, x_4, x_5, x_6, x_24, x_23);
lean_dec(x_22);
return x_25;
}
}
else
{
uint8_t x_26;
uint8_t x_21;
lean_dec(x_13);
lean_dec(x_3);
lean_dec(x_2);
x_26 = !lean_is_exclusive(x_15);
if (x_26 == 0)
x_21 = !lean_is_exclusive(x_15);
if (x_21 == 0)
{
return x_15;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29;
x_27 = lean_ctor_get(x_15, 0);
x_28 = lean_ctor_get(x_15, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_22 = lean_ctor_get(x_15, 0);
x_23 = lean_ctor_get(x_15, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_15);
x_29 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
return x_29;
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
@ -29667,7 +29671,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_List_foldl___at___private_Lean_Environment_0__Lean_Environment_updateBaseAfterKernelAdd___spec__1___closed__1;
x_2 = l_List_foldl___at___private_Lean_Environment_0__Lean_Environment_updateBaseAfterKernelAdd___spec__1___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_List_foldl___at___private_Lean_Environment_0__Lean_Environment_updateBaseAfterKernelAdd___spec__1___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -31120,7 +31124,7 @@ x_14 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s
x_15 = lean_string_append(x_13, x_14);
x_16 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_17 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_18 = lean_unsigned_to_nat(1994u);
x_18 = lean_unsigned_to_nat(1996u);
x_19 = lean_unsigned_to_nat(17u);
x_20 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_16, x_17, x_18, x_19, x_15);
lean_dec(x_15);
@ -31154,7 +31158,7 @@ x_31 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s
x_32 = lean_string_append(x_30, x_31);
x_33 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_34 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_35 = lean_unsigned_to_nat(1994u);
x_35 = lean_unsigned_to_nat(1996u);
x_36 = lean_unsigned_to_nat(17u);
x_37 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_33, x_34, x_35, x_36, x_32);
lean_dec(x_32);
@ -31245,7 +31249,7 @@ x_61 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s
x_62 = lean_string_append(x_60, x_61);
x_63 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_64 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_65 = lean_unsigned_to_nat(1994u);
x_65 = lean_unsigned_to_nat(1996u);
x_66 = lean_unsigned_to_nat(17u);
x_67 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_63, x_64, x_65, x_66, x_62);
lean_dec(x_62);
@ -31279,7 +31283,7 @@ x_78 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s
x_79 = lean_string_append(x_77, x_78);
x_80 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_81 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_82 = lean_unsigned_to_nat(1994u);
x_82 = lean_unsigned_to_nat(1996u);
x_83 = lean_unsigned_to_nat(17u);
x_84 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_80, x_81, x_82, x_83, x_79);
lean_dec(x_79);
@ -31320,7 +31324,7 @@ x_98 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___s
x_99 = lean_string_append(x_97, x_98);
x_100 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_101 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_102 = lean_unsigned_to_nat(1994u);
x_102 = lean_unsigned_to_nat(1996u);
x_103 = lean_unsigned_to_nat(17u);
x_104 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_100, x_101, x_102, x_103, x_99);
lean_dec(x_99);
@ -31354,7 +31358,7 @@ x_115 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___
x_116 = lean_string_append(x_114, x_115);
x_117 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_118 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_119 = lean_unsigned_to_nat(1994u);
x_119 = lean_unsigned_to_nat(1996u);
x_120 = lean_unsigned_to_nat(17u);
x_121 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_117, x_118, x_119, x_120, x_116);
lean_dec(x_116);
@ -31395,7 +31399,7 @@ x_135 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___
x_136 = lean_string_append(x_134, x_135);
x_137 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_138 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_139 = lean_unsigned_to_nat(1994u);
x_139 = lean_unsigned_to_nat(1996u);
x_140 = lean_unsigned_to_nat(17u);
x_141 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_137, x_138, x_139, x_140, x_136);
lean_dec(x_136);
@ -31429,7 +31433,7 @@ x_152 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___
x_153 = lean_string_append(x_151, x_152);
x_154 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_155 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_156 = lean_unsigned_to_nat(1994u);
x_156 = lean_unsigned_to_nat(1996u);
x_157 = lean_unsigned_to_nat(17u);
x_158 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_154, x_155, x_156, x_157, x_153);
lean_dec(x_153);
@ -31470,7 +31474,7 @@ x_172 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___
x_173 = lean_string_append(x_171, x_172);
x_174 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_175 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_176 = lean_unsigned_to_nat(1994u);
x_176 = lean_unsigned_to_nat(1996u);
x_177 = lean_unsigned_to_nat(17u);
x_178 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_174, x_175, x_176, x_177, x_173);
lean_dec(x_173);
@ -31504,7 +31508,7 @@ x_189 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___
x_190 = lean_string_append(x_188, x_189);
x_191 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_192 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_193 = lean_unsigned_to_nat(1994u);
x_193 = lean_unsigned_to_nat(1996u);
x_194 = lean_unsigned_to_nat(17u);
x_195 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_191, x_192, x_193, x_194, x_190);
lean_dec(x_190);
@ -31545,7 +31549,7 @@ x_209 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___
x_210 = lean_string_append(x_208, x_209);
x_211 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_212 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_213 = lean_unsigned_to_nat(1994u);
x_213 = lean_unsigned_to_nat(1996u);
x_214 = lean_unsigned_to_nat(17u);
x_215 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_211, x_212, x_213, x_214, x_210);
lean_dec(x_210);
@ -31579,7 +31583,7 @@ x_226 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___
x_227 = lean_string_append(x_225, x_226);
x_228 = l___private_Lean_Environment_0__Lean_AsyncConsts_add___closed__4;
x_229 = l_List_forIn_x27_loop___at_Lean_Environment_replayConsts_replayKernel___spec__8___lambda__2___closed__2;
x_230 = lean_unsigned_to_nat(1994u);
x_230 = lean_unsigned_to_nat(1996u);
x_231 = lean_unsigned_to_nat(17u);
x_232 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_228, x_229, x_230, x_231, x_227);
lean_dec(x_227);

View file

@ -2747,7 +2747,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_IO_FS_withIsolatedStreams___at_Lean_Language_Lean_process_doElab___spec__1___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lean_Language_Lean_process_doElab___spec__1___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lean_Language_Lean_process_doElab___spec__1___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -199,6 +199,7 @@ static lean_object* l_Lean_Linter_logLint___at_Lean_Linter_UnusedVariables_unuse
lean_object* lean_string_utf8_byte_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_collectMacroExpansions_x3f_go___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__6___lambda__2(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_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1427____spec__1(size_t, size_t, lean_object*);
lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_forEachExpr_x27_visit___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_640____lambda__2___closed__2;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Linter_mkIgnoreFnImpl___lambda__1(lean_object*);
@ -407,7 +408,6 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Linter_UnusedVariables_collectReferences_go___spec__24___lambda__4___closed__4;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_4549____lambda__1___closed__3;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_987____lambda__1___closed__2;
lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_ForEachExpr_visit___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Linter_UnusedVariables_collectReferences_go___spec__24___lambda__7___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_Linter_UnusedVariables_insertObjImpl___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_640____closed__15;
@ -454,7 +454,6 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1021____closed__1;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__20___lambda__5___boxed(lean_object**);
static lean_object* l_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___lambda__2___closed__1;
lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_ForEachExpr_visit___spec__6(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_linter_unusedVariables;
uint8_t l_String_Range_contains(lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1427____spec__2___boxed(lean_object*, lean_object*, lean_object*);
@ -556,6 +555,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_4961____lambda__1___closed__4;
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_forEachExpr_x27_visit___spec__11(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_4581____lambda__1___closed__8;
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
@ -6883,7 +6883,7 @@ x_122 = lean_usize_sub(x_120, x_121);
x_123 = lean_usize_land(x_119, x_122);
x_124 = lean_array_uget(x_110, x_123);
lean_dec(x_110);
x_125 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_ForEachExpr_visit___spec__1(x_2, x_124);
x_125 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_forEachExpr_x27_visit___spec__1(x_2, x_124);
lean_dec(x_124);
if (lean_obj_tag(x_125) == 0)
{
@ -7444,7 +7444,7 @@ x_241 = lean_usize_sub(x_239, x_240);
x_242 = lean_usize_land(x_238, x_241);
x_243 = lean_array_uget(x_229, x_242);
lean_dec(x_229);
x_244 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_ForEachExpr_visit___spec__1(x_2, x_243);
x_244 = l_Std_DHashMap_Internal_AssocList_get_x3f___at_Lean_Meta_forEachExpr_x27_visit___spec__1(x_2, x_243);
lean_dec(x_243);
if (lean_obj_tag(x_244) == 0)
{
@ -8117,7 +8117,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean
x_49 = lean_box(0);
x_50 = lean_array_uset(x_12, x_25, x_49);
lean_inc(x_5);
x_51 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_ForEachExpr_visit___spec__6(x_2, x_5, x_26);
x_51 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_forEachExpr_x27_visit___spec__11(x_2, x_5, x_26);
x_52 = lean_array_uset(x_50, x_25, x_51);
lean_ctor_set(x_8, 1, x_52);
x_53 = lean_st_ref_set(x_3, x_8, x_9);
@ -8248,7 +8248,7 @@ lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean
x_96 = lean_box(0);
x_97 = lean_array_uset(x_59, x_72, x_96);
lean_inc(x_5);
x_98 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_ForEachExpr_visit___spec__6(x_2, x_5, x_73);
x_98 = l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_forEachExpr_x27_visit___spec__11(x_2, x_5, x_73);
x_99 = lean_array_uset(x_97, x_72, x_98);
x_100 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_100, 0, x_58);
@ -19609,7 +19609,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_Array_qsort_sort___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__23___lambda__1___closed__1;
x_2 = l_Array_qsort_sort___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__23___lambda__1___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Array_qsort_sort___at_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___spec__23___lambda__1___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -61049,7 +61049,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_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__2;
x_2 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__3;
x_3 = lean_unsigned_to_nat(126u);
x_3 = lean_unsigned_to_nat(128u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__3___closed__4;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -14795,21 +14795,23 @@ return x_1;
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_4300____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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_4300____closed__2;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_4300____closed__3;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_4300____closed__4;
x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_4300____closed__5;
x_6 = 2;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_4300_(lean_object* x_1) {

View file

@ -162,7 +162,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lean_Meta_MVarRenaming_find_x21___closed__1;
x_2 = l_Lean_Meta_MVarRenaming_find_x21___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Meta_MVarRenaming_find_x21___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1856,21 +1856,23 @@ return x_1;
static lean_object* _init_l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_394____closed__10() {
_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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_394____closed__6;
x_3 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_394____closed__7;
x_4 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_394____closed__8;
x_5 = l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_394____closed__9;
x_6 = 3;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_Match_Extension_initFn____x40_Lean_Meta_Match_MatcherInfo___hyg_394_(lean_object* x_1) {

View file

@ -1376,7 +1376,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lean_Meta_reduce_visit___lambda__4___closed__5;
x_2 = l_Lean_Meta_reduce_visit___lambda__4___closed__6;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Meta_reduce_visit___lambda__4___closed__7;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -90,7 +90,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_addToQueue___b
lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*);
lean_object* lean_nat_to_int(lean_object*);
lean_object* l_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f(lean_object*, 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_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_EqCnstr_simplify(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Grind_Arith_CommRing_toRingExpr_x3f___spec__1(lean_object*, lean_object*);
@ -188,6 +187,7 @@ lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_o
uint8_t lean_int_dec_eq(lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_mkVar___spec__5(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
lean_object* l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___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_int_neg(lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
@ -2844,7 +2844,7 @@ lean_ctor_set(x_31, 0, x_46);
x_47 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_47, 0, x_31);
lean_ctor_set(x_47, 1, x_46);
x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_30, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44);
x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_30, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44);
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
x_50 = lean_ctor_get(x_48, 1);
@ -2962,7 +2962,7 @@ lean_ctor_set(x_68, 1, x_66);
x_69 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_69, 0, x_68);
lean_ctor_set(x_69, 1, x_67);
x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_30, x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65);
x_70 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_30, x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_65);
x_71 = lean_ctor_get(x_70, 0);
lean_inc(x_71);
x_72 = lean_ctor_get(x_70, 1);
@ -3146,7 +3146,7 @@ lean_ctor_set(x_104, 1, x_102);
x_105 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_105, 0, x_104);
lean_ctor_set(x_105, 1, x_103);
x_106 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_88, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_101);
x_106 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_88, x_105, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_101);
x_107 = lean_ctor_get(x_106, 0);
lean_inc(x_107);
x_108 = lean_ctor_get(x_106, 1);
@ -3388,7 +3388,7 @@ lean_ctor_set(x_151, 1, x_149);
x_152 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_152, 0, x_151);
lean_ctor_set(x_152, 1, x_150);
x_153 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_135, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_148);
x_153 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_135, x_152, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_148);
x_154 = lean_ctor_get(x_153, 0);
lean_inc(x_154);
x_155 = lean_ctor_get(x_153, 1);
@ -3756,7 +3756,7 @@ x_62 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Gr
x_63 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_34, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53);
x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_34, x_63, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_53);
x_65 = lean_ctor_get(x_64, 0);
lean_inc(x_65);
x_66 = lean_ctor_get(x_64, 1);
@ -3947,7 +3947,7 @@ x_100 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_G
x_101 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_101, 0, x_99);
lean_ctor_set(x_101, 1, x_100);
x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_34, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90);
x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_34, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_90);
x_103 = lean_ctor_get(x_102, 0);
lean_inc(x_103);
x_104 = lean_ctor_get(x_102, 1);
@ -4311,7 +4311,7 @@ x_168 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_G
x_169 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_169, 0, x_167);
lean_ctor_set(x_169, 1, x_168);
x_170 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_140, x_169, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_158);
x_170 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_140, x_169, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_158);
x_171 = lean_ctor_get(x_170, 0);
lean_inc(x_171);
x_172 = lean_ctor_get(x_170, 1);
@ -4836,7 +4836,7 @@ x_48 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Gr
x_49 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_49, 0, x_29);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_28, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44);
x_50 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_28, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_44);
x_51 = lean_ctor_get(x_50, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_50, 1);
@ -4960,7 +4960,7 @@ x_74 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_Gr
x_75 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_75, 0, x_73);
lean_ctor_set(x_75, 1, x_74);
x_76 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_28, x_75, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69);
x_76 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_28, x_75, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_69);
x_77 = lean_ctor_get(x_76, 0);
lean_inc(x_77);
x_78 = lean_ctor_get(x_76, 1);
@ -5322,7 +5322,7 @@ x_139 = l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_EqCnstr_0__Lean_Meta_G
x_140 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_140, 0, x_138);
lean_ctor_set(x_140, 1, x_139);
x_141 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_119, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_134);
x_141 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_119, x_140, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_134);
x_142 = lean_ctor_get(x_141, 0);
lean_inc(x_142);
x_143 = lean_ctor_get(x_141, 1);
@ -5855,7 +5855,7 @@ lean_ctor_set(x_22, 0, x_37);
x_38 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_38, 0, x_22);
lean_ctor_set(x_38, 1, x_37);
x_39 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_21, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35);
x_39 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_21, x_38, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_35);
x_40 = lean_ctor_get(x_39, 0);
lean_inc(x_40);
x_41 = lean_ctor_get(x_39, 1);
@ -5965,7 +5965,7 @@ lean_ctor_set(x_59, 1, x_57);
x_60 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_60, 1, x_58);
x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_21, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_56);
x_61 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_21, x_60, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_56);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
@ -6055,6 +6055,11 @@ lean_inc(x_10);
lean_inc(x_9);
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_2);
x_74 = l_Lean_Meta_Grind_Arith_CommRing_setInconsistent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73);
if (lean_obj_tag(x_74) == 0)
{
@ -6191,7 +6196,7 @@ lean_ctor_set(x_87, 0, x_102);
x_103 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_103, 0, x_87);
lean_ctor_set(x_103, 1, x_102);
x_104 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_86, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100);
x_104 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_86, x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100);
x_105 = lean_ctor_get(x_104, 0);
lean_inc(x_105);
x_106 = lean_ctor_get(x_104, 1);
@ -6301,7 +6306,7 @@ lean_ctor_set(x_124, 1, x_122);
x_125 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_125, 0, x_124);
lean_ctor_set(x_125, 1, x_123);
x_126 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_86, x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121);
x_126 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_86, x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_121);
x_127 = lean_ctor_get(x_126, 0);
lean_inc(x_127);
x_128 = lean_ctor_get(x_126, 1);
@ -11252,7 +11257,7 @@ lean_ctor_set(x_13, 0, x_28);
x_29 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_29, 0, x_13);
lean_ctor_set(x_29, 1, x_28);
x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26);
x_30 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_29, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26);
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
x_32 = lean_ctor_get(x_30, 1);
@ -11359,7 +11364,7 @@ lean_ctor_set(x_50, 1, x_48);
x_51 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_51, 0, x_50);
lean_ctor_set(x_51, 1, x_49);
x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47);
x_52 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_47);
x_53 = lean_ctor_get(x_52, 0);
lean_inc(x_53);
x_54 = lean_ctor_get(x_52, 1);
@ -11553,7 +11558,7 @@ lean_ctor_set(x_13, 0, x_25);
x_26 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_26, 0, x_13);
lean_ctor_set(x_26, 1, x_25);
x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23);
x_27 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23);
x_28 = lean_ctor_get(x_27, 0);
lean_inc(x_28);
x_29 = lean_ctor_get(x_27, 1);
@ -11639,7 +11644,7 @@ lean_ctor_set(x_46, 1, x_44);
x_47 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_47, 0, x_46);
lean_ctor_set(x_47, 1, x_45);
x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_12, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43);
x_48 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_12, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43);
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
x_50 = lean_ctor_get(x_48, 1);
@ -13484,7 +13489,7 @@ lean_ctor_set(x_37, 0, x_52);
lean_ctor_set_tag(x_25, 7);
lean_ctor_set(x_25, 1, x_52);
lean_ctor_set(x_25, 0, x_37);
x_53 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50);
x_53 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50);
x_54 = lean_ctor_get(x_53, 0);
lean_inc(x_54);
x_55 = lean_ctor_get(x_53, 1);
@ -13611,7 +13616,7 @@ lean_ctor_set(x_73, 1, x_71);
lean_ctor_set_tag(x_25, 7);
lean_ctor_set(x_25, 1, x_72);
lean_ctor_set(x_25, 0, x_73);
x_74 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70);
x_74 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_36, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_74, 1);
@ -13786,7 +13791,7 @@ lean_ctor_set(x_103, 1, x_101);
x_104 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_104, 0, x_103);
lean_ctor_set(x_104, 1, x_102);
x_105 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_87, x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100);
x_105 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_87, x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_100);
x_106 = lean_ctor_get(x_105, 0);
lean_inc(x_106);
x_107 = lean_ctor_get(x_105, 1);
@ -14652,7 +14657,7 @@ x_65 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__2
x_66 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_46, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61);
x_67 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_46, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_61);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
@ -14810,7 +14815,7 @@ x_100 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__
x_101 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_101, 0, x_84);
lean_ctor_set(x_101, 1, x_100);
x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_83, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_97);
x_102 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_83, x_101, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_97);
x_103 = lean_ctor_get(x_102, 0);
lean_inc(x_103);
x_104 = lean_ctor_get(x_102, 1);
@ -14929,7 +14934,7 @@ x_123 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__
x_124 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_124, 0, x_122);
lean_ctor_set(x_124, 1, x_123);
x_125 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_83, x_124, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_119);
x_125 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_83, x_124, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_119);
x_126 = lean_ctor_get(x_125, 0);
lean_inc(x_126);
x_127 = lean_ctor_get(x_125, 1);
@ -15141,7 +15146,7 @@ x_160 = l_Lean_Meta_Grind_Arith_CommRing_processNewEqImpl___lambda__3___closed__
x_161 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_161, 0, x_159);
lean_ctor_set(x_161, 1, x_160);
x_162 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_141, x_161, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_156);
x_162 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_141, x_161, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_156);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
@ -15479,7 +15484,7 @@ lean_ctor_set(x_24, 0, x_39);
x_40 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_40, 0, x_24);
lean_ctor_set(x_40, 1, x_39);
x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_23, x_40, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37);
x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_23, x_40, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_37);
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
x_43 = lean_ctor_get(x_41, 1);
@ -15595,7 +15600,7 @@ lean_ctor_set(x_61, 1, x_59);
x_62 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_62, 0, x_61);
lean_ctor_set(x_62, 1, x_60);
x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_23, x_62, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58);
x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_23, x_62, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_58);
x_64 = lean_ctor_get(x_63, 0);
lean_inc(x_64);
x_65 = lean_ctor_get(x_63, 1);
@ -15932,7 +15937,7 @@ x_32 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_31);
lean_ctor_set(x_33, 1, x_32);
x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_13, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28);
x_34 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_13, x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_28);
return x_34;
}
else
@ -16225,7 +16230,7 @@ x_61 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed
x_62 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_42, x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57);
x_63 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_42, x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_57);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
@ -16379,7 +16384,7 @@ x_95 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___closed
x_96 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_96, 0, x_79);
lean_ctor_set(x_96, 1, x_95);
x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_78, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92);
x_97 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_78, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_92);
x_98 = lean_ctor_get(x_97, 0);
lean_inc(x_98);
x_99 = lean_ctor_get(x_97, 1);
@ -16495,7 +16500,7 @@ x_118 = l_Lean_Meta_Grind_Arith_CommRing_processNewDiseqImpl___lambda__2___close
x_119 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_119, 0, x_117);
lean_ctor_set(x_119, 1, x_118);
x_120 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_78, x_119, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_114);
x_120 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_78, x_119, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_114);
x_121 = lean_ctor_get(x_120, 0);
lean_inc(x_121);
x_122 = lean_ctor_get(x_120, 1);
@ -16826,7 +16831,7 @@ lean_ctor_set(x_23, 0, x_39);
x_40 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_40, 0, x_23);
lean_ctor_set(x_40, 1, x_39);
x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_22, x_40, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36);
x_41 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_22, x_40, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36);
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
x_43 = lean_ctor_get(x_41, 1);
@ -16943,7 +16948,7 @@ lean_ctor_set(x_62, 1, x_60);
x_63 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set(x_63, 1, x_61);
x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__2(x_22, x_63, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58);
x_64 = l_Lean_addTrace___at_Lean_Meta_Grind_Arith_CommRing_setInconsistent___spec__4(x_22, x_63, x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58);
x_65 = lean_ctor_get(x_64, 0);
lean_inc(x_65);
x_66 = lean_ctor_get(x_64, 1);

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Lean.Meta.Tactic.Grind.Arith.CommRing.Util
// Imports: Lean.Meta.Tactic.Grind.Types
// Imports: Lean.Meta.Tactic.Grind.Types Lean.Meta.Tactic.Grind.Arith.CommRing.Poly
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -21,9 +21,11 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getCharInst___closed__1;
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId___closed__4;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f___spec__1(lean_object*, lean_object*);
size_t lean_usize_shift_right(size_t, size_t);
lean_object* l_Lean_Grind_CommRing_Poly_mulC(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getCharInst(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_le(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Grind_CommRing_Poly_mulMon_x27(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRingId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_uint64_to_usize(uint64_t);
lean_object* l_Lean_Meta_Grind_reportIssue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -31,17 +33,21 @@ lean_object* lean_array_push(lean_object*, lean_object*);
size_t lean_usize_mul(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_Grind_Arith_CommRing_setTermRingId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMonM___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_Grind_Arith_CommRing_getRing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combineM(lean_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_PersistentHashMap_insertAux___at_Lean_Meta_Grind_Arith_CommRing_setTermRingId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId___closed__5;
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId___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_Grind_CommRing_Poly_combine_x27(lean_object*, lean_object*, lean_object*);
static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f___spec__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId(lean_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_take(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_modify_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_Meta_Grind_Arith_CommRing_setTermRingId___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*);
@ -49,8 +55,11 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Grind_A
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(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*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_hasChar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Grind_CommRing_Poly_mulConst_x27(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_get_x27___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_Grind_CommRing_Poly_mulConstM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_hasChar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Grind_CommRing_Poly_mul(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getRing___closed__1;
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f___closed__1;
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_Grind_Arith_CommRing_setTermRingId___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -59,12 +68,14 @@ static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId___closed__1;
uint8_t l_Lean_Meta_Grind_isSameExpr_unsafe__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Grind_Arith_CommRing_getRing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId___closed__2;
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMonM(lean_object*, lean_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_Grind_CommRing_Expr_toPolyM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_usize_to_nat(size_t);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_setTermRingId___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_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Grind_Arith_CommRing_getTermRingId_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_Grind_Arith_CommRing_getCharInst___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_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_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConstM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_modify_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_Arith_CommRing_modifyRing___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_array_fget(lean_object*, lean_object*);
@ -3351,7 +3362,294 @@ return x_31;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConstM(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;
x_13 = l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14;
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16;
x_15 = lean_ctor_get(x_13, 0);
x_16 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_1, x_2, x_15);
lean_ctor_set(x_13, 0, x_16);
return x_13;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
x_17 = lean_ctor_get(x_13, 0);
x_18 = lean_ctor_get(x_13, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_13);
x_19 = l_Lean_Grind_CommRing_Poly_mulConst_x27(x_1, x_2, x_17);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
return x_20;
}
}
else
{
uint8_t x_21;
lean_dec(x_1);
x_21 = !lean_is_exclusive(x_13);
if (x_21 == 0)
{
return x_13;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_22 = lean_ctor_get(x_13, 0);
x_23 = lean_ctor_get(x_13, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_13);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConstM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13;
x_13 = l_Lean_Grind_CommRing_Poly_mulConstM(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_2);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMonM(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) {
_start:
{
lean_object* x_14;
x_14 = l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_14) == 0)
{
uint8_t x_15;
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17;
x_16 = lean_ctor_get(x_14, 0);
x_17 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_1, x_2, x_3, x_16);
lean_ctor_set(x_14, 0, x_17);
return x_14;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_18 = lean_ctor_get(x_14, 0);
x_19 = lean_ctor_get(x_14, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_14);
x_20 = l_Lean_Grind_CommRing_Poly_mulMon_x27(x_1, x_2, x_3, x_18);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
return x_21;
}
}
else
{
uint8_t x_22;
lean_dec(x_3);
lean_dec(x_1);
x_22 = !lean_is_exclusive(x_14);
if (x_22 == 0)
{
return x_14;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_23 = lean_ctor_get(x_14, 0);
x_24 = lean_ctor_get(x_14, 1);
lean_inc(x_24);
lean_inc(x_23);
lean_dec(x_14);
x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_23);
lean_ctor_set(x_25, 1, x_24);
return x_25;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMonM___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) {
_start:
{
lean_object* x_14;
x_14 = l_Lean_Grind_CommRing_Poly_mulMonM(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);
lean_dec(x_2);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulM(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;
x_13 = l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14;
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
if (lean_obj_tag(x_14) == 0)
{
uint8_t x_15;
x_15 = !lean_is_exclusive(x_13);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17;
x_16 = lean_ctor_get(x_13, 0);
lean_dec(x_16);
x_17 = l_Lean_Grind_CommRing_Poly_mul(x_1, x_2);
lean_ctor_set(x_13, 0, x_17);
return x_13;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20;
x_18 = lean_ctor_get(x_13, 1);
lean_inc(x_18);
lean_dec(x_13);
x_19 = l_Lean_Grind_CommRing_Poly_mul(x_1, x_2);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
return x_20;
}
}
else
{
uint8_t x_21;
x_21 = !lean_is_exclusive(x_13);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_22 = lean_ctor_get(x_13, 0);
lean_dec(x_22);
x_23 = lean_ctor_get(x_14, 0);
lean_inc(x_23);
lean_dec(x_14);
x_24 = l_Lean_Grind_CommRing_Poly_mulC(x_1, x_2, x_23);
lean_ctor_set(x_13, 0, x_24);
return x_13;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
x_25 = lean_ctor_get(x_13, 1);
lean_inc(x_25);
lean_dec(x_13);
x_26 = lean_ctor_get(x_14, 0);
lean_inc(x_26);
lean_dec(x_14);
x_27 = l_Lean_Grind_CommRing_Poly_mulC(x_1, x_2, x_26);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_25);
return x_28;
}
}
}
else
{
uint8_t x_29;
lean_dec(x_2);
lean_dec(x_1);
x_29 = !lean_is_exclusive(x_13);
if (x_29 == 0)
{
return x_13;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32;
x_30 = lean_ctor_get(x_13, 0);
x_31 = lean_ctor_get(x_13, 1);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_13);
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_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combineM(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;
x_13 = l_Lean_Meta_Grind_Arith_CommRing_nonzeroChar_x3f(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14;
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16;
x_15 = lean_ctor_get(x_13, 0);
x_16 = l_Lean_Grind_CommRing_Poly_combine_x27(x_1, x_2, x_15);
lean_ctor_set(x_13, 0, x_16);
return x_13;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
x_17 = lean_ctor_get(x_13, 0);
x_18 = lean_ctor_get(x_13, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_13);
x_19 = l_Lean_Grind_CommRing_Poly_combine_x27(x_1, x_2, x_17);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
return x_20;
}
}
else
{
uint8_t x_21;
lean_dec(x_2);
lean_dec(x_1);
x_21 = !lean_is_exclusive(x_13);
if (x_21 == 0)
{
return x_13;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24;
x_22 = lean_ctor_get(x_13, 0);
x_23 = lean_ctor_get(x_13, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_13);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
}
lean_object* initialize_Lean_Meta_Tactic_Grind_Types(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Util(uint8_t builtin, lean_object* w) {
lean_object * res;
@ -3360,6 +3658,9 @@ _G_initialized = true;
res = initialize_Lean_Meta_Tactic_Grind_Types(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Poly(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Meta_Grind_Arith_CommRing_getRing___closed__1 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRing___closed__1();
lean_mark_persistent(l_Lean_Meta_Grind_Arith_CommRing_getRing___closed__1);
l_Lean_Meta_Grind_Arith_CommRing_getRing___closed__2 = _init_l_Lean_Meta_Grind_Arith_CommRing_getRing___closed__2();

View file

@ -23167,7 +23167,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__2___closed__4;
x_2 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__2___closed__5;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Meta_Grind_Arith_Cutsat_processVar___lambda__2___closed__6;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -724,7 +724,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l___private_Lean_Meta_Tactic_Grind_MatchCond_0__Lean_Meta_Grind_replaceLhs_x3f___closed__1;
x_2 = l___private_Lean_Meta_Tactic_Grind_MatchCond_0__Lean_Meta_Grind_replaceLhs_x3f___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l___private_Lean_Meta_Tactic_Grind_MatchCond_0__Lean_Meta_Grind_replaceLhs_x3f___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -8094,7 +8094,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l___private_Lean_Meta_Tactic_Grind_Proof_0__Lean_Meta_Grind_mkCongrDefaultProof___closed__1;
x_2 = l___private_Lean_Meta_Tactic_Grind_Proof_0__Lean_Meta_Grind_mkCongrDefaultProof___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l___private_Lean_Meta_Tactic_Grind_Proof_0__Lean_Meta_Grind_mkCongrDefaultProof___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -8800,7 +8800,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lean_Meta_ExtractLets_extractCore_extractLetFun___closed__1;
x_2 = l_Lean_Meta_ExtractLets_extractCore_extractLetFun___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Meta_ExtractLets_extractCore_extractLetFun___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1124,21 +1124,23 @@ return x_1;
static lean_object* _init_l_Lean_initFn____x40_Lean_Namespace___hyg_3____closed__7() {
_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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_Namespace___hyg_3____closed__3;
x_3 = l_Lean_initFn____x40_Lean_Namespace___hyg_3____closed__4;
x_4 = l_Lean_initFn____x40_Lean_Namespace___hyg_3____closed__5;
x_5 = l_Lean_initFn____x40_Lean_Namespace___hyg_3____closed__6;
x_6 = 1;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Namespace___hyg_3_(lean_object* x_1) {

View file

@ -3351,7 +3351,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_Parser_ParserState_mkUnexpectedTokenErrors___closed__1;
x_2 = l_Lean_Parser_ParserState_mkUnexpectedTokenErrors___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Parser_ParserState_mkUnexpectedTokenErrors___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1166,7 +1166,7 @@ return x_1;
LEAN_EXPORT lean_object* l_Lean_ParserCompiler_registerCombinatorAttribute(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12;
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13;
x_5 = lean_box(0);
x_6 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_ParserCompiler_registerCombinatorAttribute___spec__1___boxed), 2, 1);
lean_closure_set(x_6, 0, x_5);
@ -1174,118 +1174,120 @@ x_7 = lean_box(0);
x_8 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__1;
x_9 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__2;
x_10 = 2;
x_11 = 1;
lean_inc(x_3);
x_11 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_11, 0, x_3);
lean_ctor_set(x_11, 1, x_8);
lean_ctor_set(x_11, 2, x_6);
lean_ctor_set(x_11, 3, x_9);
lean_ctor_set(x_11, 4, x_7);
lean_ctor_set_uint8(x_11, sizeof(void*)*5, x_10);
x_12 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_11, x_4);
if (lean_obj_tag(x_12) == 0)
x_12 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_12, 0, x_3);
lean_ctor_set(x_12, 1, x_8);
lean_ctor_set(x_12, 2, x_6);
lean_ctor_set(x_12, 3, x_9);
lean_ctor_set(x_12, 4, x_7);
lean_ctor_set_uint8(x_12, sizeof(void*)*5, x_10);
lean_ctor_set_uint8(x_12, sizeof(void*)*5 + 1, x_11);
x_13 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_12, x_4);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
x_14 = lean_ctor_get(x_12, 1);
lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = 0;
x_16 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_16, 0, x_3);
lean_ctor_set(x_16, 1, x_1);
lean_ctor_set(x_16, 2, x_2);
lean_ctor_set_uint8(x_16, sizeof(void*)*3, x_15);
lean_inc(x_13);
x_17 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerCombinatorAttribute___lambda__2___boxed), 8, 2);
lean_closure_set(x_17, 0, x_7);
lean_closure_set(x_17, 1, x_13);
x_18 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__3;
x_19 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_19, 0, x_16);
lean_ctor_set(x_19, 1, x_17);
lean_ctor_set(x_19, 2, x_18);
lean_inc(x_19);
x_20 = l_Lean_registerBuiltinAttribute(x_19, x_14);
if (lean_obj_tag(x_20) == 0)
{
uint8_t x_21;
x_21 = !lean_is_exclusive(x_20);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23;
x_22 = lean_ctor_get(x_20, 0);
lean_dec(x_22);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_19);
lean_ctor_set(x_23, 1, x_13);
lean_ctor_set(x_20, 0, x_23);
return x_20;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_24 = lean_ctor_get(x_20, 1);
lean_inc(x_24);
lean_dec(x_20);
x_25 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_25, 0, x_19);
lean_ctor_set(x_25, 1, x_13);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_24);
return x_26;
}
}
else
{
uint8_t x_27;
lean_dec(x_19);
x_15 = lean_ctor_get(x_13, 1);
lean_inc(x_15);
lean_dec(x_13);
x_27 = !lean_is_exclusive(x_20);
if (x_27 == 0)
x_16 = 0;
x_17 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_17, 0, x_3);
lean_ctor_set(x_17, 1, x_1);
lean_ctor_set(x_17, 2, x_2);
lean_ctor_set_uint8(x_17, sizeof(void*)*3, x_16);
lean_inc(x_14);
x_18 = lean_alloc_closure((void*)(l_Lean_ParserCompiler_registerCombinatorAttribute___lambda__2___boxed), 8, 2);
lean_closure_set(x_18, 0, x_7);
lean_closure_set(x_18, 1, x_14);
x_19 = l_Lean_ParserCompiler_registerCombinatorAttribute___closed__3;
x_20 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_20, 0, x_17);
lean_ctor_set(x_20, 1, x_18);
lean_ctor_set(x_20, 2, x_19);
lean_inc(x_20);
x_21 = l_Lean_registerBuiltinAttribute(x_20, x_15);
if (lean_obj_tag(x_21) == 0)
{
return x_20;
uint8_t x_22;
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24;
x_23 = lean_ctor_get(x_21, 0);
lean_dec(x_23);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_20);
lean_ctor_set(x_24, 1, x_14);
lean_ctor_set(x_21, 0, x_24);
return x_21;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30;
x_28 = lean_ctor_get(x_20, 0);
x_29 = lean_ctor_get(x_20, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_object* x_25; lean_object* x_26; lean_object* x_27;
x_25 = lean_ctor_get(x_21, 1);
lean_inc(x_25);
lean_dec(x_21);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_20);
lean_ctor_set(x_26, 1, x_14);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_25);
return x_27;
}
}
else
{
uint8_t x_28;
lean_dec(x_20);
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;
lean_dec(x_14);
x_28 = !lean_is_exclusive(x_21);
if (x_28 == 0)
{
return x_21;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31;
x_29 = lean_ctor_get(x_21, 0);
x_30 = lean_ctor_get(x_21, 1);
lean_inc(x_30);
lean_inc(x_29);
lean_dec(x_21);
x_31 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_31, 0, x_29);
lean_ctor_set(x_31, 1, x_30);
return x_31;
}
}
}
else
{
uint8_t x_31;
uint8_t x_32;
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_31 = !lean_is_exclusive(x_12);
if (x_31 == 0)
x_32 = !lean_is_exclusive(x_13);
if (x_32 == 0)
{
return x_12;
return x_13;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34;
x_32 = lean_ctor_get(x_12, 0);
x_33 = lean_ctor_get(x_12, 1);
lean_object* x_33; lean_object* x_34; lean_object* x_35;
x_33 = lean_ctor_get(x_13, 0);
x_34 = lean_ctor_get(x_13, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_inc(x_32);
lean_dec(x_12);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_33);
return x_34;
lean_dec(x_13);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
return x_35;
}
}
}

View file

@ -31385,7 +31385,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_PrettyPrinter_Delaborator_delabAppMatch___lambda__6___closed__8;
x_2 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__6___closed__9;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__6___closed__10;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -2691,21 +2691,23 @@ return x_1;
static lean_object* _init_l_Lean_initFn____x40_Lean_ResolveName___hyg_392____closed__7() {
_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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_ResolveName___hyg_392____closed__3;
x_3 = l_Lean_initFn____x40_Lean_ResolveName___hyg_392____closed__4;
x_4 = l_Lean_initFn____x40_Lean_ResolveName___hyg_392____closed__5;
x_5 = l_Lean_initFn____x40_Lean_ResolveName___hyg_392____closed__6;
x_6 = 2;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_ResolveName___hyg_392_(lean_object* x_1) {

View file

@ -1300,21 +1300,23 @@ return x_1;
static lean_object* _init_l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458____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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458____closed__2;
x_3 = l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458____closed__3;
x_4 = l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458____closed__4;
x_5 = l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458____closed__5;
x_6 = 2;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458_(lean_object* x_1) {

View file

@ -663,7 +663,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_Server_Completion_findCompletionInfosAt_go___lambda__3___closed__1;
x_2 = l_Lean_Server_Completion_findCompletionInfosAt_go___lambda__3___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_Server_Completion_findCompletionInfosAt_go___lambda__3___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1209,7 +1209,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l___private_Lean_Server_Completion_SyntheticCompletion_0__Lean_Server_Completion_findSyntheticIdentifierCompletion_x3f___lambda__5___closed__1;
x_2 = l___private_Lean_Server_Completion_SyntheticCompletion_0__Lean_Server_Completion_findSyntheticIdentifierCompletion_x3f___lambda__5___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l___private_Lean_Server_Completion_SyntheticCompletion_0__Lean_Server_Completion_findSyntheticIdentifierCompletion_x3f___lambda__5___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1321,7 +1321,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_List_findSomeM_x3f___at_Lean_Server_FileWorker_handleHover___spec__2___closed__1;
x_2 = l_List_findSomeM_x3f___at_Lean_Server_FileWorker_handleHover___spec__2___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_List_findSomeM_x3f___at_Lean_Server_FileWorker_handleHover___spec__2___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -614,7 +614,7 @@ lean_inc(x_10);
lean_dec(x_9);
x_11 = l_Lean_instInhabitedDeclarationRanges;
x_12 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_locationLinksFromDecl___spec__2___closed__1;
x_13 = 0;
x_13 = 1;
x_14 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_11, x_12, x_10, x_1, x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
@ -632,7 +632,7 @@ lean_inc(x_17);
lean_dec(x_15);
x_18 = l_Lean_instInhabitedDeclarationRanges;
x_19 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_locationLinksFromDecl___spec__2___closed__1;
x_20 = 0;
x_20 = 1;
x_21 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_18, x_19, x_17, x_1, x_20);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);

View file

@ -9547,7 +9547,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_List_mapTR_loop___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__8___closed__1;
x_2 = l_List_mapTR_loop___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__8___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_List_mapTR_loop___at_Lean_Elab_InfoTree_smallestInfo_x3f___spec__8___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -676,7 +676,7 @@ lean_inc(x_8);
lean_dec(x_7);
x_9 = l_Lean_instInhabitedDeclarationRanges;
x_10 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_RefInfo_toLspRefInfo___spec__5___closed__1;
x_11 = 0;
x_11 = 1;
x_12 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_9, x_10, x_8, x_1, x_11);
lean_ctor_set(x_5, 0, x_12);
return x_5;
@ -694,7 +694,7 @@ lean_inc(x_15);
lean_dec(x_13);
x_16 = l_Lean_instInhabitedDeclarationRanges;
x_17 = l_Lean_findDeclarationRangesCore_x3f___at_Lean_Server_RefInfo_toLspRefInfo___spec__5___closed__1;
x_18 = 0;
x_18 = 1;
x_19 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_16, x_17, x_15, x_1, x_18);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);

View file

@ -16576,7 +16576,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_List_forIn_x27_loop___at_Lean_Server_Test_Runner_main___spec__32___lambda__2___closed__3;
x_2 = l_List_forIn_x27_loop___at_Lean_Server_Test_Runner_main___spec__32___lambda__2___closed__4;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_List_forIn_x27_loop___at_Lean_Server_Test_Runner_main___spec__32___lambda__2___closed__5;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1575,7 +1575,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_getBuildDir___closed__1;
x_2 = l_Lean_getBuildDir___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Lean_getBuildDir___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -6067,21 +6067,23 @@ return x_1;
static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_182____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;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8;
x_1 = lean_box(0);
x_2 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_182____closed__2;
x_3 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_182____closed__3;
x_4 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_182____closed__4;
x_5 = l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_182____closed__5;
x_6 = 2;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
lean_ctor_set(x_7, 1, x_3);
lean_ctor_set(x_7, 2, x_4);
lean_ctor_set(x_7, 3, x_5);
lean_ctor_set(x_7, 4, x_1);
lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
x_7 = 1;
x_8 = lean_alloc_ctor(0, 5, 2);
lean_ctor_set(x_8, 0, x_2);
lean_ctor_set(x_8, 1, x_3);
lean_ctor_set(x_8, 2, x_4);
lean_ctor_set(x_8, 3, x_5);
lean_ctor_set(x_8, 4, x_1);
lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_6);
lean_ctor_set_uint8(x_8, sizeof(void*)*5 + 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_UserWidget___hyg_182_(lean_object* x_1) {

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Std.Data
// Imports: Std.Data.DHashMap Std.Data.HashMap Std.Data.HashSet Std.Data.DTreeMap Std.Data.TreeMap Std.Data.TreeSet Std.Data.DHashMap.RawLemmas Std.Data.HashMap.RawLemmas Std.Data.HashSet.RawLemmas
// Imports: Std.Data.DHashMap Std.Data.HashMap Std.Data.HashSet Std.Data.DTreeMap Std.Data.TreeMap Std.Data.TreeSet Std.Data.DHashMap.RawLemmas Std.Data.HashMap.RawLemmas Std.Data.HashSet.RawLemmas Std.Data.DTreeMap.Raw Std.Data.TreeMap.Raw Std.Data.TreeSet.Raw
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -22,6 +22,9 @@ lean_object* initialize_Std_Data_TreeSet(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_DHashMap_RawLemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_HashMap_RawLemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_HashSet_RawLemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_DTreeMap_Raw(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_TreeMap_Raw(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_TreeSet_Raw(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data(uint8_t builtin, lean_object* w) {
lean_object * res;
@ -54,6 +57,15 @@ lean_dec_ref(res);
res = initialize_Std_Data_HashSet_RawLemmas(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_DTreeMap_Raw(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_TreeMap_Raw(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_TreeSet_Raw(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

View file

@ -776,7 +776,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Std_DHashMap_Internal_Raw_u2080_get_x21_u2098___rarg___closed__1;
x_2 = l_Std_DHashMap_Internal_Raw_u2080_get_x21_u2098___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Std_DHashMap_Internal_Raw_u2080_get_x21_u2098___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Std.Data.DTreeMap
// Imports: Std.Data.DTreeMap.Basic Std.Data.DTreeMap.AdditionalOperations
// Imports: Std.Data.DTreeMap.Basic Std.Data.DTreeMap.AdditionalOperations Std.Data.DTreeMap.Lemmas
#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_DTreeMap_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_DTreeMap_AdditionalOperations(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_DTreeMap_Lemmas(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_DTreeMap(uint8_t builtin, lean_object* w) {
lean_object * res;
@ -26,6 +27,9 @@ lean_dec_ref(res);
res = initialize_Std_Data_DTreeMap_AdditionalOperations(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_DTreeMap_Lemmas(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

View file

@ -34583,7 +34583,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Std_DTreeMap_getEntryGE_x21___rarg___closed__1;
x_2 = l_Std_DTreeMap_getEntryGE_x21___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Std_DTreeMap_getEntryGE_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -987,7 +987,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__1;
x_2 = l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Std_DTreeMap_Internal_Impl_get_x21_u2098___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -5531,7 +5531,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__1;
x_2 = l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Std_DTreeMap_Internal_Impl_getEntryGE_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

41
stage0/stdlib/Std/Data/DTreeMap/Raw.c generated Normal file
View file

@ -0,0 +1,41 @@
// Lean compiler output
// Module: Std.Data.DTreeMap.Raw
// Imports: Std.Data.DTreeMap.Raw.Basic Std.Data.DTreeMap.Raw.AdditionalOperations Std.Data.DTreeMap.Raw.Lemmas Std.Data.DTreeMap.Raw.WF
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
lean_object* initialize_Std_Data_DTreeMap_Raw_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_DTreeMap_Raw_AdditionalOperations(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_DTreeMap_Raw_Lemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_DTreeMap_Raw_WF(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_DTreeMap_Raw(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_Data_DTreeMap_Raw_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_DTreeMap_Raw_AdditionalOperations(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_DTreeMap_Raw_Lemmas(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_DTreeMap_Raw_WF(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

View file

@ -38796,7 +38796,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Std_DTreeMap_Raw_getEntryGE_x21___rarg___closed__1;
x_2 = l_Std_DTreeMap_Raw_getEntryGE_x21___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Std_DTreeMap_Raw_getEntryGE_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -782,7 +782,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Std_Internal_List_getValueCast_x21___rarg___closed__1;
x_2 = l_Std_Internal_List_getValueCast_x21___rarg___closed__2;
x_3 = lean_unsigned_to_nat(19u);
x_3 = lean_unsigned_to_nat(21u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Std_Internal_List_getValueCast_x21___rarg___closed__3;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Std.Data.TreeMap
// Imports: Std.Data.TreeMap.Basic Std.Data.TreeMap.AdditionalOperations Std.Data.TreeMap.Raw.AdditionalOperations
// Imports: Std.Data.TreeMap.Basic Std.Data.TreeMap.AdditionalOperations Std.Data.TreeMap.Lemmas
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -15,7 +15,7 @@ extern "C" {
#endif
lean_object* initialize_Std_Data_TreeMap_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_TreeMap_AdditionalOperations(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_TreeMap_Raw_AdditionalOperations(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_TreeMap_Lemmas(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_TreeMap(uint8_t builtin, lean_object* w) {
lean_object * res;
@ -27,7 +27,7 @@ lean_dec_ref(res);
res = initialize_Std_Data_TreeMap_AdditionalOperations(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_TreeMap_Raw_AdditionalOperations(builtin, lean_io_mk_world());
res = initialize_Std_Data_TreeMap_Lemmas(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));

Some files were not shown because too many files have changed in this diff Show more