chore: update stage0

This commit is contained in:
Lean stage0 autoupdater 2025-09-17 18:46:58 +00:00
parent 37f3f0e1e2
commit 11b0e7d89c
10 changed files with 11292 additions and 12010 deletions

View file

@ -1,4 +1,3 @@
// update me!
#include "util/options.h"
namespace lean {

View file

@ -40,6 +40,7 @@ static lean_object* l_Lean_Parser_Tactic_grindTrace___closed__6;
static lean_object* l_Lean_Parser_Tactic_grind___closed__29;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__2;
extern lean_object* l_Lean_Parser_Tactic_optConfig;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__3;
static lean_object* l_Lean_Parser_Tactic_grobner___closed__4;
static lean_object* l_Lean_Parser_Tactic_grind___closed__23;
static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__6;
@ -49,12 +50,16 @@ static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__1;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__12;
static lean_object* l_Lean_Grind_instInhabitedConfig_default___closed__0;
static lean_object* l_Lean_Parser_Tactic_grind___closed__10;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__5;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__4;
static lean_object* l_Lean_Parser_Tactic_grindTrace___closed__8;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__4;
static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__12;
static lean_object* l_Lean_Parser_Tactic_grindTrace___closed__0;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_grindParam;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__9;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__1;
static lean_object* l_Lean_Parser_Tactic_grindParam___closed__6;
static lean_object* l_Lean_Parser_Tactic_grind___closed__6;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__0;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__13;
@ -85,6 +90,7 @@ static lean_object* l_Lean_Parser_Tactic_grind___closed__18;
static lean_object* l_Lean_Parser_Tactic_cutsat___closed__1;
static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__9;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__7;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__0;
static lean_object* l_Lean_Parser_Tactic_grind___closed__13;
static lean_object* l_Lean_Parser_Tactic_grind___closed__3;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_grobner;
@ -106,19 +112,23 @@ static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__2;
static lean_object* l_Lean_Parser_Tactic_grobner___closed__0;
static lean_object* l_Lean_Parser_Tactic_grind___closed__26;
static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__10;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__7;
static lean_object* l_Lean_Parser_Tactic_grind___closed__4;
static lean_object* l_Lean_Parser_Tactic_grind___closed__30;
static lean_object* l_Lean_Parser_Tactic_grind___closed__21;
static lean_object* l_Lean_Parser_Tactic_grind___closed__8;
LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_grindLemmaMin;
lean_object* l_Lean_Name_mkStr1(lean_object*);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__8;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__2;
LEAN_EXPORT lean_object* l_Lean_Grind_NoopConfig_ctorIdx(lean_object*);
static lean_object* l_Lean_Parser_Tactic_grind___closed__20;
static lean_object* l_Lean_Parser_Tactic_grobner___closed__1;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__6;
static lean_object* l_Lean_Parser_Tactic_grind___closed__31;
static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__11;
static lean_object* l_Lean_Parser_Tactic_grindLemmaMin___closed__6;
static lean_object* l_Lean_Parser_Tactic_grindErase___closed__10;
static lean_object* l_Lean_Parser_Tactic_grindLemma___closed__0;
static lean_object* l_Lean_Parser_Tactic_grind___closed__22;
@ -1267,6 +1277,106 @@ x_1 = l_Lean_Parser_Tactic_grindLemma___closed__14;
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__0() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("grindLemmaMin", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Parser_Tactic_grindLemmaMin___closed__0;
x_2 = l_Lean_Parser_Tactic_grindErase___closed__3;
x_3 = l_Lean_Parser_Tactic_grindErase___closed__2;
x_4 = l_Lean_Parser_Tactic_grindErase___closed__1;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__2() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("!", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Parser_Tactic_grindLemmaMin___closed__2;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_grindLemma___closed__11;
x_2 = l_Lean_Parser_Tactic_grindLemmaMin___closed__3;
x_3 = l_Lean_Parser_Tactic_grindErase___closed__6;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_grindErase___closed__11;
x_2 = l_Lean_Parser_Tactic_grindLemmaMin___closed__4;
x_3 = l_Lean_Parser_Tactic_grindErase___closed__6;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Tactic_grindLemmaMin___closed__5;
x_2 = l_Lean_Parser_Tactic_grindLemma___closed__3;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_grindLemmaMin___closed__6;
x_2 = l_Lean_Parser_Tactic_grindLemmaMin___closed__1;
x_3 = l_Lean_Parser_Tactic_grindLemmaMin___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindLemmaMin() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Parser_Tactic_grindLemmaMin___closed__7;
return x_1;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindParam___closed__0() {
_start:
{
@ -1308,8 +1418,8 @@ static lean_object* _init_l_Lean_Parser_Tactic_grindParam___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_grindLemma;
x_2 = l_Lean_Parser_Tactic_grindErase;
x_1 = l_Lean_Parser_Tactic_grindLemmaMin;
x_2 = l_Lean_Parser_Tactic_grindLemma;
x_3 = l_Lean_Parser_Tactic_grindParam___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
@ -1323,6 +1433,20 @@ _start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_grindParam___closed__4;
x_2 = l_Lean_Parser_Tactic_grindErase;
x_3 = l_Lean_Parser_Tactic_grindParam___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_grindParam___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_grindParam___closed__5;
x_2 = l_Lean_Parser_Tactic_grindParam___closed__1;
x_3 = l_Lean_Parser_Tactic_grindParam___closed__0;
x_4 = lean_alloc_ctor(9, 3, 0);
@ -1336,7 +1460,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_grindParam() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Parser_Tactic_grindParam___closed__5;
x_1 = l_Lean_Parser_Tactic_grindParam___closed__6;
return x_1;
}
}
@ -2051,6 +2175,24 @@ l_Lean_Parser_Tactic_grindLemma___closed__14 = _init_l_Lean_Parser_Tactic_grindL
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemma___closed__14);
l_Lean_Parser_Tactic_grindLemma = _init_l_Lean_Parser_Tactic_grindLemma();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemma);
l_Lean_Parser_Tactic_grindLemmaMin___closed__0 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__0();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__0);
l_Lean_Parser_Tactic_grindLemmaMin___closed__1 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__1();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__1);
l_Lean_Parser_Tactic_grindLemmaMin___closed__2 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__2();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__2);
l_Lean_Parser_Tactic_grindLemmaMin___closed__3 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__3();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__3);
l_Lean_Parser_Tactic_grindLemmaMin___closed__4 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__4();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__4);
l_Lean_Parser_Tactic_grindLemmaMin___closed__5 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__5);
l_Lean_Parser_Tactic_grindLemmaMin___closed__6 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__6);
l_Lean_Parser_Tactic_grindLemmaMin___closed__7 = _init_l_Lean_Parser_Tactic_grindLemmaMin___closed__7();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin___closed__7);
l_Lean_Parser_Tactic_grindLemmaMin = _init_l_Lean_Parser_Tactic_grindLemmaMin();
lean_mark_persistent(l_Lean_Parser_Tactic_grindLemmaMin);
l_Lean_Parser_Tactic_grindParam___closed__0 = _init_l_Lean_Parser_Tactic_grindParam___closed__0();
lean_mark_persistent(l_Lean_Parser_Tactic_grindParam___closed__0);
l_Lean_Parser_Tactic_grindParam___closed__1 = _init_l_Lean_Parser_Tactic_grindParam___closed__1();
@ -2063,6 +2205,8 @@ l_Lean_Parser_Tactic_grindParam___closed__4 = _init_l_Lean_Parser_Tactic_grindPa
lean_mark_persistent(l_Lean_Parser_Tactic_grindParam___closed__4);
l_Lean_Parser_Tactic_grindParam___closed__5 = _init_l_Lean_Parser_Tactic_grindParam___closed__5();
lean_mark_persistent(l_Lean_Parser_Tactic_grindParam___closed__5);
l_Lean_Parser_Tactic_grindParam___closed__6 = _init_l_Lean_Parser_Tactic_grindParam___closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic_grindParam___closed__6);
l_Lean_Parser_Tactic_grindParam = _init_l_Lean_Parser_Tactic_grindParam();
lean_mark_persistent(l_Lean_Parser_Tactic_grindParam);
l_Lean_Parser_Tactic_grind___closed__0 = _init_l_Lean_Parser_Tactic_grind___closed__0();

View file

@ -994,13 +994,15 @@ return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
x_8 = lean_array_uget(x_3, x_2);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_array_uset(x_3, x_2, x_9);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21;
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_18 = lean_ctor_get(x_8, 0);
lean_inc(x_18);
x_19 = lean_ctor_get(x_8, 1);
lean_inc_ref(x_19);
x_20 = lean_ctor_get(x_8, 2);
@ -1009,34 +1011,44 @@ lean_dec_ref(x_8);
lean_inc(x_4);
x_21 = l___private_Lean_Compiler_LCNF_ToExpr_0__Lean_Compiler_LCNF_ToExpr_withParams_go___at___Lean_Compiler_LCNF_FunDecl_toExprM_spec__0(x_20, x_19, x_19, x_9, x_4, x_5);
lean_dec_ref(x_19);
x_11 = x_21;
goto block_18;
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_21, 1);
lean_inc(x_23);
lean_dec_ref(x_21);
x_24 = lean_box(0);
x_25 = l_Lean_mkConst(x_18, x_24);
x_26 = l_Lean_Expr_app___override(x_25, x_22);
x_11 = x_26;
x_12 = x_23;
goto block_17;
}
else
{
lean_object* x_22; lean_object* x_23;
x_22 = lean_ctor_get(x_8, 0);
lean_inc_ref(x_22);
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
x_27 = lean_ctor_get(x_8, 0);
lean_inc_ref(x_27);
lean_dec_ref(x_8);
lean_inc(x_4);
x_23 = l_Lean_Compiler_LCNF_Code_toExprM(x_22, x_4, x_5);
x_11 = x_23;
goto block_18;
x_28 = l_Lean_Compiler_LCNF_Code_toExprM(x_27, x_4, x_5);
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
x_30 = lean_ctor_get(x_28, 1);
lean_inc(x_30);
lean_dec_ref(x_28);
x_11 = x_29;
x_12 = x_30;
goto block_17;
}
block_18:
block_17:
{
lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16;
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec_ref(x_11);
x_14 = 1;
x_15 = lean_usize_add(x_2, x_14);
x_16 = lean_array_uset(x_10, x_2, x_12);
x_2 = x_15;
x_3 = x_16;
x_5 = x_13;
size_t x_13; size_t x_14; lean_object* x_15;
x_13 = 1;
x_14 = lean_usize_add(x_2, x_13);
x_15 = lean_array_uset(x_10, x_2, x_11);
x_2 = x_14;
x_3 = x_15;
x_5 = x_12;
goto _start;
}
}
@ -1058,13 +1070,15 @@ return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
x_8 = lean_array_uget(x_3, x_2);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_array_uset(x_3, x_2, x_9);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21;
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_18 = lean_ctor_get(x_8, 0);
lean_inc(x_18);
x_19 = lean_ctor_get(x_8, 1);
lean_inc_ref(x_19);
x_20 = lean_ctor_get(x_8, 2);
@ -1073,33 +1087,43 @@ lean_dec_ref(x_8);
lean_inc(x_4);
x_21 = l___private_Lean_Compiler_LCNF_ToExpr_0__Lean_Compiler_LCNF_ToExpr_withParams_go___at___Lean_Compiler_LCNF_FunDecl_toExprM_spec__0(x_20, x_19, x_19, x_9, x_4, x_5);
lean_dec_ref(x_19);
x_11 = x_21;
goto block_18;
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_21, 1);
lean_inc(x_23);
lean_dec_ref(x_21);
x_24 = lean_box(0);
x_25 = l_Lean_mkConst(x_18, x_24);
x_26 = l_Lean_Expr_app___override(x_25, x_22);
x_11 = x_26;
x_12 = x_23;
goto block_17;
}
else
{
lean_object* x_22; lean_object* x_23;
x_22 = lean_ctor_get(x_8, 0);
lean_inc_ref(x_22);
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
x_27 = lean_ctor_get(x_8, 0);
lean_inc_ref(x_27);
lean_dec_ref(x_8);
lean_inc(x_4);
x_23 = l_Lean_Compiler_LCNF_Code_toExprM(x_22, x_4, x_5);
x_11 = x_23;
goto block_18;
x_28 = l_Lean_Compiler_LCNF_Code_toExprM(x_27, x_4, x_5);
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
x_30 = lean_ctor_get(x_28, 1);
lean_inc(x_30);
lean_dec_ref(x_28);
x_11 = x_29;
x_12 = x_30;
goto block_17;
}
block_18:
block_17:
{
lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17;
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec_ref(x_11);
x_14 = 1;
x_15 = lean_usize_add(x_2, x_14);
x_16 = lean_array_uset(x_10, x_2, x_12);
x_17 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_Code_toExprM_spec__1_spec__1(x_1, x_15, x_16, x_4, x_13);
return x_17;
size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16;
x_13 = 1;
x_14 = lean_usize_add(x_2, x_13);
x_15 = lean_array_uset(x_10, x_2, x_11);
x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Compiler_LCNF_Code_toExprM_spec__1_spec__1(x_1, x_14, x_15, x_4, x_12);
return x_16;
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -820,7 +820,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_getEqcLambdas___closed__3;
x_2 = lean_unsigned_to_nat(2u);
x_3 = lean_unsigned_to_nat(1227u);
x_3 = lean_unsigned_to_nat(1232u);
x_4 = l_Lean_Meta_Grind_getEqcLambdas___closed__2;
x_5 = l_Lean_Meta_Grind_getEqcLambdas___closed__1;
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);

File diff suppressed because it is too large Load diff

View file

@ -2941,69 +2941,70 @@ return x_2;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Grind_ForallProp_0__Lean_Meta_Grind_mkEMatchTheoremWithKind_x27_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; uint8_t x_11; lean_object* x_12;
lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13;
x_10 = l___private_Lean_Meta_Tactic_Grind_ForallProp_0__Lean_Meta_Grind_mkEMatchTheoremWithKind_x27_x3f___closed__0;
x_11 = 0;
x_12 = l_Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f(x_1, x_10, x_2, x_3, x_4, x_11, x_11, x_11, x_5, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_12) == 0)
x_12 = 1;
x_13 = l_Lean_Meta_Grind_mkEMatchTheoremWithKind_x3f(x_1, x_10, x_2, x_3, x_4, x_11, x_11, x_12, x_5, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_13) == 0)
{
return x_12;
return x_13;
}
else
{
lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_23;
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; uint8_t x_24;
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
x_23 = l_Lean_Exception_isInterrupt(x_13);
if (x_23 == 0)
x_15 = lean_ctor_get(x_13, 1);
lean_inc(x_15);
x_24 = l_Lean_Exception_isInterrupt(x_14);
if (x_24 == 0)
{
uint8_t x_24;
x_24 = l_Lean_Exception_isRuntime(x_13);
lean_dec(x_13);
x_15 = x_24;
goto block_22;
}
else
{
lean_dec(x_13);
x_15 = x_23;
goto block_22;
}
block_22:
{
if (x_15 == 0)
{
uint8_t x_16;
x_16 = !lean_is_exclusive(x_12);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19;
x_17 = lean_ctor_get(x_12, 1);
lean_dec(x_17);
x_18 = lean_ctor_get(x_12, 0);
lean_dec(x_18);
x_19 = lean_box(0);
lean_ctor_set_tag(x_12, 0);
lean_ctor_set(x_12, 0, x_19);
return x_12;
}
else
{
lean_object* x_20; lean_object* x_21;
lean_dec(x_12);
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_14);
return x_21;
}
uint8_t x_25;
x_25 = l_Lean_Exception_isRuntime(x_14);
lean_dec(x_14);
x_16 = x_25;
goto block_23;
}
else
{
lean_dec(x_14);
return x_12;
x_16 = x_24;
goto block_23;
}
block_23:
{
if (x_16 == 0)
{
uint8_t x_17;
x_17 = !lean_is_exclusive(x_13);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20;
x_18 = lean_ctor_get(x_13, 1);
lean_dec(x_18);
x_19 = lean_ctor_get(x_13, 0);
lean_dec(x_19);
x_20 = lean_box(0);
lean_ctor_set_tag(x_13, 0);
lean_ctor_set(x_13, 0, x_20);
return x_13;
}
else
{
lean_object* x_21; lean_object* x_22;
lean_dec(x_13);
x_21 = lean_box(0);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_15);
return x_22;
}
}
else
{
lean_dec(x_15);
return x_13;
}
}
}
@ -4316,15 +4317,15 @@ lean_dec_ref(x_86);
x_91 = lean_ctor_get(x_89, 2);
lean_inc(x_91);
lean_dec_ref(x_89);
x_92 = lean_nat_dec_eq(x_91, x_73);
x_92 = lean_nat_dec_eq(x_91, x_72);
lean_dec(x_91);
if (x_92 == 0)
{
lean_dec_ref(x_75);
lean_dec_ref(x_74);
lean_dec_ref(x_72);
lean_dec_ref(x_73);
lean_dec(x_71);
x_11 = x_73;
x_11 = x_72;
x_12 = x_77;
x_13 = x_78;
x_14 = x_79;
@ -4345,7 +4346,7 @@ lean_inc(x_84);
lean_inc_ref(x_83);
lean_inc(x_82);
lean_inc_ref(x_81);
x_94 = l___private_Lean_Meta_Tactic_Grind_ForallProp_0__Lean_Meta_Grind_mkEMatchTheoremWithKind_x27_x3f(x_74, x_75, x_93, x_72, x_81, x_82, x_83, x_84, x_90);
x_94 = l___private_Lean_Meta_Tactic_Grind_ForallProp_0__Lean_Meta_Grind_mkEMatchTheoremWithKind_x27_x3f(x_74, x_75, x_93, x_73, x_81, x_82, x_83, x_84, x_90);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95;
@ -4358,7 +4359,7 @@ lean_dec(x_71);
x_96 = lean_ctor_get(x_94, 1);
lean_inc(x_96);
lean_dec_ref(x_94);
x_11 = x_73;
x_11 = x_72;
x_12 = x_77;
x_13 = x_78;
x_14 = x_79;
@ -4394,7 +4395,7 @@ lean_object* x_100;
x_100 = lean_ctor_get(x_99, 1);
lean_inc(x_100);
lean_dec_ref(x_99);
x_11 = x_73;
x_11 = x_72;
x_12 = x_77;
x_13 = x_78;
x_14 = x_79;
@ -4416,7 +4417,7 @@ lean_dec(x_80);
lean_dec_ref(x_79);
lean_dec(x_78);
lean_dec(x_77);
lean_dec(x_73);
lean_dec(x_72);
lean_dec_ref(x_1);
return x_99;
}
@ -4433,7 +4434,7 @@ lean_dec(x_80);
lean_dec_ref(x_79);
lean_dec(x_78);
lean_dec(x_77);
lean_dec(x_73);
lean_dec(x_72);
lean_dec(x_71);
lean_dec_ref(x_1);
x_101 = !lean_is_exclusive(x_94);
@ -4482,8 +4483,8 @@ x_125 = lean_ctor_get(x_123, 1);
lean_inc(x_125);
lean_dec_ref(x_123);
x_71 = x_106;
x_72 = x_108;
x_73 = x_107;
x_72 = x_107;
x_73 = x_108;
x_74 = x_109;
x_75 = x_110;
x_76 = x_111;
@ -4513,8 +4514,8 @@ if (x_128 == 0)
{
lean_dec(x_127);
x_71 = x_106;
x_72 = x_108;
x_73 = x_107;
x_72 = x_107;
x_73 = x_108;
x_74 = x_109;
x_75 = x_110;
x_76 = x_111;
@ -4549,8 +4550,8 @@ x_130 = lean_ctor_get(x_129, 1);
lean_inc(x_130);
lean_dec_ref(x_129);
x_71 = x_106;
x_72 = x_108;
x_73 = x_107;
x_72 = x_107;
x_73 = x_108;
x_74 = x_109;
x_75 = x_110;
x_76 = x_111;

File diff suppressed because it is too large Load diff

View file

@ -3203,25 +3203,48 @@ return x_2;
LEAN_EXPORT uint8_t l_Lean_Meta_Grind_instBEqEMatchTheoremTrace_beq(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = lean_ctor_get(x_2, 0);
x_6 = lean_ctor_get(x_2, 1);
x_7 = l_Lean_Meta_Grind_Origin_key(x_3);
x_8 = l_Lean_Meta_Grind_Origin_key(x_5);
x_9 = lean_name_eq(x_7, x_8);
lean_dec(x_8);
lean_dec(x_7);
if (x_9 == 0)
x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
x_6 = lean_ctor_get(x_2, 0);
x_7 = lean_ctor_get(x_2, 1);
x_8 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
x_9 = l_Lean_Meta_Grind_Origin_key(x_3);
x_10 = l_Lean_Meta_Grind_Origin_key(x_6);
x_11 = lean_name_eq(x_9, x_10);
lean_dec(x_10);
lean_dec(x_9);
if (x_11 == 0)
{
return x_9;
return x_11;
}
else
{
uint8_t x_10;
x_10 = l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq(x_4, x_6);
return x_10;
uint8_t x_12;
x_12 = l_Lean_Meta_Grind_instBEqEMatchTheoremKind_beq(x_4, x_7);
if (x_12 == 0)
{
return x_12;
}
else
{
if (x_5 == 0)
{
if (x_8 == 0)
{
return x_12;
}
else
{
return x_5;
}
}
else
{
return x_8;
}
}
}
}
}
@ -3255,17 +3278,31 @@ return x_1;
LEAN_EXPORT uint64_t l_Lean_Meta_Grind_instHashableEMatchTheoremTrace_hash(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint64_t x_4; lean_object* x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9;
lean_object* x_2; lean_object* x_3; uint8_t x_4; uint64_t x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10;
x_2 = lean_ctor_get(x_1, 0);
x_3 = lean_ctor_get(x_1, 1);
x_4 = 0;
x_5 = l_Lean_Meta_Grind_Origin_key(x_2);
x_6 = l_Lean_Name_hash___override(x_5);
lean_dec(x_5);
x_7 = lean_uint64_mix_hash(x_4, x_6);
x_8 = l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash(x_3);
x_9 = lean_uint64_mix_hash(x_7, x_8);
return x_9;
x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*2);
x_5 = 0;
x_6 = l_Lean_Meta_Grind_Origin_key(x_2);
x_7 = l_Lean_Name_hash___override(x_6);
lean_dec(x_6);
x_8 = lean_uint64_mix_hash(x_5, x_7);
x_9 = l_Lean_Meta_Grind_instHashableEMatchTheoremKind_hash(x_3);
x_10 = lean_uint64_mix_hash(x_8, x_9);
if (x_4 == 0)
{
uint64_t x_11; uint64_t x_12;
x_11 = 13;
x_12 = lean_uint64_mix_hash(x_10, x_11);
return x_12;
}
else
{
uint64_t x_13; uint64_t x_14;
x_13 = 11;
x_14 = lean_uint64_mix_hash(x_10, x_13);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_instHashableEMatchTheoremTrace_hash___boxed(lean_object* x_1) {
@ -5610,58 +5647,57 @@ goto block_59;
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68;
lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69;
x_64 = lean_ctor_get(x_60, 1);
lean_inc(x_64);
lean_dec_ref(x_60);
x_65 = lean_ctor_get(x_1, 5);
x_66 = lean_ctor_get(x_1, 6);
x_67 = l_Lean_Meta_Grind_Origin_key(x_65);
x_68 = l_Lean_Meta_Grind_isMatchEqLikeDeclName(x_67, x_4, x_5, x_64);
if (lean_obj_tag(x_68) == 0)
x_67 = lean_ctor_get_uint8(x_1, sizeof(void*)*7);
x_68 = l_Lean_Meta_Grind_Origin_key(x_65);
x_69 = l_Lean_Meta_Grind_isMatchEqLikeDeclName(x_68, x_4, x_5, x_64);
if (lean_obj_tag(x_69) == 0)
{
lean_object* x_69; uint8_t x_70;
x_69 = lean_ctor_get(x_68, 0);
lean_inc(x_69);
x_70 = lean_unbox(x_69);
lean_dec(x_69);
if (x_70 == 0)
lean_object* x_70; uint8_t x_71;
x_70 = lean_ctor_get(x_69, 0);
lean_inc(x_70);
x_71 = lean_unbox(x_70);
lean_dec(x_70);
if (x_71 == 0)
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75;
x_71 = lean_ctor_get(x_68, 1);
lean_inc(x_71);
lean_dec_ref(x_68);
x_72 = lean_st_ref_take(x_3, x_71);
x_73 = lean_ctor_get(x_72, 0);
lean_inc(x_73);
x_74 = lean_ctor_get(x_73, 5);
lean_inc_ref(x_74);
x_75 = !lean_is_exclusive(x_72);
if (x_75 == 0)
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77;
x_72 = lean_ctor_get(x_69, 1);
lean_inc(x_72);
lean_dec_ref(x_69);
x_73 = lean_st_ref_take(x_3, x_72);
x_74 = lean_ctor_get(x_73, 0);
lean_inc(x_74);
x_75 = lean_ctor_get(x_74, 5);
lean_inc_ref(x_75);
x_76 = lean_ctor_get(x_73, 1);
lean_inc(x_76);
lean_dec_ref(x_73);
x_77 = !lean_is_exclusive(x_74);
if (x_77 == 0)
{
lean_object* x_76; lean_object* x_77; uint8_t x_78;
x_76 = lean_ctor_get(x_72, 1);
x_77 = lean_ctor_get(x_72, 0);
lean_dec(x_77);
x_78 = !lean_is_exclusive(x_73);
if (x_78 == 0)
lean_object* x_78; uint8_t x_79;
x_78 = lean_ctor_get(x_74, 5);
lean_dec(x_78);
x_79 = !lean_is_exclusive(x_75);
if (x_79 == 0)
{
lean_object* x_79; uint8_t x_80;
x_79 = lean_ctor_get(x_73, 5);
lean_dec(x_79);
x_80 = !lean_is_exclusive(x_74);
if (x_80 == 0)
{
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85;
x_81 = lean_ctor_get(x_74, 0);
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85;
x_80 = lean_ctor_get(x_75, 0);
lean_inc(x_66);
lean_inc_ref(x_65);
lean_ctor_set(x_72, 1, x_66);
lean_ctor_set(x_72, 0, x_65);
x_81 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_81, 0, x_65);
lean_ctor_set(x_81, 1, x_66);
lean_ctor_set_uint8(x_81, sizeof(void*)*2, x_67);
x_82 = lean_box(0);
x_83 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Meta_Tactic_Grind_Types_0__Lean_Meta_Grind_saveEMatchTheorem_spec__9___redArg(x_81, x_72, x_82);
lean_ctor_set(x_74, 0, x_83);
x_84 = lean_st_ref_set(x_3, x_73, x_76);
x_83 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Meta_Tactic_Grind_Types_0__Lean_Meta_Grind_saveEMatchTheorem_spec__9___redArg(x_80, x_81, x_82);
lean_ctor_set(x_75, 0, x_83);
x_84 = lean_st_ref_set(x_3, x_74, x_76);
x_85 = lean_ctor_get(x_84, 1);
lean_inc(x_85);
lean_dec_ref(x_84);
@ -5671,46 +5707,49 @@ goto block_59;
}
else
{
lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93;
x_86 = lean_ctor_get(x_74, 0);
x_87 = lean_ctor_get(x_74, 1);
x_88 = lean_ctor_get(x_74, 2);
lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94;
x_86 = lean_ctor_get(x_75, 0);
x_87 = lean_ctor_get(x_75, 1);
x_88 = lean_ctor_get(x_75, 2);
lean_inc(x_88);
lean_inc(x_87);
lean_inc(x_86);
lean_dec(x_74);
lean_dec(x_75);
lean_inc(x_66);
lean_inc_ref(x_65);
lean_ctor_set(x_72, 1, x_66);
lean_ctor_set(x_72, 0, x_65);
x_89 = lean_box(0);
x_90 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Meta_Tactic_Grind_Types_0__Lean_Meta_Grind_saveEMatchTheorem_spec__9___redArg(x_86, x_72, x_89);
x_91 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_91, 0, x_90);
lean_ctor_set(x_91, 1, x_87);
lean_ctor_set(x_91, 2, x_88);
lean_ctor_set(x_73, 5, x_91);
x_92 = lean_st_ref_set(x_3, x_73, x_76);
x_93 = lean_ctor_get(x_92, 1);
lean_inc(x_93);
lean_dec_ref(x_92);
x_89 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_89, 0, x_65);
lean_ctor_set(x_89, 1, x_66);
lean_ctor_set_uint8(x_89, sizeof(void*)*2, x_67);
x_90 = lean_box(0);
x_91 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Meta_Tactic_Grind_Types_0__Lean_Meta_Grind_saveEMatchTheorem_spec__9___redArg(x_86, x_89, x_90);
x_92 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_87);
lean_ctor_set(x_92, 2, x_88);
lean_ctor_set(x_74, 5, x_92);
x_93 = lean_st_ref_set(x_3, x_74, x_76);
x_94 = lean_ctor_get(x_93, 1);
lean_inc(x_94);
lean_dec_ref(x_93);
x_7 = x_3;
x_8 = x_93;
x_8 = x_94;
goto block_59;
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112;
x_94 = lean_ctor_get(x_73, 0);
x_95 = lean_ctor_get(x_73, 1);
x_96 = lean_ctor_get(x_73, 2);
x_97 = lean_ctor_get(x_73, 3);
x_98 = lean_ctor_get(x_73, 4);
x_99 = lean_ctor_get(x_73, 6);
x_100 = lean_ctor_get(x_73, 7);
x_101 = lean_ctor_get(x_73, 8);
x_102 = lean_ctor_get(x_73, 9);
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114;
x_95 = lean_ctor_get(x_74, 0);
x_96 = lean_ctor_get(x_74, 1);
x_97 = lean_ctor_get(x_74, 2);
x_98 = lean_ctor_get(x_74, 3);
x_99 = lean_ctor_get(x_74, 4);
x_100 = lean_ctor_get(x_74, 6);
x_101 = lean_ctor_get(x_74, 7);
x_102 = lean_ctor_get(x_74, 8);
x_103 = lean_ctor_get(x_74, 9);
lean_inc(x_103);
lean_inc(x_102);
lean_inc(x_101);
lean_inc(x_100);
@ -5719,183 +5758,90 @@ lean_inc(x_98);
lean_inc(x_97);
lean_inc(x_96);
lean_inc(x_95);
lean_inc(x_94);
lean_dec(x_73);
x_103 = lean_ctor_get(x_74, 0);
lean_inc_ref(x_103);
x_104 = lean_ctor_get(x_74, 1);
lean_dec(x_74);
x_104 = lean_ctor_get(x_75, 0);
lean_inc_ref(x_104);
x_105 = lean_ctor_get(x_74, 2);
x_105 = lean_ctor_get(x_75, 1);
lean_inc_ref(x_105);
if (lean_is_exclusive(x_74)) {
lean_ctor_release(x_74, 0);
lean_ctor_release(x_74, 1);
lean_ctor_release(x_74, 2);
x_106 = x_74;
x_106 = lean_ctor_get(x_75, 2);
lean_inc_ref(x_106);
if (lean_is_exclusive(x_75)) {
lean_ctor_release(x_75, 0);
lean_ctor_release(x_75, 1);
lean_ctor_release(x_75, 2);
x_107 = x_75;
} else {
lean_dec_ref(x_74);
x_106 = lean_box(0);
lean_dec_ref(x_75);
x_107 = lean_box(0);
}
lean_inc(x_66);
lean_inc_ref(x_65);
lean_ctor_set(x_72, 1, x_66);
lean_ctor_set(x_72, 0, x_65);
x_107 = lean_box(0);
x_108 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Meta_Tactic_Grind_Types_0__Lean_Meta_Grind_saveEMatchTheorem_spec__9___redArg(x_103, x_72, x_107);
if (lean_is_scalar(x_106)) {
x_109 = lean_alloc_ctor(0, 3, 0);
x_108 = lean_alloc_ctor(0, 2, 1);
lean_ctor_set(x_108, 0, x_65);
lean_ctor_set(x_108, 1, x_66);
lean_ctor_set_uint8(x_108, sizeof(void*)*2, x_67);
x_109 = lean_box(0);
x_110 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Meta_Tactic_Grind_Types_0__Lean_Meta_Grind_saveEMatchTheorem_spec__9___redArg(x_104, x_108, x_109);
if (lean_is_scalar(x_107)) {
x_111 = lean_alloc_ctor(0, 3, 0);
} else {
x_109 = x_106;
x_111 = x_107;
}
lean_ctor_set(x_109, 0, x_108);
lean_ctor_set(x_109, 1, x_104);
lean_ctor_set(x_109, 2, x_105);
x_110 = lean_alloc_ctor(0, 10, 0);
lean_ctor_set(x_110, 0, x_94);
lean_ctor_set(x_110, 1, x_95);
lean_ctor_set(x_110, 2, x_96);
lean_ctor_set(x_110, 3, x_97);
lean_ctor_set(x_110, 4, x_98);
lean_ctor_set(x_110, 5, x_109);
lean_ctor_set(x_110, 6, x_99);
lean_ctor_set(x_110, 7, x_100);
lean_ctor_set(x_110, 8, x_101);
lean_ctor_set(x_110, 9, x_102);
x_111 = lean_st_ref_set(x_3, x_110, x_76);
x_112 = lean_ctor_get(x_111, 1);
lean_inc(x_112);
lean_dec_ref(x_111);
lean_ctor_set(x_111, 0, x_110);
lean_ctor_set(x_111, 1, x_105);
lean_ctor_set(x_111, 2, x_106);
x_112 = lean_alloc_ctor(0, 10, 0);
lean_ctor_set(x_112, 0, x_95);
lean_ctor_set(x_112, 1, x_96);
lean_ctor_set(x_112, 2, x_97);
lean_ctor_set(x_112, 3, x_98);
lean_ctor_set(x_112, 4, x_99);
lean_ctor_set(x_112, 5, x_111);
lean_ctor_set(x_112, 6, x_100);
lean_ctor_set(x_112, 7, x_101);
lean_ctor_set(x_112, 8, x_102);
lean_ctor_set(x_112, 9, x_103);
x_113 = lean_st_ref_set(x_3, x_112, x_76);
x_114 = lean_ctor_get(x_113, 1);
lean_inc(x_114);
lean_dec_ref(x_113);
x_7 = x_3;
x_8 = x_112;
x_8 = x_114;
goto block_59;
}
}
else
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134;
x_113 = lean_ctor_get(x_72, 1);
lean_inc(x_113);
lean_dec(x_72);
x_114 = lean_ctor_get(x_73, 0);
lean_inc_ref(x_114);
x_115 = lean_ctor_get(x_73, 1);
lean_inc_ref(x_115);
x_116 = lean_ctor_get(x_73, 2);
lean_inc_ref(x_116);
x_117 = lean_ctor_get(x_73, 3);
lean_inc(x_117);
x_118 = lean_ctor_get(x_73, 4);
lean_inc(x_118);
x_119 = lean_ctor_get(x_73, 6);
lean_inc_ref(x_119);
x_120 = lean_ctor_get(x_73, 7);
lean_inc_ref(x_120);
x_121 = lean_ctor_get(x_73, 8);
lean_inc_ref(x_121);
x_122 = lean_ctor_get(x_73, 9);
lean_inc_ref(x_122);
if (lean_is_exclusive(x_73)) {
lean_ctor_release(x_73, 0);
lean_ctor_release(x_73, 1);
lean_ctor_release(x_73, 2);
lean_ctor_release(x_73, 3);
lean_ctor_release(x_73, 4);
lean_ctor_release(x_73, 5);
lean_ctor_release(x_73, 6);
lean_ctor_release(x_73, 7);
lean_ctor_release(x_73, 8);
lean_ctor_release(x_73, 9);
x_123 = x_73;
} else {
lean_dec_ref(x_73);
x_123 = lean_box(0);
}
x_124 = lean_ctor_get(x_74, 0);
lean_inc_ref(x_124);
x_125 = lean_ctor_get(x_74, 1);
lean_inc_ref(x_125);
x_126 = lean_ctor_get(x_74, 2);
lean_inc_ref(x_126);
if (lean_is_exclusive(x_74)) {
lean_ctor_release(x_74, 0);
lean_ctor_release(x_74, 1);
lean_ctor_release(x_74, 2);
x_127 = x_74;
} else {
lean_dec_ref(x_74);
x_127 = lean_box(0);
}
lean_inc(x_66);
lean_inc_ref(x_65);
x_128 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_128, 0, x_65);
lean_ctor_set(x_128, 1, x_66);
x_129 = lean_box(0);
x_130 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Meta_Tactic_Grind_Types_0__Lean_Meta_Grind_saveEMatchTheorem_spec__9___redArg(x_124, x_128, x_129);
if (lean_is_scalar(x_127)) {
x_131 = lean_alloc_ctor(0, 3, 0);
} else {
x_131 = x_127;
}
lean_ctor_set(x_131, 0, x_130);
lean_ctor_set(x_131, 1, x_125);
lean_ctor_set(x_131, 2, x_126);
if (lean_is_scalar(x_123)) {
x_132 = lean_alloc_ctor(0, 10, 0);
} else {
x_132 = x_123;
}
lean_ctor_set(x_132, 0, x_114);
lean_ctor_set(x_132, 1, x_115);
lean_ctor_set(x_132, 2, x_116);
lean_ctor_set(x_132, 3, x_117);
lean_ctor_set(x_132, 4, x_118);
lean_ctor_set(x_132, 5, x_131);
lean_ctor_set(x_132, 6, x_119);
lean_ctor_set(x_132, 7, x_120);
lean_ctor_set(x_132, 8, x_121);
lean_ctor_set(x_132, 9, x_122);
x_133 = lean_st_ref_set(x_3, x_132, x_113);
x_134 = lean_ctor_get(x_133, 1);
lean_inc(x_134);
lean_dec_ref(x_133);
lean_object* x_115;
x_115 = lean_ctor_get(x_69, 1);
lean_inc(x_115);
lean_dec_ref(x_69);
x_7 = x_3;
x_8 = x_134;
x_8 = x_115;
goto block_59;
}
}
else
{
lean_object* x_135;
x_135 = lean_ctor_get(x_68, 1);
lean_inc(x_135);
lean_dec_ref(x_68);
x_7 = x_3;
x_8 = x_135;
goto block_59;
}
}
else
{
uint8_t x_136;
uint8_t x_116;
lean_dec_ref(x_1);
x_136 = !lean_is_exclusive(x_68);
if (x_136 == 0)
x_116 = !lean_is_exclusive(x_69);
if (x_116 == 0)
{
return x_68;
return x_69;
}
else
{
lean_object* x_137; lean_object* x_138; lean_object* x_139;
x_137 = lean_ctor_get(x_68, 0);
x_138 = lean_ctor_get(x_68, 1);
lean_inc(x_138);
lean_inc(x_137);
lean_dec(x_68);
x_139 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_139, 0, x_137);
lean_ctor_set(x_139, 1, x_138);
return x_139;
lean_object* x_117; lean_object* x_118; lean_object* x_119;
x_117 = lean_ctor_get(x_69, 0);
x_118 = lean_ctor_get(x_69, 1);
lean_inc(x_118);
lean_inc(x_117);
lean_dec(x_69);
x_119 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_119, 0, x_117);
lean_ctor_set(x_119, 1, x_118);
return x_119;
}
}
}
@ -28263,12 +28209,12 @@ if (x_24 == 0)
lean_object* x_26;
lean_dec_ref(x_2);
lean_dec_ref(x_1);
lean_inc(x_21);
lean_inc_ref(x_20);
lean_inc(x_23);
lean_inc_ref(x_15);
lean_inc(x_22);
lean_inc_ref(x_16);
lean_inc_ref(x_22);
lean_inc_ref(x_3);
x_26 = lean_infer_type(x_3, x_16, x_22, x_15, x_23, x_25);
x_26 = lean_infer_type(x_3, x_22, x_23, x_20, x_21, x_25);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42;
@ -28278,7 +28224,7 @@ x_28 = lean_ctor_get(x_26, 1);
lean_inc(x_28);
lean_dec_ref(x_26);
x_29 = l_Lean_Meta_Grind_pushEqCore___closed__1;
x_30 = l_Lean_indentExpr(x_20);
x_30 = l_Lean_indentExpr(x_16);
x_31 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_31, 0, x_29);
lean_ctor_set(x_31, 1, x_30);
@ -28302,21 +28248,21 @@ x_40 = l_Lean_Meta_Grind_addNewRawFact___closed__7;
x_41 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_41, 0, x_39);
lean_ctor_set(x_41, 1, x_40);
x_42 = l_Lean_throwError___at___Lean_Meta_Grind_addNewRawFact_spec__0___redArg(x_41, x_16, x_22, x_15, x_23, x_28);
x_42 = l_Lean_throwError___at___Lean_Meta_Grind_addNewRawFact_spec__0___redArg(x_41, x_22, x_23, x_20, x_21, x_28);
lean_dec(x_21);
lean_dec_ref(x_20);
lean_dec(x_23);
lean_dec_ref(x_15);
lean_dec(x_22);
lean_dec_ref(x_16);
lean_dec_ref(x_22);
return x_42;
}
else
{
uint8_t x_43;
lean_dec(x_23);
lean_dec(x_22);
lean_dec_ref(x_22);
lean_dec(x_21);
lean_dec_ref(x_20);
lean_dec_ref(x_16);
lean_dec_ref(x_15);
lean_dec_ref(x_3);
x_43 = !lean_is_exclusive(x_26);
if (x_43 == 0)
@ -28342,7 +28288,7 @@ else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50;
x_47 = l_Lean_Meta_Grind_initFn___closed__2____x40_Lean_Meta_Tactic_Grind_Types_1894993932____hygCtx___hyg_4_;
x_48 = l_Lean_isTracingEnabledFor___at___Lean_Meta_Grind_updateLastTag_spec__0___redArg(x_47, x_15, x_25);
x_48 = l_Lean_isTracingEnabledFor___at___Lean_Meta_Grind_updateLastTag_spec__0___redArg(x_47, x_20, x_25);
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
x_50 = lean_unbox(x_49);
@ -28350,16 +28296,16 @@ lean_dec(x_49);
if (x_50 == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53;
lean_dec_ref(x_20);
lean_dec_ref(x_16);
x_51 = lean_ctor_get(x_48, 1);
lean_inc(x_51);
lean_dec_ref(x_48);
x_52 = lean_box(0);
x_53 = l_Lean_Meta_Grind_pushEqCore___lam__0(x_1, x_2, x_3, x_4, x_52, x_21, x_19, x_18, x_17, x_16, x_22, x_15, x_23, x_51);
x_53 = l_Lean_Meta_Grind_pushEqCore___lam__0(x_1, x_2, x_3, x_4, x_52, x_15, x_18, x_17, x_19, x_22, x_23, x_20, x_21, x_51);
lean_dec(x_21);
lean_dec_ref(x_20);
lean_dec(x_23);
lean_dec_ref(x_15);
lean_dec(x_22);
lean_dec_ref(x_16);
lean_dec_ref(x_22);
return x_53;
}
else
@ -28373,20 +28319,20 @@ x_55 = lean_ctor_get(x_48, 1);
x_56 = lean_ctor_get(x_48, 0);
lean_dec(x_56);
x_57 = l_Lean_Meta_Grind_pushEqCore___closed__3;
x_58 = l_Lean_MessageData_ofExpr(x_20);
x_58 = l_Lean_MessageData_ofExpr(x_16);
lean_ctor_set_tag(x_48, 7);
lean_ctor_set(x_48, 1, x_58);
lean_ctor_set(x_48, 0, x_57);
x_59 = l_Lean_addTrace___at___Lean_Meta_Grind_updateLastTag_spec__1___redArg(x_47, x_48, x_16, x_22, x_15, x_23, x_55);
x_59 = l_Lean_addTrace___at___Lean_Meta_Grind_updateLastTag_spec__1___redArg(x_47, x_48, x_22, x_23, x_20, x_21, x_55);
x_60 = lean_ctor_get(x_59, 1);
lean_inc(x_60);
lean_dec_ref(x_59);
x_61 = lean_box(0);
x_62 = l_Lean_Meta_Grind_pushEqCore___lam__0(x_1, x_2, x_3, x_4, x_61, x_21, x_19, x_18, x_17, x_16, x_22, x_15, x_23, x_60);
x_62 = l_Lean_Meta_Grind_pushEqCore___lam__0(x_1, x_2, x_3, x_4, x_61, x_15, x_18, x_17, x_19, x_22, x_23, x_20, x_21, x_60);
lean_dec(x_21);
lean_dec_ref(x_20);
lean_dec(x_23);
lean_dec_ref(x_15);
lean_dec(x_22);
lean_dec_ref(x_16);
lean_dec_ref(x_22);
return x_62;
}
else
@ -28396,20 +28342,20 @@ x_63 = lean_ctor_get(x_48, 1);
lean_inc(x_63);
lean_dec(x_48);
x_64 = l_Lean_Meta_Grind_pushEqCore___closed__3;
x_65 = l_Lean_MessageData_ofExpr(x_20);
x_65 = l_Lean_MessageData_ofExpr(x_16);
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_updateLastTag_spec__1___redArg(x_47, x_66, x_16, x_22, x_15, x_23, x_63);
x_67 = l_Lean_addTrace___at___Lean_Meta_Grind_updateLastTag_spec__1___redArg(x_47, x_66, x_22, x_23, x_20, x_21, x_63);
x_68 = lean_ctor_get(x_67, 1);
lean_inc(x_68);
lean_dec_ref(x_67);
x_69 = lean_box(0);
x_70 = l_Lean_Meta_Grind_pushEqCore___lam__0(x_1, x_2, x_3, x_4, x_69, x_21, x_19, x_18, x_17, x_16, x_22, x_15, x_23, x_68);
x_70 = l_Lean_Meta_Grind_pushEqCore___lam__0(x_1, x_2, x_3, x_4, x_69, x_15, x_18, x_17, x_19, x_22, x_23, x_20, x_21, x_68);
lean_dec(x_21);
lean_dec_ref(x_20);
lean_dec(x_23);
lean_dec_ref(x_15);
lean_dec(x_22);
lean_dec_ref(x_16);
lean_dec_ref(x_22);
return x_70;
}
}
@ -28489,15 +28435,15 @@ lean_inc(x_107);
lean_dec_ref(x_105);
x_108 = lean_unbox(x_106);
lean_dec(x_106);
x_15 = x_79;
x_16 = x_77;
x_17 = x_76;
x_18 = x_75;
x_19 = x_74;
x_20 = x_72;
x_21 = x_73;
x_22 = x_78;
x_23 = x_80;
x_15 = x_73;
x_16 = x_72;
x_17 = x_75;
x_18 = x_74;
x_19 = x_76;
x_20 = x_79;
x_21 = x_80;
x_22 = x_77;
x_23 = x_78;
x_24 = x_108;
x_25 = x_107;
goto block_71;
@ -28514,15 +28460,15 @@ lean_inc(x_110);
lean_dec_ref(x_105);
x_111 = lean_unbox(x_109);
lean_dec(x_109);
x_15 = x_79;
x_16 = x_77;
x_17 = x_76;
x_18 = x_75;
x_19 = x_74;
x_20 = x_72;
x_21 = x_73;
x_22 = x_78;
x_23 = x_80;
x_15 = x_73;
x_16 = x_72;
x_17 = x_75;
x_18 = x_74;
x_19 = x_76;
x_20 = x_79;
x_21 = x_80;
x_22 = x_77;
x_23 = x_78;
x_24 = x_111;
x_25 = x_110;
goto block_71;
@ -28652,15 +28598,15 @@ lean_inc(x_155);
lean_dec_ref(x_153);
x_156 = lean_unbox(x_154);
lean_dec(x_154);
x_15 = x_79;
x_16 = x_77;
x_17 = x_76;
x_18 = x_75;
x_19 = x_74;
x_20 = x_72;
x_21 = x_73;
x_22 = x_78;
x_23 = x_80;
x_15 = x_73;
x_16 = x_72;
x_17 = x_75;
x_18 = x_74;
x_19 = x_76;
x_20 = x_79;
x_21 = x_80;
x_22 = x_77;
x_23 = x_78;
x_24 = x_156;
x_25 = x_155;
goto block_71;
@ -28677,15 +28623,15 @@ lean_inc(x_158);
lean_dec_ref(x_153);
x_159 = lean_unbox(x_157);
lean_dec(x_157);
x_15 = x_79;
x_16 = x_77;
x_17 = x_76;
x_18 = x_75;
x_19 = x_74;
x_20 = x_72;
x_21 = x_73;
x_22 = x_78;
x_23 = x_80;
x_15 = x_73;
x_16 = x_72;
x_17 = x_75;
x_18 = x_74;
x_19 = x_76;
x_20 = x_79;
x_21 = x_80;
x_22 = x_77;
x_23 = x_78;
x_24 = x_159;
x_25 = x_158;
goto block_71;
@ -30234,9 +30180,9 @@ goto block_154;
block_147:
{
lean_object* x_144; lean_object* x_145; lean_object* x_146;
x_144 = lean_nat_add(x_141, x_143);
x_144 = lean_nat_add(x_142, x_143);
lean_dec(x_143);
lean_dec(x_141);
lean_dec(x_142);
if (lean_is_scalar(x_138)) {
x_145 = lean_alloc_ctor(0, 5, 0);
} else {
@ -30255,7 +30201,7 @@ if (lean_is_scalar(x_128)) {
lean_ctor_set(x_146, 0, x_140);
lean_ctor_set(x_146, 1, x_130);
lean_ctor_set(x_146, 2, x_131);
lean_ctor_set(x_146, 3, x_142);
lean_ctor_set(x_146, 3, x_141);
lean_ctor_set(x_146, 4, x_145);
return x_146;
}
@ -30281,8 +30227,8 @@ if (lean_obj_tag(x_133) == 0)
lean_object* x_152;
x_152 = lean_ctor_get(x_133, 0);
lean_inc(x_152);
x_141 = x_151;
x_142 = x_150;
x_141 = x_150;
x_142 = x_151;
x_143 = x_152;
goto block_147;
}
@ -30290,8 +30236,8 @@ else
{
lean_object* x_153;
x_153 = lean_unsigned_to_nat(0u);
x_141 = x_151;
x_142 = x_150;
x_141 = x_150;
x_142 = x_151;
x_143 = x_153;
goto block_147;
}
@ -30604,7 +30550,7 @@ return x_6;
LEAN_EXPORT lean_object* l_Lean_Meta_Grind_registerParent___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_73;
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_73;
x_61 = lean_st_ref_get(x_3, x_4);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
@ -30630,33 +30576,33 @@ goto block_72;
block_33:
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29;
x_26 = l_Lean_PersistentHashMap_insert___at___Lean_Meta_Grind_registerParent_spec__0___redArg(x_16, x_15, x_25);
x_26 = l_Lean_PersistentHashMap_insert___at___Lean_Meta_Grind_registerParent_spec__0___redArg(x_7, x_24, x_25);
x_27 = lean_alloc_ctor(0, 16, 1);
lean_ctor_set(x_27, 0, x_22);
lean_ctor_set(x_27, 1, x_8);
lean_ctor_set(x_27, 2, x_21);
lean_ctor_set(x_27, 3, x_10);
lean_ctor_set(x_27, 0, x_5);
lean_ctor_set(x_27, 1, x_23);
lean_ctor_set(x_27, 2, x_15);
lean_ctor_set(x_27, 3, x_21);
lean_ctor_set(x_27, 4, x_26);
lean_ctor_set(x_27, 5, x_14);
lean_ctor_set(x_27, 6, x_17);
lean_ctor_set(x_27, 7, x_7);
lean_ctor_set(x_27, 8, x_24);
lean_ctor_set(x_27, 9, x_5);
lean_ctor_set(x_27, 10, x_20);
lean_ctor_set(x_27, 11, x_19);
lean_ctor_set(x_27, 12, x_23);
lean_ctor_set(x_27, 13, x_18);
lean_ctor_set(x_27, 14, x_12);
lean_ctor_set(x_27, 5, x_19);
lean_ctor_set(x_27, 6, x_22);
lean_ctor_set(x_27, 7, x_14);
lean_ctor_set(x_27, 8, x_12);
lean_ctor_set(x_27, 9, x_6);
lean_ctor_set(x_27, 10, x_9);
lean_ctor_set(x_27, 11, x_10);
lean_ctor_set(x_27, 12, x_20);
lean_ctor_set(x_27, 13, x_8);
lean_ctor_set(x_27, 14, x_18);
lean_ctor_set(x_27, 15, x_13);
lean_ctor_set_uint8(x_27, sizeof(void*)*16, x_11);
x_28 = lean_st_ref_set(x_3, x_27, x_6);
lean_ctor_set_uint8(x_27, sizeof(void*)*16, x_16);
x_28 = lean_st_ref_set(x_3, x_27, x_17);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30;
x_30 = lean_ctor_get(x_28, 0);
lean_dec(x_30);
lean_ctor_set(x_28, 0, x_9);
lean_ctor_set(x_28, 0, x_11);
return x_28;
}
else
@ -30666,7 +30612,7 @@ x_31 = lean_ctor_get(x_28, 1);
lean_inc(x_31);
lean_dec(x_28);
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_9);
lean_ctor_set(x_32, 0, x_11);
lean_ctor_set(x_32, 1, x_31);
return x_32;
}
@ -30674,7 +30620,7 @@ return x_32;
block_60:
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58;
x_37 = lean_st_ref_take(x_3, x_35);
x_37 = lean_st_ref_take(x_3, x_34);
x_38 = lean_ctor_get(x_37, 0);
lean_inc(x_38);
x_39 = lean_ctor_get(x_37, 1);
@ -30720,52 +30666,52 @@ if (x_58 == 0)
{
lean_object* x_59;
x_59 = l_Std_DTreeMap_Internal_Impl_insert___at___Lean_Meta_Grind_registerParent_spec__6___redArg(x_1, x_57, x_36);
x_5 = x_50;
x_6 = x_39;
x_7 = x_47;
x_8 = x_41;
x_9 = x_57;
x_10 = x_43;
x_11 = x_48;
x_12 = x_55;
x_5 = x_40;
x_6 = x_50;
x_7 = x_44;
x_8 = x_54;
x_9 = x_51;
x_10 = x_52;
x_11 = x_57;
x_12 = x_49;
x_13 = x_56;
x_14 = x_45;
x_15 = x_34;
x_16 = x_44;
x_17 = x_46;
x_18 = x_54;
x_19 = x_52;
x_20 = x_51;
x_21 = x_42;
x_22 = x_40;
x_23 = x_53;
x_24 = x_49;
x_14 = x_47;
x_15 = x_42;
x_16 = x_48;
x_17 = x_39;
x_18 = x_55;
x_19 = x_45;
x_20 = x_53;
x_21 = x_43;
x_22 = x_46;
x_23 = x_41;
x_24 = x_35;
x_25 = x_59;
goto block_33;
}
else
{
lean_dec_ref(x_1);
x_5 = x_50;
x_6 = x_39;
x_7 = x_47;
x_8 = x_41;
x_9 = x_57;
x_10 = x_43;
x_11 = x_48;
x_12 = x_55;
x_5 = x_40;
x_6 = x_50;
x_7 = x_44;
x_8 = x_54;
x_9 = x_51;
x_10 = x_52;
x_11 = x_57;
x_12 = x_49;
x_13 = x_56;
x_14 = x_45;
x_15 = x_34;
x_16 = x_44;
x_17 = x_46;
x_18 = x_54;
x_19 = x_52;
x_20 = x_51;
x_21 = x_42;
x_22 = x_40;
x_23 = x_53;
x_24 = x_49;
x_14 = x_47;
x_15 = x_42;
x_16 = x_48;
x_17 = x_39;
x_18 = x_55;
x_19 = x_45;
x_20 = x_53;
x_21 = x_43;
x_22 = x_46;
x_23 = x_41;
x_24 = x_35;
x_25 = x_36;
goto block_33;
}
@ -30787,8 +30733,8 @@ if (lean_obj_tag(x_69) == 0)
{
lean_object* x_70;
x_70 = lean_box(1);
x_34 = x_64;
x_35 = x_67;
x_34 = x_67;
x_35 = x_64;
x_36 = x_70;
goto block_60;
}
@ -30798,8 +30744,8 @@ lean_object* x_71;
x_71 = lean_ctor_get(x_69, 0);
lean_inc(x_71);
lean_dec_ref(x_69);
x_34 = x_64;
x_35 = x_67;
x_34 = x_67;
x_35 = x_64;
x_36 = x_71;
goto block_60;
}
@ -37930,7 +37876,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_foldEqc___redArg___closed__2;
x_2 = lean_unsigned_to_nat(2u);
x_3 = lean_unsigned_to_nat(1227u);
x_3 = lean_unsigned_to_nat(1232u);
x_4 = l_Lean_Meta_Grind_foldEqc___redArg___closed__1;
x_5 = l_Lean_Meta_Grind_foldEqc___redArg___closed__0;
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);

View file

@ -33566,7 +33566,7 @@ static lean_object* _init_l___private_Lean_Parser_Term_0__Lean_Parser_Term_borro
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("Indicates that an argument to a function marked `@[extern]` is borrowed.\n\nBeing borrowed only affects the ABI and runtime behavior of the function when compiled or interpreted. From the perspective of Lean's type system, this annotation has no effect. It similarly has no effect on functions not marked `@[extern]`.\n\nWhen a function argument is borrowed, the function does not consume the value. This means that the function will not decrement the value's reference count or deallocate it, and the caller is responsible for doing so.\n\nPlease see https://lean-lang.org/lean4/doc/dev/ffi.html#borrowing for a complete description.\n", 629, 629);
x_1 = lean_mk_string_unchecked("Indicates that an argument to a function marked `@[extern]` is borrowed.\n\nBeing borrowed only affects the ABI and runtime behavior of the function when compiled or interpreted. From the perspective of Lean's type system, this annotation has no effect. It similarly has no effect on functions not marked `@[extern]`.\n\nWhen a function argument is borrowed, the function does not consume the value. This means that the function will not decrement the value's reference count or deallocate it, and the caller is responsible for doing so.\n\nPlease see https://lean-lang.org/doc/reference/latest/find/\?domain=Verso.Genre.Manual.section&name=ffi-borrowing for a complete description.\n", 676, 676);
return x_1;
}
}