chore: update stage0
This commit is contained in:
parent
f8b7f30f5c
commit
6749463072
177 changed files with 1119220 additions and 937254 deletions
4
stage0/src/CMakeLists.txt
generated
4
stage0/src/CMakeLists.txt
generated
|
|
@ -1064,8 +1064,8 @@ configure_file(${LEAN_SOURCE_DIR}/stdlib.make.in ${CMAKE_BINARY_DIR}/stdlib.make
|
|||
|
||||
# hacky
|
||||
function(toml_escape IN OUTVAR)
|
||||
if(IN)
|
||||
string(STRIP "${IN}" OUT)
|
||||
string(STRIP "${IN}" OUT)
|
||||
if(OUT)
|
||||
string(REPLACE " " "\", \"" OUT "${OUT}")
|
||||
set(${OUTVAR} "\"${OUT}\"" PARENT_SCOPE)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// dear bot, please update stage0
|
||||
#include "util/options.h"
|
||||
|
||||
namespace lean {
|
||||
|
|
|
|||
945
stage0/stdlib/Init/Grind/Config.c
generated
945
stage0/stdlib/Init/Grind/Config.c
generated
File diff suppressed because it is too large
Load diff
488
stage0/stdlib/Init/Notation.c
generated
488
stage0/stdlib/Init/Notation.c
generated
|
|
@ -2918,62 +2918,56 @@ static const lean_object* l_Lean_runMeta___closed__4 = (const lean_object*)&l_Le
|
|||
static const lean_ctor_object l_Lean_runMeta___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_runMeta___closed__1_value),((lean_object*)(((size_t)(1022) << 1) | 1)),((lean_object*)&l_Lean_runMeta___closed__4_value)}};
|
||||
static const lean_object* l_Lean_runMeta___closed__5 = (const lean_object*)&l_Lean_runMeta___closed__5_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_runMeta = (const lean_object*)&l_Lean_runMeta___closed__5_value;
|
||||
static const lean_string_object l_Lean_reduceConfig___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "reduceConfig"};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__0 = (const lean_object*)&l_Lean_reduceConfig___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_reduceConfig___closed__1_value_aux_0),((lean_object*)&l_Lean_reduceConfig___closed__0_value),LEAN_SCALAR_PTR_LITERAL(96, 253, 130, 239, 111, 41, 58, 114)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__1 = (const lean_object*)&l_Lean_reduceConfig___closed__1_value;
|
||||
static const lean_string_object l_Lean_reduceConfig___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "group"};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__2 = (const lean_object*)&l_Lean_reduceConfig___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_reduceConfig___closed__2_value),LEAN_SCALAR_PTR_LITERAL(206, 113, 20, 57, 188, 177, 187, 30)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__3 = (const lean_object*)&l_Lean_reduceConfig___closed__3_value;
|
||||
static const lean_string_object l_Lean_reduceConfig___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "colGt"};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__4 = (const lean_object*)&l_Lean_reduceConfig___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_reduceConfig___closed__4_value),LEAN_SCALAR_PTR_LITERAL(185, 236, 32, 153, 169, 213, 53, 244)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__5 = (const lean_object*)&l_Lean_reduceConfig___closed__5_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 0}, .m_objs = {((lean_object*)&l_Lean_reduceConfig___closed__5_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__6 = (const lean_object*)&l_Lean_reduceConfig___closed__6_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_deprecated___closed__11_value),((lean_object*)&l_Lean_binderIdent___closed__2_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__7 = (const lean_object*)&l_Lean_reduceConfig___closed__7_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceConfig___closed__7_value),((lean_object*)&l_termIfLet___closed__7_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__8 = (const lean_object*)&l_Lean_reduceConfig___closed__8_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_term___x24_____00__closed__3_value),((lean_object*)&l_Lean_reduceConfig___closed__8_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__9 = (const lean_object*)&l_Lean_reduceConfig___closed__9_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceConfig___closed__6_value),((lean_object*)&l_Lean_reduceConfig___closed__9_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__10 = (const lean_object*)&l_Lean_reduceConfig___closed__10_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceConfig___closed__10_value),((lean_object*)&l_termDepIfThenElse___closed__14_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__11 = (const lean_object*)&l_Lean_reduceConfig___closed__11_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceConfig___closed__11_value),((lean_object*)&l_prec_x28___x29___closed__7_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__12 = (const lean_object*)&l_Lean_reduceConfig___closed__12_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_reduceConfig___closed__3_value),((lean_object*)&l_Lean_reduceConfig___closed__12_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__13 = (const lean_object*)&l_Lean_reduceConfig___closed__13_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___aux__Init__Notation______macroRules__stx___x2a__1___closed__2_value),((lean_object*)&l_Lean_reduceConfig___closed__13_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__14 = (const lean_object*)&l_Lean_reduceConfig___closed__14_value;
|
||||
static const lean_ctor_object l_Lean_reduceConfig___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_reduceConfig___closed__0_value),((lean_object*)&l_Lean_reduceConfig___closed__1_value),((lean_object*)&l_Lean_reduceConfig___closed__14_value)}};
|
||||
static const lean_object* l_Lean_reduceConfig___closed__15 = (const lean_object*)&l_Lean_reduceConfig___closed__15_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_reduceConfig = (const lean_object*)&l_Lean_reduceConfig___closed__15_value;
|
||||
static const lean_string_object l_Lean_reduceCmd___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "reduceCmd"};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__0 = (const lean_object*)&l_Lean_reduceCmd___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__1_value_aux_0),((lean_object*)&l_Lean_reduceCmd___closed__0_value),LEAN_SCALAR_PTR_LITERAL(251, 70, 101, 28, 121, 166, 124, 59)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__1 = (const lean_object*)&l_Lean_reduceCmd___closed__1_value;
|
||||
static const lean_string_object l_Lean_reduceCmd___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "#reduce "};
|
||||
static const lean_string_object l_Lean_reduceCmd___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "#reduce"};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__2 = (const lean_object*)&l_Lean_reduceCmd___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__2_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__3 = (const lean_object*)&l_Lean_reduceCmd___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_prec_x28___x29___closed__2_value)}};
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__3_value),((lean_object*)&l_Lean_reduceConfig___closed__15_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__4 = (const lean_object*)&l_Lean_reduceCmd___closed__4_value;
|
||||
static const lean_string_object l_Lean_reduceCmd___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "proofs"};
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__4_value),((lean_object*)&l_termDepIfThenElse___closed__14_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__5 = (const lean_object*)&l_Lean_reduceCmd___closed__5_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__5_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__1_value),((lean_object*)(((size_t)(1022) << 1) | 1)),((lean_object*)&l_Lean_reduceCmd___closed__5_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__6 = (const lean_object*)&l_Lean_reduceCmd___closed__6_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__4_value),((lean_object*)&l_Lean_reduceCmd___closed__6_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__7 = (const lean_object*)&l_Lean_reduceCmd___closed__7_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__7_value),((lean_object*)&l_termIfLet___closed__7_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__8 = (const lean_object*)&l_Lean_reduceCmd___closed__8_value;
|
||||
static const lean_string_object l_Lean_reduceCmd___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "true"};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__9 = (const lean_object*)&l_Lean_reduceCmd___closed__9_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__9_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__10 = (const lean_object*)&l_Lean_reduceCmd___closed__10_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__8_value),((lean_object*)&l_Lean_reduceCmd___closed__10_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__11 = (const lean_object*)&l_Lean_reduceCmd___closed__11_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__11_value),((lean_object*)&l_prec_x28___x29___closed__7_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__12 = (const lean_object*)&l_Lean_reduceCmd___closed__12_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_term___x24_____00__closed__3_value),((lean_object*)&l_Lean_reduceCmd___closed__12_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__13 = (const lean_object*)&l_Lean_reduceCmd___closed__13_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___aux__Init__Notation______macroRules__stx___x3f__1___closed__2_value),((lean_object*)&l_Lean_reduceCmd___closed__13_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__14 = (const lean_object*)&l_Lean_reduceCmd___closed__14_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__3_value),((lean_object*)&l_Lean_reduceCmd___closed__14_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__15 = (const lean_object*)&l_Lean_reduceCmd___closed__15_value;
|
||||
static const lean_string_object l_Lean_reduceCmd___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "types"};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__16 = (const lean_object*)&l_Lean_reduceCmd___closed__16_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__16_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__17 = (const lean_object*)&l_Lean_reduceCmd___closed__17_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__4_value),((lean_object*)&l_Lean_reduceCmd___closed__17_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__18 = (const lean_object*)&l_Lean_reduceCmd___closed__18_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__18_value),((lean_object*)&l_termIfLet___closed__7_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__19 = (const lean_object*)&l_Lean_reduceCmd___closed__19_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__19_value),((lean_object*)&l_Lean_reduceCmd___closed__10_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__20 = (const lean_object*)&l_Lean_reduceCmd___closed__20_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__20_value),((lean_object*)&l_prec_x28___x29___closed__7_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__21 = (const lean_object*)&l_Lean_reduceCmd___closed__21_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_term___x24_____00__closed__3_value),((lean_object*)&l_Lean_reduceCmd___closed__21_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__22 = (const lean_object*)&l_Lean_reduceCmd___closed__22_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___aux__Init__Notation______macroRules__stx___x3f__1___closed__2_value),((lean_object*)&l_Lean_reduceCmd___closed__22_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__23 = (const lean_object*)&l_Lean_reduceCmd___closed__23_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__15_value),((lean_object*)&l_Lean_reduceCmd___closed__23_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__24 = (const lean_object*)&l_Lean_reduceCmd___closed__24_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__25_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__24_value),((lean_object*)&l_termDepIfThenElse___closed__14_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__25 = (const lean_object*)&l_Lean_reduceCmd___closed__25_value;
|
||||
static const lean_ctor_object l_Lean_reduceCmd___closed__26_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__1_value),((lean_object*)(((size_t)(1022) << 1) | 1)),((lean_object*)&l_Lean_reduceCmd___closed__25_value)}};
|
||||
static const lean_object* l_Lean_reduceCmd___closed__26 = (const lean_object*)&l_Lean_reduceCmd___closed__26_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_reduceCmd = (const lean_object*)&l_Lean_reduceCmd___closed__26_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_reduceCmd = (const lean_object*)&l_Lean_reduceCmd___closed__6_value;
|
||||
static const lean_string_object l_Lean_guardMsgsFilterAction___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 22, .m_capacity = 22, .m_length = 21, .m_data = "guardMsgsFilterAction"};
|
||||
static const lean_object* l_Lean_guardMsgsFilterAction___closed__0 = (const lean_object*)&l_Lean_guardMsgsFilterAction___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsFilterAction___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
|
|
@ -3183,25 +3177,29 @@ static const lean_object* l_Lean_guardMsgsPositionsArg___closed__0 = (const lean
|
|||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__1_value_aux_0),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__0_value),LEAN_SCALAR_PTR_LITERAL(72, 235, 102, 225, 139, 166, 36, 119)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__1 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__1_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_guardMsgsFilterAction___closed__3_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__2_value_aux_0),((lean_object*)&l_Lean_reduceCmd___closed__9_value),LEAN_SCALAR_PTR_LITERAL(97, 134, 219, 90, 90, 45, 96, 32)}};
|
||||
static const lean_string_object l_Lean_guardMsgsPositionsArg___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "true"};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__2 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_reduceCmd___closed__9_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__2_value),((lean_object*)&l_Lean_reduceCmd___closed__10_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__3_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_guardMsgsFilterAction___closed__3_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__3_value_aux_0),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__2_value),LEAN_SCALAR_PTR_LITERAL(97, 134, 219, 90, 90, 45, 96, 32)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__3 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__3_value;
|
||||
static const lean_string_object l_Lean_guardMsgsPositionsArg___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "false"};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__2_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__4 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__5_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_guardMsgsFilterAction___closed__3_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__5_value_aux_0),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__4_value),LEAN_SCALAR_PTR_LITERAL(234, 149, 90, 50, 108, 230, 18, 172)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__2_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__3_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__4_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__5 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__5_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__4_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_string_object l_Lean_guardMsgsPositionsArg___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "false"};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__6 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__6_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__4_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__5_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__6_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__7_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_guardMsgsFilterAction___closed__3_value),LEAN_SCALAR_PTR_LITERAL(89, 149, 26, 37, 31, 104, 89, 130)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__7_value_aux_0),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__6_value),LEAN_SCALAR_PTR_LITERAL(234, 149, 90, 50, 108, 230, 18, 172)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__7 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__7_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l___aux__Init__Notation______macroRules__stx___x3c_x7c_x3e____1___closed__4_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__3_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__7_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 6}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__6_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__8 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__8_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__0_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__1_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__8_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__6_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__7_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__8_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__9 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__9_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_guardMsgsPositionsArg = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__9_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l___aux__Init__Notation______macroRules__stx___x3c_x7c_x3e____1___closed__4_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__5_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__9_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__10 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__10_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositionsArg___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__0_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__1_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__10_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositionsArg___closed__11 = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__11_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_guardMsgsPositionsArg = (const lean_object*)&l_Lean_guardMsgsPositionsArg___closed__11_value;
|
||||
static const lean_string_object l_Lean_guardMsgsPositions___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "guardMsgsPositions"};
|
||||
static const lean_object* l_Lean_guardMsgsPositions___closed__0 = (const lean_object*)&l_Lean_guardMsgsPositions___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositions___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
|
|
@ -3213,7 +3211,7 @@ static const lean_ctor_object l_Lean_guardMsgsPositions___closed__3_value = {.m_
|
|||
static const lean_object* l_Lean_guardMsgsPositions___closed__3 = (const lean_object*)&l_Lean_guardMsgsPositions___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositions___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsPositions___closed__3_value),((lean_object*)&l_termIfLet___closed__7_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositions___closed__4 = (const lean_object*)&l_Lean_guardMsgsPositions___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositions___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsPositions___closed__4_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__9_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositions___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsPositions___closed__4_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__11_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositions___closed__5 = (const lean_object*)&l_Lean_guardMsgsPositions___closed__5_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsPositions___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsPositions___closed__0_value),((lean_object*)&l_Lean_guardMsgsPositions___closed__1_value),((lean_object*)&l_Lean_guardMsgsPositions___closed__5_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsPositions___closed__6 = (const lean_object*)&l_Lean_guardMsgsPositions___closed__6_value;
|
||||
|
|
@ -3229,7 +3227,7 @@ static const lean_ctor_object l_Lean_guardMsgsSubstring___closed__3_value = {.m_
|
|||
static const lean_object* l_Lean_guardMsgsSubstring___closed__3 = (const lean_object*)&l_Lean_guardMsgsSubstring___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSubstring___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsSubstring___closed__3_value),((lean_object*)&l_termIfLet___closed__7_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSubstring___closed__4 = (const lean_object*)&l_Lean_guardMsgsSubstring___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSubstring___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsSubstring___closed__4_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__8_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsSubstring___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsSubstring___closed__4_value),((lean_object*)&l_Lean_guardMsgsPositionsArg___closed__10_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSubstring___closed__5 = (const lean_object*)&l_Lean_guardMsgsSubstring___closed__5_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSubstring___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSubstring___closed__0_value),((lean_object*)&l_Lean_guardMsgsSubstring___closed__1_value),((lean_object*)&l_Lean_guardMsgsSubstring___closed__5_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSubstring___closed__6 = (const lean_object*)&l_Lean_guardMsgsSubstring___closed__6_value;
|
||||
|
|
@ -3255,19 +3253,21 @@ static const lean_object* l_Lean_guardMsgsSpec___closed__0 = (const lean_object*
|
|||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSpec___closed__1_value_aux_0),((lean_object*)&l_Lean_guardMsgsSpec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(172, 228, 141, 39, 164, 16, 16, 29)}};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__1 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__1_value;
|
||||
static const lean_string_object l_Lean_guardMsgsSpec___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = ", "};
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_prec_x28___x29___closed__2_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__2 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__2_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSpec___closed__2_value)}};
|
||||
static const lean_string_object l_Lean_guardMsgsSpec___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = ", "};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__3 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__3_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 8, .m_other = 3, .m_tag = 10}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSpecElt___closed__6_value),((lean_object*)&l___aux__Init__Notation______macroRules__stx___x3c_x7c_x3e____1___closed__5_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__3_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 5}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSpec___closed__3_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__4 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_reduceCmd___closed__4_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__4_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 8, .m_other = 3, .m_tag = 10}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSpecElt___closed__6_value),((lean_object*)&l___aux__Init__Notation______macroRules__stx___x3c_x7c_x3e____1___closed__5_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__4_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__5 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__5_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__5_value),((lean_object*)&l_prec_x28___x29___closed__7_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__2_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__5_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__6 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__6_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSpec___closed__0_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__1_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__6_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__6_value),((lean_object*)&l_prec_x28___x29___closed__7_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__7 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__7_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_guardMsgsSpec = (const lean_object*)&l_Lean_guardMsgsSpec___closed__7_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsSpec___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 9}, .m_objs = {((lean_object*)&l_Lean_guardMsgsSpec___closed__0_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__1_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__7_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsSpec___closed__8 = (const lean_object*)&l_Lean_guardMsgsSpec___closed__8_value;
|
||||
LEAN_EXPORT const lean_object* l_Lean_guardMsgsSpec = (const lean_object*)&l_Lean_guardMsgsSpec___closed__8_value;
|
||||
static const lean_string_object l_Lean_guardMsgsCmd___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "guardMsgsCmd"};
|
||||
static const lean_object* l_Lean_guardMsgsCmd___closed__0 = (const lean_object*)&l_Lean_guardMsgsCmd___closed__0_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsCmd___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}};
|
||||
|
|
@ -3287,7 +3287,7 @@ static const lean_ctor_object l_Lean_guardMsgsCmd___closed__7_value = {.m_header
|
|||
static const lean_object* l_Lean_guardMsgsCmd___closed__7 = (const lean_object*)&l_Lean_guardMsgsCmd___closed__7_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsCmd___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_guardMsgsCmd___closed__5_value),((lean_object*)&l_Lean_guardMsgsCmd___closed__7_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsCmd___closed__8 = (const lean_object*)&l_Lean_guardMsgsCmd___closed__8_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsCmd___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_caseArg___closed__5_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__7_value)}};
|
||||
static const lean_ctor_object l_Lean_guardMsgsCmd___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 0, .m_other = 3, .m_tag = 2}, .m_objs = {((lean_object*)&l_Lean_Parser_Syntax_addPrec___closed__6_value),((lean_object*)&l_Lean_Parser_Tactic_caseArg___closed__5_value),((lean_object*)&l_Lean_guardMsgsSpec___closed__8_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsCmd___closed__9 = (const lean_object*)&l_Lean_guardMsgsCmd___closed__9_value;
|
||||
static const lean_ctor_object l_Lean_guardMsgsCmd___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___aux__Init__Notation______macroRules__stx___x3f__1___closed__2_value),((lean_object*)&l_Lean_guardMsgsCmd___closed__9_value)}};
|
||||
static const lean_object* l_Lean_guardMsgsCmd___closed__10 = (const lean_object*)&l_Lean_guardMsgsCmd___closed__10_value;
|
||||
|
|
@ -14480,215 +14480,215 @@ return v___x_7074_;
|
|||
static lean_object* _init_l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__13(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_8185_; lean_object* v___x_8186_;
|
||||
v___x_8185_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__12));
|
||||
v___x_8186_ = l_String_toRawSubstring_x27(v___x_8185_);
|
||||
return v___x_8186_;
|
||||
lean_object* v___x_8175_; lean_object* v___x_8176_;
|
||||
v___x_8175_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__12));
|
||||
v___x_8176_ = l_String_toRawSubstring_x27(v___x_8175_);
|
||||
return v___x_8176_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1(lean_object* v_x_8190_, lean_object* v_a_8191_, lean_object* v_a_8192_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1(lean_object* v_x_8180_, lean_object* v_a_8181_, lean_object* v_a_8182_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_8193_; uint8_t v___x_8194_;
|
||||
v___x_8193_ = ((lean_object*)(l_Lean_Parser_commandSeal_____00__closed__1));
|
||||
lean_inc(v_x_8190_);
|
||||
v___x_8194_ = l_Lean_Syntax_isOfKind(v_x_8190_, v___x_8193_);
|
||||
if (v___x_8194_ == 0)
|
||||
lean_object* v___x_8183_; uint8_t v___x_8184_;
|
||||
v___x_8183_ = ((lean_object*)(l_Lean_Parser_commandSeal_____00__closed__1));
|
||||
lean_inc(v_x_8180_);
|
||||
v___x_8184_ = l_Lean_Syntax_isOfKind(v_x_8180_, v___x_8183_);
|
||||
if (v___x_8184_ == 0)
|
||||
{
|
||||
lean_object* v___x_8195_; lean_object* v___x_8196_;
|
||||
lean_dec(v_x_8190_);
|
||||
v___x_8195_ = lean_box(1);
|
||||
v___x_8196_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_8196_, 0, v___x_8195_);
|
||||
lean_ctor_set(v___x_8196_, 1, v_a_8192_);
|
||||
return v___x_8196_;
|
||||
lean_object* v___x_8185_; lean_object* v___x_8186_;
|
||||
lean_dec(v_x_8180_);
|
||||
v___x_8185_ = lean_box(1);
|
||||
v___x_8186_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_8186_, 0, v___x_8185_);
|
||||
lean_ctor_set(v___x_8186_, 1, v_a_8182_);
|
||||
return v___x_8186_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_quotContext_8197_; lean_object* v_currMacroScope_8198_; lean_object* v_ref_8199_; lean_object* v___x_8200_; lean_object* v___x_8201_; lean_object* v_fs_8202_; uint8_t v___x_8203_; lean_object* v___x_8204_; lean_object* v___x_8205_; lean_object* v___x_8206_; lean_object* v___x_8207_; lean_object* v___x_8208_; lean_object* v___x_8209_; lean_object* v___x_8210_; lean_object* v___x_8211_; lean_object* v___x_8212_; lean_object* v___x_8213_; lean_object* v___x_8214_; lean_object* v___x_8215_; lean_object* v___x_8216_; lean_object* v___x_8217_; lean_object* v___x_8218_; lean_object* v___x_8219_; lean_object* v___x_8220_; lean_object* v___x_8221_; lean_object* v___x_8222_; lean_object* v___x_8223_; lean_object* v___x_8224_; lean_object* v___x_8225_; lean_object* v___x_8226_; lean_object* v___x_8227_; lean_object* v___x_8228_; lean_object* v___x_8229_; lean_object* v___x_8230_; lean_object* v___x_8231_; lean_object* v___x_8232_; lean_object* v___x_8233_; lean_object* v___x_8234_; lean_object* v___x_8235_;
|
||||
v_quotContext_8197_ = lean_ctor_get(v_a_8191_, 1);
|
||||
v_currMacroScope_8198_ = lean_ctor_get(v_a_8191_, 2);
|
||||
v_ref_8199_ = lean_ctor_get(v_a_8191_, 5);
|
||||
v___x_8200_ = lean_unsigned_to_nat(1u);
|
||||
v___x_8201_ = l_Lean_Syntax_getArg(v_x_8190_, v___x_8200_);
|
||||
lean_dec(v_x_8190_);
|
||||
v_fs_8202_ = l_Lean_Syntax_getArgs(v___x_8201_);
|
||||
lean_dec(v___x_8201_);
|
||||
v___x_8203_ = 0;
|
||||
v___x_8204_ = l_Lean_SourceInfo_fromRef(v_ref_8199_, v___x_8203_);
|
||||
v___x_8205_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__1));
|
||||
v___x_8206_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__2));
|
||||
lean_inc_n(v___x_8204_, 13);
|
||||
v___x_8207_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8207_, 0, v___x_8204_);
|
||||
lean_ctor_set(v___x_8207_, 1, v___x_8205_);
|
||||
v___x_8208_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__3));
|
||||
v___x_8209_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8209_, 0, v___x_8204_);
|
||||
lean_ctor_set(v___x_8209_, 1, v___x_8208_);
|
||||
v___x_8210_ = ((lean_object*)(l___aux__Init__Notation______macroRules__stx___x2b__1___closed__6));
|
||||
v___x_8211_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__5));
|
||||
v___x_8212_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__7));
|
||||
v___x_8213_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__8));
|
||||
v___x_8214_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__9));
|
||||
v___x_8215_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8215_, 0, v___x_8204_);
|
||||
lean_ctor_set(v___x_8215_, 1, v___x_8213_);
|
||||
v___x_8216_ = l_Lean_Syntax_node1(v___x_8204_, v___x_8214_, v___x_8215_);
|
||||
v___x_8217_ = l_Lean_Syntax_node1(v___x_8204_, v___x_8210_, v___x_8216_);
|
||||
v___x_8218_ = l_Lean_Syntax_node1(v___x_8204_, v___x_8212_, v___x_8217_);
|
||||
v___x_8219_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__11));
|
||||
v___x_8220_ = lean_obj_once(&l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__13, &l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__13_once, _init_l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__13);
|
||||
v___x_8221_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__14));
|
||||
lean_inc(v_currMacroScope_8198_);
|
||||
lean_inc(v_quotContext_8197_);
|
||||
v___x_8222_ = l_Lean_addMacroScope(v_quotContext_8197_, v___x_8221_, v_currMacroScope_8198_);
|
||||
v___x_8223_ = lean_box(0);
|
||||
v___x_8224_ = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(v___x_8224_, 0, v___x_8204_);
|
||||
lean_ctor_set(v___x_8224_, 1, v___x_8220_);
|
||||
lean_ctor_set(v___x_8224_, 2, v___x_8222_);
|
||||
lean_ctor_set(v___x_8224_, 3, v___x_8223_);
|
||||
v___x_8225_ = lean_obj_once(&l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9, &l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9_once, _init_l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9);
|
||||
v___x_8226_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8226_, 0, v___x_8204_);
|
||||
lean_ctor_set(v___x_8226_, 1, v___x_8210_);
|
||||
lean_ctor_set(v___x_8226_, 2, v___x_8225_);
|
||||
v___x_8227_ = l_Lean_Syntax_node2(v___x_8204_, v___x_8219_, v___x_8224_, v___x_8226_);
|
||||
v___x_8228_ = l_Lean_Syntax_node2(v___x_8204_, v___x_8211_, v___x_8218_, v___x_8227_);
|
||||
v___x_8229_ = l_Lean_Syntax_node1(v___x_8204_, v___x_8210_, v___x_8228_);
|
||||
v___x_8230_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__15));
|
||||
v___x_8231_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8231_, 0, v___x_8204_);
|
||||
lean_ctor_set(v___x_8231_, 1, v___x_8230_);
|
||||
v___x_8232_ = l_Array_appendCore___redArg(v___x_8225_, v_fs_8202_);
|
||||
lean_dec_ref(v_fs_8202_);
|
||||
v___x_8233_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8233_, 0, v___x_8204_);
|
||||
lean_ctor_set(v___x_8233_, 1, v___x_8210_);
|
||||
lean_ctor_set(v___x_8233_, 2, v___x_8232_);
|
||||
v___x_8234_ = l_Lean_Syntax_node5(v___x_8204_, v___x_8206_, v___x_8207_, v___x_8209_, v___x_8229_, v___x_8231_, v___x_8233_);
|
||||
v___x_8235_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_8235_, 0, v___x_8234_);
|
||||
lean_ctor_set(v___x_8235_, 1, v_a_8192_);
|
||||
return v___x_8235_;
|
||||
lean_object* v_quotContext_8187_; lean_object* v_currMacroScope_8188_; lean_object* v_ref_8189_; lean_object* v___x_8190_; lean_object* v___x_8191_; lean_object* v_fs_8192_; uint8_t v___x_8193_; lean_object* v___x_8194_; lean_object* v___x_8195_; lean_object* v___x_8196_; lean_object* v___x_8197_; lean_object* v___x_8198_; lean_object* v___x_8199_; lean_object* v___x_8200_; lean_object* v___x_8201_; lean_object* v___x_8202_; lean_object* v___x_8203_; lean_object* v___x_8204_; lean_object* v___x_8205_; lean_object* v___x_8206_; lean_object* v___x_8207_; lean_object* v___x_8208_; lean_object* v___x_8209_; lean_object* v___x_8210_; lean_object* v___x_8211_; lean_object* v___x_8212_; lean_object* v___x_8213_; lean_object* v___x_8214_; lean_object* v___x_8215_; lean_object* v___x_8216_; lean_object* v___x_8217_; lean_object* v___x_8218_; lean_object* v___x_8219_; lean_object* v___x_8220_; lean_object* v___x_8221_; lean_object* v___x_8222_; lean_object* v___x_8223_; lean_object* v___x_8224_; lean_object* v___x_8225_;
|
||||
v_quotContext_8187_ = lean_ctor_get(v_a_8181_, 1);
|
||||
v_currMacroScope_8188_ = lean_ctor_get(v_a_8181_, 2);
|
||||
v_ref_8189_ = lean_ctor_get(v_a_8181_, 5);
|
||||
v___x_8190_ = lean_unsigned_to_nat(1u);
|
||||
v___x_8191_ = l_Lean_Syntax_getArg(v_x_8180_, v___x_8190_);
|
||||
lean_dec(v_x_8180_);
|
||||
v_fs_8192_ = l_Lean_Syntax_getArgs(v___x_8191_);
|
||||
lean_dec(v___x_8191_);
|
||||
v___x_8193_ = 0;
|
||||
v___x_8194_ = l_Lean_SourceInfo_fromRef(v_ref_8189_, v___x_8193_);
|
||||
v___x_8195_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__1));
|
||||
v___x_8196_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__2));
|
||||
lean_inc_n(v___x_8194_, 13);
|
||||
v___x_8197_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8197_, 0, v___x_8194_);
|
||||
lean_ctor_set(v___x_8197_, 1, v___x_8195_);
|
||||
v___x_8198_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__3));
|
||||
v___x_8199_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8199_, 0, v___x_8194_);
|
||||
lean_ctor_set(v___x_8199_, 1, v___x_8198_);
|
||||
v___x_8200_ = ((lean_object*)(l___aux__Init__Notation______macroRules__stx___x2b__1___closed__6));
|
||||
v___x_8201_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__5));
|
||||
v___x_8202_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__7));
|
||||
v___x_8203_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__8));
|
||||
v___x_8204_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__9));
|
||||
v___x_8205_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8205_, 0, v___x_8194_);
|
||||
lean_ctor_set(v___x_8205_, 1, v___x_8203_);
|
||||
v___x_8206_ = l_Lean_Syntax_node1(v___x_8194_, v___x_8204_, v___x_8205_);
|
||||
v___x_8207_ = l_Lean_Syntax_node1(v___x_8194_, v___x_8200_, v___x_8206_);
|
||||
v___x_8208_ = l_Lean_Syntax_node1(v___x_8194_, v___x_8202_, v___x_8207_);
|
||||
v___x_8209_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__11));
|
||||
v___x_8210_ = lean_obj_once(&l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__13, &l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__13_once, _init_l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__13);
|
||||
v___x_8211_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__14));
|
||||
lean_inc(v_currMacroScope_8188_);
|
||||
lean_inc(v_quotContext_8187_);
|
||||
v___x_8212_ = l_Lean_addMacroScope(v_quotContext_8187_, v___x_8211_, v_currMacroScope_8188_);
|
||||
v___x_8213_ = lean_box(0);
|
||||
v___x_8214_ = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(v___x_8214_, 0, v___x_8194_);
|
||||
lean_ctor_set(v___x_8214_, 1, v___x_8210_);
|
||||
lean_ctor_set(v___x_8214_, 2, v___x_8212_);
|
||||
lean_ctor_set(v___x_8214_, 3, v___x_8213_);
|
||||
v___x_8215_ = lean_obj_once(&l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9, &l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9_once, _init_l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9);
|
||||
v___x_8216_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8216_, 0, v___x_8194_);
|
||||
lean_ctor_set(v___x_8216_, 1, v___x_8200_);
|
||||
lean_ctor_set(v___x_8216_, 2, v___x_8215_);
|
||||
v___x_8217_ = l_Lean_Syntax_node2(v___x_8194_, v___x_8209_, v___x_8214_, v___x_8216_);
|
||||
v___x_8218_ = l_Lean_Syntax_node2(v___x_8194_, v___x_8201_, v___x_8208_, v___x_8217_);
|
||||
v___x_8219_ = l_Lean_Syntax_node1(v___x_8194_, v___x_8200_, v___x_8218_);
|
||||
v___x_8220_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__15));
|
||||
v___x_8221_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8221_, 0, v___x_8194_);
|
||||
lean_ctor_set(v___x_8221_, 1, v___x_8220_);
|
||||
v___x_8222_ = l_Array_appendCore___redArg(v___x_8215_, v_fs_8192_);
|
||||
lean_dec_ref(v_fs_8192_);
|
||||
v___x_8223_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8223_, 0, v___x_8194_);
|
||||
lean_ctor_set(v___x_8223_, 1, v___x_8200_);
|
||||
lean_ctor_set(v___x_8223_, 2, v___x_8222_);
|
||||
v___x_8224_ = l_Lean_Syntax_node5(v___x_8194_, v___x_8196_, v___x_8197_, v___x_8199_, v___x_8219_, v___x_8221_, v___x_8223_);
|
||||
v___x_8225_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_8225_, 0, v___x_8224_);
|
||||
lean_ctor_set(v___x_8225_, 1, v_a_8182_);
|
||||
return v___x_8225_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___boxed(lean_object* v_x_8236_, lean_object* v_a_8237_, lean_object* v_a_8238_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___boxed(lean_object* v_x_8226_, lean_object* v_a_8227_, lean_object* v_a_8228_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_8239_;
|
||||
v_res_8239_ = l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1(v_x_8236_, v_a_8237_, v_a_8238_);
|
||||
lean_dec_ref(v_a_8237_);
|
||||
return v_res_8239_;
|
||||
lean_object* v_res_8229_;
|
||||
v_res_8229_ = l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1(v_x_8226_, v_a_8227_, v_a_8228_);
|
||||
lean_dec_ref(v_a_8227_);
|
||||
return v_res_8229_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_8241_; lean_object* v___x_8242_;
|
||||
v___x_8241_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__0));
|
||||
v___x_8242_ = l_String_toRawSubstring_x27(v___x_8241_);
|
||||
return v___x_8242_;
|
||||
lean_object* v___x_8231_; lean_object* v___x_8232_;
|
||||
v___x_8231_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__0));
|
||||
v___x_8232_ = l_String_toRawSubstring_x27(v___x_8231_);
|
||||
return v___x_8232_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1(lean_object* v_x_8245_, lean_object* v_a_8246_, lean_object* v_a_8247_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1(lean_object* v_x_8235_, lean_object* v_a_8236_, lean_object* v_a_8237_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_8248_; uint8_t v___x_8249_;
|
||||
v___x_8248_ = ((lean_object*)(l_Lean_Parser_commandUnseal_____00__closed__1));
|
||||
lean_inc(v_x_8245_);
|
||||
v___x_8249_ = l_Lean_Syntax_isOfKind(v_x_8245_, v___x_8248_);
|
||||
if (v___x_8249_ == 0)
|
||||
lean_object* v___x_8238_; uint8_t v___x_8239_;
|
||||
v___x_8238_ = ((lean_object*)(l_Lean_Parser_commandUnseal_____00__closed__1));
|
||||
lean_inc(v_x_8235_);
|
||||
v___x_8239_ = l_Lean_Syntax_isOfKind(v_x_8235_, v___x_8238_);
|
||||
if (v___x_8239_ == 0)
|
||||
{
|
||||
lean_object* v___x_8250_; lean_object* v___x_8251_;
|
||||
lean_dec(v_x_8245_);
|
||||
v___x_8250_ = lean_box(1);
|
||||
v___x_8251_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_8251_, 0, v___x_8250_);
|
||||
lean_ctor_set(v___x_8251_, 1, v_a_8247_);
|
||||
return v___x_8251_;
|
||||
lean_object* v___x_8240_; lean_object* v___x_8241_;
|
||||
lean_dec(v_x_8235_);
|
||||
v___x_8240_ = lean_box(1);
|
||||
v___x_8241_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_8241_, 0, v___x_8240_);
|
||||
lean_ctor_set(v___x_8241_, 1, v_a_8237_);
|
||||
return v___x_8241_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_quotContext_8252_; lean_object* v_currMacroScope_8253_; lean_object* v_ref_8254_; lean_object* v___x_8255_; lean_object* v___x_8256_; lean_object* v_fs_8257_; uint8_t v___x_8258_; lean_object* v___x_8259_; lean_object* v___x_8260_; lean_object* v___x_8261_; lean_object* v___x_8262_; lean_object* v___x_8263_; lean_object* v___x_8264_; lean_object* v___x_8265_; lean_object* v___x_8266_; lean_object* v___x_8267_; lean_object* v___x_8268_; lean_object* v___x_8269_; lean_object* v___x_8270_; lean_object* v___x_8271_; lean_object* v___x_8272_; lean_object* v___x_8273_; lean_object* v___x_8274_; lean_object* v___x_8275_; lean_object* v___x_8276_; lean_object* v___x_8277_; lean_object* v___x_8278_; lean_object* v___x_8279_; lean_object* v___x_8280_; lean_object* v___x_8281_; lean_object* v___x_8282_; lean_object* v___x_8283_; lean_object* v___x_8284_; lean_object* v___x_8285_; lean_object* v___x_8286_; lean_object* v___x_8287_; lean_object* v___x_8288_; lean_object* v___x_8289_; lean_object* v___x_8290_;
|
||||
v_quotContext_8252_ = lean_ctor_get(v_a_8246_, 1);
|
||||
v_currMacroScope_8253_ = lean_ctor_get(v_a_8246_, 2);
|
||||
v_ref_8254_ = lean_ctor_get(v_a_8246_, 5);
|
||||
v___x_8255_ = lean_unsigned_to_nat(1u);
|
||||
v___x_8256_ = l_Lean_Syntax_getArg(v_x_8245_, v___x_8255_);
|
||||
lean_dec(v_x_8245_);
|
||||
v_fs_8257_ = l_Lean_Syntax_getArgs(v___x_8256_);
|
||||
lean_dec(v___x_8256_);
|
||||
v___x_8258_ = 0;
|
||||
v___x_8259_ = l_Lean_SourceInfo_fromRef(v_ref_8254_, v___x_8258_);
|
||||
v___x_8260_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__1));
|
||||
v___x_8261_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__2));
|
||||
lean_inc_n(v___x_8259_, 13);
|
||||
v___x_8262_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8262_, 0, v___x_8259_);
|
||||
lean_ctor_set(v___x_8262_, 1, v___x_8260_);
|
||||
v___x_8263_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__3));
|
||||
v___x_8264_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8264_, 0, v___x_8259_);
|
||||
lean_ctor_set(v___x_8264_, 1, v___x_8263_);
|
||||
v___x_8265_ = ((lean_object*)(l___aux__Init__Notation______macroRules__stx___x2b__1___closed__6));
|
||||
v___x_8266_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__5));
|
||||
v___x_8267_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__7));
|
||||
v___x_8268_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__8));
|
||||
v___x_8269_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__9));
|
||||
v___x_8270_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8270_, 0, v___x_8259_);
|
||||
lean_ctor_set(v___x_8270_, 1, v___x_8268_);
|
||||
v___x_8271_ = l_Lean_Syntax_node1(v___x_8259_, v___x_8269_, v___x_8270_);
|
||||
v___x_8272_ = l_Lean_Syntax_node1(v___x_8259_, v___x_8265_, v___x_8271_);
|
||||
v___x_8273_ = l_Lean_Syntax_node1(v___x_8259_, v___x_8267_, v___x_8272_);
|
||||
v___x_8274_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__11));
|
||||
v___x_8275_ = lean_obj_once(&l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__1, &l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__1_once, _init_l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__1);
|
||||
v___x_8276_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__2));
|
||||
lean_inc(v_currMacroScope_8253_);
|
||||
lean_inc(v_quotContext_8252_);
|
||||
v___x_8277_ = l_Lean_addMacroScope(v_quotContext_8252_, v___x_8276_, v_currMacroScope_8253_);
|
||||
v___x_8278_ = lean_box(0);
|
||||
v___x_8279_ = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(v___x_8279_, 0, v___x_8259_);
|
||||
lean_ctor_set(v___x_8279_, 1, v___x_8275_);
|
||||
lean_ctor_set(v___x_8279_, 2, v___x_8277_);
|
||||
lean_ctor_set(v___x_8279_, 3, v___x_8278_);
|
||||
v___x_8280_ = lean_obj_once(&l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9, &l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9_once, _init_l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9);
|
||||
v___x_8281_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8281_, 0, v___x_8259_);
|
||||
lean_ctor_set(v___x_8281_, 1, v___x_8265_);
|
||||
lean_ctor_set(v___x_8281_, 2, v___x_8280_);
|
||||
v___x_8282_ = l_Lean_Syntax_node2(v___x_8259_, v___x_8274_, v___x_8279_, v___x_8281_);
|
||||
v___x_8283_ = l_Lean_Syntax_node2(v___x_8259_, v___x_8266_, v___x_8273_, v___x_8282_);
|
||||
v___x_8284_ = l_Lean_Syntax_node1(v___x_8259_, v___x_8265_, v___x_8283_);
|
||||
v___x_8285_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__15));
|
||||
v___x_8286_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8286_, 0, v___x_8259_);
|
||||
lean_ctor_set(v___x_8286_, 1, v___x_8285_);
|
||||
v___x_8287_ = l_Array_appendCore___redArg(v___x_8280_, v_fs_8257_);
|
||||
lean_dec_ref(v_fs_8257_);
|
||||
v___x_8288_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8288_, 0, v___x_8259_);
|
||||
lean_ctor_set(v___x_8288_, 1, v___x_8265_);
|
||||
lean_ctor_set(v___x_8288_, 2, v___x_8287_);
|
||||
v___x_8289_ = l_Lean_Syntax_node5(v___x_8259_, v___x_8261_, v___x_8262_, v___x_8264_, v___x_8284_, v___x_8286_, v___x_8288_);
|
||||
v___x_8290_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_8290_, 0, v___x_8289_);
|
||||
lean_ctor_set(v___x_8290_, 1, v_a_8247_);
|
||||
return v___x_8290_;
|
||||
lean_object* v_quotContext_8242_; lean_object* v_currMacroScope_8243_; lean_object* v_ref_8244_; lean_object* v___x_8245_; lean_object* v___x_8246_; lean_object* v_fs_8247_; uint8_t v___x_8248_; lean_object* v___x_8249_; lean_object* v___x_8250_; lean_object* v___x_8251_; lean_object* v___x_8252_; lean_object* v___x_8253_; lean_object* v___x_8254_; lean_object* v___x_8255_; lean_object* v___x_8256_; lean_object* v___x_8257_; lean_object* v___x_8258_; lean_object* v___x_8259_; lean_object* v___x_8260_; lean_object* v___x_8261_; lean_object* v___x_8262_; lean_object* v___x_8263_; lean_object* v___x_8264_; lean_object* v___x_8265_; lean_object* v___x_8266_; lean_object* v___x_8267_; lean_object* v___x_8268_; lean_object* v___x_8269_; lean_object* v___x_8270_; lean_object* v___x_8271_; lean_object* v___x_8272_; lean_object* v___x_8273_; lean_object* v___x_8274_; lean_object* v___x_8275_; lean_object* v___x_8276_; lean_object* v___x_8277_; lean_object* v___x_8278_; lean_object* v___x_8279_; lean_object* v___x_8280_;
|
||||
v_quotContext_8242_ = lean_ctor_get(v_a_8236_, 1);
|
||||
v_currMacroScope_8243_ = lean_ctor_get(v_a_8236_, 2);
|
||||
v_ref_8244_ = lean_ctor_get(v_a_8236_, 5);
|
||||
v___x_8245_ = lean_unsigned_to_nat(1u);
|
||||
v___x_8246_ = l_Lean_Syntax_getArg(v_x_8235_, v___x_8245_);
|
||||
lean_dec(v_x_8235_);
|
||||
v_fs_8247_ = l_Lean_Syntax_getArgs(v___x_8246_);
|
||||
lean_dec(v___x_8246_);
|
||||
v___x_8248_ = 0;
|
||||
v___x_8249_ = l_Lean_SourceInfo_fromRef(v_ref_8244_, v___x_8248_);
|
||||
v___x_8250_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__1));
|
||||
v___x_8251_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__2));
|
||||
lean_inc_n(v___x_8249_, 13);
|
||||
v___x_8252_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8252_, 0, v___x_8249_);
|
||||
lean_ctor_set(v___x_8252_, 1, v___x_8250_);
|
||||
v___x_8253_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__3));
|
||||
v___x_8254_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8254_, 0, v___x_8249_);
|
||||
lean_ctor_set(v___x_8254_, 1, v___x_8253_);
|
||||
v___x_8255_ = ((lean_object*)(l___aux__Init__Notation______macroRules__stx___x2b__1___closed__6));
|
||||
v___x_8256_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__5));
|
||||
v___x_8257_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__7));
|
||||
v___x_8258_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__8));
|
||||
v___x_8259_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__9));
|
||||
v___x_8260_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8260_, 0, v___x_8249_);
|
||||
lean_ctor_set(v___x_8260_, 1, v___x_8258_);
|
||||
v___x_8261_ = l_Lean_Syntax_node1(v___x_8249_, v___x_8259_, v___x_8260_);
|
||||
v___x_8262_ = l_Lean_Syntax_node1(v___x_8249_, v___x_8255_, v___x_8261_);
|
||||
v___x_8263_ = l_Lean_Syntax_node1(v___x_8249_, v___x_8257_, v___x_8262_);
|
||||
v___x_8264_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__11));
|
||||
v___x_8265_ = lean_obj_once(&l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__1, &l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__1_once, _init_l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__1);
|
||||
v___x_8266_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___closed__2));
|
||||
lean_inc(v_currMacroScope_8243_);
|
||||
lean_inc(v_quotContext_8242_);
|
||||
v___x_8267_ = l_Lean_addMacroScope(v_quotContext_8242_, v___x_8266_, v_currMacroScope_8243_);
|
||||
v___x_8268_ = lean_box(0);
|
||||
v___x_8269_ = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(v___x_8269_, 0, v___x_8249_);
|
||||
lean_ctor_set(v___x_8269_, 1, v___x_8265_);
|
||||
lean_ctor_set(v___x_8269_, 2, v___x_8267_);
|
||||
lean_ctor_set(v___x_8269_, 3, v___x_8268_);
|
||||
v___x_8270_ = lean_obj_once(&l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9, &l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9_once, _init_l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__9);
|
||||
v___x_8271_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8271_, 0, v___x_8249_);
|
||||
lean_ctor_set(v___x_8271_, 1, v___x_8255_);
|
||||
lean_ctor_set(v___x_8271_, 2, v___x_8270_);
|
||||
v___x_8272_ = l_Lean_Syntax_node2(v___x_8249_, v___x_8264_, v___x_8269_, v___x_8271_);
|
||||
v___x_8273_ = l_Lean_Syntax_node2(v___x_8249_, v___x_8256_, v___x_8263_, v___x_8272_);
|
||||
v___x_8274_ = l_Lean_Syntax_node1(v___x_8249_, v___x_8255_, v___x_8273_);
|
||||
v___x_8275_ = ((lean_object*)(l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandSeal______1___closed__15));
|
||||
v___x_8276_ = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(v___x_8276_, 0, v___x_8249_);
|
||||
lean_ctor_set(v___x_8276_, 1, v___x_8275_);
|
||||
v___x_8277_ = l_Array_appendCore___redArg(v___x_8270_, v_fs_8247_);
|
||||
lean_dec_ref(v_fs_8247_);
|
||||
v___x_8278_ = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(v___x_8278_, 0, v___x_8249_);
|
||||
lean_ctor_set(v___x_8278_, 1, v___x_8255_);
|
||||
lean_ctor_set(v___x_8278_, 2, v___x_8277_);
|
||||
v___x_8279_ = l_Lean_Syntax_node5(v___x_8249_, v___x_8251_, v___x_8252_, v___x_8254_, v___x_8274_, v___x_8276_, v___x_8278_);
|
||||
v___x_8280_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_8280_, 0, v___x_8279_);
|
||||
lean_ctor_set(v___x_8280_, 1, v_a_8237_);
|
||||
return v___x_8280_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___boxed(lean_object* v_x_8291_, lean_object* v_a_8292_, lean_object* v_a_8293_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1___boxed(lean_object* v_x_8281_, lean_object* v_a_8282_, lean_object* v_a_8283_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_8294_;
|
||||
v_res_8294_ = l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1(v_x_8291_, v_a_8292_, v_a_8293_);
|
||||
lean_dec_ref(v_a_8292_);
|
||||
return v_res_8294_;
|
||||
lean_object* v_res_8284_;
|
||||
v_res_8284_ = l_Lean_Parser___aux__Init__Notation______macroRules__Lean__Parser__commandUnseal______1(v_x_8281_, v_a_8282_, v_a_8283_);
|
||||
lean_dec_ref(v_a_8282_);
|
||||
return v_res_8284_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Init_Coe(uint8_t builtin);
|
||||
|
|
|
|||
20965
stage0/stdlib/Lean/Data/Lsp/Ipc.c
generated
20965
stage0/stdlib/Lean/Data/Lsp/Ipc.c
generated
File diff suppressed because it is too large
Load diff
18
stage0/stdlib/Lean/Elab.c
generated
18
stage0/stdlib/Lean/Elab.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab
|
||||
// Imports: public import Lean.Elab.Import public import Lean.Elab.Exception public import Lean.Elab.Config public import Lean.Elab.Command public import Lean.Elab.Term public import Lean.Elab.App public import Lean.Elab.Binders public import Lean.Elab.BinderPredicates public import Lean.Elab.LetRec public import Lean.Elab.Frontend public import Lean.Elab.BuiltinNotation public import Lean.Elab.Declaration public import Lean.Elab.Tactic public import Lean.Elab.Match public import Lean.Elab.Quotation public import Lean.Elab.Syntax public import Lean.Elab.Do public import Lean.Elab.StructInst public import Lean.Elab.StructInstHint public import Lean.Elab.MutualInductive public import Lean.Elab.Inductive public import Lean.Elab.Structure public import Lean.Elab.Print public import Lean.Elab.MutualDef public import Lean.Elab.AuxDef public import Lean.Elab.PreDefinition public import Lean.Elab.Deriving public import Lean.Elab.DeclarationRange public import Lean.Elab.Extra public import Lean.Elab.GenInjective public import Lean.Elab.BuiltinTerm public import Lean.Elab.Arg public import Lean.Elab.DeprecatedArg public import Lean.Elab.PatternVar public import Lean.Elab.ElabRules public import Lean.Elab.Macro public import Lean.Elab.Notation public import Lean.Elab.Mixfix public import Lean.Elab.MacroRules public import Lean.Elab.BuiltinCommand public import Lean.Elab.AssertExists public import Lean.Elab.Command.WithWeakNamespace public import Lean.Elab.BuiltinEvalCommand public import Lean.Elab.RecAppSyntax public import Lean.Elab.Eval public import Lean.Elab.Calc public import Lean.Elab.InheritDoc public import Lean.Elab.ParseImportsFast public import Lean.Elab.GuardMsgs public import Lean.Elab.CheckTactic public import Lean.Elab.MatchExpr public import Lean.Elab.Tactic.Doc public import Lean.Elab.Time public import Lean.Elab.RecommendedSpelling public import Lean.Elab.InfoTrees public import Lean.Elab.ErrorExplanation public import Lean.Elab.DocString public import Lean.Elab.DocString.Builtin public import Lean.Elab.Parallel public import Lean.Elab.BuiltinDo public import Lean.Elab.Idbg
|
||||
// Imports: public import Lean.Elab.Import public import Lean.Elab.Exception public import Lean.Elab.Config public import Lean.Elab.Command public import Lean.Elab.Term public import Lean.Elab.App public import Lean.Elab.Binders public import Lean.Elab.BinderPredicates public import Lean.Elab.LetRec public import Lean.Elab.Frontend public import Lean.Elab.BuiltinNotation public import Lean.Elab.Declaration public import Lean.Elab.Tactic public import Lean.Elab.Match public import Lean.Elab.Quotation public import Lean.Elab.Syntax public import Lean.Elab.Do public import Lean.Elab.StructInst public import Lean.Elab.StructInstHint public import Lean.Elab.MutualInductive public import Lean.Elab.Inductive public import Lean.Elab.Structure public import Lean.Elab.Print public import Lean.Elab.MutualDef public import Lean.Elab.AuxDef public import Lean.Elab.PreDefinition public import Lean.Elab.Deriving public import Lean.Elab.DeclarationRange public import Lean.Elab.Extra public import Lean.Elab.GenInjective public import Lean.Elab.BuiltinTerm public import Lean.Elab.Arg public import Lean.Elab.DeprecatedArg public import Lean.Elab.PatternVar public import Lean.Elab.ElabRules public import Lean.Elab.Macro public import Lean.Elab.Notation public import Lean.Elab.Mixfix public import Lean.Elab.MacroRules public import Lean.Elab.BuiltinCommand public import Lean.Elab.AssertExists public import Lean.Elab.Command.WithWeakNamespace public import Lean.Elab.BuiltinEvalCommand public import Lean.Elab.RecAppSyntax public import Lean.Elab.Eval public import Lean.Elab.Calc public import Lean.Elab.InheritDoc public import Lean.Elab.ParseImportsFast public import Lean.Elab.GuardMsgs public import Lean.Elab.CheckTactic public import Lean.Elab.MatchExpr public import Lean.Elab.Tactic.Doc public import Lean.Elab.Time public import Lean.Elab.RecommendedSpelling public import Lean.Elab.InfoTrees public import Lean.Elab.ErrorExplanation public import Lean.Elab.DocString public import Lean.Elab.DocString.Builtin public import Lean.Elab.Parallel public import Lean.Elab.BuiltinDo public import Lean.Elab.Idbg public import Lean.Elab.ConfigEval public import Lean.Elab.Tactic.Config
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -74,6 +74,8 @@ lean_object* runtime_initialize_Lean_Elab_DocString_Builtin(uint8_t builtin);
|
|||
lean_object* runtime_initialize_Lean_Elab_Parallel(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_BuiltinDo(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Idbg(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_ConfigEval(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Config(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -262,6 +264,12 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Lean_Elab_Idbg(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Tactic_Config(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
|
|
@ -332,6 +340,8 @@ lean_object* initialize_Lean_Elab_DocString_Builtin(uint8_t builtin);
|
|||
lean_object* initialize_Lean_Elab_Parallel(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_BuiltinDo(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Idbg(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_ConfigEval(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Tactic_Config(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -520,6 +530,12 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Elab_Idbg(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_ConfigEval(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Tactic_Config(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Binders.c
generated
10
stage0/stdlib/Lean/Elab/Binders.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.Binders
|
||||
// Imports: public import Lean.Elab.Match import Lean.Linter.Basic
|
||||
// Imports: public import Lean.Elab.Match import Lean.Linter.Init
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -28661,7 +28661,7 @@ return v_res_11182_;
|
|||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Match(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_Binders(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -28670,7 +28670,7 @@ _G_runtime_initialized = true;
|
|||
res = runtime_initialize_Lean_Elab_Match(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_initFn_00___x40_Lean_Elab_Binders_2819082416____hygCtx___hyg_4_();
|
||||
|
|
@ -28775,7 +28775,7 @@ _G_meta_initialized = true;
|
|||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Elab_Match(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab_Binders(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -28784,7 +28784,7 @@ _G_initialized = true;
|
|||
res = initialize_Lean_Elab_Match(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Binders(builtin);
|
||||
|
|
|
|||
27043
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
27043
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
File diff suppressed because it is too large
Load diff
34855
stage0/stdlib/Lean/Elab/BuiltinTerm.c
generated
34855
stage0/stdlib/Lean/Elab/BuiltinTerm.c
generated
File diff suppressed because it is too large
Load diff
1797
stage0/stdlib/Lean/Elab/Command.c
generated
1797
stage0/stdlib/Lean/Elab/Command.c
generated
File diff suppressed because it is too large
Load diff
93
stage0/stdlib/Lean/Elab/ConfigEval.c
generated
Normal file
93
stage0/stdlib/Lean/Elab/ConfigEval.c
generated
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.ConfigEval
|
||||
// Imports: public import Lean.Elab.ConfigEval.Types public import Lean.Elab.ConfigEval.Basic public import Lean.Elab.ConfigEval.Commands public import Lean.Elab.ConfigEval.Instances public import Lean.Elab.ConfigEval.MetaInstances public import Lean.Elab.ConfigEval.Extra
|
||||
#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* runtime_initialize_Lean_Elab_ConfigEval_Types(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_ConfigEval_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_ConfigEval_Commands(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_ConfigEval_Instances(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_ConfigEval_MetaInstances(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_ConfigEval_Extra(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_ConfigEval(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval_Types(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval_Commands(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval_Instances(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval_MetaInstances(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval_Extra(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Lean_Elab_ConfigEval(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Elab_ConfigEval_Types(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_ConfigEval_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_ConfigEval_Commands(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_ConfigEval_Instances(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_ConfigEval_MetaInstances(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_ConfigEval_Extra(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab_ConfigEval(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Lean_Elab_ConfigEval_Types(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_ConfigEval_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_ConfigEval_Commands(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_ConfigEval_Instances(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_ConfigEval_MetaInstances(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_ConfigEval_Extra(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Lean_Elab_ConfigEval(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Lean_Elab_ConfigEval(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
11590
stage0/stdlib/Lean/Elab/ConfigEval/Basic.c
generated
Normal file
11590
stage0/stdlib/Lean/Elab/ConfigEval/Basic.c
generated
Normal file
File diff suppressed because it is too large
Load diff
8771
stage0/stdlib/Lean/Elab/ConfigEval/Commands.c
generated
Normal file
8771
stage0/stdlib/Lean/Elab/ConfigEval/Commands.c
generated
Normal file
File diff suppressed because it is too large
Load diff
31783
stage0/stdlib/Lean/Elab/ConfigEval/DeriveEvalConfigItem.c
generated
Normal file
31783
stage0/stdlib/Lean/Elab/ConfigEval/DeriveEvalConfigItem.c
generated
Normal file
File diff suppressed because it is too large
Load diff
10441
stage0/stdlib/Lean/Elab/ConfigEval/DeriveEvalExpr.c
generated
Normal file
10441
stage0/stdlib/Lean/Elab/ConfigEval/DeriveEvalExpr.c
generated
Normal file
File diff suppressed because it is too large
Load diff
9712
stage0/stdlib/Lean/Elab/ConfigEval/DeriveEvalTerm.c
generated
Normal file
9712
stage0/stdlib/Lean/Elab/ConfigEval/DeriveEvalTerm.c
generated
Normal file
File diff suppressed because it is too large
Load diff
1557
stage0/stdlib/Lean/Elab/ConfigEval/Extra.c
generated
Normal file
1557
stage0/stdlib/Lean/Elab/ConfigEval/Extra.c
generated
Normal file
File diff suppressed because it is too large
Load diff
13273
stage0/stdlib/Lean/Elab/ConfigEval/Instances.c
generated
Normal file
13273
stage0/stdlib/Lean/Elab/ConfigEval/Instances.c
generated
Normal file
File diff suppressed because it is too large
Load diff
3983
stage0/stdlib/Lean/Elab/ConfigEval/MetaInstances.c
generated
Normal file
3983
stage0/stdlib/Lean/Elab/ConfigEval/MetaInstances.c
generated
Normal file
File diff suppressed because it is too large
Load diff
131
stage0/stdlib/Lean/Elab/ConfigEval/Types.c
generated
Normal file
131
stage0/stdlib/Lean/Elab/ConfigEval/Types.c
generated
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.ConfigEval.Types
|
||||
// Imports: public import Lean.Elab.Term.TermElabM public import Lean.Parser.Term
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_registerInternalExceptionId(lean_object*);
|
||||
static const lean_string_object l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__0_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "ConfigEval"};
|
||||
static const lean_object* l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__0_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_ = (const lean_object*)&l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__0_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value;
|
||||
static const lean_string_object l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__1_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 16, .m_capacity = 16, .m_length = 15, .m_data = "unsupportedExpr"};
|
||||
static const lean_object* l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__1_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_ = (const lean_object*)&l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__1_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value;
|
||||
static const lean_ctor_object l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__2_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__0_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value),LEAN_SCALAR_PTR_LITERAL(102, 213, 240, 228, 24, 48, 9, 246)}};
|
||||
static const lean_ctor_object l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__2_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__2_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value_aux_0),((lean_object*)&l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__1_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value),LEAN_SCALAR_PTR_LITERAL(157, 190, 31, 216, 114, 249, 61, 169)}};
|
||||
static const lean_object* l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__2_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_ = (const lean_object*)&l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__2_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2__value;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_();
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2____boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ConfigEval_unsupportedExprExceptionId;
|
||||
static lean_once_cell_t l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ConfigEval_throwUnsupportedExpr(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_7_; lean_object* v___x_8_;
|
||||
v___x_7_ = ((lean_object*)(l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn___closed__2_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_));
|
||||
v___x_8_ = l_Lean_registerInternalExceptionId(v___x_7_);
|
||||
return v___x_8_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2____boxed(lean_object* v_a_9_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_10_;
|
||||
v_res_10_ = l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_();
|
||||
return v_res_10_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_11_; lean_object* v___x_12_; lean_object* v___x_13_;
|
||||
v___x_11_ = lean_box(0);
|
||||
v___x_12_ = l_Lean_Elab_ConfigEval_unsupportedExprExceptionId;
|
||||
v___x_13_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_13_, 0, v___x_12_);
|
||||
lean_ctor_set(v___x_13_, 1, v___x_11_);
|
||||
return v___x_13_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg(lean_object* v_inst_14_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_throw_15_; lean_object* v___x_16_; lean_object* v___x_17_;
|
||||
v_throw_15_ = lean_ctor_get(v_inst_14_, 0);
|
||||
lean_inc(v_throw_15_);
|
||||
lean_dec_ref(v_inst_14_);
|
||||
v___x_16_ = lean_obj_once(&l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg___closed__0, &l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg___closed__0_once, _init_l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg___closed__0);
|
||||
v___x_17_ = lean_apply_2(v_throw_15_, lean_box(0), v___x_16_);
|
||||
return v___x_17_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_ConfigEval_throwUnsupportedExpr(lean_object* v_m_18_, lean_object* v_00_u03b1_19_, lean_object* v_inst_20_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_21_;
|
||||
v___x_21_ = l_Lean_Elab_ConfigEval_throwUnsupportedExpr___redArg(v_inst_20_);
|
||||
return v___x_21_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Term_TermElabM(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Parser_Term(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_ConfigEval_Types(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Lean_Elab_Term_TermElabM(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Parser_Term(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = l___private_Lean_Elab_ConfigEval_Types_0__Lean_Elab_ConfigEval_initFn_00___x40_Lean_Elab_ConfigEval_Types_3111895740____hygCtx___hyg_2_();
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_Elab_ConfigEval_unsupportedExprExceptionId = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_Elab_ConfigEval_unsupportedExprExceptionId);
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Lean_Elab_ConfigEval_Types(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Elab_Term_TermElabM(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Parser_Term(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab_ConfigEval_Types(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Lean_Elab_Term_TermElabM(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Parser_Term(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_ConfigEval_Types(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = meta_initialize_Lean_Elab_ConfigEval_Types(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return initialize_Lean_Elab_ConfigEval_Types(builtin);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
9003
stage0/stdlib/Lean/Elab/ConfigEval/Util.c
generated
Normal file
9003
stage0/stdlib/Lean/Elab/ConfigEval/Util.c
generated
Normal file
File diff suppressed because it is too large
Load diff
10
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
10
stage0/stdlib/Lean/Elab/DeclModifiers.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.DeclModifiers
|
||||
// Imports: public import Lean.DocString.Add public import Lean.Linter.Basic import Lean.Linter.EnvLinter.Nolint meta import Lean.Parser.Command
|
||||
// Imports: public import Lean.DocString.Add public import Lean.Linter.Init import Lean.Linter.EnvLinter.Nolint meta import Lean.Parser.Command
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -9971,7 +9971,7 @@ return v___x_3789_;
|
|||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_DocString_Add(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_EnvLinter_Nolint(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_DeclModifiers(uint8_t builtin) {
|
||||
|
|
@ -9981,7 +9981,7 @@ _G_runtime_initialized = true;
|
|||
res = runtime_initialize_Lean_DocString_Add(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_EnvLinter_Nolint(builtin);
|
||||
|
|
@ -10012,7 +10012,7 @@ lean_dec_ref(res);
|
|||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_DocString_Add(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_EnvLinter_Nolint(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Parser_Command(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
|
|
@ -10023,7 +10023,7 @@ _G_initialized = true;
|
|||
res = initialize_Lean_DocString_Add(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_EnvLinter_Nolint(builtin);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/DeprecatedSyntax.c
generated
10
stage0/stdlib/Lean/Elab/DeprecatedSyntax.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.DeprecatedSyntax
|
||||
// Imports: public import Lean.MonadEnv public import Lean.Linter.Basic public import Lean.Elab.Util
|
||||
// Imports: public import Lean.MonadEnv public import Lean.Linter.Init public import Lean.Elab.Util
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -962,7 +962,7 @@ return v_res_324_;
|
|||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_MonadEnv(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Util(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_DeprecatedSyntax(uint8_t builtin) {
|
||||
|
|
@ -972,7 +972,7 @@ _G_runtime_initialized = true;
|
|||
res = runtime_initialize_Lean_MonadEnv(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Util(builtin);
|
||||
|
|
@ -998,7 +998,7 @@ _G_meta_initialized = true;
|
|||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_MonadEnv(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Util(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab_DeprecatedSyntax(uint8_t builtin) {
|
||||
|
|
@ -1008,7 +1008,7 @@ _G_initialized = true;
|
|||
res = initialize_Lean_MonadEnv(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Util(builtin);
|
||||
|
|
|
|||
3892
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
3892
stage0/stdlib/Lean/Elab/Deriving/DecEq.c
generated
File diff suppressed because one or more lines are too long
9927
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
9927
stage0/stdlib/Lean/Elab/Deriving/Inhabited.c
generated
File diff suppressed because it is too large
Load diff
68441
stage0/stdlib/Lean/Elab/MutualDef.c
generated
68441
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
28265
stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c
generated
28265
stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c
generated
File diff suppressed because it is too large
Load diff
13077
stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c
generated
13077
stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c
generated
File diff suppressed because it is too large
Load diff
12590
stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c
generated
12590
stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c
generated
File diff suppressed because it is too large
Load diff
19060
stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c
generated
19060
stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c
generated
File diff suppressed because it is too large
Load diff
2166
stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c
generated
2166
stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c
generated
File diff suppressed because it is too large
Load diff
3568
stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c
generated
3568
stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c
generated
File diff suppressed because it is too large
Load diff
15955
stage0/stdlib/Lean/Elab/PreDefinition/WF/Preprocess.c
generated
15955
stage0/stdlib/Lean/Elab/PreDefinition/WF/Preprocess.c
generated
File diff suppressed because it is too large
Load diff
5157
stage0/stdlib/Lean/Elab/PreDefinition/WF/Unfold.c
generated
5157
stage0/stdlib/Lean/Elab/PreDefinition/WF/Unfold.c
generated
File diff suppressed because it is too large
Load diff
666
stage0/stdlib/Lean/Elab/SetOption.c
generated
666
stage0/stdlib/Lean/Elab/SetOption.c
generated
|
|
@ -17,12 +17,20 @@ lean_object* l_Lean_stringToMessageData(lean_object*);
|
|||
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr1(lean_object*);
|
||||
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofSyntax(lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofName(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_KVMap_instValueDataValue;
|
||||
uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
lean_object* l_Lean_indentD(lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofName(lean_object*);
|
||||
lean_object* l_Lean_indentExpr(lean_object*);
|
||||
lean_object* l_Lean_throwError___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_String_quote(lean_object*);
|
||||
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
|
||||
lean_object* l_Nat_reprFast(lean_object*);
|
||||
|
|
@ -31,21 +39,13 @@ lean_object* l_Lean_Syntax_formatStx(lean_object*, lean_object*, uint8_t);
|
|||
extern lean_object* l_Lean_instInhabitedExpr;
|
||||
lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___redArg(lean_object*, lean_object*);
|
||||
uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*);
|
||||
lean_object* lean_register_option(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofSyntax(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*);
|
||||
lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*);
|
||||
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_KVMap_instValueDataValue;
|
||||
lean_object* l_Lean_Options_set___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_pushInfoLeaf___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getId(lean_object*);
|
||||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
lean_object* l_Lean_getOptionDecl___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_IO_toEIO___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_register_option(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_io_error_to_string(lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Subarray_copy___redArg(lean_object*);
|
||||
|
|
@ -178,13 +178,18 @@ static lean_once_cell_t l_Lean_Elab_elabSetOption___redArg___lam__1___closed__3_
|
|||
static lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1___closed__3;
|
||||
static lean_once_cell_t l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__2(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_elabSetOption___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__4(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_elabSetOption___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__2(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static const lean_string_object l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 22, .m_capacity = 22, .m_length = 21, .m_data = "` has been deprecated"};
|
||||
static const lean_object* l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__0 = (const lean_object*)&l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__0_value;
|
||||
static lean_once_cell_t l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -1029,7 +1034,7 @@ v___x_328_ = l_Lean_stringToMessageData(v___x_327_);
|
|||
return v___x_328_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1(lean_object* v_val_329_, lean_object* v_defValue_330_, lean_object* v_inst_331_, lean_object* v_inst_332_, lean_object* v_optionName_333_, lean_object* v_inst_334_, lean_object* v_decl_335_, lean_object* v_____r_336_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1(lean_object* v_val_329_, lean_object* v_decl_330_, lean_object* v_inst_331_, lean_object* v_inst_332_, lean_object* v_optionName_333_, lean_object* v_inst_334_, lean_object* v_____r_335_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_351_;
|
||||
|
|
@ -1053,9 +1058,8 @@ v___x_356_ = ((lean_object*)(l___private_Lean_Elab_SetOption_0__Lean_Elab_valida
|
|||
v___x_357_ = lean_string_dec_eq(v_val_353_, v___x_356_);
|
||||
if (v___x_357_ == 0)
|
||||
{
|
||||
lean_dec_ref(v_decl_335_);
|
||||
lean_dec(v_inst_334_);
|
||||
goto v___jp_337_;
|
||||
goto v___jp_336_;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1063,7 +1067,7 @@ lean_object* v___x_358_; lean_object* v___x_359_;
|
|||
lean_dec_ref(v_val_329_);
|
||||
v___x_358_ = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(v___x_358_, 0, v___x_355_);
|
||||
v___x_359_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_335_, v___x_358_);
|
||||
v___x_359_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_330_, v___x_358_);
|
||||
return v___x_359_;
|
||||
}
|
||||
}
|
||||
|
|
@ -1073,15 +1077,14 @@ lean_object* v___x_360_; lean_object* v___x_361_;
|
|||
lean_dec_ref(v_val_329_);
|
||||
v___x_360_ = lean_alloc_ctor(1, 0, 1);
|
||||
lean_ctor_set_uint8(v___x_360_, 0, v___x_355_);
|
||||
v___x_361_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_335_, v___x_360_);
|
||||
v___x_361_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_330_, v___x_360_);
|
||||
return v___x_361_;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_decl_335_);
|
||||
lean_dec(v_inst_334_);
|
||||
goto v___jp_337_;
|
||||
goto v___jp_336_;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -1124,7 +1127,7 @@ goto v_reusejp_366_;
|
|||
v_reusejp_366_:
|
||||
{
|
||||
lean_object* v___x_368_;
|
||||
v___x_368_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_335_, v___x_367_);
|
||||
v___x_368_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_330_, v___x_367_);
|
||||
return v___x_368_;
|
||||
}
|
||||
}
|
||||
|
|
@ -1170,15 +1173,19 @@ goto v_reusejp_375_;
|
|||
v_reusejp_375_:
|
||||
{
|
||||
lean_object* v___x_377_;
|
||||
v___x_377_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_335_, v___x_376_);
|
||||
v___x_377_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_elabSetOption_setOption___redArg(v_inst_331_, v_inst_334_, v_inst_332_, v_optionName_333_, v_decl_330_, v___x_376_);
|
||||
return v___x_377_;
|
||||
}
|
||||
}
|
||||
}
|
||||
v___jp_337_:
|
||||
v___jp_336_:
|
||||
{
|
||||
lean_object* v___x_338_;
|
||||
v___x_338_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(v_defValue_330_);
|
||||
lean_object* v_defValue_337_; lean_object* v___x_338_;
|
||||
v_defValue_337_ = lean_ctor_get(v_decl_330_, 2);
|
||||
lean_inc_ref(v_defValue_337_);
|
||||
lean_dec_ref(v_decl_330_);
|
||||
v___x_338_ = l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(v_defValue_337_);
|
||||
lean_dec_ref(v_defValue_337_);
|
||||
if (lean_obj_tag(v___x_338_) == 1)
|
||||
{
|
||||
lean_object* v_val_339_; lean_object* v___x_340_; lean_object* v___x_341_; lean_object* v___x_342_; lean_object* v___x_343_; lean_object* v___x_344_; lean_object* v___x_345_; lean_object* v___x_346_; lean_object* v___x_347_; lean_object* v___x_348_; lean_object* v___x_349_;
|
||||
|
|
@ -1217,337 +1224,436 @@ return v___x_350_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__1___boxed(lean_object* v_val_380_, lean_object* v_defValue_381_, lean_object* v_inst_382_, lean_object* v_inst_383_, lean_object* v_optionName_384_, lean_object* v_inst_385_, lean_object* v_decl_386_, lean_object* v_____r_387_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__2(lean_object* v___f_380_, lean_object* v_____r_381_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_388_;
|
||||
v_res_388_ = l_Lean_Elab_elabSetOption___redArg___lam__1(v_val_380_, v_defValue_381_, v_inst_382_, v_inst_383_, v_optionName_384_, v_inst_385_, v_decl_386_, v_____r_387_);
|
||||
lean_dec_ref(v_defValue_381_);
|
||||
return v_res_388_;
|
||||
lean_object* v___x_382_;
|
||||
v___x_382_ = lean_apply_1(v___f_380_, v_____r_381_);
|
||||
return v___x_382_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__2(lean_object* v_val_389_, lean_object* v_inst_390_, lean_object* v_inst_391_, lean_object* v_optionName_392_, lean_object* v_inst_393_, lean_object* v_id_394_, lean_object* v_inst_395_, lean_object* v_toBind_396_, lean_object* v_decl_397_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__3(lean_object* v_val_383_, lean_object* v_inst_384_, lean_object* v_inst_385_, lean_object* v_optionName_386_, lean_object* v_inst_387_, uint8_t v_addInfo_388_, lean_object* v_id_389_, lean_object* v_inst_390_, lean_object* v_toBind_391_, lean_object* v_decl_392_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_declName_398_; lean_object* v_defValue_399_; lean_object* v___f_400_; lean_object* v___x_401_; lean_object* v___x_402_; lean_object* v___x_403_; lean_object* v___x_404_;
|
||||
v_declName_398_ = lean_ctor_get(v_decl_397_, 1);
|
||||
lean_inc(v_declName_398_);
|
||||
v_defValue_399_ = lean_ctor_get(v_decl_397_, 2);
|
||||
lean_inc_ref(v_defValue_399_);
|
||||
lean_inc(v_optionName_392_);
|
||||
lean_inc_ref(v_inst_390_);
|
||||
v___f_400_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__1___boxed), 8, 7);
|
||||
lean_closure_set(v___f_400_, 0, v_val_389_);
|
||||
lean_closure_set(v___f_400_, 1, v_defValue_399_);
|
||||
lean_closure_set(v___f_400_, 2, v_inst_390_);
|
||||
lean_closure_set(v___f_400_, 3, v_inst_391_);
|
||||
lean_closure_set(v___f_400_, 4, v_optionName_392_);
|
||||
lean_closure_set(v___f_400_, 5, v_inst_393_);
|
||||
lean_closure_set(v___f_400_, 6, v_decl_397_);
|
||||
v___x_401_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_401_, 0, v_id_394_);
|
||||
lean_ctor_set(v___x_401_, 1, v_optionName_392_);
|
||||
lean_ctor_set(v___x_401_, 2, v_declName_398_);
|
||||
v___x_402_ = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(v___x_402_, 0, v___x_401_);
|
||||
v___x_403_ = l_Lean_Elab_pushInfoLeaf___redArg(v_inst_390_, v_inst_395_, v___x_402_);
|
||||
v___x_404_ = lean_apply_4(v_toBind_396_, lean_box(0), lean_box(0), v___x_403_, v___f_400_);
|
||||
return v___x_404_;
|
||||
lean_object* v___f_393_;
|
||||
lean_inc(v_inst_387_);
|
||||
lean_inc(v_optionName_386_);
|
||||
lean_inc_ref(v_inst_385_);
|
||||
lean_inc_ref(v_inst_384_);
|
||||
lean_inc_ref(v_decl_392_);
|
||||
lean_inc(v_val_383_);
|
||||
v___f_393_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__1), 7, 6);
|
||||
lean_closure_set(v___f_393_, 0, v_val_383_);
|
||||
lean_closure_set(v___f_393_, 1, v_decl_392_);
|
||||
lean_closure_set(v___f_393_, 2, v_inst_384_);
|
||||
lean_closure_set(v___f_393_, 3, v_inst_385_);
|
||||
lean_closure_set(v___f_393_, 4, v_optionName_386_);
|
||||
lean_closure_set(v___f_393_, 5, v_inst_387_);
|
||||
if (v_addInfo_388_ == 0)
|
||||
{
|
||||
lean_object* v___x_394_; lean_object* v___x_395_;
|
||||
lean_dec_ref(v___f_393_);
|
||||
lean_dec(v_toBind_391_);
|
||||
lean_dec_ref(v_inst_390_);
|
||||
lean_dec(v_id_389_);
|
||||
v___x_394_ = lean_box(0);
|
||||
v___x_395_ = l_Lean_Elab_elabSetOption___redArg___lam__1(v_val_383_, v_decl_392_, v_inst_384_, v_inst_385_, v_optionName_386_, v_inst_387_, v___x_394_);
|
||||
return v___x_395_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_declName_396_; lean_object* v___f_397_; lean_object* v___x_398_; lean_object* v___x_399_; lean_object* v___x_400_; lean_object* v___x_401_;
|
||||
lean_dec(v_inst_387_);
|
||||
lean_dec_ref(v_inst_385_);
|
||||
lean_dec(v_val_383_);
|
||||
v_declName_396_ = lean_ctor_get(v_decl_392_, 1);
|
||||
lean_inc(v_declName_396_);
|
||||
lean_dec_ref(v_decl_392_);
|
||||
v___f_397_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__2), 2, 1);
|
||||
lean_closure_set(v___f_397_, 0, v___f_393_);
|
||||
v___x_398_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_398_, 0, v_id_389_);
|
||||
lean_ctor_set(v___x_398_, 1, v_optionName_386_);
|
||||
lean_ctor_set(v___x_398_, 2, v_declName_396_);
|
||||
v___x_399_ = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(v___x_399_, 0, v___x_398_);
|
||||
v___x_400_ = l_Lean_Elab_pushInfoLeaf___redArg(v_inst_384_, v_inst_390_, v___x_399_);
|
||||
v___x_401_ = lean_apply_4(v_toBind_391_, lean_box(0), lean_box(0), v___x_400_, v___f_397_);
|
||||
return v___x_401_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__3(lean_object* v_id_405_, lean_object* v_val_406_, lean_object* v_inst_407_, lean_object* v_inst_408_, lean_object* v_inst_409_, lean_object* v_inst_410_, lean_object* v_toBind_411_, lean_object* v___f_412_, lean_object* v_inst_413_, lean_object* v_____r_414_){
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__3___boxed(lean_object* v_val_402_, lean_object* v_inst_403_, lean_object* v_inst_404_, lean_object* v_optionName_405_, lean_object* v_inst_406_, lean_object* v_addInfo_407_, lean_object* v_id_408_, lean_object* v_inst_409_, lean_object* v_toBind_410_, lean_object* v_decl_411_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_415_; lean_object* v_optionName_416_; lean_object* v___f_417_; lean_object* v___x_418_; lean_object* v___x_419_; lean_object* v___x_420_; lean_object* v___x_421_;
|
||||
v___x_415_ = l_Lean_Syntax_getId(v_id_405_);
|
||||
v_optionName_416_ = lean_erase_macro_scopes(v___x_415_);
|
||||
lean_inc(v_toBind_411_);
|
||||
lean_inc(v_optionName_416_);
|
||||
v___f_417_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__2), 9, 8);
|
||||
lean_closure_set(v___f_417_, 0, v_val_406_);
|
||||
lean_closure_set(v___f_417_, 1, v_inst_407_);
|
||||
lean_closure_set(v___f_417_, 2, v_inst_408_);
|
||||
lean_closure_set(v___f_417_, 3, v_optionName_416_);
|
||||
lean_closure_set(v___f_417_, 4, v_inst_409_);
|
||||
lean_closure_set(v___f_417_, 5, v_id_405_);
|
||||
lean_closure_set(v___f_417_, 6, v_inst_410_);
|
||||
lean_closure_set(v___f_417_, 7, v_toBind_411_);
|
||||
v___x_418_ = lean_alloc_closure((void*)(l_Lean_getOptionDecl___boxed), 2, 1);
|
||||
lean_closure_set(v___x_418_, 0, v_optionName_416_);
|
||||
v___x_419_ = lean_alloc_closure((void*)(l_IO_toEIO___boxed), 5, 4);
|
||||
lean_closure_set(v___x_419_, 0, lean_box(0));
|
||||
lean_closure_set(v___x_419_, 1, lean_box(0));
|
||||
lean_closure_set(v___x_419_, 2, v___f_412_);
|
||||
lean_closure_set(v___x_419_, 3, v___x_418_);
|
||||
v___x_420_ = lean_apply_2(v_inst_413_, lean_box(0), v___x_419_);
|
||||
v___x_421_ = lean_apply_4(v_toBind_411_, lean_box(0), lean_box(0), v___x_420_, v___f_417_);
|
||||
return v___x_421_;
|
||||
uint8_t v_addInfo_boxed_412_; lean_object* v_res_413_;
|
||||
v_addInfo_boxed_412_ = lean_unbox(v_addInfo_407_);
|
||||
v_res_413_ = l_Lean_Elab_elabSetOption___redArg___lam__3(v_val_402_, v_inst_403_, v_inst_404_, v_optionName_405_, v_inst_406_, v_addInfo_boxed_412_, v_id_408_, v_inst_409_, v_toBind_410_, v_decl_411_);
|
||||
return v_res_413_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__4(lean_object* v_id_422_, lean_object* v_val_423_, lean_object* v_inst_424_, lean_object* v_inst_425_, lean_object* v_inst_426_, lean_object* v_inst_427_, lean_object* v_toBind_428_, lean_object* v_inst_429_, lean_object* v_ref_430_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__4(lean_object* v_id_414_, lean_object* v_val_415_, lean_object* v_inst_416_, lean_object* v_inst_417_, lean_object* v_inst_418_, uint8_t v_addInfo_419_, lean_object* v_inst_420_, lean_object* v_toBind_421_, lean_object* v___f_422_, lean_object* v_inst_423_, lean_object* v_____r_424_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___f_431_; lean_object* v___f_432_; lean_object* v___x_433_; lean_object* v___x_434_; lean_object* v___x_435_; lean_object* v___x_436_; lean_object* v___x_437_; lean_object* v___x_438_; lean_object* v___x_439_; lean_object* v___x_440_; lean_object* v___x_441_;
|
||||
lean_inc(v_ref_430_);
|
||||
v___f_431_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__0), 2, 1);
|
||||
lean_closure_set(v___f_431_, 0, v_ref_430_);
|
||||
lean_inc(v_toBind_428_);
|
||||
lean_inc_ref(v_inst_427_);
|
||||
lean_inc_ref(v_inst_424_);
|
||||
v___f_432_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__3), 10, 9);
|
||||
lean_closure_set(v___f_432_, 0, v_id_422_);
|
||||
lean_closure_set(v___f_432_, 1, v_val_423_);
|
||||
lean_closure_set(v___f_432_, 2, v_inst_424_);
|
||||
lean_closure_set(v___f_432_, 3, v_inst_425_);
|
||||
lean_closure_set(v___f_432_, 4, v_inst_426_);
|
||||
lean_closure_set(v___f_432_, 5, v_inst_427_);
|
||||
lean_closure_set(v___f_432_, 6, v_toBind_428_);
|
||||
lean_closure_set(v___f_432_, 7, v___f_431_);
|
||||
lean_closure_set(v___f_432_, 8, v_inst_429_);
|
||||
v___x_433_ = l_Lean_Syntax_getArgs(v_ref_430_);
|
||||
v___x_434_ = lean_unsigned_to_nat(3u);
|
||||
v___x_435_ = lean_unsigned_to_nat(0u);
|
||||
v___x_436_ = l_Array_toSubarray___redArg(v___x_433_, v___x_435_, v___x_434_);
|
||||
v___x_437_ = l_Subarray_copy___redArg(v___x_436_);
|
||||
v___x_438_ = l_Lean_Syntax_setArgs(v_ref_430_, v___x_437_);
|
||||
v___x_439_ = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(v___x_439_, 0, v___x_438_);
|
||||
v___x_440_ = l_Lean_Elab_addCompletionInfo___redArg(v_inst_424_, v_inst_427_, v___x_439_);
|
||||
v___x_441_ = lean_apply_4(v_toBind_428_, lean_box(0), lean_box(0), v___x_440_, v___f_432_);
|
||||
return v___x_441_;
|
||||
lean_object* v___x_425_; lean_object* v_optionName_426_; lean_object* v___x_427_; lean_object* v___f_428_; lean_object* v___x_429_; lean_object* v___x_430_; lean_object* v___x_431_; lean_object* v___x_432_;
|
||||
v___x_425_ = l_Lean_Syntax_getId(v_id_414_);
|
||||
v_optionName_426_ = lean_erase_macro_scopes(v___x_425_);
|
||||
v___x_427_ = lean_box(v_addInfo_419_);
|
||||
lean_inc(v_toBind_421_);
|
||||
lean_inc(v_optionName_426_);
|
||||
v___f_428_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__3___boxed), 10, 9);
|
||||
lean_closure_set(v___f_428_, 0, v_val_415_);
|
||||
lean_closure_set(v___f_428_, 1, v_inst_416_);
|
||||
lean_closure_set(v___f_428_, 2, v_inst_417_);
|
||||
lean_closure_set(v___f_428_, 3, v_optionName_426_);
|
||||
lean_closure_set(v___f_428_, 4, v_inst_418_);
|
||||
lean_closure_set(v___f_428_, 5, v___x_427_);
|
||||
lean_closure_set(v___f_428_, 6, v_id_414_);
|
||||
lean_closure_set(v___f_428_, 7, v_inst_420_);
|
||||
lean_closure_set(v___f_428_, 8, v_toBind_421_);
|
||||
v___x_429_ = lean_alloc_closure((void*)(l_Lean_getOptionDecl___boxed), 2, 1);
|
||||
lean_closure_set(v___x_429_, 0, v_optionName_426_);
|
||||
v___x_430_ = lean_alloc_closure((void*)(l_IO_toEIO___boxed), 5, 4);
|
||||
lean_closure_set(v___x_430_, 0, lean_box(0));
|
||||
lean_closure_set(v___x_430_, 1, lean_box(0));
|
||||
lean_closure_set(v___x_430_, 2, v___f_422_);
|
||||
lean_closure_set(v___x_430_, 3, v___x_429_);
|
||||
v___x_431_ = lean_apply_2(v_inst_423_, lean_box(0), v___x_430_);
|
||||
v___x_432_ = lean_apply_4(v_toBind_421_, lean_box(0), lean_box(0), v___x_431_, v___f_428_);
|
||||
return v___x_432_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg(lean_object* v_inst_442_, lean_object* v_inst_443_, lean_object* v_inst_444_, lean_object* v_inst_445_, lean_object* v_inst_446_, lean_object* v_id_447_, lean_object* v_val_448_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__4___boxed(lean_object* v_id_433_, lean_object* v_val_434_, lean_object* v_inst_435_, lean_object* v_inst_436_, lean_object* v_inst_437_, lean_object* v_addInfo_438_, lean_object* v_inst_439_, lean_object* v_toBind_440_, lean_object* v___f_441_, lean_object* v_inst_442_, lean_object* v_____r_443_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_toMonadRef_449_; lean_object* v_toBind_450_; lean_object* v_getRef_451_; lean_object* v___f_452_; lean_object* v___x_453_;
|
||||
v_toMonadRef_449_ = lean_ctor_get(v_inst_444_, 1);
|
||||
v_toBind_450_ = lean_ctor_get(v_inst_442_, 1);
|
||||
lean_inc_n(v_toBind_450_, 2);
|
||||
v_getRef_451_ = lean_ctor_get(v_toMonadRef_449_, 0);
|
||||
lean_inc(v_getRef_451_);
|
||||
v___f_452_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__4), 9, 8);
|
||||
lean_closure_set(v___f_452_, 0, v_id_447_);
|
||||
lean_closure_set(v___f_452_, 1, v_val_448_);
|
||||
lean_closure_set(v___f_452_, 2, v_inst_442_);
|
||||
lean_closure_set(v___f_452_, 3, v_inst_444_);
|
||||
lean_closure_set(v___f_452_, 4, v_inst_443_);
|
||||
lean_closure_set(v___f_452_, 5, v_inst_446_);
|
||||
lean_closure_set(v___f_452_, 6, v_toBind_450_);
|
||||
lean_closure_set(v___f_452_, 7, v_inst_445_);
|
||||
v___x_453_ = lean_apply_4(v_toBind_450_, lean_box(0), lean_box(0), v_getRef_451_, v___f_452_);
|
||||
return v___x_453_;
|
||||
uint8_t v_addInfo_boxed_444_; lean_object* v_res_445_;
|
||||
v_addInfo_boxed_444_ = lean_unbox(v_addInfo_438_);
|
||||
v_res_445_ = l_Lean_Elab_elabSetOption___redArg___lam__4(v_id_433_, v_val_434_, v_inst_435_, v_inst_436_, v_inst_437_, v_addInfo_boxed_444_, v_inst_439_, v_toBind_440_, v___f_441_, v_inst_442_, v_____r_443_);
|
||||
return v_res_445_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption(lean_object* v_m_454_, lean_object* v_inst_455_, lean_object* v_inst_456_, lean_object* v_inst_457_, lean_object* v_inst_458_, lean_object* v_inst_459_, lean_object* v_id_460_, lean_object* v_val_461_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__6(lean_object* v_id_446_, lean_object* v_val_447_, lean_object* v_inst_448_, lean_object* v_inst_449_, lean_object* v_inst_450_, uint8_t v_addInfo_451_, lean_object* v_inst_452_, lean_object* v_toBind_453_, lean_object* v_inst_454_, lean_object* v_ref_455_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_462_;
|
||||
v___x_462_ = l_Lean_Elab_elabSetOption___redArg(v_inst_455_, v_inst_456_, v_inst_457_, v_inst_458_, v_inst_459_, v_id_460_, v_val_461_);
|
||||
return v___x_462_;
|
||||
lean_object* v___f_456_; lean_object* v___x_457_; lean_object* v___f_458_;
|
||||
lean_inc(v_ref_455_);
|
||||
v___f_456_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__0), 2, 1);
|
||||
lean_closure_set(v___f_456_, 0, v_ref_455_);
|
||||
v___x_457_ = lean_box(v_addInfo_451_);
|
||||
lean_inc(v_inst_454_);
|
||||
lean_inc_ref(v___f_456_);
|
||||
lean_inc(v_toBind_453_);
|
||||
lean_inc_ref(v_inst_452_);
|
||||
lean_inc(v_inst_450_);
|
||||
lean_inc_ref(v_inst_449_);
|
||||
lean_inc_ref(v_inst_448_);
|
||||
lean_inc(v_val_447_);
|
||||
lean_inc(v_id_446_);
|
||||
v___f_458_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__4___boxed), 11, 10);
|
||||
lean_closure_set(v___f_458_, 0, v_id_446_);
|
||||
lean_closure_set(v___f_458_, 1, v_val_447_);
|
||||
lean_closure_set(v___f_458_, 2, v_inst_448_);
|
||||
lean_closure_set(v___f_458_, 3, v_inst_449_);
|
||||
lean_closure_set(v___f_458_, 4, v_inst_450_);
|
||||
lean_closure_set(v___f_458_, 5, v___x_457_);
|
||||
lean_closure_set(v___f_458_, 6, v_inst_452_);
|
||||
lean_closure_set(v___f_458_, 7, v_toBind_453_);
|
||||
lean_closure_set(v___f_458_, 8, v___f_456_);
|
||||
lean_closure_set(v___f_458_, 9, v_inst_454_);
|
||||
if (v_addInfo_451_ == 0)
|
||||
{
|
||||
lean_object* v___x_459_; lean_object* v___x_460_;
|
||||
lean_dec_ref(v___f_458_);
|
||||
lean_dec(v_ref_455_);
|
||||
v___x_459_ = lean_box(0);
|
||||
v___x_460_ = l_Lean_Elab_elabSetOption___redArg___lam__4(v_id_446_, v_val_447_, v_inst_448_, v_inst_449_, v_inst_450_, v_addInfo_451_, v_inst_452_, v_toBind_453_, v___f_456_, v_inst_454_, v___x_459_);
|
||||
return v___x_460_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___f_461_; lean_object* v___x_462_; lean_object* v___x_463_; lean_object* v___x_464_; lean_object* v___x_465_; lean_object* v___x_466_; lean_object* v___x_467_; lean_object* v___x_468_; lean_object* v___x_469_; lean_object* v___x_470_;
|
||||
lean_dec_ref(v___f_456_);
|
||||
lean_dec(v_inst_454_);
|
||||
lean_dec(v_inst_450_);
|
||||
lean_dec_ref(v_inst_449_);
|
||||
lean_dec(v_val_447_);
|
||||
lean_dec(v_id_446_);
|
||||
v___f_461_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__2), 2, 1);
|
||||
lean_closure_set(v___f_461_, 0, v___f_458_);
|
||||
v___x_462_ = l_Lean_Syntax_getArgs(v_ref_455_);
|
||||
v___x_463_ = lean_unsigned_to_nat(3u);
|
||||
v___x_464_ = lean_unsigned_to_nat(0u);
|
||||
v___x_465_ = l_Array_toSubarray___redArg(v___x_462_, v___x_464_, v___x_463_);
|
||||
v___x_466_ = l_Subarray_copy___redArg(v___x_465_);
|
||||
v___x_467_ = l_Lean_Syntax_setArgs(v_ref_455_, v___x_466_);
|
||||
v___x_468_ = lean_alloc_ctor(5, 1, 0);
|
||||
lean_ctor_set(v___x_468_, 0, v___x_467_);
|
||||
v___x_469_ = l_Lean_Elab_addCompletionInfo___redArg(v_inst_448_, v_inst_452_, v___x_468_);
|
||||
v___x_470_ = lean_apply_4(v_toBind_453_, lean_box(0), lean_box(0), v___x_469_, v___f_461_);
|
||||
return v___x_470_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___lam__6___boxed(lean_object* v_id_471_, lean_object* v_val_472_, lean_object* v_inst_473_, lean_object* v_inst_474_, lean_object* v_inst_475_, lean_object* v_addInfo_476_, lean_object* v_inst_477_, lean_object* v_toBind_478_, lean_object* v_inst_479_, lean_object* v_ref_480_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_addInfo_boxed_481_; lean_object* v_res_482_;
|
||||
v_addInfo_boxed_481_ = lean_unbox(v_addInfo_476_);
|
||||
v_res_482_ = l_Lean_Elab_elabSetOption___redArg___lam__6(v_id_471_, v_val_472_, v_inst_473_, v_inst_474_, v_inst_475_, v_addInfo_boxed_481_, v_inst_477_, v_toBind_478_, v_inst_479_, v_ref_480_);
|
||||
return v_res_482_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg(lean_object* v_inst_483_, lean_object* v_inst_484_, lean_object* v_inst_485_, lean_object* v_inst_486_, lean_object* v_inst_487_, lean_object* v_id_488_, lean_object* v_val_489_, uint8_t v_addInfo_490_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_toMonadRef_491_; lean_object* v_toBind_492_; lean_object* v_getRef_493_; lean_object* v___x_494_; lean_object* v___f_495_; lean_object* v___x_496_;
|
||||
v_toMonadRef_491_ = lean_ctor_get(v_inst_485_, 1);
|
||||
v_toBind_492_ = lean_ctor_get(v_inst_483_, 1);
|
||||
lean_inc_n(v_toBind_492_, 2);
|
||||
v_getRef_493_ = lean_ctor_get(v_toMonadRef_491_, 0);
|
||||
lean_inc(v_getRef_493_);
|
||||
v___x_494_ = lean_box(v_addInfo_490_);
|
||||
v___f_495_ = lean_alloc_closure((void*)(l_Lean_Elab_elabSetOption___redArg___lam__6___boxed), 10, 9);
|
||||
lean_closure_set(v___f_495_, 0, v_id_488_);
|
||||
lean_closure_set(v___f_495_, 1, v_val_489_);
|
||||
lean_closure_set(v___f_495_, 2, v_inst_483_);
|
||||
lean_closure_set(v___f_495_, 3, v_inst_485_);
|
||||
lean_closure_set(v___f_495_, 4, v_inst_484_);
|
||||
lean_closure_set(v___f_495_, 5, v___x_494_);
|
||||
lean_closure_set(v___f_495_, 6, v_inst_487_);
|
||||
lean_closure_set(v___f_495_, 7, v_toBind_492_);
|
||||
lean_closure_set(v___f_495_, 8, v_inst_486_);
|
||||
v___x_496_ = lean_apply_4(v_toBind_492_, lean_box(0), lean_box(0), v_getRef_493_, v___f_495_);
|
||||
return v___x_496_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___redArg___boxed(lean_object* v_inst_497_, lean_object* v_inst_498_, lean_object* v_inst_499_, lean_object* v_inst_500_, lean_object* v_inst_501_, lean_object* v_id_502_, lean_object* v_val_503_, lean_object* v_addInfo_504_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_addInfo_boxed_505_; lean_object* v_res_506_;
|
||||
v_addInfo_boxed_505_ = lean_unbox(v_addInfo_504_);
|
||||
v_res_506_ = l_Lean_Elab_elabSetOption___redArg(v_inst_497_, v_inst_498_, v_inst_499_, v_inst_500_, v_inst_501_, v_id_502_, v_val_503_, v_addInfo_boxed_505_);
|
||||
return v_res_506_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption(lean_object* v_m_507_, lean_object* v_inst_508_, lean_object* v_inst_509_, lean_object* v_inst_510_, lean_object* v_inst_511_, lean_object* v_inst_512_, lean_object* v_id_513_, lean_object* v_val_514_, uint8_t v_addInfo_515_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_516_;
|
||||
v___x_516_ = l_Lean_Elab_elabSetOption___redArg(v_inst_508_, v_inst_509_, v_inst_510_, v_inst_511_, v_inst_512_, v_id_513_, v_val_514_, v_addInfo_515_);
|
||||
return v___x_516_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___boxed(lean_object* v_m_517_, lean_object* v_inst_518_, lean_object* v_inst_519_, lean_object* v_inst_520_, lean_object* v_inst_521_, lean_object* v_inst_522_, lean_object* v_id_523_, lean_object* v_val_524_, lean_object* v_addInfo_525_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_addInfo_boxed_526_; lean_object* v_res_527_;
|
||||
v_addInfo_boxed_526_ = lean_unbox(v_addInfo_525_);
|
||||
v_res_527_ = l_Lean_Elab_elabSetOption(v_m_517_, v_inst_518_, v_inst_519_, v_inst_520_, v_inst_521_, v_inst_522_, v_id_523_, v_val_524_, v_addInfo_boxed_526_);
|
||||
return v_res_527_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_464_; lean_object* v___x_465_;
|
||||
v___x_464_ = ((lean_object*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__0));
|
||||
v___x_465_ = l_Lean_stringToMessageData(v___x_464_);
|
||||
return v___x_465_;
|
||||
lean_object* v___x_529_; lean_object* v___x_530_;
|
||||
v___x_529_ = ((lean_object*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__0));
|
||||
v___x_530_ = l_Lean_stringToMessageData(v___x_529_);
|
||||
return v___x_530_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_467_; lean_object* v___x_468_;
|
||||
v___x_467_ = ((lean_object*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__2));
|
||||
v___x_468_ = l_Lean_stringToMessageData(v___x_467_);
|
||||
return v___x_468_;
|
||||
lean_object* v___x_532_; lean_object* v___x_533_;
|
||||
v___x_532_ = ((lean_object*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__2));
|
||||
v___x_533_ = l_Lean_stringToMessageData(v___x_532_);
|
||||
return v___x_533_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__5(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_470_; lean_object* v___x_471_;
|
||||
v___x_470_ = ((lean_object*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__4));
|
||||
v___x_471_ = l_Lean_stringToMessageData(v___x_470_);
|
||||
return v___x_471_;
|
||||
lean_object* v___x_535_; lean_object* v___x_536_;
|
||||
v___x_535_ = ((lean_object*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__4));
|
||||
v___x_536_ = l_Lean_stringToMessageData(v___x_535_);
|
||||
return v___x_536_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption___redArg___lam__0(lean_object* v___x_472_, lean_object* v_toApplicative_473_, lean_object* v_decl_474_, lean_object* v_optionName_475_, lean_object* v_inst_476_, lean_object* v_inst_477_, lean_object* v_inst_478_, lean_object* v_inst_479_, lean_object* v_____do__lift_480_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption___redArg___lam__0(lean_object* v___x_537_, lean_object* v_toApplicative_538_, lean_object* v_decl_539_, lean_object* v_optionName_540_, lean_object* v_inst_541_, lean_object* v_inst_542_, lean_object* v_inst_543_, lean_object* v_inst_544_, lean_object* v_____do__lift_545_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___y_482_; lean_object* v___x_490_; lean_object* v___x_491_; uint8_t v___x_492_;
|
||||
v___x_490_ = l_Lean_Elab_linter_deprecated_options;
|
||||
v___x_491_ = l_Lean_Option_get___redArg(v___x_472_, v_____do__lift_480_, v___x_490_);
|
||||
v___x_492_ = lean_unbox(v___x_491_);
|
||||
lean_dec(v___x_491_);
|
||||
if (v___x_492_ == 0)
|
||||
lean_object* v___y_547_; lean_object* v___x_555_; lean_object* v___x_556_; uint8_t v___x_557_;
|
||||
v___x_555_ = l_Lean_Elab_linter_deprecated_options;
|
||||
v___x_556_ = l_Lean_Option_get___redArg(v___x_537_, v_____do__lift_545_, v___x_555_);
|
||||
v___x_557_ = lean_unbox(v___x_556_);
|
||||
lean_dec(v___x_556_);
|
||||
if (v___x_557_ == 0)
|
||||
{
|
||||
lean_object* v_toPure_493_; lean_object* v___x_494_; lean_object* v___x_495_;
|
||||
lean_dec(v_inst_479_);
|
||||
lean_dec(v_inst_478_);
|
||||
lean_dec_ref(v_inst_477_);
|
||||
lean_dec_ref(v_inst_476_);
|
||||
lean_dec(v_optionName_475_);
|
||||
lean_dec_ref(v_decl_474_);
|
||||
v_toPure_493_ = lean_ctor_get(v_toApplicative_473_, 1);
|
||||
lean_inc(v_toPure_493_);
|
||||
lean_dec_ref(v_toApplicative_473_);
|
||||
v___x_494_ = lean_box(0);
|
||||
v___x_495_ = lean_apply_2(v_toPure_493_, lean_box(0), v___x_494_);
|
||||
return v___x_495_;
|
||||
lean_object* v_toPure_558_; lean_object* v___x_559_; lean_object* v___x_560_;
|
||||
lean_dec(v_inst_544_);
|
||||
lean_dec(v_inst_543_);
|
||||
lean_dec_ref(v_inst_542_);
|
||||
lean_dec_ref(v_inst_541_);
|
||||
lean_dec(v_optionName_540_);
|
||||
lean_dec_ref(v_decl_539_);
|
||||
v_toPure_558_ = lean_ctor_get(v_toApplicative_538_, 1);
|
||||
lean_inc(v_toPure_558_);
|
||||
lean_dec_ref(v_toApplicative_538_);
|
||||
v___x_559_ = lean_box(0);
|
||||
v___x_560_ = lean_apply_2(v_toPure_558_, lean_box(0), v___x_559_);
|
||||
return v___x_560_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_deprecation_x3f_496_;
|
||||
v_deprecation_x3f_496_ = lean_ctor_get(v_decl_474_, 4);
|
||||
lean_inc(v_deprecation_x3f_496_);
|
||||
lean_dec_ref(v_decl_474_);
|
||||
if (lean_obj_tag(v_deprecation_x3f_496_) == 1)
|
||||
lean_object* v_deprecation_x3f_561_;
|
||||
v_deprecation_x3f_561_ = lean_ctor_get(v_decl_539_, 4);
|
||||
lean_inc(v_deprecation_x3f_561_);
|
||||
lean_dec_ref(v_decl_539_);
|
||||
if (lean_obj_tag(v_deprecation_x3f_561_) == 1)
|
||||
{
|
||||
lean_object* v_val_497_; lean_object* v_text_x3f_498_; lean_object* v___x_500_; uint8_t v_isShared_501_; uint8_t v_isSharedCheck_509_;
|
||||
lean_dec_ref(v_toApplicative_473_);
|
||||
v_val_497_ = lean_ctor_get(v_deprecation_x3f_496_, 0);
|
||||
lean_inc(v_val_497_);
|
||||
lean_dec_ref(v_deprecation_x3f_496_);
|
||||
v_text_x3f_498_ = lean_ctor_get(v_val_497_, 1);
|
||||
v_isSharedCheck_509_ = !lean_is_exclusive(v_val_497_);
|
||||
if (v_isSharedCheck_509_ == 0)
|
||||
lean_object* v_val_562_; lean_object* v_text_x3f_563_; lean_object* v___x_565_; uint8_t v_isShared_566_; uint8_t v_isSharedCheck_574_;
|
||||
lean_dec_ref(v_toApplicative_538_);
|
||||
v_val_562_ = lean_ctor_get(v_deprecation_x3f_561_, 0);
|
||||
lean_inc(v_val_562_);
|
||||
lean_dec_ref(v_deprecation_x3f_561_);
|
||||
v_text_x3f_563_ = lean_ctor_get(v_val_562_, 1);
|
||||
v_isSharedCheck_574_ = !lean_is_exclusive(v_val_562_);
|
||||
if (v_isSharedCheck_574_ == 0)
|
||||
{
|
||||
lean_object* v_unused_510_;
|
||||
v_unused_510_ = lean_ctor_get(v_val_497_, 0);
|
||||
lean_dec(v_unused_510_);
|
||||
v___x_500_ = v_val_497_;
|
||||
v_isShared_501_ = v_isSharedCheck_509_;
|
||||
goto v_resetjp_499_;
|
||||
lean_object* v_unused_575_;
|
||||
v_unused_575_ = lean_ctor_get(v_val_562_, 0);
|
||||
lean_dec(v_unused_575_);
|
||||
v___x_565_ = v_val_562_;
|
||||
v_isShared_566_ = v_isSharedCheck_574_;
|
||||
goto v_resetjp_564_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_text_x3f_498_);
|
||||
lean_dec(v_val_497_);
|
||||
v___x_500_ = lean_box(0);
|
||||
v_isShared_501_ = v_isSharedCheck_509_;
|
||||
goto v_resetjp_499_;
|
||||
lean_inc(v_text_x3f_563_);
|
||||
lean_dec(v_val_562_);
|
||||
v___x_565_ = lean_box(0);
|
||||
v_isShared_566_ = v_isSharedCheck_574_;
|
||||
goto v_resetjp_564_;
|
||||
}
|
||||
v_resetjp_499_:
|
||||
v_resetjp_564_:
|
||||
{
|
||||
if (lean_obj_tag(v_text_x3f_498_) == 0)
|
||||
if (lean_obj_tag(v_text_x3f_563_) == 0)
|
||||
{
|
||||
lean_object* v___x_502_;
|
||||
lean_del_object(v___x_500_);
|
||||
v___x_502_ = lean_obj_once(&l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__3, &l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__3_once, _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__3);
|
||||
v___y_482_ = v___x_502_;
|
||||
goto v___jp_481_;
|
||||
lean_object* v___x_567_;
|
||||
lean_del_object(v___x_565_);
|
||||
v___x_567_ = lean_obj_once(&l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__3, &l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__3_once, _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__3);
|
||||
v___y_547_ = v___x_567_;
|
||||
goto v___jp_546_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_503_; lean_object* v___x_504_; lean_object* v___x_505_; lean_object* v___x_507_;
|
||||
v_val_503_ = lean_ctor_get(v_text_x3f_498_, 0);
|
||||
lean_inc(v_val_503_);
|
||||
lean_dec_ref(v_text_x3f_498_);
|
||||
v___x_504_ = lean_obj_once(&l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__5, &l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__5_once, _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__5);
|
||||
v___x_505_ = l_Lean_stringToMessageData(v_val_503_);
|
||||
if (v_isShared_501_ == 0)
|
||||
lean_object* v_val_568_; lean_object* v___x_569_; lean_object* v___x_570_; lean_object* v___x_572_;
|
||||
v_val_568_ = lean_ctor_get(v_text_x3f_563_, 0);
|
||||
lean_inc(v_val_568_);
|
||||
lean_dec_ref(v_text_x3f_563_);
|
||||
v___x_569_ = lean_obj_once(&l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__5, &l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__5_once, _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__5);
|
||||
v___x_570_ = l_Lean_stringToMessageData(v_val_568_);
|
||||
if (v_isShared_566_ == 0)
|
||||
{
|
||||
lean_ctor_set_tag(v___x_500_, 7);
|
||||
lean_ctor_set(v___x_500_, 1, v___x_505_);
|
||||
lean_ctor_set(v___x_500_, 0, v___x_504_);
|
||||
v___x_507_ = v___x_500_;
|
||||
goto v_reusejp_506_;
|
||||
lean_ctor_set_tag(v___x_565_, 7);
|
||||
lean_ctor_set(v___x_565_, 1, v___x_570_);
|
||||
lean_ctor_set(v___x_565_, 0, v___x_569_);
|
||||
v___x_572_ = v___x_565_;
|
||||
goto v_reusejp_571_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_508_;
|
||||
v_reuseFailAlloc_508_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_508_, 0, v___x_504_);
|
||||
lean_ctor_set(v_reuseFailAlloc_508_, 1, v___x_505_);
|
||||
v___x_507_ = v_reuseFailAlloc_508_;
|
||||
goto v_reusejp_506_;
|
||||
lean_object* v_reuseFailAlloc_573_;
|
||||
v_reuseFailAlloc_573_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_573_, 0, v___x_569_);
|
||||
lean_ctor_set(v_reuseFailAlloc_573_, 1, v___x_570_);
|
||||
v___x_572_ = v_reuseFailAlloc_573_;
|
||||
goto v_reusejp_571_;
|
||||
}
|
||||
v_reusejp_506_:
|
||||
v_reusejp_571_:
|
||||
{
|
||||
v___y_482_ = v___x_507_;
|
||||
goto v___jp_481_;
|
||||
v___y_547_ = v___x_572_;
|
||||
goto v___jp_546_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_toPure_511_; lean_object* v___x_512_; lean_object* v___x_513_;
|
||||
lean_dec(v_deprecation_x3f_496_);
|
||||
lean_dec(v_inst_479_);
|
||||
lean_dec(v_inst_478_);
|
||||
lean_dec_ref(v_inst_477_);
|
||||
lean_dec_ref(v_inst_476_);
|
||||
lean_dec(v_optionName_475_);
|
||||
v_toPure_511_ = lean_ctor_get(v_toApplicative_473_, 1);
|
||||
lean_inc(v_toPure_511_);
|
||||
lean_dec_ref(v_toApplicative_473_);
|
||||
v___x_512_ = lean_box(0);
|
||||
v___x_513_ = lean_apply_2(v_toPure_511_, lean_box(0), v___x_512_);
|
||||
return v___x_513_;
|
||||
lean_object* v_toPure_576_; lean_object* v___x_577_; lean_object* v___x_578_;
|
||||
lean_dec(v_deprecation_x3f_561_);
|
||||
lean_dec(v_inst_544_);
|
||||
lean_dec(v_inst_543_);
|
||||
lean_dec_ref(v_inst_542_);
|
||||
lean_dec_ref(v_inst_541_);
|
||||
lean_dec(v_optionName_540_);
|
||||
v_toPure_576_ = lean_ctor_get(v_toApplicative_538_, 1);
|
||||
lean_inc(v_toPure_576_);
|
||||
lean_dec_ref(v_toApplicative_538_);
|
||||
v___x_577_ = lean_box(0);
|
||||
v___x_578_ = lean_apply_2(v_toPure_576_, lean_box(0), v___x_577_);
|
||||
return v___x_578_;
|
||||
}
|
||||
}
|
||||
v___jp_481_:
|
||||
v___jp_546_:
|
||||
{
|
||||
lean_object* v___x_483_; lean_object* v___x_484_; lean_object* v___x_485_; lean_object* v___x_486_; lean_object* v___x_487_; lean_object* v___x_488_; lean_object* v___x_489_;
|
||||
v___x_483_ = lean_obj_once(&l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4, &l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4_once, _init_l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4);
|
||||
v___x_484_ = l_Lean_MessageData_ofName(v_optionName_475_);
|
||||
v___x_485_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v___x_485_, 0, v___x_483_);
|
||||
lean_ctor_set(v___x_485_, 1, v___x_484_);
|
||||
v___x_486_ = lean_obj_once(&l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1, &l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1_once, _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1);
|
||||
v___x_487_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v___x_487_, 0, v___x_485_);
|
||||
lean_ctor_set(v___x_487_, 1, v___x_486_);
|
||||
v___x_488_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v___x_488_, 0, v___x_487_);
|
||||
lean_ctor_set(v___x_488_, 1, v___y_482_);
|
||||
v___x_489_ = l_Lean_logWarning___redArg(v_inst_476_, v_inst_477_, v_inst_478_, v_inst_479_, v___x_488_);
|
||||
return v___x_489_;
|
||||
lean_object* v___x_548_; lean_object* v___x_549_; lean_object* v___x_550_; lean_object* v___x_551_; lean_object* v___x_552_; lean_object* v___x_553_; lean_object* v___x_554_;
|
||||
v___x_548_ = lean_obj_once(&l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4, &l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4_once, _init_l_Lean_Elab_elabSetOption___redArg___lam__1___closed__4);
|
||||
v___x_549_ = l_Lean_MessageData_ofName(v_optionName_540_);
|
||||
v___x_550_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v___x_550_, 0, v___x_548_);
|
||||
lean_ctor_set(v___x_550_, 1, v___x_549_);
|
||||
v___x_551_ = lean_obj_once(&l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1, &l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1_once, _init_l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___closed__1);
|
||||
v___x_552_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v___x_552_, 0, v___x_550_);
|
||||
lean_ctor_set(v___x_552_, 1, v___x_551_);
|
||||
v___x_553_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v___x_553_, 0, v___x_552_);
|
||||
lean_ctor_set(v___x_553_, 1, v___y_547_);
|
||||
v___x_554_ = l_Lean_logWarning___redArg(v_inst_541_, v_inst_542_, v_inst_543_, v_inst_544_, v___x_553_);
|
||||
return v___x_554_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___boxed(lean_object* v___x_514_, lean_object* v_toApplicative_515_, lean_object* v_decl_516_, lean_object* v_optionName_517_, lean_object* v_inst_518_, lean_object* v_inst_519_, lean_object* v_inst_520_, lean_object* v_inst_521_, lean_object* v_____do__lift_522_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___boxed(lean_object* v___x_579_, lean_object* v_toApplicative_580_, lean_object* v_decl_581_, lean_object* v_optionName_582_, lean_object* v_inst_583_, lean_object* v_inst_584_, lean_object* v_inst_585_, lean_object* v_inst_586_, lean_object* v_____do__lift_587_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_523_;
|
||||
v_res_523_ = l_Lean_Elab_checkDeprecatedOption___redArg___lam__0(v___x_514_, v_toApplicative_515_, v_decl_516_, v_optionName_517_, v_inst_518_, v_inst_519_, v_inst_520_, v_inst_521_, v_____do__lift_522_);
|
||||
lean_dec_ref(v_____do__lift_522_);
|
||||
return v_res_523_;
|
||||
lean_object* v_res_588_;
|
||||
v_res_588_ = l_Lean_Elab_checkDeprecatedOption___redArg___lam__0(v___x_579_, v_toApplicative_580_, v_decl_581_, v_optionName_582_, v_inst_583_, v_inst_584_, v_inst_585_, v_inst_586_, v_____do__lift_587_);
|
||||
lean_dec_ref(v_____do__lift_587_);
|
||||
return v_res_588_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption___redArg(lean_object* v_inst_524_, lean_object* v_inst_525_, lean_object* v_inst_526_, lean_object* v_inst_527_, lean_object* v_optionName_528_, lean_object* v_decl_529_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption___redArg(lean_object* v_inst_589_, lean_object* v_inst_590_, lean_object* v_inst_591_, lean_object* v_inst_592_, lean_object* v_optionName_593_, lean_object* v_decl_594_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_530_; lean_object* v_toApplicative_531_; lean_object* v_toBind_532_; lean_object* v___f_533_; lean_object* v___x_534_;
|
||||
v___x_530_ = l_Lean_KVMap_instValueBool;
|
||||
v_toApplicative_531_ = lean_ctor_get(v_inst_524_, 0);
|
||||
lean_inc_ref(v_toApplicative_531_);
|
||||
v_toBind_532_ = lean_ctor_get(v_inst_524_, 1);
|
||||
lean_inc(v_toBind_532_);
|
||||
lean_inc(v_inst_525_);
|
||||
v___f_533_ = lean_alloc_closure((void*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___boxed), 9, 8);
|
||||
lean_closure_set(v___f_533_, 0, v___x_530_);
|
||||
lean_closure_set(v___f_533_, 1, v_toApplicative_531_);
|
||||
lean_closure_set(v___f_533_, 2, v_decl_529_);
|
||||
lean_closure_set(v___f_533_, 3, v_optionName_528_);
|
||||
lean_closure_set(v___f_533_, 4, v_inst_524_);
|
||||
lean_closure_set(v___f_533_, 5, v_inst_526_);
|
||||
lean_closure_set(v___f_533_, 6, v_inst_527_);
|
||||
lean_closure_set(v___f_533_, 7, v_inst_525_);
|
||||
v___x_534_ = lean_apply_4(v_toBind_532_, lean_box(0), lean_box(0), v_inst_525_, v___f_533_);
|
||||
return v___x_534_;
|
||||
lean_object* v___x_595_; lean_object* v_toApplicative_596_; lean_object* v_toBind_597_; lean_object* v___f_598_; lean_object* v___x_599_;
|
||||
v___x_595_ = l_Lean_KVMap_instValueBool;
|
||||
v_toApplicative_596_ = lean_ctor_get(v_inst_589_, 0);
|
||||
lean_inc_ref(v_toApplicative_596_);
|
||||
v_toBind_597_ = lean_ctor_get(v_inst_589_, 1);
|
||||
lean_inc(v_toBind_597_);
|
||||
lean_inc(v_inst_590_);
|
||||
v___f_598_ = lean_alloc_closure((void*)(l_Lean_Elab_checkDeprecatedOption___redArg___lam__0___boxed), 9, 8);
|
||||
lean_closure_set(v___f_598_, 0, v___x_595_);
|
||||
lean_closure_set(v___f_598_, 1, v_toApplicative_596_);
|
||||
lean_closure_set(v___f_598_, 2, v_decl_594_);
|
||||
lean_closure_set(v___f_598_, 3, v_optionName_593_);
|
||||
lean_closure_set(v___f_598_, 4, v_inst_589_);
|
||||
lean_closure_set(v___f_598_, 5, v_inst_591_);
|
||||
lean_closure_set(v___f_598_, 6, v_inst_592_);
|
||||
lean_closure_set(v___f_598_, 7, v_inst_590_);
|
||||
v___x_599_ = lean_apply_4(v_toBind_597_, lean_box(0), lean_box(0), v_inst_590_, v___f_598_);
|
||||
return v___x_599_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption(lean_object* v_m_535_, lean_object* v_inst_536_, lean_object* v_inst_537_, lean_object* v_inst_538_, lean_object* v_inst_539_, lean_object* v_optionName_540_, lean_object* v_decl_541_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_checkDeprecatedOption(lean_object* v_m_600_, lean_object* v_inst_601_, lean_object* v_inst_602_, lean_object* v_inst_603_, lean_object* v_inst_604_, lean_object* v_optionName_605_, lean_object* v_decl_606_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_542_;
|
||||
v___x_542_ = l_Lean_Elab_checkDeprecatedOption___redArg(v_inst_536_, v_inst_537_, v_inst_538_, v_inst_539_, v_optionName_540_, v_decl_541_);
|
||||
return v___x_542_;
|
||||
lean_object* v___x_607_;
|
||||
v___x_607_ = l_Lean_Elab_checkDeprecatedOption___redArg(v_inst_601_, v_inst_602_, v_inst_603_, v_inst_604_, v_optionName_605_, v_decl_606_);
|
||||
return v___x_607_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_InfoTree(uint8_t builtin);
|
||||
|
|
|
|||
96139
stage0/stdlib/Lean/Elab/StructInst.c
generated
96139
stage0/stdlib/Lean/Elab/StructInst.c
generated
File diff suppressed because it is too large
Load diff
12366
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Attr.c
generated
12366
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/Attr.c
generated
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
20237
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/BVDecide.c
generated
20237
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/BVDecide.c
generated
File diff suppressed because it is too large
Load diff
1186
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/BVTrace.c
generated
1186
stage0/stdlib/Lean/Elab/Tactic/BVDecide/Frontend/BVTrace.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -70,7 +70,7 @@ lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_o
|
|||
lean_object* l_Lean_Name_mkStr7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_elabBVDecideConfig___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_elabBVDecideConfig___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_getMainGoal___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_replaceMainGoal___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -6677,173 +6677,191 @@ return v___x_2108_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_2109_;
|
||||
v___x_2109_ = l_Lean_Elab_Tactic_BVDecide_Frontend_elabBVDecideConfig___redArg(v___x_2105_, v_a_2092_, v_a_2094_, v_a_2095_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
if (lean_obj_tag(v___x_2109_) == 0)
|
||||
lean_object* v___x_2109_; uint8_t v___x_2110_; lean_object* v___x_2111_; uint8_t v___x_2112_; lean_object* v___x_2113_; lean_object* v___x_2114_;
|
||||
v___x_2109_ = lean_unsigned_to_nat(10u);
|
||||
v___x_2110_ = 0;
|
||||
v___x_2111_ = lean_unsigned_to_nat(100000u);
|
||||
v___x_2112_ = 0;
|
||||
v___x_2113_ = lean_alloc_ctor(0, 2, 11);
|
||||
lean_ctor_set(v___x_2113_, 0, v___x_2109_);
|
||||
lean_ctor_set(v___x_2113_, 1, v___x_2111_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2, v___x_2107_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 1, v___x_2107_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 2, v___x_2110_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 3, v___x_2107_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 4, v___x_2107_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 5, v___x_2107_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 6, v___x_2107_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 7, v___x_2107_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 8, v___x_2110_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 9, v___x_2110_);
|
||||
lean_ctor_set_uint8(v___x_2113_, sizeof(void*)*2 + 10, v___x_2112_);
|
||||
v___x_2114_ = l_Lean_Elab_Tactic_BVDecide_Frontend_elabBVDecideConfig___redArg(v___x_2105_, v___x_2113_, v___x_2107_, v_a_2092_, v_a_2098_, v_a_2099_);
|
||||
if (lean_obj_tag(v___x_2114_) == 0)
|
||||
{
|
||||
lean_object* v_a_2110_; lean_object* v___x_2111_;
|
||||
v_a_2110_ = lean_ctor_get(v___x_2109_, 0);
|
||||
lean_inc(v_a_2110_);
|
||||
lean_dec_ref(v___x_2109_);
|
||||
v___x_2111_ = l_Lean_Elab_Tactic_getMainGoal___redArg(v_a_2093_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
if (lean_obj_tag(v___x_2111_) == 0)
|
||||
lean_object* v_a_2115_; lean_object* v___x_2116_;
|
||||
v_a_2115_ = lean_ctor_get(v___x_2114_, 0);
|
||||
lean_inc(v_a_2115_);
|
||||
lean_dec_ref(v___x_2114_);
|
||||
v___x_2116_ = l_Lean_Elab_Tactic_getMainGoal___redArg(v_a_2093_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
if (lean_obj_tag(v___x_2116_) == 0)
|
||||
{
|
||||
lean_object* v_a_2112_; lean_object* v___x_2113_;
|
||||
v_a_2112_ = lean_ctor_get(v___x_2111_, 0);
|
||||
lean_inc(v_a_2112_);
|
||||
lean_dec_ref(v___x_2111_);
|
||||
v___x_2113_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_bvNormalize(v_a_2112_, v_a_2110_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
lean_dec(v_a_2110_);
|
||||
if (lean_obj_tag(v___x_2113_) == 0)
|
||||
lean_object* v_a_2117_; lean_object* v___x_2118_;
|
||||
v_a_2117_ = lean_ctor_get(v___x_2116_, 0);
|
||||
lean_inc(v_a_2117_);
|
||||
lean_dec_ref(v___x_2116_);
|
||||
v___x_2118_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_bvNormalize(v_a_2117_, v_a_2115_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
lean_dec(v_a_2115_);
|
||||
if (lean_obj_tag(v___x_2118_) == 0)
|
||||
{
|
||||
lean_object* v_a_2114_;
|
||||
v_a_2114_ = lean_ctor_get(v___x_2113_, 0);
|
||||
lean_inc(v_a_2114_);
|
||||
lean_dec_ref(v___x_2113_);
|
||||
if (lean_obj_tag(v_a_2114_) == 0)
|
||||
lean_object* v_a_2119_;
|
||||
v_a_2119_ = lean_ctor_get(v___x_2118_, 0);
|
||||
lean_inc(v_a_2119_);
|
||||
lean_dec_ref(v___x_2118_);
|
||||
if (lean_obj_tag(v_a_2119_) == 0)
|
||||
{
|
||||
lean_object* v___x_2115_; lean_object* v___x_2116_;
|
||||
v___x_2115_ = lean_box(0);
|
||||
v___x_2116_ = l_Lean_Elab_Tactic_replaceMainGoal___redArg(v___x_2115_, v_a_2093_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
return v___x_2116_;
|
||||
lean_object* v___x_2120_; lean_object* v___x_2121_;
|
||||
v___x_2120_ = lean_box(0);
|
||||
v___x_2121_ = l_Lean_Elab_Tactic_replaceMainGoal___redArg(v___x_2120_, v_a_2093_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
return v___x_2121_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_2117_; lean_object* v___x_2118_; lean_object* v___x_2119_; lean_object* v___x_2120_;
|
||||
v_val_2117_ = lean_ctor_get(v_a_2114_, 0);
|
||||
lean_inc(v_val_2117_);
|
||||
lean_dec_ref(v_a_2114_);
|
||||
v___x_2118_ = lean_box(0);
|
||||
v___x_2119_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_2119_, 0, v_val_2117_);
|
||||
lean_ctor_set(v___x_2119_, 1, v___x_2118_);
|
||||
v___x_2120_ = l_Lean_Elab_Tactic_replaceMainGoal___redArg(v___x_2119_, v_a_2093_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
return v___x_2120_;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_2121_; lean_object* v___x_2123_; uint8_t v_isShared_2124_; uint8_t v_isSharedCheck_2128_;
|
||||
v_a_2121_ = lean_ctor_get(v___x_2113_, 0);
|
||||
v_isSharedCheck_2128_ = !lean_is_exclusive(v___x_2113_);
|
||||
if (v_isSharedCheck_2128_ == 0)
|
||||
{
|
||||
v___x_2123_ = v___x_2113_;
|
||||
v_isShared_2124_ = v_isSharedCheck_2128_;
|
||||
goto v_resetjp_2122_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_2121_);
|
||||
lean_dec(v___x_2113_);
|
||||
lean_object* v_val_2122_; lean_object* v___x_2123_; lean_object* v___x_2124_; lean_object* v___x_2125_;
|
||||
v_val_2122_ = lean_ctor_get(v_a_2119_, 0);
|
||||
lean_inc(v_val_2122_);
|
||||
lean_dec_ref(v_a_2119_);
|
||||
v___x_2123_ = lean_box(0);
|
||||
v_isShared_2124_ = v_isSharedCheck_2128_;
|
||||
goto v_resetjp_2122_;
|
||||
v___x_2124_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v___x_2124_, 0, v_val_2122_);
|
||||
lean_ctor_set(v___x_2124_, 1, v___x_2123_);
|
||||
v___x_2125_ = l_Lean_Elab_Tactic_replaceMainGoal___redArg(v___x_2124_, v_a_2093_, v_a_2096_, v_a_2097_, v_a_2098_, v_a_2099_);
|
||||
return v___x_2125_;
|
||||
}
|
||||
v_resetjp_2122_:
|
||||
{
|
||||
lean_object* v___x_2126_;
|
||||
if (v_isShared_2124_ == 0)
|
||||
{
|
||||
v___x_2126_ = v___x_2123_;
|
||||
goto v_reusejp_2125_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_2127_;
|
||||
v_reuseFailAlloc_2127_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2127_, 0, v_a_2121_);
|
||||
v___x_2126_ = v_reuseFailAlloc_2127_;
|
||||
goto v_reusejp_2125_;
|
||||
}
|
||||
v_reusejp_2125_:
|
||||
lean_object* v_a_2126_; lean_object* v___x_2128_; uint8_t v_isShared_2129_; uint8_t v_isSharedCheck_2133_;
|
||||
v_a_2126_ = lean_ctor_get(v___x_2118_, 0);
|
||||
v_isSharedCheck_2133_ = !lean_is_exclusive(v___x_2118_);
|
||||
if (v_isSharedCheck_2133_ == 0)
|
||||
{
|
||||
return v___x_2126_;
|
||||
v___x_2128_ = v___x_2118_;
|
||||
v_isShared_2129_ = v_isSharedCheck_2133_;
|
||||
goto v_resetjp_2127_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_2126_);
|
||||
lean_dec(v___x_2118_);
|
||||
v___x_2128_ = lean_box(0);
|
||||
v_isShared_2129_ = v_isSharedCheck_2133_;
|
||||
goto v_resetjp_2127_;
|
||||
}
|
||||
v_resetjp_2127_:
|
||||
{
|
||||
lean_object* v___x_2131_;
|
||||
if (v_isShared_2129_ == 0)
|
||||
{
|
||||
v___x_2131_ = v___x_2128_;
|
||||
goto v_reusejp_2130_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_2132_;
|
||||
v_reuseFailAlloc_2132_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2132_, 0, v_a_2126_);
|
||||
v___x_2131_ = v_reuseFailAlloc_2132_;
|
||||
goto v_reusejp_2130_;
|
||||
}
|
||||
v_reusejp_2130_:
|
||||
{
|
||||
return v___x_2131_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_2129_; lean_object* v___x_2131_; uint8_t v_isShared_2132_; uint8_t v_isSharedCheck_2136_;
|
||||
lean_dec(v_a_2110_);
|
||||
v_a_2129_ = lean_ctor_get(v___x_2111_, 0);
|
||||
v_isSharedCheck_2136_ = !lean_is_exclusive(v___x_2111_);
|
||||
if (v_isSharedCheck_2136_ == 0)
|
||||
lean_object* v_a_2134_; lean_object* v___x_2136_; uint8_t v_isShared_2137_; uint8_t v_isSharedCheck_2141_;
|
||||
lean_dec(v_a_2115_);
|
||||
v_a_2134_ = lean_ctor_get(v___x_2116_, 0);
|
||||
v_isSharedCheck_2141_ = !lean_is_exclusive(v___x_2116_);
|
||||
if (v_isSharedCheck_2141_ == 0)
|
||||
{
|
||||
v___x_2131_ = v___x_2111_;
|
||||
v_isShared_2132_ = v_isSharedCheck_2136_;
|
||||
goto v_resetjp_2130_;
|
||||
v___x_2136_ = v___x_2116_;
|
||||
v_isShared_2137_ = v_isSharedCheck_2141_;
|
||||
goto v_resetjp_2135_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_2129_);
|
||||
lean_dec(v___x_2111_);
|
||||
v___x_2131_ = lean_box(0);
|
||||
v_isShared_2132_ = v_isSharedCheck_2136_;
|
||||
goto v_resetjp_2130_;
|
||||
lean_inc(v_a_2134_);
|
||||
lean_dec(v___x_2116_);
|
||||
v___x_2136_ = lean_box(0);
|
||||
v_isShared_2137_ = v_isSharedCheck_2141_;
|
||||
goto v_resetjp_2135_;
|
||||
}
|
||||
v_resetjp_2130_:
|
||||
v_resetjp_2135_:
|
||||
{
|
||||
lean_object* v___x_2134_;
|
||||
if (v_isShared_2132_ == 0)
|
||||
lean_object* v___x_2139_;
|
||||
if (v_isShared_2137_ == 0)
|
||||
{
|
||||
v___x_2134_ = v___x_2131_;
|
||||
goto v_reusejp_2133_;
|
||||
v___x_2139_ = v___x_2136_;
|
||||
goto v_reusejp_2138_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_2135_;
|
||||
v_reuseFailAlloc_2135_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2135_, 0, v_a_2129_);
|
||||
v___x_2134_ = v_reuseFailAlloc_2135_;
|
||||
goto v_reusejp_2133_;
|
||||
lean_object* v_reuseFailAlloc_2140_;
|
||||
v_reuseFailAlloc_2140_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2140_, 0, v_a_2134_);
|
||||
v___x_2139_ = v_reuseFailAlloc_2140_;
|
||||
goto v_reusejp_2138_;
|
||||
}
|
||||
v_reusejp_2133_:
|
||||
v_reusejp_2138_:
|
||||
{
|
||||
return v___x_2134_;
|
||||
return v___x_2139_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_2137_; lean_object* v___x_2139_; uint8_t v_isShared_2140_; uint8_t v_isSharedCheck_2144_;
|
||||
v_a_2137_ = lean_ctor_get(v___x_2109_, 0);
|
||||
v_isSharedCheck_2144_ = !lean_is_exclusive(v___x_2109_);
|
||||
if (v_isSharedCheck_2144_ == 0)
|
||||
lean_object* v_a_2142_; lean_object* v___x_2144_; uint8_t v_isShared_2145_; uint8_t v_isSharedCheck_2149_;
|
||||
v_a_2142_ = lean_ctor_get(v___x_2114_, 0);
|
||||
v_isSharedCheck_2149_ = !lean_is_exclusive(v___x_2114_);
|
||||
if (v_isSharedCheck_2149_ == 0)
|
||||
{
|
||||
v___x_2139_ = v___x_2109_;
|
||||
v_isShared_2140_ = v_isSharedCheck_2144_;
|
||||
goto v_resetjp_2138_;
|
||||
v___x_2144_ = v___x_2114_;
|
||||
v_isShared_2145_ = v_isSharedCheck_2149_;
|
||||
goto v_resetjp_2143_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_2137_);
|
||||
lean_dec(v___x_2109_);
|
||||
v___x_2139_ = lean_box(0);
|
||||
v_isShared_2140_ = v_isSharedCheck_2144_;
|
||||
goto v_resetjp_2138_;
|
||||
lean_inc(v_a_2142_);
|
||||
lean_dec(v___x_2114_);
|
||||
v___x_2144_ = lean_box(0);
|
||||
v_isShared_2145_ = v_isSharedCheck_2149_;
|
||||
goto v_resetjp_2143_;
|
||||
}
|
||||
v_resetjp_2138_:
|
||||
v_resetjp_2143_:
|
||||
{
|
||||
lean_object* v___x_2142_;
|
||||
if (v_isShared_2140_ == 0)
|
||||
lean_object* v___x_2147_;
|
||||
if (v_isShared_2145_ == 0)
|
||||
{
|
||||
v___x_2142_ = v___x_2139_;
|
||||
goto v_reusejp_2141_;
|
||||
v___x_2147_ = v___x_2144_;
|
||||
goto v_reusejp_2146_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_2143_;
|
||||
v_reuseFailAlloc_2143_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2143_, 0, v_a_2137_);
|
||||
v___x_2142_ = v_reuseFailAlloc_2143_;
|
||||
goto v_reusejp_2141_;
|
||||
lean_object* v_reuseFailAlloc_2148_;
|
||||
v_reuseFailAlloc_2148_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_2148_, 0, v_a_2142_);
|
||||
v___x_2147_ = v_reuseFailAlloc_2148_;
|
||||
goto v_reusejp_2146_;
|
||||
}
|
||||
v_reusejp_2141_:
|
||||
v_reusejp_2146_:
|
||||
{
|
||||
return v___x_2142_;
|
||||
return v___x_2147_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6851,40 +6869,40 @@ return v___x_2142_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___boxed(lean_object* v_x_2145_, lean_object* v_a_2146_, lean_object* v_a_2147_, lean_object* v_a_2148_, lean_object* v_a_2149_, lean_object* v_a_2150_, lean_object* v_a_2151_, lean_object* v_a_2152_, lean_object* v_a_2153_, lean_object* v_a_2154_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___boxed(lean_object* v_x_2150_, lean_object* v_a_2151_, lean_object* v_a_2152_, lean_object* v_a_2153_, lean_object* v_a_2154_, lean_object* v_a_2155_, lean_object* v_a_2156_, lean_object* v_a_2157_, lean_object* v_a_2158_, lean_object* v_a_2159_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_2155_;
|
||||
v_res_2155_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize(v_x_2145_, v_a_2146_, v_a_2147_, v_a_2148_, v_a_2149_, v_a_2150_, v_a_2151_, v_a_2152_, v_a_2153_);
|
||||
lean_dec(v_a_2153_);
|
||||
lean_dec_ref(v_a_2152_);
|
||||
lean_dec(v_a_2151_);
|
||||
lean_dec_ref(v_a_2150_);
|
||||
lean_dec(v_a_2149_);
|
||||
lean_dec_ref(v_a_2148_);
|
||||
lean_dec(v_a_2147_);
|
||||
lean_dec_ref(v_a_2146_);
|
||||
return v_res_2155_;
|
||||
lean_object* v_res_2160_;
|
||||
v_res_2160_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize(v_x_2150_, v_a_2151_, v_a_2152_, v_a_2153_, v_a_2154_, v_a_2155_, v_a_2156_, v_a_2157_, v_a_2158_);
|
||||
lean_dec(v_a_2158_);
|
||||
lean_dec_ref(v_a_2157_);
|
||||
lean_dec(v_a_2156_);
|
||||
lean_dec_ref(v_a_2155_);
|
||||
lean_dec(v_a_2154_);
|
||||
lean_dec_ref(v_a_2153_);
|
||||
lean_dec(v_a_2152_);
|
||||
lean_dec_ref(v_a_2151_);
|
||||
return v_res_2160_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize__1(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_2170_; lean_object* v___x_2171_; lean_object* v___x_2172_; lean_object* v___x_2173_; lean_object* v___x_2174_;
|
||||
v___x_2170_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_2171_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___closed__3));
|
||||
v___x_2172_ = ((lean_object*)(l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize__1___closed__5));
|
||||
v___x_2173_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___boxed), 10, 0);
|
||||
v___x_2174_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_2170_, v___x_2171_, v___x_2172_, v___x_2173_);
|
||||
return v___x_2174_;
|
||||
lean_object* v___x_2175_; lean_object* v___x_2176_; lean_object* v___x_2177_; lean_object* v___x_2178_; lean_object* v___x_2179_;
|
||||
v___x_2175_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_2176_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___closed__3));
|
||||
v___x_2177_ = ((lean_object*)(l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize__1___closed__5));
|
||||
v___x_2178_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___boxed), 10, 0);
|
||||
v___x_2179_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_2175_, v___x_2176_, v___x_2177_, v___x_2178_);
|
||||
return v___x_2179_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize__1___boxed(lean_object* v_a_2175_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize__1___boxed(lean_object* v_a_2180_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_2176_;
|
||||
v_res_2176_ = l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize__1();
|
||||
return v_res_2176_;
|
||||
lean_object* v_res_2181_;
|
||||
v_res_2181_ = l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize___regBuiltin_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_evalBVNormalize__1();
|
||||
return v_res_2181_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_FalseOrByContra(uint8_t builtin);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -53,7 +53,8 @@ lean_object* l_Lean_MVarId_tryClearMany(lean_object*, lean_object*, lean_object*
|
|||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___redArg(lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Options_empty;
|
||||
lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_simpGoal(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1155,13 +1156,13 @@ v___x_380_ = l_Lean_MVarId_tryClearMany(v_goal_359_, v_snd_379_, v___y_363_, v__
|
|||
lean_dec(v_snd_379_);
|
||||
if (lean_obj_tag(v___x_380_) == 0)
|
||||
{
|
||||
lean_object* v_a_381_; lean_object* v___x_383_; uint8_t v_isShared_384_; uint8_t v_isSharedCheck_458_;
|
||||
lean_object* v_a_381_; lean_object* v___x_383_; uint8_t v_isShared_384_; uint8_t v_isSharedCheck_459_;
|
||||
v_a_381_ = lean_ctor_get(v___x_380_, 0);
|
||||
v_isSharedCheck_458_ = !lean_is_exclusive(v___x_380_);
|
||||
if (v_isSharedCheck_458_ == 0)
|
||||
v_isSharedCheck_459_ = !lean_is_exclusive(v___x_380_);
|
||||
if (v_isSharedCheck_459_ == 0)
|
||||
{
|
||||
v___x_383_ = v___x_380_;
|
||||
v_isShared_384_ = v_isSharedCheck_458_;
|
||||
v_isShared_384_ = v_isSharedCheck_459_;
|
||||
goto v_resetjp_382_;
|
||||
}
|
||||
else
|
||||
|
|
@ -1169,7 +1170,7 @@ else
|
|||
lean_inc(v_a_381_);
|
||||
lean_dec(v___x_380_);
|
||||
v___x_383_ = lean_box(0);
|
||||
v_isShared_384_ = v_isSharedCheck_458_;
|
||||
v_isShared_384_ = v_isSharedCheck_459_;
|
||||
goto v_resetjp_382_;
|
||||
}
|
||||
v_resetjp_382_:
|
||||
|
|
@ -1192,7 +1193,7 @@ lean_dec_ref(v___x_387_);
|
|||
v___x_389_ = l_Lean_Meta_getSimpCongrTheorems___redArg(v___y_366_);
|
||||
if (lean_obj_tag(v___x_389_) == 0)
|
||||
{
|
||||
lean_object* v_a_390_; lean_object* v_maxSteps_391_; uint8_t v___x_392_; lean_object* v___x_393_; uint8_t v___x_394_; lean_object* v___x_395_; lean_object* v___x_396_; lean_object* v___x_397_;
|
||||
lean_object* v_a_390_; lean_object* v_maxSteps_391_; uint8_t v___x_392_; lean_object* v___x_393_; uint8_t v___x_394_; lean_object* v___x_395_; lean_object* v___x_396_; lean_object* v___x_397_; lean_object* v___x_398_;
|
||||
v_a_390_ = lean_ctor_get(v___x_389_, 0);
|
||||
lean_inc(v_a_390_);
|
||||
lean_dec_ref(v___x_389_);
|
||||
|
|
@ -1235,599 +1236,600 @@ lean_ctor_set_uint8(v___x_396_, sizeof(void*)*3 + 25, v___x_392_);
|
|||
lean_ctor_set_uint8(v___x_396_, sizeof(void*)*3 + 26, v___x_386_);
|
||||
lean_ctor_set_uint8(v___x_396_, sizeof(void*)*3 + 27, v___x_386_);
|
||||
lean_ctor_set_uint8(v___x_396_, sizeof(void*)*3 + 28, v___x_392_);
|
||||
v___x_397_ = l_Lean_Meta_Simp_mkContext___redArg(v___x_396_, v_fst_378_, v_a_390_, v___y_363_, v___y_365_, v___y_366_);
|
||||
if (lean_obj_tag(v___x_397_) == 0)
|
||||
v___x_397_ = l_Lean_Options_empty;
|
||||
v___x_398_ = l_Lean_Meta_Simp_mkContext___redArg(v___x_396_, v_fst_378_, v_a_390_, v___x_397_, v___y_363_, v___y_365_, v___y_366_);
|
||||
if (lean_obj_tag(v___x_398_) == 0)
|
||||
{
|
||||
lean_object* v_a_398_; lean_object* v___x_399_; lean_object* v___x_400_;
|
||||
v_a_398_ = lean_ctor_get(v___x_397_, 0);
|
||||
lean_inc(v_a_398_);
|
||||
lean_dec_ref(v___x_397_);
|
||||
v___x_399_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___closed__11, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___closed__11_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___closed__11);
|
||||
v___x_400_ = l_Lean_Meta_simpGoal(v_a_381_, v_a_398_, v_relevantHyps_371_, v___x_395_, v___x_392_, v_a_388_, v___x_399_, v___y_363_, v___y_364_, v___y_365_, v___y_366_);
|
||||
if (lean_obj_tag(v___x_400_) == 0)
|
||||
lean_object* v_a_399_; lean_object* v___x_400_; lean_object* v___x_401_;
|
||||
v_a_399_ = lean_ctor_get(v___x_398_, 0);
|
||||
lean_inc(v_a_399_);
|
||||
lean_dec_ref(v___x_398_);
|
||||
v___x_400_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___closed__11, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___closed__11_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___closed__11);
|
||||
v___x_401_ = l_Lean_Meta_simpGoal(v_a_381_, v_a_399_, v_relevantHyps_371_, v___x_395_, v___x_392_, v_a_388_, v___x_400_, v___y_363_, v___y_364_, v___y_365_, v___y_366_);
|
||||
if (lean_obj_tag(v___x_401_) == 0)
|
||||
{
|
||||
lean_object* v_a_401_; lean_object* v___x_403_; uint8_t v_isShared_404_; uint8_t v_isSharedCheck_421_;
|
||||
v_a_401_ = lean_ctor_get(v___x_400_, 0);
|
||||
v_isSharedCheck_421_ = !lean_is_exclusive(v___x_400_);
|
||||
if (v_isSharedCheck_421_ == 0)
|
||||
lean_object* v_a_402_; lean_object* v___x_404_; uint8_t v_isShared_405_; uint8_t v_isSharedCheck_422_;
|
||||
v_a_402_ = lean_ctor_get(v___x_401_, 0);
|
||||
v_isSharedCheck_422_ = !lean_is_exclusive(v___x_401_);
|
||||
if (v_isSharedCheck_422_ == 0)
|
||||
{
|
||||
v___x_403_ = v___x_400_;
|
||||
v_isShared_404_ = v_isSharedCheck_421_;
|
||||
goto v_resetjp_402_;
|
||||
v___x_404_ = v___x_401_;
|
||||
v_isShared_405_ = v_isSharedCheck_422_;
|
||||
goto v_resetjp_403_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_401_);
|
||||
lean_dec(v___x_400_);
|
||||
v___x_403_ = lean_box(0);
|
||||
v_isShared_404_ = v_isSharedCheck_421_;
|
||||
goto v_resetjp_402_;
|
||||
lean_inc(v_a_402_);
|
||||
lean_dec(v___x_401_);
|
||||
v___x_404_ = lean_box(0);
|
||||
v_isShared_405_ = v_isSharedCheck_422_;
|
||||
goto v_resetjp_403_;
|
||||
}
|
||||
v_resetjp_402_:
|
||||
v_resetjp_403_:
|
||||
{
|
||||
lean_object* v_fst_405_;
|
||||
v_fst_405_ = lean_ctor_get(v_a_401_, 0);
|
||||
lean_inc(v_fst_405_);
|
||||
lean_dec(v_a_401_);
|
||||
if (lean_obj_tag(v_fst_405_) == 1)
|
||||
lean_object* v_fst_406_;
|
||||
v_fst_406_ = lean_ctor_get(v_a_402_, 0);
|
||||
lean_inc(v_fst_406_);
|
||||
lean_dec(v_a_402_);
|
||||
if (lean_obj_tag(v_fst_406_) == 1)
|
||||
{
|
||||
lean_object* v_val_406_; lean_object* v___x_408_; uint8_t v_isShared_409_; uint8_t v_isSharedCheck_417_;
|
||||
v_val_406_ = lean_ctor_get(v_fst_405_, 0);
|
||||
v_isSharedCheck_417_ = !lean_is_exclusive(v_fst_405_);
|
||||
if (v_isSharedCheck_417_ == 0)
|
||||
lean_object* v_val_407_; lean_object* v___x_409_; uint8_t v_isShared_410_; uint8_t v_isSharedCheck_418_;
|
||||
v_val_407_ = lean_ctor_get(v_fst_406_, 0);
|
||||
v_isSharedCheck_418_ = !lean_is_exclusive(v_fst_406_);
|
||||
if (v_isSharedCheck_418_ == 0)
|
||||
{
|
||||
v___x_408_ = v_fst_405_;
|
||||
v_isShared_409_ = v_isSharedCheck_417_;
|
||||
goto v_resetjp_407_;
|
||||
v___x_409_ = v_fst_406_;
|
||||
v_isShared_410_ = v_isSharedCheck_418_;
|
||||
goto v_resetjp_408_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_val_406_);
|
||||
lean_dec(v_fst_405_);
|
||||
v___x_408_ = lean_box(0);
|
||||
v_isShared_409_ = v_isSharedCheck_417_;
|
||||
goto v_resetjp_407_;
|
||||
lean_inc(v_val_407_);
|
||||
lean_dec(v_fst_406_);
|
||||
v___x_409_ = lean_box(0);
|
||||
v_isShared_410_ = v_isSharedCheck_418_;
|
||||
goto v_resetjp_408_;
|
||||
}
|
||||
v_resetjp_407_:
|
||||
v_resetjp_408_:
|
||||
{
|
||||
lean_object* v_snd_410_; lean_object* v___x_412_;
|
||||
v_snd_410_ = lean_ctor_get(v_val_406_, 1);
|
||||
lean_inc(v_snd_410_);
|
||||
lean_dec(v_val_406_);
|
||||
if (v_isShared_409_ == 0)
|
||||
lean_object* v_snd_411_; lean_object* v___x_413_;
|
||||
v_snd_411_ = lean_ctor_get(v_val_407_, 1);
|
||||
lean_inc(v_snd_411_);
|
||||
lean_dec(v_val_407_);
|
||||
if (v_isShared_410_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_408_, 0, v_snd_410_);
|
||||
v___x_412_ = v___x_408_;
|
||||
goto v_reusejp_411_;
|
||||
lean_ctor_set(v___x_409_, 0, v_snd_411_);
|
||||
v___x_413_ = v___x_409_;
|
||||
goto v_reusejp_412_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_417_;
|
||||
v_reuseFailAlloc_417_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_417_, 0, v_snd_411_);
|
||||
v___x_413_ = v_reuseFailAlloc_417_;
|
||||
goto v_reusejp_412_;
|
||||
}
|
||||
v_reusejp_412_:
|
||||
{
|
||||
lean_object* v___x_415_;
|
||||
if (v_isShared_405_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_404_, 0, v___x_413_);
|
||||
v___x_415_ = v___x_404_;
|
||||
goto v_reusejp_414_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_416_;
|
||||
v_reuseFailAlloc_416_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_416_, 0, v_snd_410_);
|
||||
v___x_412_ = v_reuseFailAlloc_416_;
|
||||
goto v_reusejp_411_;
|
||||
v_reuseFailAlloc_416_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_416_, 0, v___x_413_);
|
||||
v___x_415_ = v_reuseFailAlloc_416_;
|
||||
goto v_reusejp_414_;
|
||||
}
|
||||
v_reusejp_411_:
|
||||
v_reusejp_414_:
|
||||
{
|
||||
lean_object* v___x_414_;
|
||||
if (v_isShared_404_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_403_, 0, v___x_412_);
|
||||
v___x_414_ = v___x_403_;
|
||||
goto v_reusejp_413_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_415_;
|
||||
v_reuseFailAlloc_415_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_415_, 0, v___x_412_);
|
||||
v___x_414_ = v_reuseFailAlloc_415_;
|
||||
goto v_reusejp_413_;
|
||||
}
|
||||
v_reusejp_413_:
|
||||
{
|
||||
return v___x_414_;
|
||||
return v___x_415_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_419_;
|
||||
lean_dec(v_fst_405_);
|
||||
if (v_isShared_404_ == 0)
|
||||
lean_object* v___x_420_;
|
||||
lean_dec(v_fst_406_);
|
||||
if (v_isShared_405_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_403_, 0, v___x_395_);
|
||||
v___x_419_ = v___x_403_;
|
||||
goto v_reusejp_418_;
|
||||
lean_ctor_set(v___x_404_, 0, v___x_395_);
|
||||
v___x_420_ = v___x_404_;
|
||||
goto v_reusejp_419_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_420_;
|
||||
v_reuseFailAlloc_420_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_420_, 0, v___x_395_);
|
||||
v___x_419_ = v_reuseFailAlloc_420_;
|
||||
goto v_reusejp_418_;
|
||||
lean_object* v_reuseFailAlloc_421_;
|
||||
v_reuseFailAlloc_421_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_421_, 0, v___x_395_);
|
||||
v___x_420_ = v_reuseFailAlloc_421_;
|
||||
goto v_reusejp_419_;
|
||||
}
|
||||
v_reusejp_418_:
|
||||
v_reusejp_419_:
|
||||
{
|
||||
return v___x_419_;
|
||||
return v___x_420_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_422_; lean_object* v___x_424_; uint8_t v_isShared_425_; uint8_t v_isSharedCheck_429_;
|
||||
v_a_422_ = lean_ctor_get(v___x_400_, 0);
|
||||
v_isSharedCheck_429_ = !lean_is_exclusive(v___x_400_);
|
||||
if (v_isSharedCheck_429_ == 0)
|
||||
lean_object* v_a_423_; lean_object* v___x_425_; uint8_t v_isShared_426_; uint8_t v_isSharedCheck_430_;
|
||||
v_a_423_ = lean_ctor_get(v___x_401_, 0);
|
||||
v_isSharedCheck_430_ = !lean_is_exclusive(v___x_401_);
|
||||
if (v_isSharedCheck_430_ == 0)
|
||||
{
|
||||
v___x_424_ = v___x_400_;
|
||||
v_isShared_425_ = v_isSharedCheck_429_;
|
||||
goto v_resetjp_423_;
|
||||
v___x_425_ = v___x_401_;
|
||||
v_isShared_426_ = v_isSharedCheck_430_;
|
||||
goto v_resetjp_424_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_422_);
|
||||
lean_dec(v___x_400_);
|
||||
v___x_424_ = lean_box(0);
|
||||
v_isShared_425_ = v_isSharedCheck_429_;
|
||||
goto v_resetjp_423_;
|
||||
lean_inc(v_a_423_);
|
||||
lean_dec(v___x_401_);
|
||||
v___x_425_ = lean_box(0);
|
||||
v_isShared_426_ = v_isSharedCheck_430_;
|
||||
goto v_resetjp_424_;
|
||||
}
|
||||
v_resetjp_423_:
|
||||
v_resetjp_424_:
|
||||
{
|
||||
lean_object* v___x_427_;
|
||||
if (v_isShared_425_ == 0)
|
||||
lean_object* v___x_428_;
|
||||
if (v_isShared_426_ == 0)
|
||||
{
|
||||
v___x_427_ = v___x_424_;
|
||||
goto v_reusejp_426_;
|
||||
v___x_428_ = v___x_425_;
|
||||
goto v_reusejp_427_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_428_;
|
||||
v_reuseFailAlloc_428_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_428_, 0, v_a_422_);
|
||||
v___x_427_ = v_reuseFailAlloc_428_;
|
||||
goto v_reusejp_426_;
|
||||
lean_object* v_reuseFailAlloc_429_;
|
||||
v_reuseFailAlloc_429_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_429_, 0, v_a_423_);
|
||||
v___x_428_ = v_reuseFailAlloc_429_;
|
||||
goto v_reusejp_427_;
|
||||
}
|
||||
v_reusejp_426_:
|
||||
v_reusejp_427_:
|
||||
{
|
||||
return v___x_427_;
|
||||
return v___x_428_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_430_; lean_object* v___x_432_; uint8_t v_isShared_433_; uint8_t v_isSharedCheck_437_;
|
||||
lean_object* v_a_431_; lean_object* v___x_433_; uint8_t v_isShared_434_; uint8_t v_isSharedCheck_438_;
|
||||
lean_dec(v_a_388_);
|
||||
lean_dec(v_a_381_);
|
||||
v_a_430_ = lean_ctor_get(v___x_397_, 0);
|
||||
v_isSharedCheck_437_ = !lean_is_exclusive(v___x_397_);
|
||||
if (v_isSharedCheck_437_ == 0)
|
||||
v_a_431_ = lean_ctor_get(v___x_398_, 0);
|
||||
v_isSharedCheck_438_ = !lean_is_exclusive(v___x_398_);
|
||||
if (v_isSharedCheck_438_ == 0)
|
||||
{
|
||||
v___x_432_ = v___x_397_;
|
||||
v_isShared_433_ = v_isSharedCheck_437_;
|
||||
goto v_resetjp_431_;
|
||||
v___x_433_ = v___x_398_;
|
||||
v_isShared_434_ = v_isSharedCheck_438_;
|
||||
goto v_resetjp_432_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_430_);
|
||||
lean_dec(v___x_397_);
|
||||
v___x_432_ = lean_box(0);
|
||||
v_isShared_433_ = v_isSharedCheck_437_;
|
||||
goto v_resetjp_431_;
|
||||
lean_inc(v_a_431_);
|
||||
lean_dec(v___x_398_);
|
||||
v___x_433_ = lean_box(0);
|
||||
v_isShared_434_ = v_isSharedCheck_438_;
|
||||
goto v_resetjp_432_;
|
||||
}
|
||||
v_resetjp_431_:
|
||||
v_resetjp_432_:
|
||||
{
|
||||
lean_object* v___x_435_;
|
||||
if (v_isShared_433_ == 0)
|
||||
lean_object* v___x_436_;
|
||||
if (v_isShared_434_ == 0)
|
||||
{
|
||||
v___x_435_ = v___x_432_;
|
||||
goto v_reusejp_434_;
|
||||
v___x_436_ = v___x_433_;
|
||||
goto v_reusejp_435_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_436_;
|
||||
v_reuseFailAlloc_436_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_436_, 0, v_a_430_);
|
||||
v___x_435_ = v_reuseFailAlloc_436_;
|
||||
goto v_reusejp_434_;
|
||||
lean_object* v_reuseFailAlloc_437_;
|
||||
v_reuseFailAlloc_437_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_437_, 0, v_a_431_);
|
||||
v___x_436_ = v_reuseFailAlloc_437_;
|
||||
goto v_reusejp_435_;
|
||||
}
|
||||
v_reusejp_434_:
|
||||
v_reusejp_435_:
|
||||
{
|
||||
return v___x_435_;
|
||||
return v___x_436_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_438_; lean_object* v___x_440_; uint8_t v_isShared_441_; uint8_t v_isSharedCheck_445_;
|
||||
lean_object* v_a_439_; lean_object* v___x_441_; uint8_t v_isShared_442_; uint8_t v_isSharedCheck_446_;
|
||||
lean_dec(v_a_388_);
|
||||
lean_dec(v_a_381_);
|
||||
lean_dec(v_fst_378_);
|
||||
v_a_438_ = lean_ctor_get(v___x_389_, 0);
|
||||
v_isSharedCheck_445_ = !lean_is_exclusive(v___x_389_);
|
||||
if (v_isSharedCheck_445_ == 0)
|
||||
v_a_439_ = lean_ctor_get(v___x_389_, 0);
|
||||
v_isSharedCheck_446_ = !lean_is_exclusive(v___x_389_);
|
||||
if (v_isSharedCheck_446_ == 0)
|
||||
{
|
||||
v___x_440_ = v___x_389_;
|
||||
v_isShared_441_ = v_isSharedCheck_445_;
|
||||
goto v_resetjp_439_;
|
||||
v___x_441_ = v___x_389_;
|
||||
v_isShared_442_ = v_isSharedCheck_446_;
|
||||
goto v_resetjp_440_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_438_);
|
||||
lean_inc(v_a_439_);
|
||||
lean_dec(v___x_389_);
|
||||
v___x_440_ = lean_box(0);
|
||||
v_isShared_441_ = v_isSharedCheck_445_;
|
||||
goto v_resetjp_439_;
|
||||
v___x_441_ = lean_box(0);
|
||||
v_isShared_442_ = v_isSharedCheck_446_;
|
||||
goto v_resetjp_440_;
|
||||
}
|
||||
v_resetjp_439_:
|
||||
v_resetjp_440_:
|
||||
{
|
||||
lean_object* v___x_443_;
|
||||
if (v_isShared_441_ == 0)
|
||||
lean_object* v___x_444_;
|
||||
if (v_isShared_442_ == 0)
|
||||
{
|
||||
v___x_443_ = v___x_440_;
|
||||
goto v_reusejp_442_;
|
||||
v___x_444_ = v___x_441_;
|
||||
goto v_reusejp_443_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_444_;
|
||||
v_reuseFailAlloc_444_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_444_, 0, v_a_438_);
|
||||
v___x_443_ = v_reuseFailAlloc_444_;
|
||||
goto v_reusejp_442_;
|
||||
lean_object* v_reuseFailAlloc_445_;
|
||||
v_reuseFailAlloc_445_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_445_, 0, v_a_439_);
|
||||
v___x_444_ = v_reuseFailAlloc_445_;
|
||||
goto v_reusejp_443_;
|
||||
}
|
||||
v_reusejp_442_:
|
||||
v_reusejp_443_:
|
||||
{
|
||||
return v___x_443_;
|
||||
return v___x_444_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_446_; lean_object* v___x_448_; uint8_t v_isShared_449_; uint8_t v_isSharedCheck_453_;
|
||||
lean_object* v_a_447_; lean_object* v___x_449_; uint8_t v_isShared_450_; uint8_t v_isSharedCheck_454_;
|
||||
lean_dec(v_a_381_);
|
||||
lean_dec(v_fst_378_);
|
||||
v_a_446_ = lean_ctor_get(v___x_387_, 0);
|
||||
v_isSharedCheck_453_ = !lean_is_exclusive(v___x_387_);
|
||||
if (v_isSharedCheck_453_ == 0)
|
||||
v_a_447_ = lean_ctor_get(v___x_387_, 0);
|
||||
v_isSharedCheck_454_ = !lean_is_exclusive(v___x_387_);
|
||||
if (v_isSharedCheck_454_ == 0)
|
||||
{
|
||||
v___x_448_ = v___x_387_;
|
||||
v_isShared_449_ = v_isSharedCheck_453_;
|
||||
goto v_resetjp_447_;
|
||||
v___x_449_ = v___x_387_;
|
||||
v_isShared_450_ = v_isSharedCheck_454_;
|
||||
goto v_resetjp_448_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_446_);
|
||||
lean_inc(v_a_447_);
|
||||
lean_dec(v___x_387_);
|
||||
v___x_448_ = lean_box(0);
|
||||
v_isShared_449_ = v_isSharedCheck_453_;
|
||||
goto v_resetjp_447_;
|
||||
v___x_449_ = lean_box(0);
|
||||
v_isShared_450_ = v_isSharedCheck_454_;
|
||||
goto v_resetjp_448_;
|
||||
}
|
||||
v_resetjp_447_:
|
||||
v_resetjp_448_:
|
||||
{
|
||||
lean_object* v___x_451_;
|
||||
if (v_isShared_449_ == 0)
|
||||
lean_object* v___x_452_;
|
||||
if (v_isShared_450_ == 0)
|
||||
{
|
||||
v___x_451_ = v___x_448_;
|
||||
goto v_reusejp_450_;
|
||||
v___x_452_ = v___x_449_;
|
||||
goto v_reusejp_451_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_452_;
|
||||
v_reuseFailAlloc_452_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_452_, 0, v_a_446_);
|
||||
v___x_451_ = v_reuseFailAlloc_452_;
|
||||
goto v_reusejp_450_;
|
||||
lean_object* v_reuseFailAlloc_453_;
|
||||
v_reuseFailAlloc_453_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_453_, 0, v_a_447_);
|
||||
v___x_452_ = v_reuseFailAlloc_453_;
|
||||
goto v_reusejp_451_;
|
||||
}
|
||||
v_reusejp_450_:
|
||||
v_reusejp_451_:
|
||||
{
|
||||
return v___x_451_;
|
||||
return v___x_452_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_454_; lean_object* v___x_456_;
|
||||
lean_object* v___x_455_; lean_object* v___x_457_;
|
||||
lean_dec(v_fst_378_);
|
||||
lean_dec_ref(v___f_360_);
|
||||
v___x_454_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_454_, 0, v_a_381_);
|
||||
v___x_455_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_455_, 0, v_a_381_);
|
||||
if (v_isShared_384_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_383_, 0, v___x_454_);
|
||||
v___x_456_ = v___x_383_;
|
||||
goto v_reusejp_455_;
|
||||
lean_ctor_set(v___x_383_, 0, v___x_455_);
|
||||
v___x_457_ = v___x_383_;
|
||||
goto v_reusejp_456_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_457_;
|
||||
v_reuseFailAlloc_457_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_457_, 0, v___x_454_);
|
||||
v___x_456_ = v_reuseFailAlloc_457_;
|
||||
goto v_reusejp_455_;
|
||||
lean_object* v_reuseFailAlloc_458_;
|
||||
v_reuseFailAlloc_458_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_458_, 0, v___x_455_);
|
||||
v___x_457_ = v_reuseFailAlloc_458_;
|
||||
goto v_reusejp_456_;
|
||||
}
|
||||
v_reusejp_455_:
|
||||
v_reusejp_456_:
|
||||
{
|
||||
return v___x_456_;
|
||||
return v___x_457_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_459_; lean_object* v___x_461_; uint8_t v_isShared_462_; uint8_t v_isSharedCheck_466_;
|
||||
lean_object* v_a_460_; lean_object* v___x_462_; uint8_t v_isShared_463_; uint8_t v_isSharedCheck_467_;
|
||||
lean_dec(v_fst_378_);
|
||||
lean_dec_ref(v___f_360_);
|
||||
v_a_459_ = lean_ctor_get(v___x_380_, 0);
|
||||
v_isSharedCheck_466_ = !lean_is_exclusive(v___x_380_);
|
||||
if (v_isSharedCheck_466_ == 0)
|
||||
v_a_460_ = lean_ctor_get(v___x_380_, 0);
|
||||
v_isSharedCheck_467_ = !lean_is_exclusive(v___x_380_);
|
||||
if (v_isSharedCheck_467_ == 0)
|
||||
{
|
||||
v___x_461_ = v___x_380_;
|
||||
v_isShared_462_ = v_isSharedCheck_466_;
|
||||
goto v_resetjp_460_;
|
||||
v___x_462_ = v___x_380_;
|
||||
v_isShared_463_ = v_isSharedCheck_467_;
|
||||
goto v_resetjp_461_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_459_);
|
||||
lean_inc(v_a_460_);
|
||||
lean_dec(v___x_380_);
|
||||
v___x_461_ = lean_box(0);
|
||||
v_isShared_462_ = v_isSharedCheck_466_;
|
||||
goto v_resetjp_460_;
|
||||
v___x_462_ = lean_box(0);
|
||||
v_isShared_463_ = v_isSharedCheck_467_;
|
||||
goto v_resetjp_461_;
|
||||
}
|
||||
v_resetjp_460_:
|
||||
v_resetjp_461_:
|
||||
{
|
||||
lean_object* v___x_464_;
|
||||
if (v_isShared_462_ == 0)
|
||||
lean_object* v___x_465_;
|
||||
if (v_isShared_463_ == 0)
|
||||
{
|
||||
v___x_464_ = v___x_461_;
|
||||
goto v_reusejp_463_;
|
||||
v___x_465_ = v___x_462_;
|
||||
goto v_reusejp_464_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_465_;
|
||||
v_reuseFailAlloc_465_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_465_, 0, v_a_459_);
|
||||
v___x_464_ = v_reuseFailAlloc_465_;
|
||||
goto v_reusejp_463_;
|
||||
lean_object* v_reuseFailAlloc_466_;
|
||||
v_reuseFailAlloc_466_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_466_, 0, v_a_460_);
|
||||
v___x_465_ = v_reuseFailAlloc_466_;
|
||||
goto v_reusejp_464_;
|
||||
}
|
||||
v_reusejp_463_:
|
||||
v_reusejp_464_:
|
||||
{
|
||||
return v___x_464_;
|
||||
return v___x_465_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_467_; lean_object* v___x_469_; uint8_t v_isShared_470_; uint8_t v_isSharedCheck_474_;
|
||||
lean_object* v_a_468_; lean_object* v___x_470_; uint8_t v_isShared_471_; uint8_t v_isSharedCheck_475_;
|
||||
lean_dec_ref(v___f_360_);
|
||||
lean_dec(v_goal_359_);
|
||||
v_a_467_ = lean_ctor_get(v___x_375_, 0);
|
||||
v_isSharedCheck_474_ = !lean_is_exclusive(v___x_375_);
|
||||
if (v_isSharedCheck_474_ == 0)
|
||||
v_a_468_ = lean_ctor_get(v___x_375_, 0);
|
||||
v_isSharedCheck_475_ = !lean_is_exclusive(v___x_375_);
|
||||
if (v_isSharedCheck_475_ == 0)
|
||||
{
|
||||
v___x_469_ = v___x_375_;
|
||||
v_isShared_470_ = v_isSharedCheck_474_;
|
||||
goto v_resetjp_468_;
|
||||
v___x_470_ = v___x_375_;
|
||||
v_isShared_471_ = v_isSharedCheck_475_;
|
||||
goto v_resetjp_469_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_467_);
|
||||
lean_inc(v_a_468_);
|
||||
lean_dec(v___x_375_);
|
||||
v___x_469_ = lean_box(0);
|
||||
v_isShared_470_ = v_isSharedCheck_474_;
|
||||
goto v_resetjp_468_;
|
||||
v___x_470_ = lean_box(0);
|
||||
v_isShared_471_ = v_isSharedCheck_475_;
|
||||
goto v_resetjp_469_;
|
||||
}
|
||||
v_resetjp_468_:
|
||||
v_resetjp_469_:
|
||||
{
|
||||
lean_object* v___x_472_;
|
||||
if (v_isShared_470_ == 0)
|
||||
lean_object* v___x_473_;
|
||||
if (v_isShared_471_ == 0)
|
||||
{
|
||||
v___x_472_ = v___x_469_;
|
||||
goto v_reusejp_471_;
|
||||
v___x_473_ = v___x_470_;
|
||||
goto v_reusejp_472_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_473_;
|
||||
v_reuseFailAlloc_473_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_473_, 0, v_a_467_);
|
||||
v___x_472_ = v_reuseFailAlloc_473_;
|
||||
goto v_reusejp_471_;
|
||||
lean_object* v_reuseFailAlloc_474_;
|
||||
v_reuseFailAlloc_474_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_474_, 0, v_a_468_);
|
||||
v___x_473_ = v_reuseFailAlloc_474_;
|
||||
goto v_reusejp_472_;
|
||||
}
|
||||
v_reusejp_471_:
|
||||
v_reusejp_472_:
|
||||
{
|
||||
return v___x_472_;
|
||||
return v___x_473_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_475_; lean_object* v___x_477_; uint8_t v_isShared_478_; uint8_t v_isSharedCheck_482_;
|
||||
lean_object* v_a_476_; lean_object* v___x_478_; uint8_t v_isShared_479_; uint8_t v_isSharedCheck_483_;
|
||||
lean_dec_ref(v___f_360_);
|
||||
lean_dec(v_goal_359_);
|
||||
v_a_475_ = lean_ctor_get(v___x_368_, 0);
|
||||
v_isSharedCheck_482_ = !lean_is_exclusive(v___x_368_);
|
||||
if (v_isSharedCheck_482_ == 0)
|
||||
v_a_476_ = lean_ctor_get(v___x_368_, 0);
|
||||
v_isSharedCheck_483_ = !lean_is_exclusive(v___x_368_);
|
||||
if (v_isSharedCheck_483_ == 0)
|
||||
{
|
||||
v___x_477_ = v___x_368_;
|
||||
v_isShared_478_ = v_isSharedCheck_482_;
|
||||
goto v_resetjp_476_;
|
||||
v___x_478_ = v___x_368_;
|
||||
v_isShared_479_ = v_isSharedCheck_483_;
|
||||
goto v_resetjp_477_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_475_);
|
||||
lean_inc(v_a_476_);
|
||||
lean_dec(v___x_368_);
|
||||
v___x_477_ = lean_box(0);
|
||||
v_isShared_478_ = v_isSharedCheck_482_;
|
||||
goto v_resetjp_476_;
|
||||
v___x_478_ = lean_box(0);
|
||||
v_isShared_479_ = v_isSharedCheck_483_;
|
||||
goto v_resetjp_477_;
|
||||
}
|
||||
v_resetjp_476_:
|
||||
v_resetjp_477_:
|
||||
{
|
||||
lean_object* v___x_480_;
|
||||
if (v_isShared_478_ == 0)
|
||||
lean_object* v___x_481_;
|
||||
if (v_isShared_479_ == 0)
|
||||
{
|
||||
v___x_480_ = v___x_477_;
|
||||
goto v_reusejp_479_;
|
||||
v___x_481_ = v___x_478_;
|
||||
goto v_reusejp_480_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_481_;
|
||||
v_reuseFailAlloc_481_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_481_, 0, v_a_475_);
|
||||
v___x_480_ = v_reuseFailAlloc_481_;
|
||||
goto v_reusejp_479_;
|
||||
lean_object* v_reuseFailAlloc_482_;
|
||||
v_reuseFailAlloc_482_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_482_, 0, v_a_476_);
|
||||
v___x_481_ = v_reuseFailAlloc_482_;
|
||||
goto v_reusejp_480_;
|
||||
}
|
||||
v_reusejp_479_:
|
||||
v_reusejp_480_:
|
||||
{
|
||||
return v___x_480_;
|
||||
return v___x_481_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___boxed(lean_object* v_goal_483_, lean_object* v___f_484_, lean_object* v___y_485_, lean_object* v___y_486_, lean_object* v___y_487_, lean_object* v___y_488_, lean_object* v___y_489_, lean_object* v___y_490_, lean_object* v___y_491_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___boxed(lean_object* v_goal_484_, lean_object* v___f_485_, lean_object* v___y_486_, lean_object* v___y_487_, lean_object* v___y_488_, lean_object* v___y_489_, lean_object* v___y_490_, lean_object* v___y_491_, lean_object* v___y_492_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_492_;
|
||||
v_res_492_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1(v_goal_483_, v___f_484_, v___y_485_, v___y_486_, v___y_487_, v___y_488_, v___y_489_, v___y_490_);
|
||||
lean_dec(v___y_490_);
|
||||
lean_dec_ref(v___y_489_);
|
||||
lean_dec(v___y_488_);
|
||||
lean_dec_ref(v___y_487_);
|
||||
lean_dec(v___y_486_);
|
||||
lean_dec_ref(v___y_485_);
|
||||
return v_res_492_;
|
||||
lean_object* v_res_493_;
|
||||
v_res_493_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1(v_goal_484_, v___f_485_, v___y_486_, v___y_487_, v___y_488_, v___y_489_, v___y_490_, v___y_491_);
|
||||
lean_dec(v___y_491_);
|
||||
lean_dec_ref(v___y_490_);
|
||||
lean_dec(v___y_489_);
|
||||
lean_dec_ref(v___y_488_);
|
||||
lean_dec(v___y_487_);
|
||||
lean_dec_ref(v___y_486_);
|
||||
return v_res_493_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__2(lean_object* v___f_493_, lean_object* v_goal_494_, lean_object* v___y_495_, lean_object* v___y_496_, lean_object* v___y_497_, lean_object* v___y_498_, lean_object* v___y_499_, lean_object* v___y_500_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__2(lean_object* v___f_494_, lean_object* v_goal_495_, lean_object* v___y_496_, lean_object* v___y_497_, lean_object* v___y_498_, lean_object* v___y_499_, lean_object* v___y_500_, lean_object* v___y_501_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___f_502_; lean_object* v___x_503_;
|
||||
lean_inc(v_goal_494_);
|
||||
v___f_502_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___boxed), 9, 2);
|
||||
lean_closure_set(v___f_502_, 0, v_goal_494_);
|
||||
lean_closure_set(v___f_502_, 1, v___f_493_);
|
||||
v___x_503_ = l_Lean_MVarId_withContext___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__3___redArg(v_goal_494_, v___f_502_, v___y_495_, v___y_496_, v___y_497_, v___y_498_, v___y_499_, v___y_500_);
|
||||
return v___x_503_;
|
||||
lean_object* v___f_503_; lean_object* v___x_504_;
|
||||
lean_inc(v_goal_495_);
|
||||
v___f_503_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__1___boxed), 9, 2);
|
||||
lean_closure_set(v___f_503_, 0, v_goal_495_);
|
||||
lean_closure_set(v___f_503_, 1, v___f_494_);
|
||||
v___x_504_ = l_Lean_MVarId_withContext___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__3___redArg(v_goal_495_, v___f_503_, v___y_496_, v___y_497_, v___y_498_, v___y_499_, v___y_500_, v___y_501_);
|
||||
return v___x_504_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__2___boxed(lean_object* v___f_504_, lean_object* v_goal_505_, lean_object* v___y_506_, lean_object* v___y_507_, lean_object* v___y_508_, lean_object* v___y_509_, lean_object* v___y_510_, lean_object* v___y_511_, lean_object* v___y_512_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__2___boxed(lean_object* v___f_505_, lean_object* v_goal_506_, lean_object* v___y_507_, lean_object* v___y_508_, lean_object* v___y_509_, lean_object* v___y_510_, lean_object* v___y_511_, lean_object* v___y_512_, lean_object* v___y_513_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_513_;
|
||||
v_res_513_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__2(v___f_504_, v_goal_505_, v___y_506_, v___y_507_, v___y_508_, v___y_509_, v___y_510_, v___y_511_);
|
||||
lean_dec(v___y_511_);
|
||||
lean_dec_ref(v___y_510_);
|
||||
lean_dec(v___y_509_);
|
||||
lean_dec_ref(v___y_508_);
|
||||
lean_dec(v___y_507_);
|
||||
lean_dec_ref(v___y_506_);
|
||||
return v_res_513_;
|
||||
lean_object* v_res_514_;
|
||||
v_res_514_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass___lam__2(v___f_505_, v_goal_506_, v___y_507_, v___y_508_, v___y_509_, v___y_510_, v___y_511_, v___y_512_);
|
||||
lean_dec(v___y_512_);
|
||||
lean_dec_ref(v___y_511_);
|
||||
lean_dec(v___y_510_);
|
||||
lean_dec_ref(v___y_509_);
|
||||
lean_dec(v___y_508_);
|
||||
lean_dec_ref(v___y_507_);
|
||||
return v_res_514_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0(lean_object* v_00_u03b2_524_, lean_object* v_m_525_, lean_object* v_a_526_){
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0(lean_object* v_00_u03b2_525_, lean_object* v_m_526_, lean_object* v_a_527_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_527_;
|
||||
v___x_527_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0___redArg(v_m_525_, v_a_526_);
|
||||
return v___x_527_;
|
||||
uint8_t v___x_528_;
|
||||
v___x_528_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0___redArg(v_m_526_, v_a_527_);
|
||||
return v___x_528_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0___boxed(lean_object* v_00_u03b2_528_, lean_object* v_m_529_, lean_object* v_a_530_){
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0___boxed(lean_object* v_00_u03b2_529_, lean_object* v_m_530_, lean_object* v_a_531_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_531_; lean_object* v_r_532_;
|
||||
v_res_531_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0(v_00_u03b2_528_, v_m_529_, v_a_530_);
|
||||
lean_dec_ref(v_a_530_);
|
||||
lean_dec_ref(v_m_529_);
|
||||
v_r_532_ = lean_box(v_res_531_);
|
||||
return v_r_532_;
|
||||
uint8_t v_res_532_; lean_object* v_r_533_;
|
||||
v_res_532_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0(v_00_u03b2_529_, v_m_530_, v_a_531_);
|
||||
lean_dec_ref(v_a_531_);
|
||||
lean_dec_ref(v_m_530_);
|
||||
v_r_533_ = lean_box(v_res_532_);
|
||||
return v_r_533_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1(lean_object* v_00_u03b2_533_, lean_object* v_m_534_, lean_object* v_a_535_, lean_object* v_b_536_){
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1(lean_object* v_00_u03b2_534_, lean_object* v_m_535_, lean_object* v_a_536_, lean_object* v_b_537_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_537_;
|
||||
v___x_537_ = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1___redArg(v_m_534_, v_a_535_, v_b_536_);
|
||||
return v___x_537_;
|
||||
lean_object* v___x_538_;
|
||||
v___x_538_ = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1___redArg(v_m_535_, v_a_536_, v_b_537_);
|
||||
return v___x_538_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2(lean_object* v_as_538_, size_t v_sz_539_, size_t v_i_540_, lean_object* v_b_541_, lean_object* v___y_542_, lean_object* v___y_543_, lean_object* v___y_544_, lean_object* v___y_545_, lean_object* v___y_546_, lean_object* v___y_547_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2(lean_object* v_as_539_, size_t v_sz_540_, size_t v_i_541_, lean_object* v_b_542_, lean_object* v___y_543_, lean_object* v___y_544_, lean_object* v___y_545_, lean_object* v___y_546_, lean_object* v___y_547_, lean_object* v___y_548_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_549_;
|
||||
v___x_549_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2___redArg(v_as_538_, v_sz_539_, v_i_540_, v_b_541_, v___y_544_, v___y_545_, v___y_546_, v___y_547_);
|
||||
return v___x_549_;
|
||||
lean_object* v___x_550_;
|
||||
v___x_550_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2___redArg(v_as_539_, v_sz_540_, v_i_541_, v_b_542_, v___y_545_, v___y_546_, v___y_547_, v___y_548_);
|
||||
return v___x_550_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2___boxed(lean_object* v_as_550_, lean_object* v_sz_551_, lean_object* v_i_552_, lean_object* v_b_553_, lean_object* v___y_554_, lean_object* v___y_555_, lean_object* v___y_556_, lean_object* v___y_557_, lean_object* v___y_558_, lean_object* v___y_559_, lean_object* v___y_560_){
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2___boxed(lean_object* v_as_551_, lean_object* v_sz_552_, lean_object* v_i_553_, lean_object* v_b_554_, lean_object* v___y_555_, lean_object* v___y_556_, lean_object* v___y_557_, lean_object* v___y_558_, lean_object* v___y_559_, lean_object* v___y_560_, lean_object* v___y_561_){
|
||||
_start:
|
||||
{
|
||||
size_t v_sz_boxed_561_; size_t v_i_boxed_562_; lean_object* v_res_563_;
|
||||
v_sz_boxed_561_ = lean_unbox_usize(v_sz_551_);
|
||||
lean_dec(v_sz_551_);
|
||||
v_i_boxed_562_ = lean_unbox_usize(v_i_552_);
|
||||
lean_dec(v_i_552_);
|
||||
v_res_563_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2(v_as_550_, v_sz_boxed_561_, v_i_boxed_562_, v_b_553_, v___y_554_, v___y_555_, v___y_556_, v___y_557_, v___y_558_, v___y_559_);
|
||||
lean_dec(v___y_559_);
|
||||
lean_dec_ref(v___y_558_);
|
||||
lean_dec(v___y_557_);
|
||||
lean_dec_ref(v___y_556_);
|
||||
lean_dec(v___y_555_);
|
||||
lean_dec_ref(v___y_554_);
|
||||
lean_dec_ref(v_as_550_);
|
||||
return v_res_563_;
|
||||
size_t v_sz_boxed_562_; size_t v_i_boxed_563_; lean_object* v_res_564_;
|
||||
v_sz_boxed_562_ = lean_unbox_usize(v_sz_552_);
|
||||
lean_dec(v_sz_552_);
|
||||
v_i_boxed_563_ = lean_unbox_usize(v_i_553_);
|
||||
lean_dec(v_i_553_);
|
||||
v_res_564_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__2(v_as_551_, v_sz_boxed_562_, v_i_boxed_563_, v_b_554_, v___y_555_, v___y_556_, v___y_557_, v___y_558_, v___y_559_, v___y_560_);
|
||||
lean_dec(v___y_560_);
|
||||
lean_dec_ref(v___y_559_);
|
||||
lean_dec(v___y_558_);
|
||||
lean_dec_ref(v___y_557_);
|
||||
lean_dec(v___y_556_);
|
||||
lean_dec_ref(v___y_555_);
|
||||
lean_dec_ref(v_as_551_);
|
||||
return v_res_564_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0(lean_object* v_00_u03b2_564_, lean_object* v_a_565_, lean_object* v_x_566_){
|
||||
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0(lean_object* v_00_u03b2_565_, lean_object* v_a_566_, lean_object* v_x_567_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_567_;
|
||||
v___x_567_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0___redArg(v_a_565_, v_x_566_);
|
||||
return v___x_567_;
|
||||
uint8_t v___x_568_;
|
||||
v___x_568_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0___redArg(v_a_566_, v_x_567_);
|
||||
return v___x_568_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0___boxed(lean_object* v_00_u03b2_568_, lean_object* v_a_569_, lean_object* v_x_570_){
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0___boxed(lean_object* v_00_u03b2_569_, lean_object* v_a_570_, lean_object* v_x_571_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_571_; lean_object* v_r_572_;
|
||||
v_res_571_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0(v_00_u03b2_568_, v_a_569_, v_x_570_);
|
||||
lean_dec(v_x_570_);
|
||||
lean_dec_ref(v_a_569_);
|
||||
v_r_572_ = lean_box(v_res_571_);
|
||||
return v_r_572_;
|
||||
uint8_t v_res_572_; lean_object* v_r_573_;
|
||||
v_res_572_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__0_spec__0(v_00_u03b2_569_, v_a_570_, v_x_571_);
|
||||
lean_dec(v_x_571_);
|
||||
lean_dec_ref(v_a_570_);
|
||||
v_r_573_ = lean_box(v_res_572_);
|
||||
return v_r_573_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2(lean_object* v_00_u03b2_573_, lean_object* v_data_574_){
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2(lean_object* v_00_u03b2_574_, lean_object* v_data_575_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_575_;
|
||||
v___x_575_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2___redArg(v_data_574_);
|
||||
return v___x_575_;
|
||||
lean_object* v___x_576_;
|
||||
v___x_576_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2___redArg(v_data_575_);
|
||||
return v___x_576_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_576_, lean_object* v_i_577_, lean_object* v_source_578_, lean_object* v_target_579_){
|
||||
LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_577_, lean_object* v_i_578_, lean_object* v_source_579_, lean_object* v_target_580_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_580_;
|
||||
v___x_580_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4___redArg(v_i_577_, v_source_578_, v_target_579_);
|
||||
return v___x_580_;
|
||||
lean_object* v___x_581_;
|
||||
v___x_581_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4___redArg(v_i_578_, v_source_579_, v_target_580_);
|
||||
return v___x_581_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_581_, lean_object* v_x_582_, lean_object* v_x_583_){
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_582_, lean_object* v_x_583_, lean_object* v_x_584_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_584_;
|
||||
v___x_584_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4_spec__6___redArg(v_x_582_, v_x_583_);
|
||||
return v___x_584_;
|
||||
lean_object* v___x_585_;
|
||||
v___x_585_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_embeddedConstraintPass_spec__1_spec__2_spec__4_spec__6___redArg(v_x_583_, v_x_584_);
|
||||
return v___x_585_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Std_Tactic_BVDecide_Normalize_Bool(uint8_t builtin);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -138,7 +138,8 @@ lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___redArg(lean_object*
|
|||
extern lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_intToBitVecExt;
|
||||
lean_object* l_Lean_Meta_SimpExtension_getTheorems___redArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___redArg(lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Options_empty;
|
||||
lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MVarId_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_simpGoal(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
|
|
@ -8967,7 +8968,7 @@ lean_dec_ref(v___x_3217_);
|
|||
v___x_3219_ = l_Lean_Meta_getSimpCongrTheorems___redArg(v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3219_) == 0)
|
||||
{
|
||||
lean_object* v_a_3220_; lean_object* v_maxSteps_3221_; lean_object* v___x_3222_; uint8_t v___x_3223_; uint8_t v___x_3224_; uint8_t v___x_3225_; lean_object* v___x_3226_; lean_object* v___x_3227_; lean_object* v___x_3228_; lean_object* v___x_3229_; lean_object* v___x_3230_; lean_object* v___x_3231_;
|
||||
lean_object* v_a_3220_; lean_object* v_maxSteps_3221_; lean_object* v___x_3222_; uint8_t v___x_3223_; uint8_t v___x_3224_; uint8_t v___x_3225_; lean_object* v___x_3226_; lean_object* v___x_3227_; lean_object* v___x_3228_; lean_object* v___x_3229_; lean_object* v___x_3230_; lean_object* v___x_3231_; lean_object* v___x_3232_;
|
||||
v_a_3220_ = lean_ctor_get(v___x_3219_, 0);
|
||||
lean_inc(v_a_3220_);
|
||||
lean_dec_ref(v___x_3219_);
|
||||
|
|
@ -9014,181 +9015,182 @@ lean_ctor_set_uint8(v___x_3227_, sizeof(void*)*3 + 28, v___x_3224_);
|
|||
v___x_3228_ = lean_unsigned_to_nat(1u);
|
||||
v___x_3229_ = lean_mk_empty_array_with_capacity(v___x_3228_);
|
||||
v___x_3230_ = lean_array_push(v___x_3229_, v_a_3218_);
|
||||
v___x_3231_ = l_Lean_Meta_Simp_mkContext___redArg(v___x_3227_, v___x_3230_, v_a_3220_, v___y_3211_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3231_) == 0)
|
||||
v___x_3231_ = l_Lean_Options_empty;
|
||||
v___x_3232_ = l_Lean_Meta_Simp_mkContext___redArg(v___x_3227_, v___x_3230_, v_a_3220_, v___x_3231_, v___y_3211_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3232_) == 0)
|
||||
{
|
||||
lean_object* v_a_3232_; lean_object* v___x_3233_;
|
||||
v_a_3232_ = lean_ctor_get(v___x_3231_, 0);
|
||||
lean_inc(v_a_3232_);
|
||||
lean_dec_ref(v___x_3231_);
|
||||
lean_object* v_a_3233_; lean_object* v___x_3234_;
|
||||
v_a_3233_ = lean_ctor_get(v___x_3232_, 0);
|
||||
lean_inc(v_a_3233_);
|
||||
lean_dec_ref(v___x_3232_);
|
||||
lean_inc(v_goal_3208_);
|
||||
v___x_3233_ = l_Lean_MVarId_getNondepPropHyps(v_goal_3208_, v___y_3211_, v___y_3212_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3233_) == 0)
|
||||
v___x_3234_ = l_Lean_MVarId_getNondepPropHyps(v_goal_3208_, v___y_3211_, v___y_3212_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3234_) == 0)
|
||||
{
|
||||
lean_object* v_a_3234_; lean_object* v___x_3235_; lean_object* v___x_3236_; lean_object* v___x_3237_;
|
||||
v_a_3234_ = lean_ctor_get(v___x_3233_, 0);
|
||||
lean_inc(v_a_3234_);
|
||||
lean_dec_ref(v___x_3233_);
|
||||
v___x_3235_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__0));
|
||||
v___x_3236_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__7, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__7_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__7);
|
||||
v___x_3237_ = l_Lean_Meta_simpGoal(v_goal_3208_, v_a_3232_, v___x_3235_, v___x_3226_, v___x_3224_, v_a_3234_, v___x_3236_, v___y_3211_, v___y_3212_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3237_) == 0)
|
||||
lean_object* v_a_3235_; lean_object* v___x_3236_; lean_object* v___x_3237_; lean_object* v___x_3238_;
|
||||
v_a_3235_ = lean_ctor_get(v___x_3234_, 0);
|
||||
lean_inc(v_a_3235_);
|
||||
lean_dec_ref(v___x_3234_);
|
||||
v___x_3236_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__0));
|
||||
v___x_3237_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__7, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__7_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__7);
|
||||
v___x_3238_ = l_Lean_Meta_simpGoal(v_goal_3208_, v_a_3233_, v___x_3236_, v___x_3226_, v___x_3224_, v_a_3235_, v___x_3237_, v___y_3211_, v___y_3212_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3238_) == 0)
|
||||
{
|
||||
lean_object* v_a_3238_; lean_object* v___x_3240_; uint8_t v_isShared_3241_; uint8_t v_isSharedCheck_3275_;
|
||||
v_a_3238_ = lean_ctor_get(v___x_3237_, 0);
|
||||
v_isSharedCheck_3275_ = !lean_is_exclusive(v___x_3237_);
|
||||
if (v_isSharedCheck_3275_ == 0)
|
||||
lean_object* v_a_3239_; lean_object* v___x_3241_; uint8_t v_isShared_3242_; uint8_t v_isSharedCheck_3276_;
|
||||
v_a_3239_ = lean_ctor_get(v___x_3238_, 0);
|
||||
v_isSharedCheck_3276_ = !lean_is_exclusive(v___x_3238_);
|
||||
if (v_isSharedCheck_3276_ == 0)
|
||||
{
|
||||
v___x_3240_ = v___x_3237_;
|
||||
v_isShared_3241_ = v_isSharedCheck_3275_;
|
||||
goto v_resetjp_3239_;
|
||||
v___x_3241_ = v___x_3238_;
|
||||
v_isShared_3242_ = v_isSharedCheck_3276_;
|
||||
goto v_resetjp_3240_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3238_);
|
||||
lean_dec(v___x_3237_);
|
||||
v___x_3240_ = lean_box(0);
|
||||
v_isShared_3241_ = v_isSharedCheck_3275_;
|
||||
goto v_resetjp_3239_;
|
||||
lean_inc(v_a_3239_);
|
||||
lean_dec(v___x_3238_);
|
||||
v___x_3241_ = lean_box(0);
|
||||
v_isShared_3242_ = v_isSharedCheck_3276_;
|
||||
goto v_resetjp_3240_;
|
||||
}
|
||||
v_resetjp_3239_:
|
||||
v_resetjp_3240_:
|
||||
{
|
||||
lean_object* v_fst_3242_;
|
||||
v_fst_3242_ = lean_ctor_get(v_a_3238_, 0);
|
||||
lean_inc(v_fst_3242_);
|
||||
lean_dec(v_a_3238_);
|
||||
if (lean_obj_tag(v_fst_3242_) == 1)
|
||||
lean_object* v_fst_3243_;
|
||||
v_fst_3243_ = lean_ctor_get(v_a_3239_, 0);
|
||||
lean_inc(v_fst_3243_);
|
||||
lean_dec(v_a_3239_);
|
||||
if (lean_obj_tag(v_fst_3243_) == 1)
|
||||
{
|
||||
lean_object* v_val_3243_; lean_object* v___x_3245_; uint8_t v_isShared_3246_; uint8_t v_isSharedCheck_3271_;
|
||||
lean_del_object(v___x_3240_);
|
||||
v_val_3243_ = lean_ctor_get(v_fst_3242_, 0);
|
||||
v_isSharedCheck_3271_ = !lean_is_exclusive(v_fst_3242_);
|
||||
if (v_isSharedCheck_3271_ == 0)
|
||||
lean_object* v_val_3244_; lean_object* v___x_3246_; uint8_t v_isShared_3247_; uint8_t v_isSharedCheck_3272_;
|
||||
lean_del_object(v___x_3241_);
|
||||
v_val_3244_ = lean_ctor_get(v_fst_3243_, 0);
|
||||
v_isSharedCheck_3272_ = !lean_is_exclusive(v_fst_3243_);
|
||||
if (v_isSharedCheck_3272_ == 0)
|
||||
{
|
||||
v___x_3245_ = v_fst_3242_;
|
||||
v_isShared_3246_ = v_isSharedCheck_3271_;
|
||||
goto v_resetjp_3244_;
|
||||
v___x_3246_ = v_fst_3243_;
|
||||
v_isShared_3247_ = v_isSharedCheck_3272_;
|
||||
goto v_resetjp_3245_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_val_3243_);
|
||||
lean_dec(v_fst_3242_);
|
||||
v___x_3245_ = lean_box(0);
|
||||
v_isShared_3246_ = v_isSharedCheck_3271_;
|
||||
goto v_resetjp_3244_;
|
||||
lean_inc(v_val_3244_);
|
||||
lean_dec(v_fst_3243_);
|
||||
v___x_3246_ = lean_box(0);
|
||||
v_isShared_3247_ = v_isSharedCheck_3272_;
|
||||
goto v_resetjp_3245_;
|
||||
}
|
||||
v_resetjp_3244_:
|
||||
v_resetjp_3245_:
|
||||
{
|
||||
lean_object* v_snd_3247_; lean_object* v___x_3248_; lean_object* v___x_3249_; lean_object* v___x_3250_;
|
||||
v_snd_3247_ = lean_ctor_get(v_val_3243_, 1);
|
||||
lean_inc(v_snd_3247_);
|
||||
lean_dec(v_val_3243_);
|
||||
v___x_3248_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__8, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__8_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__8);
|
||||
v___x_3249_ = lean_st_mk_ref(v___x_3248_);
|
||||
v___x_3250_ = l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_IntToBitVec_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass_handleSize(v_snd_3247_, v___x_3249_, v___y_3211_, v___y_3212_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3250_) == 0)
|
||||
lean_object* v_snd_3248_; lean_object* v___x_3249_; lean_object* v___x_3250_; lean_object* v___x_3251_;
|
||||
v_snd_3248_ = lean_ctor_get(v_val_3244_, 1);
|
||||
lean_inc(v_snd_3248_);
|
||||
lean_dec(v_val_3244_);
|
||||
v___x_3249_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__8, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__8_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___closed__8);
|
||||
v___x_3250_ = lean_st_mk_ref(v___x_3249_);
|
||||
v___x_3251_ = l___private_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_IntToBitVec_0__Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass_handleSize(v_snd_3248_, v___x_3250_, v___y_3211_, v___y_3212_, v___y_3213_, v___y_3214_);
|
||||
if (lean_obj_tag(v___x_3251_) == 0)
|
||||
{
|
||||
lean_object* v_a_3251_; lean_object* v___x_3253_; uint8_t v_isShared_3254_; uint8_t v_isSharedCheck_3262_;
|
||||
v_a_3251_ = lean_ctor_get(v___x_3250_, 0);
|
||||
v_isSharedCheck_3262_ = !lean_is_exclusive(v___x_3250_);
|
||||
if (v_isSharedCheck_3262_ == 0)
|
||||
lean_object* v_a_3252_; lean_object* v___x_3254_; uint8_t v_isShared_3255_; uint8_t v_isSharedCheck_3263_;
|
||||
v_a_3252_ = lean_ctor_get(v___x_3251_, 0);
|
||||
v_isSharedCheck_3263_ = !lean_is_exclusive(v___x_3251_);
|
||||
if (v_isSharedCheck_3263_ == 0)
|
||||
{
|
||||
v___x_3253_ = v___x_3250_;
|
||||
v_isShared_3254_ = v_isSharedCheck_3262_;
|
||||
goto v_resetjp_3252_;
|
||||
v___x_3254_ = v___x_3251_;
|
||||
v_isShared_3255_ = v_isSharedCheck_3263_;
|
||||
goto v_resetjp_3253_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3251_);
|
||||
lean_inc(v_a_3252_);
|
||||
lean_dec(v___x_3251_);
|
||||
v___x_3254_ = lean_box(0);
|
||||
v_isShared_3255_ = v_isSharedCheck_3263_;
|
||||
goto v_resetjp_3253_;
|
||||
}
|
||||
v_resetjp_3253_:
|
||||
{
|
||||
lean_object* v___x_3256_; lean_object* v___x_3258_;
|
||||
v___x_3256_ = lean_st_ref_get(v___x_3250_);
|
||||
lean_dec(v___x_3250_);
|
||||
v___x_3253_ = lean_box(0);
|
||||
v_isShared_3254_ = v_isSharedCheck_3262_;
|
||||
goto v_resetjp_3252_;
|
||||
lean_dec(v___x_3256_);
|
||||
if (v_isShared_3247_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3246_, 0, v_a_3252_);
|
||||
v___x_3258_ = v___x_3246_;
|
||||
goto v_reusejp_3257_;
|
||||
}
|
||||
v_resetjp_3252_:
|
||||
else
|
||||
{
|
||||
lean_object* v___x_3255_; lean_object* v___x_3257_;
|
||||
v___x_3255_ = lean_st_ref_get(v___x_3249_);
|
||||
lean_dec(v___x_3249_);
|
||||
lean_dec(v___x_3255_);
|
||||
if (v_isShared_3246_ == 0)
|
||||
lean_object* v_reuseFailAlloc_3262_;
|
||||
v_reuseFailAlloc_3262_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3262_, 0, v_a_3252_);
|
||||
v___x_3258_ = v_reuseFailAlloc_3262_;
|
||||
goto v_reusejp_3257_;
|
||||
}
|
||||
v_reusejp_3257_:
|
||||
{
|
||||
lean_ctor_set(v___x_3245_, 0, v_a_3251_);
|
||||
v___x_3257_ = v___x_3245_;
|
||||
goto v_reusejp_3256_;
|
||||
lean_object* v___x_3260_;
|
||||
if (v_isShared_3255_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3254_, 0, v___x_3258_);
|
||||
v___x_3260_ = v___x_3254_;
|
||||
goto v_reusejp_3259_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3261_;
|
||||
v_reuseFailAlloc_3261_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3261_, 0, v_a_3251_);
|
||||
v___x_3257_ = v_reuseFailAlloc_3261_;
|
||||
goto v_reusejp_3256_;
|
||||
v_reuseFailAlloc_3261_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3261_, 0, v___x_3258_);
|
||||
v___x_3260_ = v_reuseFailAlloc_3261_;
|
||||
goto v_reusejp_3259_;
|
||||
}
|
||||
v_reusejp_3256_:
|
||||
v_reusejp_3259_:
|
||||
{
|
||||
lean_object* v___x_3259_;
|
||||
if (v_isShared_3254_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3253_, 0, v___x_3257_);
|
||||
v___x_3259_ = v___x_3253_;
|
||||
goto v_reusejp_3258_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3260_;
|
||||
v_reuseFailAlloc_3260_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3260_, 0, v___x_3257_);
|
||||
v___x_3259_ = v_reuseFailAlloc_3260_;
|
||||
goto v_reusejp_3258_;
|
||||
}
|
||||
v_reusejp_3258_:
|
||||
{
|
||||
return v___x_3259_;
|
||||
return v___x_3260_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_3263_; lean_object* v___x_3265_; uint8_t v_isShared_3266_; uint8_t v_isSharedCheck_3270_;
|
||||
lean_dec(v___x_3249_);
|
||||
lean_del_object(v___x_3245_);
|
||||
v_a_3263_ = lean_ctor_get(v___x_3250_, 0);
|
||||
v_isSharedCheck_3270_ = !lean_is_exclusive(v___x_3250_);
|
||||
if (v_isSharedCheck_3270_ == 0)
|
||||
{
|
||||
v___x_3265_ = v___x_3250_;
|
||||
v_isShared_3266_ = v_isSharedCheck_3270_;
|
||||
goto v_resetjp_3264_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3263_);
|
||||
lean_object* v_a_3264_; lean_object* v___x_3266_; uint8_t v_isShared_3267_; uint8_t v_isSharedCheck_3271_;
|
||||
lean_dec(v___x_3250_);
|
||||
v___x_3265_ = lean_box(0);
|
||||
v_isShared_3266_ = v_isSharedCheck_3270_;
|
||||
goto v_resetjp_3264_;
|
||||
}
|
||||
v_resetjp_3264_:
|
||||
lean_del_object(v___x_3246_);
|
||||
v_a_3264_ = lean_ctor_get(v___x_3251_, 0);
|
||||
v_isSharedCheck_3271_ = !lean_is_exclusive(v___x_3251_);
|
||||
if (v_isSharedCheck_3271_ == 0)
|
||||
{
|
||||
lean_object* v___x_3268_;
|
||||
if (v_isShared_3266_ == 0)
|
||||
{
|
||||
v___x_3268_ = v___x_3265_;
|
||||
goto v_reusejp_3267_;
|
||||
v___x_3266_ = v___x_3251_;
|
||||
v_isShared_3267_ = v_isSharedCheck_3271_;
|
||||
goto v_resetjp_3265_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3269_;
|
||||
v_reuseFailAlloc_3269_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3269_, 0, v_a_3263_);
|
||||
v___x_3268_ = v_reuseFailAlloc_3269_;
|
||||
goto v_reusejp_3267_;
|
||||
lean_inc(v_a_3264_);
|
||||
lean_dec(v___x_3251_);
|
||||
v___x_3266_ = lean_box(0);
|
||||
v_isShared_3267_ = v_isSharedCheck_3271_;
|
||||
goto v_resetjp_3265_;
|
||||
}
|
||||
v_reusejp_3267_:
|
||||
v_resetjp_3265_:
|
||||
{
|
||||
return v___x_3268_;
|
||||
lean_object* v___x_3269_;
|
||||
if (v_isShared_3267_ == 0)
|
||||
{
|
||||
v___x_3269_ = v___x_3266_;
|
||||
goto v_reusejp_3268_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3270_;
|
||||
v_reuseFailAlloc_3270_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3270_, 0, v_a_3264_);
|
||||
v___x_3269_ = v_reuseFailAlloc_3270_;
|
||||
goto v_reusejp_3268_;
|
||||
}
|
||||
v_reusejp_3268_:
|
||||
{
|
||||
return v___x_3269_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9196,258 +9198,258 @@ return v___x_3268_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_3273_;
|
||||
lean_dec(v_fst_3242_);
|
||||
if (v_isShared_3241_ == 0)
|
||||
lean_object* v___x_3274_;
|
||||
lean_dec(v_fst_3243_);
|
||||
if (v_isShared_3242_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3240_, 0, v___x_3226_);
|
||||
v___x_3273_ = v___x_3240_;
|
||||
goto v_reusejp_3272_;
|
||||
lean_ctor_set(v___x_3241_, 0, v___x_3226_);
|
||||
v___x_3274_ = v___x_3241_;
|
||||
goto v_reusejp_3273_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3274_;
|
||||
v_reuseFailAlloc_3274_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3274_, 0, v___x_3226_);
|
||||
v___x_3273_ = v_reuseFailAlloc_3274_;
|
||||
goto v_reusejp_3272_;
|
||||
lean_object* v_reuseFailAlloc_3275_;
|
||||
v_reuseFailAlloc_3275_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3275_, 0, v___x_3226_);
|
||||
v___x_3274_ = v_reuseFailAlloc_3275_;
|
||||
goto v_reusejp_3273_;
|
||||
}
|
||||
v_reusejp_3272_:
|
||||
v_reusejp_3273_:
|
||||
{
|
||||
return v___x_3273_;
|
||||
return v___x_3274_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_3276_; lean_object* v___x_3278_; uint8_t v_isShared_3279_; uint8_t v_isSharedCheck_3283_;
|
||||
v_a_3276_ = lean_ctor_get(v___x_3237_, 0);
|
||||
v_isSharedCheck_3283_ = !lean_is_exclusive(v___x_3237_);
|
||||
if (v_isSharedCheck_3283_ == 0)
|
||||
lean_object* v_a_3277_; lean_object* v___x_3279_; uint8_t v_isShared_3280_; uint8_t v_isSharedCheck_3284_;
|
||||
v_a_3277_ = lean_ctor_get(v___x_3238_, 0);
|
||||
v_isSharedCheck_3284_ = !lean_is_exclusive(v___x_3238_);
|
||||
if (v_isSharedCheck_3284_ == 0)
|
||||
{
|
||||
v___x_3278_ = v___x_3237_;
|
||||
v_isShared_3279_ = v_isSharedCheck_3283_;
|
||||
goto v_resetjp_3277_;
|
||||
v___x_3279_ = v___x_3238_;
|
||||
v_isShared_3280_ = v_isSharedCheck_3284_;
|
||||
goto v_resetjp_3278_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3276_);
|
||||
lean_dec(v___x_3237_);
|
||||
v___x_3278_ = lean_box(0);
|
||||
v_isShared_3279_ = v_isSharedCheck_3283_;
|
||||
goto v_resetjp_3277_;
|
||||
lean_inc(v_a_3277_);
|
||||
lean_dec(v___x_3238_);
|
||||
v___x_3279_ = lean_box(0);
|
||||
v_isShared_3280_ = v_isSharedCheck_3284_;
|
||||
goto v_resetjp_3278_;
|
||||
}
|
||||
v_resetjp_3277_:
|
||||
v_resetjp_3278_:
|
||||
{
|
||||
lean_object* v___x_3281_;
|
||||
if (v_isShared_3279_ == 0)
|
||||
lean_object* v___x_3282_;
|
||||
if (v_isShared_3280_ == 0)
|
||||
{
|
||||
v___x_3281_ = v___x_3278_;
|
||||
goto v_reusejp_3280_;
|
||||
v___x_3282_ = v___x_3279_;
|
||||
goto v_reusejp_3281_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3282_;
|
||||
v_reuseFailAlloc_3282_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3282_, 0, v_a_3276_);
|
||||
v___x_3281_ = v_reuseFailAlloc_3282_;
|
||||
goto v_reusejp_3280_;
|
||||
lean_object* v_reuseFailAlloc_3283_;
|
||||
v_reuseFailAlloc_3283_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3283_, 0, v_a_3277_);
|
||||
v___x_3282_ = v_reuseFailAlloc_3283_;
|
||||
goto v_reusejp_3281_;
|
||||
}
|
||||
v_reusejp_3280_:
|
||||
v_reusejp_3281_:
|
||||
{
|
||||
return v___x_3281_;
|
||||
return v___x_3282_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_3284_; lean_object* v___x_3286_; uint8_t v_isShared_3287_; uint8_t v_isSharedCheck_3291_;
|
||||
lean_dec(v_a_3232_);
|
||||
lean_object* v_a_3285_; lean_object* v___x_3287_; uint8_t v_isShared_3288_; uint8_t v_isSharedCheck_3292_;
|
||||
lean_dec(v_a_3233_);
|
||||
lean_dec(v_goal_3208_);
|
||||
v_a_3284_ = lean_ctor_get(v___x_3233_, 0);
|
||||
v_isSharedCheck_3291_ = !lean_is_exclusive(v___x_3233_);
|
||||
if (v_isSharedCheck_3291_ == 0)
|
||||
v_a_3285_ = lean_ctor_get(v___x_3234_, 0);
|
||||
v_isSharedCheck_3292_ = !lean_is_exclusive(v___x_3234_);
|
||||
if (v_isSharedCheck_3292_ == 0)
|
||||
{
|
||||
v___x_3286_ = v___x_3233_;
|
||||
v_isShared_3287_ = v_isSharedCheck_3291_;
|
||||
goto v_resetjp_3285_;
|
||||
v___x_3287_ = v___x_3234_;
|
||||
v_isShared_3288_ = v_isSharedCheck_3292_;
|
||||
goto v_resetjp_3286_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3284_);
|
||||
lean_dec(v___x_3233_);
|
||||
v___x_3286_ = lean_box(0);
|
||||
v_isShared_3287_ = v_isSharedCheck_3291_;
|
||||
goto v_resetjp_3285_;
|
||||
lean_inc(v_a_3285_);
|
||||
lean_dec(v___x_3234_);
|
||||
v___x_3287_ = lean_box(0);
|
||||
v_isShared_3288_ = v_isSharedCheck_3292_;
|
||||
goto v_resetjp_3286_;
|
||||
}
|
||||
v_resetjp_3285_:
|
||||
v_resetjp_3286_:
|
||||
{
|
||||
lean_object* v___x_3289_;
|
||||
if (v_isShared_3287_ == 0)
|
||||
lean_object* v___x_3290_;
|
||||
if (v_isShared_3288_ == 0)
|
||||
{
|
||||
v___x_3289_ = v___x_3286_;
|
||||
goto v_reusejp_3288_;
|
||||
v___x_3290_ = v___x_3287_;
|
||||
goto v_reusejp_3289_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3290_;
|
||||
v_reuseFailAlloc_3290_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3290_, 0, v_a_3284_);
|
||||
v___x_3289_ = v_reuseFailAlloc_3290_;
|
||||
goto v_reusejp_3288_;
|
||||
lean_object* v_reuseFailAlloc_3291_;
|
||||
v_reuseFailAlloc_3291_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3291_, 0, v_a_3285_);
|
||||
v___x_3290_ = v_reuseFailAlloc_3291_;
|
||||
goto v_reusejp_3289_;
|
||||
}
|
||||
v_reusejp_3288_:
|
||||
v_reusejp_3289_:
|
||||
{
|
||||
return v___x_3289_;
|
||||
return v___x_3290_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_3292_; lean_object* v___x_3294_; uint8_t v_isShared_3295_; uint8_t v_isSharedCheck_3299_;
|
||||
lean_object* v_a_3293_; lean_object* v___x_3295_; uint8_t v_isShared_3296_; uint8_t v_isSharedCheck_3300_;
|
||||
lean_dec(v_goal_3208_);
|
||||
v_a_3292_ = lean_ctor_get(v___x_3231_, 0);
|
||||
v_isSharedCheck_3299_ = !lean_is_exclusive(v___x_3231_);
|
||||
if (v_isSharedCheck_3299_ == 0)
|
||||
v_a_3293_ = lean_ctor_get(v___x_3232_, 0);
|
||||
v_isSharedCheck_3300_ = !lean_is_exclusive(v___x_3232_);
|
||||
if (v_isSharedCheck_3300_ == 0)
|
||||
{
|
||||
v___x_3294_ = v___x_3231_;
|
||||
v_isShared_3295_ = v_isSharedCheck_3299_;
|
||||
goto v_resetjp_3293_;
|
||||
v___x_3295_ = v___x_3232_;
|
||||
v_isShared_3296_ = v_isSharedCheck_3300_;
|
||||
goto v_resetjp_3294_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3292_);
|
||||
lean_dec(v___x_3231_);
|
||||
v___x_3294_ = lean_box(0);
|
||||
v_isShared_3295_ = v_isSharedCheck_3299_;
|
||||
goto v_resetjp_3293_;
|
||||
lean_inc(v_a_3293_);
|
||||
lean_dec(v___x_3232_);
|
||||
v___x_3295_ = lean_box(0);
|
||||
v_isShared_3296_ = v_isSharedCheck_3300_;
|
||||
goto v_resetjp_3294_;
|
||||
}
|
||||
v_resetjp_3293_:
|
||||
v_resetjp_3294_:
|
||||
{
|
||||
lean_object* v___x_3297_;
|
||||
if (v_isShared_3295_ == 0)
|
||||
lean_object* v___x_3298_;
|
||||
if (v_isShared_3296_ == 0)
|
||||
{
|
||||
v___x_3297_ = v___x_3294_;
|
||||
goto v_reusejp_3296_;
|
||||
v___x_3298_ = v___x_3295_;
|
||||
goto v_reusejp_3297_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3298_;
|
||||
v_reuseFailAlloc_3298_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3298_, 0, v_a_3292_);
|
||||
v___x_3297_ = v_reuseFailAlloc_3298_;
|
||||
goto v_reusejp_3296_;
|
||||
lean_object* v_reuseFailAlloc_3299_;
|
||||
v_reuseFailAlloc_3299_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3299_, 0, v_a_3293_);
|
||||
v___x_3298_ = v_reuseFailAlloc_3299_;
|
||||
goto v_reusejp_3297_;
|
||||
}
|
||||
v_reusejp_3296_:
|
||||
v_reusejp_3297_:
|
||||
{
|
||||
return v___x_3297_;
|
||||
return v___x_3298_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_3300_; lean_object* v___x_3302_; uint8_t v_isShared_3303_; uint8_t v_isSharedCheck_3307_;
|
||||
lean_object* v_a_3301_; lean_object* v___x_3303_; uint8_t v_isShared_3304_; uint8_t v_isSharedCheck_3308_;
|
||||
lean_dec(v_a_3218_);
|
||||
lean_dec(v_goal_3208_);
|
||||
v_a_3300_ = lean_ctor_get(v___x_3219_, 0);
|
||||
v_isSharedCheck_3307_ = !lean_is_exclusive(v___x_3219_);
|
||||
if (v_isSharedCheck_3307_ == 0)
|
||||
v_a_3301_ = lean_ctor_get(v___x_3219_, 0);
|
||||
v_isSharedCheck_3308_ = !lean_is_exclusive(v___x_3219_);
|
||||
if (v_isSharedCheck_3308_ == 0)
|
||||
{
|
||||
v___x_3302_ = v___x_3219_;
|
||||
v_isShared_3303_ = v_isSharedCheck_3307_;
|
||||
goto v_resetjp_3301_;
|
||||
v___x_3303_ = v___x_3219_;
|
||||
v_isShared_3304_ = v_isSharedCheck_3308_;
|
||||
goto v_resetjp_3302_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3300_);
|
||||
lean_inc(v_a_3301_);
|
||||
lean_dec(v___x_3219_);
|
||||
v___x_3302_ = lean_box(0);
|
||||
v_isShared_3303_ = v_isSharedCheck_3307_;
|
||||
goto v_resetjp_3301_;
|
||||
v___x_3303_ = lean_box(0);
|
||||
v_isShared_3304_ = v_isSharedCheck_3308_;
|
||||
goto v_resetjp_3302_;
|
||||
}
|
||||
v_resetjp_3301_:
|
||||
v_resetjp_3302_:
|
||||
{
|
||||
lean_object* v___x_3305_;
|
||||
if (v_isShared_3303_ == 0)
|
||||
lean_object* v___x_3306_;
|
||||
if (v_isShared_3304_ == 0)
|
||||
{
|
||||
v___x_3305_ = v___x_3302_;
|
||||
goto v_reusejp_3304_;
|
||||
v___x_3306_ = v___x_3303_;
|
||||
goto v_reusejp_3305_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3306_;
|
||||
v_reuseFailAlloc_3306_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3306_, 0, v_a_3300_);
|
||||
v___x_3305_ = v_reuseFailAlloc_3306_;
|
||||
goto v_reusejp_3304_;
|
||||
lean_object* v_reuseFailAlloc_3307_;
|
||||
v_reuseFailAlloc_3307_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3307_, 0, v_a_3301_);
|
||||
v___x_3306_ = v_reuseFailAlloc_3307_;
|
||||
goto v_reusejp_3305_;
|
||||
}
|
||||
v_reusejp_3304_:
|
||||
v_reusejp_3305_:
|
||||
{
|
||||
return v___x_3305_;
|
||||
return v___x_3306_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_3308_; lean_object* v___x_3310_; uint8_t v_isShared_3311_; uint8_t v_isSharedCheck_3315_;
|
||||
lean_object* v_a_3309_; lean_object* v___x_3311_; uint8_t v_isShared_3312_; uint8_t v_isSharedCheck_3316_;
|
||||
lean_dec(v_goal_3208_);
|
||||
v_a_3308_ = lean_ctor_get(v___x_3217_, 0);
|
||||
v_isSharedCheck_3315_ = !lean_is_exclusive(v___x_3217_);
|
||||
if (v_isSharedCheck_3315_ == 0)
|
||||
v_a_3309_ = lean_ctor_get(v___x_3217_, 0);
|
||||
v_isSharedCheck_3316_ = !lean_is_exclusive(v___x_3217_);
|
||||
if (v_isSharedCheck_3316_ == 0)
|
||||
{
|
||||
v___x_3310_ = v___x_3217_;
|
||||
v_isShared_3311_ = v_isSharedCheck_3315_;
|
||||
goto v_resetjp_3309_;
|
||||
v___x_3311_ = v___x_3217_;
|
||||
v_isShared_3312_ = v_isSharedCheck_3316_;
|
||||
goto v_resetjp_3310_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_3308_);
|
||||
lean_inc(v_a_3309_);
|
||||
lean_dec(v___x_3217_);
|
||||
v___x_3310_ = lean_box(0);
|
||||
v_isShared_3311_ = v_isSharedCheck_3315_;
|
||||
goto v_resetjp_3309_;
|
||||
v___x_3311_ = lean_box(0);
|
||||
v_isShared_3312_ = v_isSharedCheck_3316_;
|
||||
goto v_resetjp_3310_;
|
||||
}
|
||||
v_resetjp_3309_:
|
||||
v_resetjp_3310_:
|
||||
{
|
||||
lean_object* v___x_3313_;
|
||||
if (v_isShared_3311_ == 0)
|
||||
lean_object* v___x_3314_;
|
||||
if (v_isShared_3312_ == 0)
|
||||
{
|
||||
v___x_3313_ = v___x_3310_;
|
||||
goto v_reusejp_3312_;
|
||||
v___x_3314_ = v___x_3311_;
|
||||
goto v_reusejp_3313_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_3314_;
|
||||
v_reuseFailAlloc_3314_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3314_, 0, v_a_3308_);
|
||||
v___x_3313_ = v_reuseFailAlloc_3314_;
|
||||
goto v_reusejp_3312_;
|
||||
lean_object* v_reuseFailAlloc_3315_;
|
||||
v_reuseFailAlloc_3315_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_3315_, 0, v_a_3309_);
|
||||
v___x_3314_ = v_reuseFailAlloc_3315_;
|
||||
goto v_reusejp_3313_;
|
||||
}
|
||||
v_reusejp_3312_:
|
||||
v_reusejp_3313_:
|
||||
{
|
||||
return v___x_3313_;
|
||||
return v___x_3314_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___boxed(lean_object* v_goal_3316_, lean_object* v___y_3317_, lean_object* v___y_3318_, lean_object* v___y_3319_, lean_object* v___y_3320_, lean_object* v___y_3321_, lean_object* v___y_3322_, lean_object* v___y_3323_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0___boxed(lean_object* v_goal_3317_, lean_object* v___y_3318_, lean_object* v___y_3319_, lean_object* v___y_3320_, lean_object* v___y_3321_, lean_object* v___y_3322_, lean_object* v___y_3323_, lean_object* v___y_3324_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_3324_;
|
||||
v_res_3324_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0(v_goal_3316_, v___y_3317_, v___y_3318_, v___y_3319_, v___y_3320_, v___y_3321_, v___y_3322_);
|
||||
lean_dec(v___y_3322_);
|
||||
lean_dec_ref(v___y_3321_);
|
||||
lean_dec(v___y_3320_);
|
||||
lean_dec_ref(v___y_3319_);
|
||||
lean_dec(v___y_3318_);
|
||||
lean_dec_ref(v___y_3317_);
|
||||
return v_res_3324_;
|
||||
lean_object* v_res_3325_;
|
||||
v_res_3325_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_intToBitVecPass___lam__0(v_goal_3317_, v___y_3318_, v___y_3319_, v___y_3320_, v___y_3321_, v___y_3322_, v___y_3323_);
|
||||
lean_dec(v___y_3323_);
|
||||
lean_dec_ref(v___y_3322_);
|
||||
lean_dec(v___y_3321_);
|
||||
lean_dec_ref(v___y_3320_);
|
||||
lean_dec(v___y_3319_);
|
||||
lean_dec_ref(v___y_3318_);
|
||||
return v_res_3325_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Basic(uint8_t builtin);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -20,7 +20,8 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*);
|
|||
extern lean_object* l_Lean_Meta_simpGlobalConfig;
|
||||
lean_object* l_Lean_Meta_SimpTheoremsArray_addTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getSimpCongrTheorems___redArg(lean_object*);
|
||||
lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Options_empty;
|
||||
lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_getPropHyps(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_simpGoal(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -254,7 +255,7 @@ lean_dec_ref(v___x_107_);
|
|||
v___x_109_ = l_Lean_Meta_getSimpCongrTheorems___redArg(v___y_98_);
|
||||
if (lean_obj_tag(v___x_109_) == 0)
|
||||
{
|
||||
lean_object* v_a_110_; lean_object* v_maxSteps_111_; lean_object* v___x_112_; uint8_t v___x_113_; lean_object* v___x_114_; lean_object* v___x_115_; lean_object* v___x_116_;
|
||||
lean_object* v_a_110_; lean_object* v_maxSteps_111_; lean_object* v___x_112_; uint8_t v___x_113_; lean_object* v___x_114_; lean_object* v___x_115_; lean_object* v___x_116_; lean_object* v___x_117_;
|
||||
v_a_110_ = lean_ctor_get(v___x_109_, 0);
|
||||
lean_inc(v_a_110_);
|
||||
lean_dec_ref(v___x_109_);
|
||||
|
|
@ -296,381 +297,382 @@ lean_ctor_set_uint8(v___x_115_, sizeof(void*)*3 + 25, v___x_83_);
|
|||
lean_ctor_set_uint8(v___x_115_, sizeof(void*)*3 + 26, v___x_84_);
|
||||
lean_ctor_set_uint8(v___x_115_, sizeof(void*)*3 + 27, v___x_84_);
|
||||
lean_ctor_set_uint8(v___x_115_, sizeof(void*)*3 + 28, v___x_84_);
|
||||
v___x_116_ = l_Lean_Meta_Simp_mkContext___redArg(v___x_115_, v_a_108_, v_a_110_, v___y_95_, v___y_97_, v___y_98_);
|
||||
if (lean_obj_tag(v___x_116_) == 0)
|
||||
v___x_116_ = l_Lean_Options_empty;
|
||||
v___x_117_ = l_Lean_Meta_Simp_mkContext___redArg(v___x_115_, v_a_108_, v_a_110_, v___x_116_, v___y_95_, v___y_97_, v___y_98_);
|
||||
if (lean_obj_tag(v___x_117_) == 0)
|
||||
{
|
||||
lean_object* v_a_117_; lean_object* v___x_118_;
|
||||
v_a_117_ = lean_ctor_get(v___x_116_, 0);
|
||||
lean_inc(v_a_117_);
|
||||
lean_dec_ref(v___x_116_);
|
||||
v___x_118_ = l_Lean_Meta_getPropHyps(v___y_95_, v___y_96_, v___y_97_, v___y_98_);
|
||||
if (lean_obj_tag(v___x_118_) == 0)
|
||||
lean_object* v_a_118_; lean_object* v___x_119_;
|
||||
v_a_118_ = lean_ctor_get(v___x_117_, 0);
|
||||
lean_inc(v_a_118_);
|
||||
lean_dec_ref(v___x_117_);
|
||||
v___x_119_ = l_Lean_Meta_getPropHyps(v___y_95_, v___y_96_, v___y_97_, v___y_98_);
|
||||
if (lean_obj_tag(v___x_119_) == 0)
|
||||
{
|
||||
lean_object* v_a_119_; lean_object* v___x_120_; lean_object* v___x_121_; lean_object* v___x_122_; lean_object* v___x_123_; lean_object* v___x_124_; lean_object* v___x_125_; size_t v___x_126_; lean_object* v___x_127_; lean_object* v___x_128_; lean_object* v___x_129_; lean_object* v___x_130_;
|
||||
v_a_119_ = lean_ctor_get(v___x_118_, 0);
|
||||
lean_inc(v_a_119_);
|
||||
lean_dec_ref(v___x_118_);
|
||||
v___x_120_ = lean_mk_empty_array_with_capacity(v___x_91_);
|
||||
v___x_121_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__3, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__3_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__3);
|
||||
lean_object* v_a_120_; lean_object* v___x_121_; lean_object* v___x_122_; lean_object* v___x_123_; lean_object* v___x_124_; lean_object* v___x_125_; lean_object* v___x_126_; size_t v___x_127_; lean_object* v___x_128_; lean_object* v___x_129_; lean_object* v___x_130_; lean_object* v___x_131_;
|
||||
v_a_120_ = lean_ctor_get(v___x_119_, 0);
|
||||
lean_inc(v_a_120_);
|
||||
lean_dec_ref(v___x_119_);
|
||||
v___x_121_ = lean_mk_empty_array_with_capacity(v___x_91_);
|
||||
v___x_122_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__3, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__3_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__3);
|
||||
lean_inc_n(v___x_91_, 2);
|
||||
v___x_122_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_122_, 0, v___x_121_);
|
||||
lean_ctor_set(v___x_122_, 1, v___x_91_);
|
||||
v___x_123_ = lean_unsigned_to_nat(32u);
|
||||
v___x_124_ = lean_mk_empty_array_with_capacity(v___x_123_);
|
||||
v___x_125_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__4, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__4_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__4);
|
||||
v___x_126_ = ((size_t)5ULL);
|
||||
v___x_127_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
|
||||
lean_ctor_set(v___x_127_, 0, v___x_125_);
|
||||
lean_ctor_set(v___x_127_, 1, v___x_124_);
|
||||
lean_ctor_set(v___x_127_, 2, v___x_91_);
|
||||
lean_ctor_set(v___x_127_, 3, v___x_91_);
|
||||
lean_ctor_set_usize(v___x_127_, 4, v___x_126_);
|
||||
v___x_128_ = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(v___x_128_, 0, v___x_121_);
|
||||
lean_ctor_set(v___x_128_, 1, v___x_121_);
|
||||
lean_ctor_set(v___x_128_, 2, v___x_121_);
|
||||
lean_ctor_set(v___x_128_, 3, v___x_127_);
|
||||
v___x_129_ = lean_alloc_ctor(0, 2, 0);
|
||||
v___x_123_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_123_, 0, v___x_122_);
|
||||
lean_ctor_set(v___x_123_, 1, v___x_91_);
|
||||
v___x_124_ = lean_unsigned_to_nat(32u);
|
||||
v___x_125_ = lean_mk_empty_array_with_capacity(v___x_124_);
|
||||
v___x_126_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__4, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__4_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___closed__4);
|
||||
v___x_127_ = ((size_t)5ULL);
|
||||
v___x_128_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
|
||||
lean_ctor_set(v___x_128_, 0, v___x_126_);
|
||||
lean_ctor_set(v___x_128_, 1, v___x_125_);
|
||||
lean_ctor_set(v___x_128_, 2, v___x_91_);
|
||||
lean_ctor_set(v___x_128_, 3, v___x_91_);
|
||||
lean_ctor_set_usize(v___x_128_, 4, v___x_127_);
|
||||
v___x_129_ = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(v___x_129_, 0, v___x_122_);
|
||||
lean_ctor_set(v___x_129_, 1, v___x_128_);
|
||||
v___x_130_ = l_Lean_Meta_simpGoal(v_goal_92_, v_a_117_, v___x_120_, v___x_114_, v___x_83_, v_a_119_, v___x_129_, v___y_95_, v___y_96_, v___y_97_, v___y_98_);
|
||||
if (lean_obj_tag(v___x_130_) == 0)
|
||||
lean_ctor_set(v___x_129_, 1, v___x_122_);
|
||||
lean_ctor_set(v___x_129_, 2, v___x_122_);
|
||||
lean_ctor_set(v___x_129_, 3, v___x_128_);
|
||||
v___x_130_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_130_, 0, v___x_123_);
|
||||
lean_ctor_set(v___x_130_, 1, v___x_129_);
|
||||
v___x_131_ = l_Lean_Meta_simpGoal(v_goal_92_, v_a_118_, v___x_121_, v___x_114_, v___x_83_, v_a_120_, v___x_130_, v___y_95_, v___y_96_, v___y_97_, v___y_98_);
|
||||
if (lean_obj_tag(v___x_131_) == 0)
|
||||
{
|
||||
lean_object* v_a_131_; lean_object* v___x_133_; uint8_t v_isShared_134_; uint8_t v_isSharedCheck_151_;
|
||||
v_a_131_ = lean_ctor_get(v___x_130_, 0);
|
||||
v_isSharedCheck_151_ = !lean_is_exclusive(v___x_130_);
|
||||
if (v_isSharedCheck_151_ == 0)
|
||||
lean_object* v_a_132_; lean_object* v___x_134_; uint8_t v_isShared_135_; uint8_t v_isSharedCheck_152_;
|
||||
v_a_132_ = lean_ctor_get(v___x_131_, 0);
|
||||
v_isSharedCheck_152_ = !lean_is_exclusive(v___x_131_);
|
||||
if (v_isSharedCheck_152_ == 0)
|
||||
{
|
||||
v___x_133_ = v___x_130_;
|
||||
v_isShared_134_ = v_isSharedCheck_151_;
|
||||
goto v_resetjp_132_;
|
||||
v___x_134_ = v___x_131_;
|
||||
v_isShared_135_ = v_isSharedCheck_152_;
|
||||
goto v_resetjp_133_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_131_);
|
||||
lean_dec(v___x_130_);
|
||||
v___x_133_ = lean_box(0);
|
||||
v_isShared_134_ = v_isSharedCheck_151_;
|
||||
goto v_resetjp_132_;
|
||||
lean_inc(v_a_132_);
|
||||
lean_dec(v___x_131_);
|
||||
v___x_134_ = lean_box(0);
|
||||
v_isShared_135_ = v_isSharedCheck_152_;
|
||||
goto v_resetjp_133_;
|
||||
}
|
||||
v_resetjp_132_:
|
||||
v_resetjp_133_:
|
||||
{
|
||||
lean_object* v_fst_135_;
|
||||
v_fst_135_ = lean_ctor_get(v_a_131_, 0);
|
||||
lean_inc(v_fst_135_);
|
||||
lean_dec(v_a_131_);
|
||||
if (lean_obj_tag(v_fst_135_) == 1)
|
||||
lean_object* v_fst_136_;
|
||||
v_fst_136_ = lean_ctor_get(v_a_132_, 0);
|
||||
lean_inc(v_fst_136_);
|
||||
lean_dec(v_a_132_);
|
||||
if (lean_obj_tag(v_fst_136_) == 1)
|
||||
{
|
||||
lean_object* v_val_136_; lean_object* v___x_138_; uint8_t v_isShared_139_; uint8_t v_isSharedCheck_147_;
|
||||
v_val_136_ = lean_ctor_get(v_fst_135_, 0);
|
||||
v_isSharedCheck_147_ = !lean_is_exclusive(v_fst_135_);
|
||||
if (v_isSharedCheck_147_ == 0)
|
||||
lean_object* v_val_137_; lean_object* v___x_139_; uint8_t v_isShared_140_; uint8_t v_isSharedCheck_148_;
|
||||
v_val_137_ = lean_ctor_get(v_fst_136_, 0);
|
||||
v_isSharedCheck_148_ = !lean_is_exclusive(v_fst_136_);
|
||||
if (v_isSharedCheck_148_ == 0)
|
||||
{
|
||||
v___x_138_ = v_fst_135_;
|
||||
v_isShared_139_ = v_isSharedCheck_147_;
|
||||
goto v_resetjp_137_;
|
||||
v___x_139_ = v_fst_136_;
|
||||
v_isShared_140_ = v_isSharedCheck_148_;
|
||||
goto v_resetjp_138_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_val_136_);
|
||||
lean_dec(v_fst_135_);
|
||||
v___x_138_ = lean_box(0);
|
||||
v_isShared_139_ = v_isSharedCheck_147_;
|
||||
goto v_resetjp_137_;
|
||||
lean_inc(v_val_137_);
|
||||
lean_dec(v_fst_136_);
|
||||
v___x_139_ = lean_box(0);
|
||||
v_isShared_140_ = v_isSharedCheck_148_;
|
||||
goto v_resetjp_138_;
|
||||
}
|
||||
v_resetjp_137_:
|
||||
v_resetjp_138_:
|
||||
{
|
||||
lean_object* v_snd_140_; lean_object* v___x_142_;
|
||||
v_snd_140_ = lean_ctor_get(v_val_136_, 1);
|
||||
lean_inc(v_snd_140_);
|
||||
lean_dec(v_val_136_);
|
||||
if (v_isShared_139_ == 0)
|
||||
lean_object* v_snd_141_; lean_object* v___x_143_;
|
||||
v_snd_141_ = lean_ctor_get(v_val_137_, 1);
|
||||
lean_inc(v_snd_141_);
|
||||
lean_dec(v_val_137_);
|
||||
if (v_isShared_140_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_138_, 0, v_snd_140_);
|
||||
v___x_142_ = v___x_138_;
|
||||
goto v_reusejp_141_;
|
||||
lean_ctor_set(v___x_139_, 0, v_snd_141_);
|
||||
v___x_143_ = v___x_139_;
|
||||
goto v_reusejp_142_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_147_;
|
||||
v_reuseFailAlloc_147_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_147_, 0, v_snd_141_);
|
||||
v___x_143_ = v_reuseFailAlloc_147_;
|
||||
goto v_reusejp_142_;
|
||||
}
|
||||
v_reusejp_142_:
|
||||
{
|
||||
lean_object* v___x_145_;
|
||||
if (v_isShared_135_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_134_, 0, v___x_143_);
|
||||
v___x_145_ = v___x_134_;
|
||||
goto v_reusejp_144_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_146_;
|
||||
v_reuseFailAlloc_146_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_146_, 0, v_snd_140_);
|
||||
v___x_142_ = v_reuseFailAlloc_146_;
|
||||
goto v_reusejp_141_;
|
||||
v_reuseFailAlloc_146_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_146_, 0, v___x_143_);
|
||||
v___x_145_ = v_reuseFailAlloc_146_;
|
||||
goto v_reusejp_144_;
|
||||
}
|
||||
v_reusejp_141_:
|
||||
v_reusejp_144_:
|
||||
{
|
||||
lean_object* v___x_144_;
|
||||
if (v_isShared_134_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_133_, 0, v___x_142_);
|
||||
v___x_144_ = v___x_133_;
|
||||
goto v_reusejp_143_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_145_;
|
||||
v_reuseFailAlloc_145_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_145_, 0, v___x_142_);
|
||||
v___x_144_ = v_reuseFailAlloc_145_;
|
||||
goto v_reusejp_143_;
|
||||
}
|
||||
v_reusejp_143_:
|
||||
{
|
||||
return v___x_144_;
|
||||
return v___x_145_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_149_;
|
||||
lean_dec(v_fst_135_);
|
||||
if (v_isShared_134_ == 0)
|
||||
lean_object* v___x_150_;
|
||||
lean_dec(v_fst_136_);
|
||||
if (v_isShared_135_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_133_, 0, v___x_114_);
|
||||
v___x_149_ = v___x_133_;
|
||||
goto v_reusejp_148_;
|
||||
lean_ctor_set(v___x_134_, 0, v___x_114_);
|
||||
v___x_150_ = v___x_134_;
|
||||
goto v_reusejp_149_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_150_;
|
||||
v_reuseFailAlloc_150_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_150_, 0, v___x_114_);
|
||||
v___x_149_ = v_reuseFailAlloc_150_;
|
||||
goto v_reusejp_148_;
|
||||
lean_object* v_reuseFailAlloc_151_;
|
||||
v_reuseFailAlloc_151_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_151_, 0, v___x_114_);
|
||||
v___x_150_ = v_reuseFailAlloc_151_;
|
||||
goto v_reusejp_149_;
|
||||
}
|
||||
v_reusejp_148_:
|
||||
v_reusejp_149_:
|
||||
{
|
||||
return v___x_149_;
|
||||
return v___x_150_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_152_; lean_object* v___x_154_; uint8_t v_isShared_155_; uint8_t v_isSharedCheck_159_;
|
||||
v_a_152_ = lean_ctor_get(v___x_130_, 0);
|
||||
v_isSharedCheck_159_ = !lean_is_exclusive(v___x_130_);
|
||||
if (v_isSharedCheck_159_ == 0)
|
||||
lean_object* v_a_153_; lean_object* v___x_155_; uint8_t v_isShared_156_; uint8_t v_isSharedCheck_160_;
|
||||
v_a_153_ = lean_ctor_get(v___x_131_, 0);
|
||||
v_isSharedCheck_160_ = !lean_is_exclusive(v___x_131_);
|
||||
if (v_isSharedCheck_160_ == 0)
|
||||
{
|
||||
v___x_154_ = v___x_130_;
|
||||
v_isShared_155_ = v_isSharedCheck_159_;
|
||||
goto v_resetjp_153_;
|
||||
v___x_155_ = v___x_131_;
|
||||
v_isShared_156_ = v_isSharedCheck_160_;
|
||||
goto v_resetjp_154_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_152_);
|
||||
lean_dec(v___x_130_);
|
||||
v___x_154_ = lean_box(0);
|
||||
v_isShared_155_ = v_isSharedCheck_159_;
|
||||
goto v_resetjp_153_;
|
||||
lean_inc(v_a_153_);
|
||||
lean_dec(v___x_131_);
|
||||
v___x_155_ = lean_box(0);
|
||||
v_isShared_156_ = v_isSharedCheck_160_;
|
||||
goto v_resetjp_154_;
|
||||
}
|
||||
v_resetjp_153_:
|
||||
v_resetjp_154_:
|
||||
{
|
||||
lean_object* v___x_157_;
|
||||
if (v_isShared_155_ == 0)
|
||||
lean_object* v___x_158_;
|
||||
if (v_isShared_156_ == 0)
|
||||
{
|
||||
v___x_157_ = v___x_154_;
|
||||
goto v_reusejp_156_;
|
||||
v___x_158_ = v___x_155_;
|
||||
goto v_reusejp_157_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_158_;
|
||||
v_reuseFailAlloc_158_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_158_, 0, v_a_152_);
|
||||
v___x_157_ = v_reuseFailAlloc_158_;
|
||||
goto v_reusejp_156_;
|
||||
lean_object* v_reuseFailAlloc_159_;
|
||||
v_reuseFailAlloc_159_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_159_, 0, v_a_153_);
|
||||
v___x_158_ = v_reuseFailAlloc_159_;
|
||||
goto v_reusejp_157_;
|
||||
}
|
||||
v_reusejp_156_:
|
||||
v_reusejp_157_:
|
||||
{
|
||||
return v___x_157_;
|
||||
return v___x_158_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_160_; lean_object* v___x_162_; uint8_t v_isShared_163_; uint8_t v_isSharedCheck_167_;
|
||||
lean_dec(v_a_117_);
|
||||
lean_object* v_a_161_; lean_object* v___x_163_; uint8_t v_isShared_164_; uint8_t v_isSharedCheck_168_;
|
||||
lean_dec(v_a_118_);
|
||||
lean_dec(v_goal_92_);
|
||||
lean_dec(v___x_91_);
|
||||
v_a_160_ = lean_ctor_get(v___x_118_, 0);
|
||||
v_isSharedCheck_167_ = !lean_is_exclusive(v___x_118_);
|
||||
if (v_isSharedCheck_167_ == 0)
|
||||
v_a_161_ = lean_ctor_get(v___x_119_, 0);
|
||||
v_isSharedCheck_168_ = !lean_is_exclusive(v___x_119_);
|
||||
if (v_isSharedCheck_168_ == 0)
|
||||
{
|
||||
v___x_162_ = v___x_118_;
|
||||
v_isShared_163_ = v_isSharedCheck_167_;
|
||||
goto v_resetjp_161_;
|
||||
v___x_163_ = v___x_119_;
|
||||
v_isShared_164_ = v_isSharedCheck_168_;
|
||||
goto v_resetjp_162_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_160_);
|
||||
lean_dec(v___x_118_);
|
||||
v___x_162_ = lean_box(0);
|
||||
v_isShared_163_ = v_isSharedCheck_167_;
|
||||
goto v_resetjp_161_;
|
||||
lean_inc(v_a_161_);
|
||||
lean_dec(v___x_119_);
|
||||
v___x_163_ = lean_box(0);
|
||||
v_isShared_164_ = v_isSharedCheck_168_;
|
||||
goto v_resetjp_162_;
|
||||
}
|
||||
v_resetjp_161_:
|
||||
v_resetjp_162_:
|
||||
{
|
||||
lean_object* v___x_165_;
|
||||
if (v_isShared_163_ == 0)
|
||||
lean_object* v___x_166_;
|
||||
if (v_isShared_164_ == 0)
|
||||
{
|
||||
v___x_165_ = v___x_162_;
|
||||
goto v_reusejp_164_;
|
||||
v___x_166_ = v___x_163_;
|
||||
goto v_reusejp_165_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_166_;
|
||||
v_reuseFailAlloc_166_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_166_, 0, v_a_160_);
|
||||
v___x_165_ = v_reuseFailAlloc_166_;
|
||||
goto v_reusejp_164_;
|
||||
lean_object* v_reuseFailAlloc_167_;
|
||||
v_reuseFailAlloc_167_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_167_, 0, v_a_161_);
|
||||
v___x_166_ = v_reuseFailAlloc_167_;
|
||||
goto v_reusejp_165_;
|
||||
}
|
||||
v_reusejp_164_:
|
||||
v_reusejp_165_:
|
||||
{
|
||||
return v___x_165_;
|
||||
return v___x_166_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_168_; lean_object* v___x_170_; uint8_t v_isShared_171_; uint8_t v_isSharedCheck_175_;
|
||||
lean_object* v_a_169_; lean_object* v___x_171_; uint8_t v_isShared_172_; uint8_t v_isSharedCheck_176_;
|
||||
lean_dec(v_goal_92_);
|
||||
lean_dec(v___x_91_);
|
||||
v_a_168_ = lean_ctor_get(v___x_116_, 0);
|
||||
v_isSharedCheck_175_ = !lean_is_exclusive(v___x_116_);
|
||||
if (v_isSharedCheck_175_ == 0)
|
||||
v_a_169_ = lean_ctor_get(v___x_117_, 0);
|
||||
v_isSharedCheck_176_ = !lean_is_exclusive(v___x_117_);
|
||||
if (v_isSharedCheck_176_ == 0)
|
||||
{
|
||||
v___x_170_ = v___x_116_;
|
||||
v_isShared_171_ = v_isSharedCheck_175_;
|
||||
goto v_resetjp_169_;
|
||||
v___x_171_ = v___x_117_;
|
||||
v_isShared_172_ = v_isSharedCheck_176_;
|
||||
goto v_resetjp_170_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_168_);
|
||||
lean_dec(v___x_116_);
|
||||
v___x_170_ = lean_box(0);
|
||||
v_isShared_171_ = v_isSharedCheck_175_;
|
||||
goto v_resetjp_169_;
|
||||
lean_inc(v_a_169_);
|
||||
lean_dec(v___x_117_);
|
||||
v___x_171_ = lean_box(0);
|
||||
v_isShared_172_ = v_isSharedCheck_176_;
|
||||
goto v_resetjp_170_;
|
||||
}
|
||||
v_resetjp_169_:
|
||||
v_resetjp_170_:
|
||||
{
|
||||
lean_object* v___x_173_;
|
||||
if (v_isShared_171_ == 0)
|
||||
lean_object* v___x_174_;
|
||||
if (v_isShared_172_ == 0)
|
||||
{
|
||||
v___x_173_ = v___x_170_;
|
||||
goto v_reusejp_172_;
|
||||
v___x_174_ = v___x_171_;
|
||||
goto v_reusejp_173_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_174_;
|
||||
v_reuseFailAlloc_174_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_174_, 0, v_a_168_);
|
||||
v___x_173_ = v_reuseFailAlloc_174_;
|
||||
goto v_reusejp_172_;
|
||||
lean_object* v_reuseFailAlloc_175_;
|
||||
v_reuseFailAlloc_175_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_175_, 0, v_a_169_);
|
||||
v___x_174_ = v_reuseFailAlloc_175_;
|
||||
goto v_reusejp_173_;
|
||||
}
|
||||
v_reusejp_172_:
|
||||
v_reusejp_173_:
|
||||
{
|
||||
return v___x_173_;
|
||||
return v___x_174_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_176_; lean_object* v___x_178_; uint8_t v_isShared_179_; uint8_t v_isSharedCheck_183_;
|
||||
lean_object* v_a_177_; lean_object* v___x_179_; uint8_t v_isShared_180_; uint8_t v_isSharedCheck_184_;
|
||||
lean_dec(v_a_108_);
|
||||
lean_dec(v_goal_92_);
|
||||
lean_dec(v___x_91_);
|
||||
v_a_176_ = lean_ctor_get(v___x_109_, 0);
|
||||
v_isSharedCheck_183_ = !lean_is_exclusive(v___x_109_);
|
||||
if (v_isSharedCheck_183_ == 0)
|
||||
v_a_177_ = lean_ctor_get(v___x_109_, 0);
|
||||
v_isSharedCheck_184_ = !lean_is_exclusive(v___x_109_);
|
||||
if (v_isSharedCheck_184_ == 0)
|
||||
{
|
||||
v___x_178_ = v___x_109_;
|
||||
v_isShared_179_ = v_isSharedCheck_183_;
|
||||
goto v_resetjp_177_;
|
||||
v___x_179_ = v___x_109_;
|
||||
v_isShared_180_ = v_isSharedCheck_184_;
|
||||
goto v_resetjp_178_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_176_);
|
||||
lean_inc(v_a_177_);
|
||||
lean_dec(v___x_109_);
|
||||
v___x_178_ = lean_box(0);
|
||||
v_isShared_179_ = v_isSharedCheck_183_;
|
||||
goto v_resetjp_177_;
|
||||
v___x_179_ = lean_box(0);
|
||||
v_isShared_180_ = v_isSharedCheck_184_;
|
||||
goto v_resetjp_178_;
|
||||
}
|
||||
v_resetjp_177_:
|
||||
v_resetjp_178_:
|
||||
{
|
||||
lean_object* v___x_181_;
|
||||
if (v_isShared_179_ == 0)
|
||||
lean_object* v___x_182_;
|
||||
if (v_isShared_180_ == 0)
|
||||
{
|
||||
v___x_181_ = v___x_178_;
|
||||
goto v_reusejp_180_;
|
||||
v___x_182_ = v___x_179_;
|
||||
goto v_reusejp_181_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_182_;
|
||||
v_reuseFailAlloc_182_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_182_, 0, v_a_176_);
|
||||
v___x_181_ = v_reuseFailAlloc_182_;
|
||||
goto v_reusejp_180_;
|
||||
lean_object* v_reuseFailAlloc_183_;
|
||||
v_reuseFailAlloc_183_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_183_, 0, v_a_177_);
|
||||
v___x_182_ = v_reuseFailAlloc_183_;
|
||||
goto v_reusejp_181_;
|
||||
}
|
||||
v_reusejp_180_:
|
||||
v_reusejp_181_:
|
||||
{
|
||||
return v___x_181_;
|
||||
return v___x_182_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_184_; lean_object* v___x_186_; uint8_t v_isShared_187_; uint8_t v_isSharedCheck_191_;
|
||||
lean_object* v_a_185_; lean_object* v___x_187_; uint8_t v_isShared_188_; uint8_t v_isSharedCheck_192_;
|
||||
lean_dec(v_goal_92_);
|
||||
lean_dec(v___x_91_);
|
||||
v_a_184_ = lean_ctor_get(v___x_107_, 0);
|
||||
v_isSharedCheck_191_ = !lean_is_exclusive(v___x_107_);
|
||||
if (v_isSharedCheck_191_ == 0)
|
||||
v_a_185_ = lean_ctor_get(v___x_107_, 0);
|
||||
v_isSharedCheck_192_ = !lean_is_exclusive(v___x_107_);
|
||||
if (v_isSharedCheck_192_ == 0)
|
||||
{
|
||||
v___x_186_ = v___x_107_;
|
||||
v_isShared_187_ = v_isSharedCheck_191_;
|
||||
goto v_resetjp_185_;
|
||||
v___x_187_ = v___x_107_;
|
||||
v_isShared_188_ = v_isSharedCheck_192_;
|
||||
goto v_resetjp_186_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_184_);
|
||||
lean_inc(v_a_185_);
|
||||
lean_dec(v___x_107_);
|
||||
v___x_186_ = lean_box(0);
|
||||
v_isShared_187_ = v_isSharedCheck_191_;
|
||||
goto v_resetjp_185_;
|
||||
v___x_187_ = lean_box(0);
|
||||
v_isShared_188_ = v_isSharedCheck_192_;
|
||||
goto v_resetjp_186_;
|
||||
}
|
||||
v_resetjp_185_:
|
||||
v_resetjp_186_:
|
||||
{
|
||||
lean_object* v___x_189_;
|
||||
if (v_isShared_187_ == 0)
|
||||
lean_object* v___x_190_;
|
||||
if (v_isShared_188_ == 0)
|
||||
{
|
||||
v___x_189_ = v___x_186_;
|
||||
goto v_reusejp_188_;
|
||||
v___x_190_ = v___x_187_;
|
||||
goto v_reusejp_189_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_190_;
|
||||
v_reuseFailAlloc_190_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_190_, 0, v_a_184_);
|
||||
v___x_189_ = v_reuseFailAlloc_190_;
|
||||
goto v_reusejp_188_;
|
||||
lean_object* v_reuseFailAlloc_191_;
|
||||
v_reuseFailAlloc_191_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_191_, 0, v_a_185_);
|
||||
v___x_190_ = v_reuseFailAlloc_191_;
|
||||
goto v_reusejp_189_;
|
||||
}
|
||||
v_reusejp_188_:
|
||||
v_reusejp_189_:
|
||||
{
|
||||
return v___x_189_;
|
||||
return v___x_190_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_192_; lean_object* v___x_194_; uint8_t v_isShared_195_; uint8_t v_isSharedCheck_199_;
|
||||
lean_object* v_a_193_; lean_object* v___x_195_; uint8_t v_isShared_196_; uint8_t v_isSharedCheck_200_;
|
||||
lean_dec(v_goal_92_);
|
||||
lean_dec(v___x_91_);
|
||||
lean_dec(v___x_90_);
|
||||
|
|
@ -680,144 +682,144 @@ lean_dec_ref(v___x_87_);
|
|||
lean_dec_ref(v___x_86_);
|
||||
lean_dec_ref(v___x_85_);
|
||||
lean_dec_ref(v___x_82_);
|
||||
v_a_192_ = lean_ctor_get(v___x_100_, 0);
|
||||
v_isSharedCheck_199_ = !lean_is_exclusive(v___x_100_);
|
||||
if (v_isSharedCheck_199_ == 0)
|
||||
v_a_193_ = lean_ctor_get(v___x_100_, 0);
|
||||
v_isSharedCheck_200_ = !lean_is_exclusive(v___x_100_);
|
||||
if (v_isSharedCheck_200_ == 0)
|
||||
{
|
||||
v___x_194_ = v___x_100_;
|
||||
v_isShared_195_ = v_isSharedCheck_199_;
|
||||
goto v_resetjp_193_;
|
||||
v___x_195_ = v___x_100_;
|
||||
v_isShared_196_ = v_isSharedCheck_200_;
|
||||
goto v_resetjp_194_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_192_);
|
||||
lean_inc(v_a_193_);
|
||||
lean_dec(v___x_100_);
|
||||
v___x_194_ = lean_box(0);
|
||||
v_isShared_195_ = v_isSharedCheck_199_;
|
||||
goto v_resetjp_193_;
|
||||
v___x_195_ = lean_box(0);
|
||||
v_isShared_196_ = v_isSharedCheck_200_;
|
||||
goto v_resetjp_194_;
|
||||
}
|
||||
v_resetjp_193_:
|
||||
v_resetjp_194_:
|
||||
{
|
||||
lean_object* v___x_197_;
|
||||
if (v_isShared_195_ == 0)
|
||||
lean_object* v___x_198_;
|
||||
if (v_isShared_196_ == 0)
|
||||
{
|
||||
v___x_197_ = v___x_194_;
|
||||
goto v_reusejp_196_;
|
||||
v___x_198_ = v___x_195_;
|
||||
goto v_reusejp_197_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_198_;
|
||||
v_reuseFailAlloc_198_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_198_, 0, v_a_192_);
|
||||
v___x_197_ = v_reuseFailAlloc_198_;
|
||||
goto v_reusejp_196_;
|
||||
lean_object* v_reuseFailAlloc_199_;
|
||||
v_reuseFailAlloc_199_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_199_, 0, v_a_193_);
|
||||
v___x_198_ = v_reuseFailAlloc_199_;
|
||||
goto v_reusejp_197_;
|
||||
}
|
||||
v_reusejp_196_:
|
||||
v_reusejp_197_:
|
||||
{
|
||||
return v___x_197_;
|
||||
return v___x_198_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___boxed(lean_object** _args){
|
||||
lean_object* v_theorems_200_ = _args[0];
|
||||
lean_object* v___x_201_ = _args[1];
|
||||
lean_object* v___x_202_ = _args[2];
|
||||
lean_object* v___x_203_ = _args[3];
|
||||
lean_object* v___x_204_ = _args[4];
|
||||
lean_object* v___x_205_ = _args[5];
|
||||
lean_object* v___x_206_ = _args[6];
|
||||
lean_object* v___x_207_ = _args[7];
|
||||
lean_object* v___x_208_ = _args[8];
|
||||
lean_object* v___x_209_ = _args[9];
|
||||
lean_object* v___x_210_ = _args[10];
|
||||
lean_object* v___x_211_ = _args[11];
|
||||
lean_object* v___x_212_ = _args[12];
|
||||
lean_object* v_goal_213_ = _args[13];
|
||||
lean_object* v___y_214_ = _args[14];
|
||||
lean_object* v___y_215_ = _args[15];
|
||||
lean_object* v___y_216_ = _args[16];
|
||||
lean_object* v___y_217_ = _args[17];
|
||||
lean_object* v___y_218_ = _args[18];
|
||||
lean_object* v___y_219_ = _args[19];
|
||||
lean_object* v___y_220_ = _args[20];
|
||||
lean_object* v_theorems_201_ = _args[0];
|
||||
lean_object* v___x_202_ = _args[1];
|
||||
lean_object* v___x_203_ = _args[2];
|
||||
lean_object* v___x_204_ = _args[3];
|
||||
lean_object* v___x_205_ = _args[4];
|
||||
lean_object* v___x_206_ = _args[5];
|
||||
lean_object* v___x_207_ = _args[6];
|
||||
lean_object* v___x_208_ = _args[7];
|
||||
lean_object* v___x_209_ = _args[8];
|
||||
lean_object* v___x_210_ = _args[9];
|
||||
lean_object* v___x_211_ = _args[10];
|
||||
lean_object* v___x_212_ = _args[11];
|
||||
lean_object* v___x_213_ = _args[12];
|
||||
lean_object* v_goal_214_ = _args[13];
|
||||
lean_object* v___y_215_ = _args[14];
|
||||
lean_object* v___y_216_ = _args[15];
|
||||
lean_object* v___y_217_ = _args[16];
|
||||
lean_object* v___y_218_ = _args[17];
|
||||
lean_object* v___y_219_ = _args[18];
|
||||
lean_object* v___y_220_ = _args[19];
|
||||
lean_object* v___y_221_ = _args[20];
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_5231__boxed_221_; uint8_t v___x_5232__boxed_222_; lean_object* v_res_223_;
|
||||
v___x_5231__boxed_221_ = lean_unbox(v___x_204_);
|
||||
v___x_5232__boxed_222_ = lean_unbox(v___x_205_);
|
||||
v_res_223_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0(v_theorems_200_, v___x_201_, v___x_202_, v___x_203_, v___x_5231__boxed_221_, v___x_5232__boxed_222_, v___x_206_, v___x_207_, v___x_208_, v___x_209_, v___x_210_, v___x_211_, v___x_212_, v_goal_213_, v___y_214_, v___y_215_, v___y_216_, v___y_217_, v___y_218_, v___y_219_);
|
||||
lean_dec(v___y_219_);
|
||||
lean_dec_ref(v___y_218_);
|
||||
lean_dec(v___y_217_);
|
||||
lean_dec_ref(v___y_216_);
|
||||
lean_dec(v___y_215_);
|
||||
lean_dec_ref(v___y_214_);
|
||||
return v_res_223_;
|
||||
uint8_t v___x_5260__boxed_222_; uint8_t v___x_5261__boxed_223_; lean_object* v_res_224_;
|
||||
v___x_5260__boxed_222_ = lean_unbox(v___x_205_);
|
||||
v___x_5261__boxed_223_ = lean_unbox(v___x_206_);
|
||||
v_res_224_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0(v_theorems_201_, v___x_202_, v___x_203_, v___x_204_, v___x_5260__boxed_222_, v___x_5261__boxed_223_, v___x_207_, v___x_208_, v___x_209_, v___x_210_, v___x_211_, v___x_212_, v___x_213_, v_goal_214_, v___y_215_, v___y_216_, v___y_217_, v___y_218_, v___y_219_, v___y_220_);
|
||||
lean_dec(v___y_220_);
|
||||
lean_dec_ref(v___y_219_);
|
||||
lean_dec(v___y_218_);
|
||||
lean_dec_ref(v___y_217_);
|
||||
lean_dec(v___y_216_);
|
||||
lean_dec_ref(v___y_215_);
|
||||
return v_res_224_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__10(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_245_; lean_object* v___x_246_; lean_object* v___x_247_;
|
||||
v___x_245_ = lean_box(0);
|
||||
v___x_246_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__9));
|
||||
v___x_247_ = l_Lean_mkConst(v___x_246_, v___x_245_);
|
||||
return v___x_247_;
|
||||
lean_object* v___x_246_; lean_object* v___x_247_; lean_object* v___x_248_;
|
||||
v___x_246_ = lean_box(0);
|
||||
v___x_247_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__9));
|
||||
v___x_248_ = l_Lean_mkConst(v___x_247_, v___x_246_);
|
||||
return v___x_248_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1(lean_object* v_goal_248_, lean_object* v___y_249_, lean_object* v___y_250_, lean_object* v___y_251_, lean_object* v___y_252_, lean_object* v___y_253_, lean_object* v___y_254_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1(lean_object* v_goal_249_, lean_object* v___y_250_, lean_object* v___y_251_, lean_object* v___y_252_, lean_object* v___y_253_, lean_object* v___y_254_, lean_object* v___y_255_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_256_; lean_object* v_theorems_257_; uint8_t v___x_258_; uint8_t v___x_259_; lean_object* v___x_260_; lean_object* v___x_261_; lean_object* v___x_262_; lean_object* v___x_263_; lean_object* v___x_264_; lean_object* v___x_265_; lean_object* v___x_266_; lean_object* v___x_267_; lean_object* v___x_268_; lean_object* v___x_269_; lean_object* v___x_270_; lean_object* v___f_271_; lean_object* v___x_272_;
|
||||
v___x_256_ = lean_unsigned_to_nat(0u);
|
||||
v_theorems_257_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__0));
|
||||
v___x_258_ = 1;
|
||||
v___x_259_ = 0;
|
||||
v___x_260_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__3));
|
||||
v___x_261_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__4));
|
||||
v___x_262_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__5));
|
||||
v___x_263_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__6));
|
||||
v___x_264_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__7));
|
||||
v___x_265_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__8));
|
||||
v___x_266_ = lean_box(0);
|
||||
v___x_267_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__10, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__10_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__10);
|
||||
v___x_268_ = l_Lean_Meta_simpGlobalConfig;
|
||||
v___x_269_ = lean_box(v___x_258_);
|
||||
lean_object* v___x_257_; lean_object* v_theorems_258_; uint8_t v___x_259_; uint8_t v___x_260_; lean_object* v___x_261_; lean_object* v___x_262_; lean_object* v___x_263_; lean_object* v___x_264_; lean_object* v___x_265_; lean_object* v___x_266_; lean_object* v___x_267_; lean_object* v___x_268_; lean_object* v___x_269_; lean_object* v___x_270_; lean_object* v___x_271_; lean_object* v___f_272_; lean_object* v___x_273_;
|
||||
v___x_257_ = lean_unsigned_to_nat(0u);
|
||||
v_theorems_258_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__0));
|
||||
v___x_259_ = 1;
|
||||
v___x_260_ = 0;
|
||||
v___x_261_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__3));
|
||||
v___x_262_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__4));
|
||||
v___x_263_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__5));
|
||||
v___x_264_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__6));
|
||||
v___x_265_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__7));
|
||||
v___x_266_ = ((lean_object*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__8));
|
||||
v___x_267_ = lean_box(0);
|
||||
v___x_268_ = lean_obj_once(&l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__10, &l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__10_once, _init_l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___closed__10);
|
||||
v___x_269_ = l_Lean_Meta_simpGlobalConfig;
|
||||
v___x_270_ = lean_box(v___x_259_);
|
||||
lean_inc(v_goal_248_);
|
||||
v___f_271_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___boxed), 21, 14);
|
||||
lean_closure_set(v___f_271_, 0, v_theorems_257_);
|
||||
lean_closure_set(v___f_271_, 1, v___x_260_);
|
||||
lean_closure_set(v___f_271_, 2, v___x_267_);
|
||||
lean_closure_set(v___f_271_, 3, v___x_268_);
|
||||
lean_closure_set(v___f_271_, 4, v___x_269_);
|
||||
lean_closure_set(v___f_271_, 5, v___x_270_);
|
||||
lean_closure_set(v___f_271_, 6, v___x_261_);
|
||||
lean_closure_set(v___f_271_, 7, v___x_262_);
|
||||
lean_closure_set(v___f_271_, 8, v___x_263_);
|
||||
lean_closure_set(v___f_271_, 9, v___x_264_);
|
||||
lean_closure_set(v___f_271_, 10, v___x_265_);
|
||||
lean_closure_set(v___f_271_, 11, v___x_266_);
|
||||
lean_closure_set(v___f_271_, 12, v___x_256_);
|
||||
lean_closure_set(v___f_271_, 13, v_goal_248_);
|
||||
v___x_272_ = l_Lean_MVarId_withContext___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass_spec__0___redArg(v_goal_248_, v___f_271_, v___y_249_, v___y_250_, v___y_251_, v___y_252_, v___y_253_, v___y_254_);
|
||||
return v___x_272_;
|
||||
v___x_271_ = lean_box(v___x_260_);
|
||||
lean_inc(v_goal_249_);
|
||||
v___f_272_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__0___boxed), 21, 14);
|
||||
lean_closure_set(v___f_272_, 0, v_theorems_258_);
|
||||
lean_closure_set(v___f_272_, 1, v___x_261_);
|
||||
lean_closure_set(v___f_272_, 2, v___x_268_);
|
||||
lean_closure_set(v___f_272_, 3, v___x_269_);
|
||||
lean_closure_set(v___f_272_, 4, v___x_270_);
|
||||
lean_closure_set(v___f_272_, 5, v___x_271_);
|
||||
lean_closure_set(v___f_272_, 6, v___x_262_);
|
||||
lean_closure_set(v___f_272_, 7, v___x_263_);
|
||||
lean_closure_set(v___f_272_, 8, v___x_264_);
|
||||
lean_closure_set(v___f_272_, 9, v___x_265_);
|
||||
lean_closure_set(v___f_272_, 10, v___x_266_);
|
||||
lean_closure_set(v___f_272_, 11, v___x_267_);
|
||||
lean_closure_set(v___f_272_, 12, v___x_257_);
|
||||
lean_closure_set(v___f_272_, 13, v_goal_249_);
|
||||
v___x_273_ = l_Lean_MVarId_withContext___at___00Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass_spec__0___redArg(v_goal_249_, v___f_272_, v___y_250_, v___y_251_, v___y_252_, v___y_253_, v___y_254_, v___y_255_);
|
||||
return v___x_273_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___boxed(lean_object* v_goal_273_, lean_object* v___y_274_, lean_object* v___y_275_, lean_object* v___y_276_, lean_object* v___y_277_, lean_object* v___y_278_, lean_object* v___y_279_, lean_object* v___y_280_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1___boxed(lean_object* v_goal_274_, lean_object* v___y_275_, lean_object* v___y_276_, lean_object* v___y_277_, lean_object* v___y_278_, lean_object* v___y_279_, lean_object* v___y_280_, lean_object* v___y_281_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_281_;
|
||||
v_res_281_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1(v_goal_273_, v___y_274_, v___y_275_, v___y_276_, v___y_277_, v___y_278_, v___y_279_);
|
||||
lean_dec(v___y_279_);
|
||||
lean_dec_ref(v___y_278_);
|
||||
lean_dec(v___y_277_);
|
||||
lean_dec_ref(v___y_276_);
|
||||
lean_dec(v___y_275_);
|
||||
lean_dec_ref(v___y_274_);
|
||||
return v_res_281_;
|
||||
lean_object* v_res_282_;
|
||||
v_res_282_ = l_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_shortCircuitPass___lam__1(v_goal_274_, v___y_275_, v___y_276_, v___y_277_, v___y_278_, v___y_279_, v___y_280_);
|
||||
lean_dec(v___y_280_);
|
||||
lean_dec_ref(v___y_279_);
|
||||
lean_dec(v___y_278_);
|
||||
lean_dec_ref(v___y_277_);
|
||||
lean_dec(v___y_276_);
|
||||
lean_dec_ref(v___y_275_);
|
||||
return v_res_282_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_BVDecide_Frontend_Normalize_Basic(uint8_t builtin);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
59578
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
59578
stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c
generated
File diff suppressed because it is too large
Load diff
10382
stage0/stdlib/Lean/Elab/Tactic/Config.c
generated
10382
stage0/stdlib/Lean/Elab/Tactic/Config.c
generated
File diff suppressed because one or more lines are too long
7895
stage0/stdlib/Lean/Elab/Tactic/ConfigSetter.c
generated
7895
stage0/stdlib/Lean/Elab/Tactic/ConfigSetter.c
generated
File diff suppressed because one or more lines are too long
2513
stage0/stdlib/Lean/Elab/Tactic/Conv/Lets.c
generated
2513
stage0/stdlib/Lean/Elab/Tactic/Conv/Lets.c
generated
File diff suppressed because it is too large
Load diff
7378
stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c
generated
7378
stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c
generated
File diff suppressed because it is too large
Load diff
184
stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c
generated
184
stage0/stdlib/Lean/Elab/Tactic/Conv/Rewrite.c
generated
|
|
@ -25,7 +25,7 @@ lean_object* l_Lean_Elab_Tactic_replaceMainGoal___redArg(lean_object*, lean_obje
|
|||
lean_object* l_Lean_Elab_Tactic_withMainContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabRewriteConfig___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_elabRewriteConfig___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_withRWRulesSeq(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_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -34,6 +34,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___lam__1(lean_objec
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___lam__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static const lean_ctor_object l_Lean_Elab_Tactic_Conv_evalRewrite___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 8, .m_other = 1, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),LEAN_SCALAR_PTR_LITERAL(2, 1, 0, 0, 0, 0, 0, 0)}};
|
||||
static const lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___closed__0 = (const lean_object*)&l_Lean_Elab_Tactic_Conv_evalRewrite___closed__0_value;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static const lean_string_object l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Lean"};
|
||||
|
|
@ -405,10 +407,10 @@ return v___x_96_;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___lam__1___boxed(lean_object* v_term_99_, lean_object* v_symm_100_, lean_object* v_a_101_, lean_object* v___x_102_, lean_object* v___y_103_, lean_object* v___y_104_, lean_object* v___y_105_, lean_object* v___y_106_, lean_object* v___y_107_, lean_object* v___y_108_, lean_object* v___y_109_, lean_object* v___y_110_, lean_object* v___y_111_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_symm_boxed_112_; uint8_t v___x_1089__boxed_113_; lean_object* v_res_114_;
|
||||
uint8_t v_symm_boxed_112_; uint8_t v___x_1094__boxed_113_; lean_object* v_res_114_;
|
||||
v_symm_boxed_112_ = lean_unbox(v_symm_100_);
|
||||
v___x_1089__boxed_113_ = lean_unbox(v___x_102_);
|
||||
v_res_114_ = l_Lean_Elab_Tactic_Conv_evalRewrite___lam__1(v_term_99_, v_symm_boxed_112_, v_a_101_, v___x_1089__boxed_113_, v___y_103_, v___y_104_, v___y_105_, v___y_106_, v___y_107_, v___y_108_, v___y_109_, v___y_110_);
|
||||
v___x_1094__boxed_113_ = lean_unbox(v___x_102_);
|
||||
v_res_114_ = l_Lean_Elab_Tactic_Conv_evalRewrite___lam__1(v_term_99_, v_symm_boxed_112_, v_a_101_, v___x_1094__boxed_113_, v___y_103_, v___y_104_, v___y_105_, v___y_106_, v___y_107_, v___y_108_, v___y_109_, v___y_110_);
|
||||
lean_dec(v___y_110_);
|
||||
lean_dec_ref(v___y_109_);
|
||||
lean_dec(v___y_108_);
|
||||
|
|
@ -451,125 +453,127 @@ lean_dec_ref(v___y_135_);
|
|||
return v_res_145_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite(lean_object* v_stx_146_, lean_object* v_a_147_, lean_object* v_a_148_, lean_object* v_a_149_, lean_object* v_a_150_, lean_object* v_a_151_, lean_object* v_a_152_, lean_object* v_a_153_, lean_object* v_a_154_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite(lean_object* v_stx_151_, lean_object* v_a_152_, lean_object* v_a_153_, lean_object* v_a_154_, lean_object* v_a_155_, lean_object* v_a_156_, lean_object* v_a_157_, lean_object* v_a_158_, lean_object* v_a_159_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_156_; lean_object* v___x_157_; lean_object* v___x_158_;
|
||||
v___x_156_ = lean_unsigned_to_nat(1u);
|
||||
v___x_157_ = l_Lean_Syntax_getArg(v_stx_146_, v___x_156_);
|
||||
v___x_158_ = l_Lean_Elab_Tactic_elabRewriteConfig___redArg(v___x_157_, v_a_147_, v_a_149_, v_a_150_, v_a_151_, v_a_152_, v_a_153_, v_a_154_);
|
||||
if (lean_obj_tag(v___x_158_) == 0)
|
||||
{
|
||||
lean_object* v_a_159_; lean_object* v___f_160_; lean_object* v___x_161_; lean_object* v___x_162_; lean_object* v___x_163_; lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v_a_159_ = lean_ctor_get(v___x_158_, 0);
|
||||
lean_inc(v_a_159_);
|
||||
lean_dec_ref(v___x_158_);
|
||||
v___f_160_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalRewrite___lam__2___boxed), 12, 1);
|
||||
lean_closure_set(v___f_160_, 0, v_a_159_);
|
||||
v___x_161_ = lean_unsigned_to_nat(0u);
|
||||
v___x_162_ = l_Lean_Syntax_getArg(v_stx_146_, v___x_161_);
|
||||
v___x_163_ = lean_unsigned_to_nat(2u);
|
||||
v___x_164_ = l_Lean_Syntax_getArg(v_stx_146_, v___x_163_);
|
||||
v___x_165_ = l_Lean_Elab_Tactic_withRWRulesSeq(v___x_162_, v___x_164_, v___f_160_, v_a_147_, v_a_148_, v_a_149_, v_a_150_, v_a_151_, v_a_152_, v_a_153_, v_a_154_);
|
||||
lean_dec(v___x_164_);
|
||||
return v___x_165_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_166_; lean_object* v___x_168_; uint8_t v_isShared_169_; uint8_t v_isSharedCheck_173_;
|
||||
v_a_166_ = lean_ctor_get(v___x_158_, 0);
|
||||
v_isSharedCheck_173_ = !lean_is_exclusive(v___x_158_);
|
||||
if (v_isSharedCheck_173_ == 0)
|
||||
{
|
||||
v___x_168_ = v___x_158_;
|
||||
v_isShared_169_ = v_isSharedCheck_173_;
|
||||
goto v_resetjp_167_;
|
||||
}
|
||||
else
|
||||
lean_object* v___x_161_; lean_object* v___x_162_; uint8_t v___x_163_; lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_161_ = lean_unsigned_to_nat(1u);
|
||||
v___x_162_ = l_Lean_Syntax_getArg(v_stx_151_, v___x_161_);
|
||||
v___x_163_ = 1;
|
||||
v___x_164_ = ((lean_object*)(l_Lean_Elab_Tactic_Conv_evalRewrite___closed__0));
|
||||
v___x_165_ = l_Lean_Elab_Tactic_elabRewriteConfig___redArg(v___x_162_, v___x_164_, v___x_163_, v_a_152_, v_a_158_, v_a_159_);
|
||||
if (lean_obj_tag(v___x_165_) == 0)
|
||||
{
|
||||
lean_object* v_a_166_; lean_object* v___f_167_; lean_object* v___x_168_; lean_object* v___x_169_; lean_object* v___x_170_; lean_object* v___x_171_; lean_object* v___x_172_;
|
||||
v_a_166_ = lean_ctor_get(v___x_165_, 0);
|
||||
lean_inc(v_a_166_);
|
||||
lean_dec(v___x_158_);
|
||||
v___x_168_ = lean_box(0);
|
||||
v_isShared_169_ = v_isSharedCheck_173_;
|
||||
goto v_resetjp_167_;
|
||||
}
|
||||
v_resetjp_167_:
|
||||
{
|
||||
lean_object* v___x_171_;
|
||||
if (v_isShared_169_ == 0)
|
||||
{
|
||||
v___x_171_ = v___x_168_;
|
||||
goto v_reusejp_170_;
|
||||
lean_dec_ref(v___x_165_);
|
||||
v___f_167_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalRewrite___lam__2___boxed), 12, 1);
|
||||
lean_closure_set(v___f_167_, 0, v_a_166_);
|
||||
v___x_168_ = lean_unsigned_to_nat(0u);
|
||||
v___x_169_ = l_Lean_Syntax_getArg(v_stx_151_, v___x_168_);
|
||||
v___x_170_ = lean_unsigned_to_nat(2u);
|
||||
v___x_171_ = l_Lean_Syntax_getArg(v_stx_151_, v___x_170_);
|
||||
v___x_172_ = l_Lean_Elab_Tactic_withRWRulesSeq(v___x_169_, v___x_171_, v___f_167_, v_a_152_, v_a_153_, v_a_154_, v_a_155_, v_a_156_, v_a_157_, v_a_158_, v_a_159_);
|
||||
lean_dec(v___x_171_);
|
||||
return v___x_172_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_172_;
|
||||
v_reuseFailAlloc_172_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_172_, 0, v_a_166_);
|
||||
v___x_171_ = v_reuseFailAlloc_172_;
|
||||
goto v_reusejp_170_;
|
||||
}
|
||||
v_reusejp_170_:
|
||||
lean_object* v_a_173_; lean_object* v___x_175_; uint8_t v_isShared_176_; uint8_t v_isSharedCheck_180_;
|
||||
v_a_173_ = lean_ctor_get(v___x_165_, 0);
|
||||
v_isSharedCheck_180_ = !lean_is_exclusive(v___x_165_);
|
||||
if (v_isSharedCheck_180_ == 0)
|
||||
{
|
||||
return v___x_171_;
|
||||
v___x_175_ = v___x_165_;
|
||||
v_isShared_176_ = v_isSharedCheck_180_;
|
||||
goto v_resetjp_174_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_173_);
|
||||
lean_dec(v___x_165_);
|
||||
v___x_175_ = lean_box(0);
|
||||
v_isShared_176_ = v_isSharedCheck_180_;
|
||||
goto v_resetjp_174_;
|
||||
}
|
||||
v_resetjp_174_:
|
||||
{
|
||||
lean_object* v___x_178_;
|
||||
if (v_isShared_176_ == 0)
|
||||
{
|
||||
v___x_178_ = v___x_175_;
|
||||
goto v_reusejp_177_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_179_;
|
||||
v_reuseFailAlloc_179_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_179_, 0, v_a_173_);
|
||||
v___x_178_ = v_reuseFailAlloc_179_;
|
||||
goto v_reusejp_177_;
|
||||
}
|
||||
v_reusejp_177_:
|
||||
{
|
||||
return v___x_178_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___boxed(lean_object* v_stx_174_, lean_object* v_a_175_, lean_object* v_a_176_, lean_object* v_a_177_, lean_object* v_a_178_, lean_object* v_a_179_, lean_object* v_a_180_, lean_object* v_a_181_, lean_object* v_a_182_, lean_object* v_a_183_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRewrite___boxed(lean_object* v_stx_181_, lean_object* v_a_182_, lean_object* v_a_183_, lean_object* v_a_184_, lean_object* v_a_185_, lean_object* v_a_186_, lean_object* v_a_187_, lean_object* v_a_188_, lean_object* v_a_189_, lean_object* v_a_190_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_184_;
|
||||
v_res_184_ = l_Lean_Elab_Tactic_Conv_evalRewrite(v_stx_174_, v_a_175_, v_a_176_, v_a_177_, v_a_178_, v_a_179_, v_a_180_, v_a_181_, v_a_182_);
|
||||
lean_dec(v_a_182_);
|
||||
lean_dec_ref(v_a_181_);
|
||||
lean_dec(v_a_180_);
|
||||
lean_dec_ref(v_a_179_);
|
||||
lean_dec(v_a_178_);
|
||||
lean_dec_ref(v_a_177_);
|
||||
lean_dec(v_a_176_);
|
||||
lean_dec_ref(v_a_175_);
|
||||
lean_dec(v_stx_174_);
|
||||
return v_res_184_;
|
||||
lean_object* v_res_191_;
|
||||
v_res_191_ = l_Lean_Elab_Tactic_Conv_evalRewrite(v_stx_181_, v_a_182_, v_a_183_, v_a_184_, v_a_185_, v_a_186_, v_a_187_, v_a_188_, v_a_189_);
|
||||
lean_dec(v_a_189_);
|
||||
lean_dec_ref(v_a_188_);
|
||||
lean_dec(v_a_187_);
|
||||
lean_dec_ref(v_a_186_);
|
||||
lean_dec(v_a_185_);
|
||||
lean_dec_ref(v_a_184_);
|
||||
lean_dec(v_a_183_);
|
||||
lean_dec_ref(v_a_182_);
|
||||
lean_dec(v_stx_181_);
|
||||
return v_res_191_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_205_; lean_object* v___x_206_; lean_object* v___x_207_; lean_object* v___x_208_; lean_object* v___x_209_;
|
||||
v___x_205_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_206_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___closed__5));
|
||||
v___x_207_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___closed__8));
|
||||
v___x_208_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalRewrite___boxed), 10, 0);
|
||||
v___x_209_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_205_, v___x_206_, v___x_207_, v___x_208_);
|
||||
return v___x_209_;
|
||||
lean_object* v___x_212_; lean_object* v___x_213_; lean_object* v___x_214_; lean_object* v___x_215_; lean_object* v___x_216_;
|
||||
v___x_212_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_213_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___closed__5));
|
||||
v___x_214_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___closed__8));
|
||||
v___x_215_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalRewrite___boxed), 10, 0);
|
||||
v___x_216_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_212_, v___x_213_, v___x_214_, v___x_215_);
|
||||
return v___x_216_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___boxed(lean_object* v_a_210_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___boxed(lean_object* v_a_217_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_211_;
|
||||
v_res_211_ = l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1();
|
||||
return v_res_211_;
|
||||
lean_object* v_res_218_;
|
||||
v_res_218_ = l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1();
|
||||
return v_res_218_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite_declRange__3(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_238_; lean_object* v___x_239_; lean_object* v___x_240_;
|
||||
v___x_238_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___closed__8));
|
||||
v___x_239_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite_declRange__3___closed__6));
|
||||
v___x_240_ = l_Lean_addBuiltinDeclarationRanges(v___x_238_, v___x_239_);
|
||||
return v___x_240_;
|
||||
lean_object* v___x_245_; lean_object* v___x_246_; lean_object* v___x_247_;
|
||||
v___x_245_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite__1___closed__8));
|
||||
v___x_246_ = ((lean_object*)(l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite_declRange__3___closed__6));
|
||||
v___x_247_ = l_Lean_addBuiltinDeclarationRanges(v___x_245_, v___x_246_);
|
||||
return v___x_247_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite_declRange__3___boxed(lean_object* v_a_241_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite_declRange__3___boxed(lean_object* v_a_248_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_242_;
|
||||
v_res_242_ = l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite_declRange__3();
|
||||
return v_res_242_;
|
||||
lean_object* v_res_249_;
|
||||
v_res_249_ = l___private_Lean_Elab_Tactic_Conv_Rewrite_0__Lean_Elab_Tactic_Conv_evalRewrite___regBuiltin_Lean_Elab_Tactic_Conv_evalRewrite_declRange__3();
|
||||
return v_res_249_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Rewrite(uint8_t builtin);
|
||||
|
|
|
|||
2735
stage0/stdlib/Lean/Elab/Tactic/Conv/Simp.c
generated
2735
stage0/stdlib/Lean/Elab/Tactic/Conv/Simp.c
generated
File diff suppressed because it is too large
Load diff
4114
stage0/stdlib/Lean/Elab/Tactic/Decide.c
generated
4114
stage0/stdlib/Lean/Elab/Tactic/Decide.c
generated
File diff suppressed because it is too large
Load diff
12474
stage0/stdlib/Lean/Elab/Tactic/Do/Internal/VCGen/Frontend.c
generated
12474
stage0/stdlib/Lean/Elab/Tactic/Do/Internal/VCGen/Frontend.c
generated
File diff suppressed because it is too large
Load diff
29695
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
29695
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
File diff suppressed because it is too large
Load diff
19066
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/Basic.c
generated
19066
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/Basic.c
generated
File diff suppressed because it is too large
Load diff
6640
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/SuggestInvariant.c
generated
6640
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen/SuggestInvariant.c
generated
File diff suppressed because it is too large
Load diff
18
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
18
stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.Tactic.ElabTerm
|
||||
// Imports: public import Lean.Meta.Tactic.Constructor public import Lean.Meta.Tactic.Replace public import Lean.Meta.Tactic.Rename public import Lean.Elab.Tactic.Config
|
||||
// Imports: public import Lean.Meta.Tactic.Constructor public import Lean.Meta.Tactic.Replace public import Lean.Meta.Tactic.Rename public import Lean.Elab.Tactic.Basic public import Lean.Elab.SyntheticMVars
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -11286,7 +11286,8 @@ return v_res_4656_;
|
|||
lean_object* runtime_initialize_Lean_Meta_Tactic_Constructor(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Meta_Tactic_Replace(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Meta_Tactic_Rename(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Config(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_SyntheticMVars(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_Tactic_ElabTerm(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -11301,7 +11302,10 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Lean_Meta_Tactic_Rename(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Tactic_Config(builtin);
|
||||
res = runtime_initialize_Lean_Elab_Tactic_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_SyntheticMVars(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_evalExact___regBuiltin_Lean_Elab_Tactic_evalExact__1();
|
||||
|
|
@ -11379,7 +11383,8 @@ return lean_io_result_mk_ok(lean_box(0));
|
|||
lean_object* initialize_Lean_Meta_Tactic_Constructor(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Replace(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Rename(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Tactic_Config(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Tactic_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_SyntheticMVars(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_ElabTerm(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -11394,7 +11399,10 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Rename(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Tactic_Config(builtin);
|
||||
res = initialize_Lean_Elab_Tactic_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_SyntheticMVars(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Tactic_ElabTerm(builtin);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Elab/Tactic/Ext.c
generated
10
stage0/stdlib/Lean/Elab/Tactic/Ext.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Elab.Tactic.Ext
|
||||
// Imports: import Lean.Meta.Tactic.Ext import Lean.Elab.Tactic.RCases import Lean.Elab.Command import Lean.Linter.Basic public import Lean.Elab.Term.TermElabM
|
||||
// Imports: import Lean.Meta.Tactic.Ext import Lean.Elab.Tactic.RCases import Lean.Elab.Command import Lean.Linter.Init public import Lean.Elab.Term.TermElabM
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -20996,7 +20996,7 @@ return v_res_7996_;
|
|||
lean_object* runtime_initialize_Lean_Meta_Tactic_Ext(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_RCases(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Term_TermElabM(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Elab_Tactic_Ext(uint8_t builtin) {
|
||||
|
|
@ -21012,7 +21012,7 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Lean_Elab_Command(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Term_TermElabM(builtin);
|
||||
|
|
@ -21042,7 +21042,7 @@ return lean_io_result_mk_ok(lean_box(0));
|
|||
lean_object* initialize_Lean_Meta_Tactic_Ext(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Tactic_RCases(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Term_TermElabM(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_Ext(uint8_t builtin) {
|
||||
|
|
@ -21058,7 +21058,7 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Elab_Command(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Term_TermElabM(builtin);
|
||||
|
|
|
|||
587
stage0/stdlib/Lean/Elab/Tactic/Grind/Basic.c
generated
587
stage0/stdlib/Lean/Elab/Tactic/Grind/Basic.c
generated
|
|
@ -18967,7 +18967,7 @@ lean_object* v_a_6755_; uint8_t v_reducible_6756_; lean_object* v___x_6757_; uin
|
|||
v_a_6755_ = lean_ctor_get(v___x_6754_, 0);
|
||||
lean_inc(v_a_6755_);
|
||||
lean_dec_ref(v___x_6754_);
|
||||
v_reducible_6756_ = lean_ctor_get_uint8(v_a_6755_, sizeof(void*)*12 + 31);
|
||||
v_reducible_6756_ = lean_ctor_get_uint8(v_a_6755_, sizeof(void*)*13 + 31);
|
||||
lean_dec(v_a_6755_);
|
||||
v___x_6757_ = l_Lean_Meta_Grind_Methods_toMethodsRef(v_methods_6753_);
|
||||
if (v_reducible_6756_ == 0)
|
||||
|
|
@ -22988,16 +22988,16 @@ return v_res_8469_;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg(lean_object* v_mvarId_8471_, lean_object* v_params_8472_, lean_object* v_k_8473_, uint8_t v_sym_8474_, lean_object* v_a_8475_, lean_object* v_a_8476_, lean_object* v_a_8477_, lean_object* v_a_8478_, lean_object* v_a_8479_, lean_object* v_a_8480_, lean_object* v_a_8481_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_8483_; lean_object* v_config_8484_; lean_object* v_a_8485_; lean_object* v___x_8487_; uint8_t v_isShared_8488_; uint8_t v_isSharedCheck_8592_;
|
||||
lean_object* v___x_8483_; lean_object* v_config_8484_; lean_object* v_a_8485_; lean_object* v___x_8487_; uint8_t v_isShared_8488_; uint8_t v_isSharedCheck_8593_;
|
||||
lean_inc_ref(v_params_8472_);
|
||||
v___x_8483_ = l_Lean_Elab_Tactic_Grind_mkEvalTactic___redArg(v_params_8472_, v_a_8475_, v_a_8476_, v_a_8477_);
|
||||
v_config_8484_ = lean_ctor_get(v_params_8472_, 0);
|
||||
v_a_8485_ = lean_ctor_get(v___x_8483_, 0);
|
||||
v_isSharedCheck_8592_ = !lean_is_exclusive(v___x_8483_);
|
||||
if (v_isSharedCheck_8592_ == 0)
|
||||
v_isSharedCheck_8593_ = !lean_is_exclusive(v___x_8483_);
|
||||
if (v_isSharedCheck_8593_ == 0)
|
||||
{
|
||||
v___x_8487_ = v___x_8483_;
|
||||
v_isShared_8488_ = v_isSharedCheck_8592_;
|
||||
v_isShared_8488_ = v_isSharedCheck_8593_;
|
||||
goto v_resetjp_8486_;
|
||||
}
|
||||
else
|
||||
|
|
@ -23005,12 +23005,12 @@ else
|
|||
lean_inc(v_a_8485_);
|
||||
lean_dec(v___x_8483_);
|
||||
v___x_8487_ = lean_box(0);
|
||||
v_isShared_8488_ = v_isSharedCheck_8592_;
|
||||
v_isShared_8488_ = v_isSharedCheck_8593_;
|
||||
goto v_resetjp_8486_;
|
||||
}
|
||||
v_resetjp_8486_:
|
||||
{
|
||||
lean_object* v_extensions_8489_; lean_object* v_extra_8490_; lean_object* v_extraInj_8491_; lean_object* v_extraFacts_8492_; lean_object* v_symPrios_8493_; lean_object* v_norm_8494_; lean_object* v_normProcs_8495_; lean_object* v_anchorRefs_x3f_8496_; uint8_t v_trace_8497_; uint8_t v_markInstances_8498_; uint8_t v_lax_8499_; uint8_t v_suggestions_8500_; uint8_t v_locals_8501_; lean_object* v_splits_8502_; lean_object* v_ematch_8503_; lean_object* v_gen_8504_; lean_object* v_instances_8505_; uint8_t v_matchEqs_8506_; uint8_t v_splitMatch_8507_; uint8_t v_splitIte_8508_; uint8_t v_splitIndPred_8509_; uint8_t v_splitImp_8510_; lean_object* v_canonHeartbeats_8511_; uint8_t v_ext_8512_; uint8_t v_extAll_8513_; uint8_t v_etaStruct_8514_; uint8_t v_funext_8515_; uint8_t v_lookahead_8516_; uint8_t v_verbose_8517_; uint8_t v_clean_8518_; uint8_t v_qlia_8519_; uint8_t v_mbtc_8520_; uint8_t v_zetaDelta_8521_; uint8_t v_zeta_8522_; uint8_t v_ring_8523_; lean_object* v_ringSteps_8524_; lean_object* v_ringMaxDegree_8525_; uint8_t v_linarith_8526_; uint8_t v_lia_8527_; uint8_t v_ac_8528_; lean_object* v_acSteps_8529_; lean_object* v_exp_8530_; uint8_t v_abstractProof_8531_; uint8_t v_inj_8532_; uint8_t v_order_8533_; lean_object* v_min_8534_; lean_object* v_detailed_8535_; uint8_t v_revert_8536_; uint8_t v_funCC_8537_; uint8_t v_reducible_8538_; lean_object* v_maxSuggestions_8539_; lean_object* v___f_8540_; lean_object* v___x_8541_; lean_object* v___f_8542_; uint8_t v___x_8543_; lean_object* v___x_8544_; lean_object* v___x_8545_; lean_object* v___x_8547_;
|
||||
lean_object* v_extensions_8489_; lean_object* v_extra_8490_; lean_object* v_extraInj_8491_; lean_object* v_extraFacts_8492_; lean_object* v_symPrios_8493_; lean_object* v_norm_8494_; lean_object* v_normProcs_8495_; lean_object* v_anchorRefs_x3f_8496_; uint8_t v_trace_8497_; uint8_t v_markInstances_8498_; uint8_t v_lax_8499_; uint8_t v_suggestions_8500_; uint8_t v_locals_8501_; lean_object* v_splits_8502_; lean_object* v_ematch_8503_; lean_object* v_gen_8504_; lean_object* v_genLocal_8505_; lean_object* v_instances_8506_; uint8_t v_matchEqs_8507_; uint8_t v_splitMatch_8508_; uint8_t v_splitIte_8509_; uint8_t v_splitIndPred_8510_; uint8_t v_splitImp_8511_; lean_object* v_canonHeartbeats_8512_; uint8_t v_ext_8513_; uint8_t v_extAll_8514_; uint8_t v_etaStruct_8515_; uint8_t v_funext_8516_; uint8_t v_lookahead_8517_; uint8_t v_verbose_8518_; uint8_t v_clean_8519_; uint8_t v_qlia_8520_; uint8_t v_mbtc_8521_; uint8_t v_zetaDelta_8522_; uint8_t v_zeta_8523_; uint8_t v_ring_8524_; lean_object* v_ringSteps_8525_; lean_object* v_ringMaxDegree_8526_; uint8_t v_linarith_8527_; uint8_t v_lia_8528_; uint8_t v_ac_8529_; lean_object* v_acSteps_8530_; lean_object* v_exp_8531_; uint8_t v_abstractProof_8532_; uint8_t v_inj_8533_; uint8_t v_order_8534_; lean_object* v_min_8535_; lean_object* v_detailed_8536_; uint8_t v_revert_8537_; uint8_t v_funCC_8538_; uint8_t v_reducible_8539_; lean_object* v_maxSuggestions_8540_; lean_object* v___f_8541_; lean_object* v___x_8542_; lean_object* v___f_8543_; uint8_t v___x_8544_; lean_object* v___x_8545_; lean_object* v___x_8546_; lean_object* v___x_8548_;
|
||||
v_extensions_8489_ = lean_ctor_get(v_params_8472_, 1);
|
||||
v_extra_8490_ = lean_ctor_get(v_params_8472_, 2);
|
||||
v_extraInj_8491_ = lean_ctor_get(v_params_8472_, 3);
|
||||
|
|
@ -23019,114 +23019,117 @@ v_symPrios_8493_ = lean_ctor_get(v_params_8472_, 5);
|
|||
v_norm_8494_ = lean_ctor_get(v_params_8472_, 6);
|
||||
v_normProcs_8495_ = lean_ctor_get(v_params_8472_, 7);
|
||||
v_anchorRefs_x3f_8496_ = lean_ctor_get(v_params_8472_, 8);
|
||||
v_trace_8497_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12);
|
||||
v_markInstances_8498_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 1);
|
||||
v_lax_8499_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 2);
|
||||
v_suggestions_8500_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 3);
|
||||
v_locals_8501_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 4);
|
||||
v_trace_8497_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13);
|
||||
v_markInstances_8498_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 1);
|
||||
v_lax_8499_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 2);
|
||||
v_suggestions_8500_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 3);
|
||||
v_locals_8501_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 4);
|
||||
v_splits_8502_ = lean_ctor_get(v_config_8484_, 0);
|
||||
v_ematch_8503_ = lean_ctor_get(v_config_8484_, 1);
|
||||
v_gen_8504_ = lean_ctor_get(v_config_8484_, 2);
|
||||
v_instances_8505_ = lean_ctor_get(v_config_8484_, 3);
|
||||
v_matchEqs_8506_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 5);
|
||||
v_splitMatch_8507_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 6);
|
||||
v_splitIte_8508_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 7);
|
||||
v_splitIndPred_8509_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 8);
|
||||
v_splitImp_8510_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 9);
|
||||
v_canonHeartbeats_8511_ = lean_ctor_get(v_config_8484_, 4);
|
||||
v_ext_8512_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 10);
|
||||
v_extAll_8513_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 11);
|
||||
v_etaStruct_8514_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 12);
|
||||
v_funext_8515_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 13);
|
||||
v_lookahead_8516_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 14);
|
||||
v_verbose_8517_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 15);
|
||||
v_clean_8518_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 16);
|
||||
v_qlia_8519_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 17);
|
||||
v_mbtc_8520_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 18);
|
||||
v_zetaDelta_8521_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 19);
|
||||
v_zeta_8522_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 20);
|
||||
v_ring_8523_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 21);
|
||||
v_ringSteps_8524_ = lean_ctor_get(v_config_8484_, 5);
|
||||
v_ringMaxDegree_8525_ = lean_ctor_get(v_config_8484_, 6);
|
||||
v_linarith_8526_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 22);
|
||||
v_lia_8527_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 23);
|
||||
v_ac_8528_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 24);
|
||||
v_acSteps_8529_ = lean_ctor_get(v_config_8484_, 7);
|
||||
v_exp_8530_ = lean_ctor_get(v_config_8484_, 8);
|
||||
v_abstractProof_8531_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 25);
|
||||
v_inj_8532_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 26);
|
||||
v_order_8533_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 27);
|
||||
v_min_8534_ = lean_ctor_get(v_config_8484_, 9);
|
||||
v_detailed_8535_ = lean_ctor_get(v_config_8484_, 10);
|
||||
v_revert_8536_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 29);
|
||||
v_funCC_8537_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 30);
|
||||
v_reducible_8538_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*12 + 31);
|
||||
v_maxSuggestions_8539_ = lean_ctor_get(v_config_8484_, 11);
|
||||
v___f_8540_ = ((lean_object*)(l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg___closed__0));
|
||||
v___x_8541_ = lean_box(v_sym_8474_);
|
||||
v_genLocal_8505_ = lean_ctor_get(v_config_8484_, 3);
|
||||
v_instances_8506_ = lean_ctor_get(v_config_8484_, 4);
|
||||
v_matchEqs_8507_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 5);
|
||||
v_splitMatch_8508_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 6);
|
||||
v_splitIte_8509_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 7);
|
||||
v_splitIndPred_8510_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 8);
|
||||
v_splitImp_8511_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 9);
|
||||
v_canonHeartbeats_8512_ = lean_ctor_get(v_config_8484_, 5);
|
||||
v_ext_8513_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 10);
|
||||
v_extAll_8514_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 11);
|
||||
v_etaStruct_8515_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 12);
|
||||
v_funext_8516_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 13);
|
||||
v_lookahead_8517_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 14);
|
||||
v_verbose_8518_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 15);
|
||||
v_clean_8519_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 16);
|
||||
v_qlia_8520_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 17);
|
||||
v_mbtc_8521_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 18);
|
||||
v_zetaDelta_8522_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 19);
|
||||
v_zeta_8523_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 20);
|
||||
v_ring_8524_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 21);
|
||||
v_ringSteps_8525_ = lean_ctor_get(v_config_8484_, 6);
|
||||
v_ringMaxDegree_8526_ = lean_ctor_get(v_config_8484_, 7);
|
||||
v_linarith_8527_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 22);
|
||||
v_lia_8528_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 23);
|
||||
v_ac_8529_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 24);
|
||||
v_acSteps_8530_ = lean_ctor_get(v_config_8484_, 8);
|
||||
v_exp_8531_ = lean_ctor_get(v_config_8484_, 9);
|
||||
v_abstractProof_8532_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 25);
|
||||
v_inj_8533_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 26);
|
||||
v_order_8534_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 27);
|
||||
v_min_8535_ = lean_ctor_get(v_config_8484_, 10);
|
||||
v_detailed_8536_ = lean_ctor_get(v_config_8484_, 11);
|
||||
v_revert_8537_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 29);
|
||||
v_funCC_8538_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 30);
|
||||
v_reducible_8539_ = lean_ctor_get_uint8(v_config_8484_, sizeof(void*)*13 + 31);
|
||||
v_maxSuggestions_8540_ = lean_ctor_get(v_config_8484_, 12);
|
||||
v___f_8541_ = ((lean_object*)(l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg___closed__0));
|
||||
v___x_8542_ = lean_box(v_sym_8474_);
|
||||
lean_inc_ref(v_config_8484_);
|
||||
v___f_8542_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg___lam__2___boxed), 14, 3);
|
||||
lean_closure_set(v___f_8542_, 0, v_config_8484_);
|
||||
lean_closure_set(v___f_8542_, 1, v___x_8541_);
|
||||
lean_closure_set(v___f_8542_, 2, v___f_8540_);
|
||||
v___x_8543_ = 0;
|
||||
lean_inc(v_maxSuggestions_8539_);
|
||||
lean_inc(v_detailed_8535_);
|
||||
lean_inc(v_min_8534_);
|
||||
lean_inc(v_exp_8530_);
|
||||
lean_inc(v_acSteps_8529_);
|
||||
lean_inc(v_ringMaxDegree_8525_);
|
||||
lean_inc(v_ringSteps_8524_);
|
||||
lean_inc(v_canonHeartbeats_8511_);
|
||||
lean_inc(v_instances_8505_);
|
||||
v___f_8543_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg___lam__2___boxed), 14, 3);
|
||||
lean_closure_set(v___f_8543_, 0, v_config_8484_);
|
||||
lean_closure_set(v___f_8543_, 1, v___x_8542_);
|
||||
lean_closure_set(v___f_8543_, 2, v___f_8541_);
|
||||
v___x_8544_ = 0;
|
||||
lean_inc(v_maxSuggestions_8540_);
|
||||
lean_inc(v_detailed_8536_);
|
||||
lean_inc(v_min_8535_);
|
||||
lean_inc(v_exp_8531_);
|
||||
lean_inc(v_acSteps_8530_);
|
||||
lean_inc(v_ringMaxDegree_8526_);
|
||||
lean_inc(v_ringSteps_8525_);
|
||||
lean_inc(v_canonHeartbeats_8512_);
|
||||
lean_inc(v_instances_8506_);
|
||||
lean_inc(v_genLocal_8505_);
|
||||
lean_inc(v_gen_8504_);
|
||||
lean_inc(v_ematch_8503_);
|
||||
lean_inc(v_splits_8502_);
|
||||
v___x_8544_ = lean_alloc_ctor(0, 12, 32);
|
||||
lean_ctor_set(v___x_8544_, 0, v_splits_8502_);
|
||||
lean_ctor_set(v___x_8544_, 1, v_ematch_8503_);
|
||||
lean_ctor_set(v___x_8544_, 2, v_gen_8504_);
|
||||
lean_ctor_set(v___x_8544_, 3, v_instances_8505_);
|
||||
lean_ctor_set(v___x_8544_, 4, v_canonHeartbeats_8511_);
|
||||
lean_ctor_set(v___x_8544_, 5, v_ringSteps_8524_);
|
||||
lean_ctor_set(v___x_8544_, 6, v_ringMaxDegree_8525_);
|
||||
lean_ctor_set(v___x_8544_, 7, v_acSteps_8529_);
|
||||
lean_ctor_set(v___x_8544_, 8, v_exp_8530_);
|
||||
lean_ctor_set(v___x_8544_, 9, v_min_8534_);
|
||||
lean_ctor_set(v___x_8544_, 10, v_detailed_8535_);
|
||||
lean_ctor_set(v___x_8544_, 11, v_maxSuggestions_8539_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12, v_trace_8497_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 1, v_markInstances_8498_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 2, v_lax_8499_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 3, v_suggestions_8500_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 4, v_locals_8501_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 5, v_matchEqs_8506_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 6, v_splitMatch_8507_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 7, v_splitIte_8508_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 8, v_splitIndPred_8509_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 9, v_splitImp_8510_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 10, v_ext_8512_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 11, v_extAll_8513_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 12, v_etaStruct_8514_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 13, v_funext_8515_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 14, v_lookahead_8516_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 15, v_verbose_8517_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 16, v_clean_8518_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 17, v_qlia_8519_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 18, v_mbtc_8520_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 19, v_zetaDelta_8521_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 20, v_zeta_8522_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 21, v_ring_8523_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 22, v_linarith_8526_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 23, v_lia_8527_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 24, v_ac_8528_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 25, v_abstractProof_8531_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 26, v_inj_8532_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 27, v_order_8533_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 28, v___x_8543_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 29, v_revert_8536_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 30, v_funCC_8537_);
|
||||
lean_ctor_set_uint8(v___x_8544_, sizeof(void*)*12 + 31, v_reducible_8538_);
|
||||
v___x_8545_ = lean_alloc_ctor(0, 13, 32);
|
||||
lean_ctor_set(v___x_8545_, 0, v_splits_8502_);
|
||||
lean_ctor_set(v___x_8545_, 1, v_ematch_8503_);
|
||||
lean_ctor_set(v___x_8545_, 2, v_gen_8504_);
|
||||
lean_ctor_set(v___x_8545_, 3, v_genLocal_8505_);
|
||||
lean_ctor_set(v___x_8545_, 4, v_instances_8506_);
|
||||
lean_ctor_set(v___x_8545_, 5, v_canonHeartbeats_8512_);
|
||||
lean_ctor_set(v___x_8545_, 6, v_ringSteps_8525_);
|
||||
lean_ctor_set(v___x_8545_, 7, v_ringMaxDegree_8526_);
|
||||
lean_ctor_set(v___x_8545_, 8, v_acSteps_8530_);
|
||||
lean_ctor_set(v___x_8545_, 9, v_exp_8531_);
|
||||
lean_ctor_set(v___x_8545_, 10, v_min_8535_);
|
||||
lean_ctor_set(v___x_8545_, 11, v_detailed_8536_);
|
||||
lean_ctor_set(v___x_8545_, 12, v_maxSuggestions_8540_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13, v_trace_8497_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 1, v_markInstances_8498_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 2, v_lax_8499_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 3, v_suggestions_8500_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 4, v_locals_8501_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 5, v_matchEqs_8507_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 6, v_splitMatch_8508_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 7, v_splitIte_8509_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 8, v_splitIndPred_8510_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 9, v_splitImp_8511_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 10, v_ext_8513_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 11, v_extAll_8514_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 12, v_etaStruct_8515_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 13, v_funext_8516_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 14, v_lookahead_8517_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 15, v_verbose_8518_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 16, v_clean_8519_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 17, v_qlia_8520_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 18, v_mbtc_8521_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 19, v_zetaDelta_8522_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 20, v_zeta_8523_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 21, v_ring_8524_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 22, v_linarith_8527_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 23, v_lia_8528_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 24, v_ac_8529_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 25, v_abstractProof_8532_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 26, v_inj_8533_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 27, v_order_8534_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 28, v___x_8544_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 29, v_revert_8537_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 30, v_funCC_8538_);
|
||||
lean_ctor_set_uint8(v___x_8545_, sizeof(void*)*13 + 31, v_reducible_8539_);
|
||||
lean_inc(v_anchorRefs_x3f_8496_);
|
||||
lean_inc_ref(v_normProcs_8495_);
|
||||
lean_inc_ref(v_norm_8494_);
|
||||
|
|
@ -23135,192 +23138,192 @@ lean_inc_ref(v_extraFacts_8492_);
|
|||
lean_inc_ref(v_extraInj_8491_);
|
||||
lean_inc_ref(v_extra_8490_);
|
||||
lean_inc_ref(v_extensions_8489_);
|
||||
v___x_8545_ = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(v___x_8545_, 0, v___x_8544_);
|
||||
lean_ctor_set(v___x_8545_, 1, v_extensions_8489_);
|
||||
lean_ctor_set(v___x_8545_, 2, v_extra_8490_);
|
||||
lean_ctor_set(v___x_8545_, 3, v_extraInj_8491_);
|
||||
lean_ctor_set(v___x_8545_, 4, v_extraFacts_8492_);
|
||||
lean_ctor_set(v___x_8545_, 5, v_symPrios_8493_);
|
||||
lean_ctor_set(v___x_8545_, 6, v_norm_8494_);
|
||||
lean_ctor_set(v___x_8545_, 7, v_normProcs_8495_);
|
||||
lean_ctor_set(v___x_8545_, 8, v_anchorRefs_x3f_8496_);
|
||||
v___x_8546_ = lean_alloc_ctor(0, 9, 0);
|
||||
lean_ctor_set(v___x_8546_, 0, v___x_8545_);
|
||||
lean_ctor_set(v___x_8546_, 1, v_extensions_8489_);
|
||||
lean_ctor_set(v___x_8546_, 2, v_extra_8490_);
|
||||
lean_ctor_set(v___x_8546_, 3, v_extraInj_8491_);
|
||||
lean_ctor_set(v___x_8546_, 4, v_extraFacts_8492_);
|
||||
lean_ctor_set(v___x_8546_, 5, v_symPrios_8493_);
|
||||
lean_ctor_set(v___x_8546_, 6, v_norm_8494_);
|
||||
lean_ctor_set(v___x_8546_, 7, v_normProcs_8495_);
|
||||
lean_ctor_set(v___x_8546_, 8, v_anchorRefs_x3f_8496_);
|
||||
if (v_isShared_8488_ == 0)
|
||||
{
|
||||
lean_ctor_set_tag(v___x_8487_, 1);
|
||||
v___x_8547_ = v___x_8487_;
|
||||
goto v_reusejp_8546_;
|
||||
v___x_8548_ = v___x_8487_;
|
||||
goto v_reusejp_8547_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_8591_;
|
||||
v_reuseFailAlloc_8591_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8591_, 0, v_a_8485_);
|
||||
v___x_8547_ = v_reuseFailAlloc_8591_;
|
||||
goto v_reusejp_8546_;
|
||||
lean_object* v_reuseFailAlloc_8592_;
|
||||
v_reuseFailAlloc_8592_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8592_, 0, v_a_8485_);
|
||||
v___x_8548_ = v_reuseFailAlloc_8592_;
|
||||
goto v_reusejp_8547_;
|
||||
}
|
||||
v_reusejp_8546_:
|
||||
v_reusejp_8547_:
|
||||
{
|
||||
lean_object* v___x_8548_;
|
||||
v___x_8548_ = l_Lean_Meta_Grind_GrindM_runAtGoal___redArg(v_mvarId_8471_, v___x_8545_, v___f_8542_, v___x_8547_, v_a_8478_, v_a_8479_, v_a_8480_, v_a_8481_);
|
||||
if (lean_obj_tag(v___x_8548_) == 0)
|
||||
lean_object* v___x_8549_;
|
||||
v___x_8549_ = l_Lean_Meta_Grind_GrindM_runAtGoal___redArg(v_mvarId_8471_, v___x_8546_, v___f_8543_, v___x_8548_, v_a_8478_, v_a_8479_, v_a_8480_, v_a_8481_);
|
||||
if (lean_obj_tag(v___x_8549_) == 0)
|
||||
{
|
||||
lean_object* v_a_8549_; lean_object* v_snd_8550_; lean_object* v_snd_8551_; lean_object* v_fst_8552_; lean_object* v_fst_8553_; lean_object* v_fst_8554_; lean_object* v_snd_8555_; lean_object* v___x_8557_; uint8_t v_isShared_8558_; uint8_t v_isSharedCheck_8582_;
|
||||
v_a_8549_ = lean_ctor_get(v___x_8548_, 0);
|
||||
lean_inc(v_a_8549_);
|
||||
lean_dec_ref(v___x_8548_);
|
||||
v_snd_8550_ = lean_ctor_get(v_a_8549_, 1);
|
||||
lean_inc(v_snd_8550_);
|
||||
v_snd_8551_ = lean_ctor_get(v_snd_8550_, 1);
|
||||
lean_object* v_a_8550_; lean_object* v_snd_8551_; lean_object* v_snd_8552_; lean_object* v_fst_8553_; lean_object* v_fst_8554_; lean_object* v_fst_8555_; lean_object* v_snd_8556_; lean_object* v___x_8558_; uint8_t v_isShared_8559_; uint8_t v_isSharedCheck_8583_;
|
||||
v_a_8550_ = lean_ctor_get(v___x_8549_, 0);
|
||||
lean_inc(v_a_8550_);
|
||||
lean_dec_ref(v___x_8549_);
|
||||
v_snd_8551_ = lean_ctor_get(v_a_8550_, 1);
|
||||
lean_inc(v_snd_8551_);
|
||||
v_fst_8552_ = lean_ctor_get(v_a_8549_, 0);
|
||||
lean_inc(v_fst_8552_);
|
||||
lean_dec(v_a_8549_);
|
||||
v_fst_8553_ = lean_ctor_get(v_snd_8550_, 0);
|
||||
v_snd_8552_ = lean_ctor_get(v_snd_8551_, 1);
|
||||
lean_inc(v_snd_8552_);
|
||||
v_fst_8553_ = lean_ctor_get(v_a_8550_, 0);
|
||||
lean_inc(v_fst_8553_);
|
||||
lean_dec(v_snd_8550_);
|
||||
lean_dec(v_a_8550_);
|
||||
v_fst_8554_ = lean_ctor_get(v_snd_8551_, 0);
|
||||
v_snd_8555_ = lean_ctor_get(v_snd_8551_, 1);
|
||||
v_isSharedCheck_8582_ = !lean_is_exclusive(v_snd_8551_);
|
||||
if (v_isSharedCheck_8582_ == 0)
|
||||
{
|
||||
v___x_8557_ = v_snd_8551_;
|
||||
v_isShared_8558_ = v_isSharedCheck_8582_;
|
||||
goto v_resetjp_8556_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_snd_8555_);
|
||||
lean_inc(v_fst_8554_);
|
||||
lean_dec(v_snd_8551_);
|
||||
v___x_8557_ = lean_box(0);
|
||||
v_isShared_8558_ = v_isSharedCheck_8582_;
|
||||
goto v_resetjp_8556_;
|
||||
}
|
||||
v_resetjp_8556_:
|
||||
v_fst_8555_ = lean_ctor_get(v_snd_8552_, 0);
|
||||
v_snd_8556_ = lean_ctor_get(v_snd_8552_, 1);
|
||||
v_isSharedCheck_8583_ = !lean_is_exclusive(v_snd_8552_);
|
||||
if (v_isSharedCheck_8583_ == 0)
|
||||
{
|
||||
lean_object* v___x_8559_; lean_object* v___x_8560_; lean_object* v___x_8561_;
|
||||
v___x_8559_ = lean_st_mk_ref(v_snd_8555_);
|
||||
v___x_8558_ = v_snd_8552_;
|
||||
v_isShared_8559_ = v_isSharedCheck_8583_;
|
||||
goto v_resetjp_8557_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_snd_8556_);
|
||||
lean_inc(v_fst_8555_);
|
||||
lean_dec(v_snd_8552_);
|
||||
v___x_8558_ = lean_box(0);
|
||||
v_isShared_8559_ = v_isSharedCheck_8583_;
|
||||
goto v_resetjp_8557_;
|
||||
}
|
||||
v_resetjp_8557_:
|
||||
{
|
||||
lean_object* v___x_8560_; lean_object* v___x_8561_; lean_object* v___x_8562_;
|
||||
v___x_8560_ = lean_st_mk_ref(v_snd_8556_);
|
||||
lean_inc_ref(v_a_8475_);
|
||||
v___x_8560_ = lean_alloc_ctor(0, 5, 1);
|
||||
lean_ctor_set(v___x_8560_, 0, v_a_8475_);
|
||||
lean_ctor_set(v___x_8560_, 1, v_fst_8553_);
|
||||
lean_ctor_set(v___x_8560_, 2, v_fst_8554_);
|
||||
lean_ctor_set(v___x_8560_, 3, v_fst_8552_);
|
||||
lean_ctor_set(v___x_8560_, 4, v_params_8472_);
|
||||
lean_ctor_set_uint8(v___x_8560_, sizeof(void*)*5, v_sym_8474_);
|
||||
v___x_8561_ = lean_alloc_ctor(0, 5, 1);
|
||||
lean_ctor_set(v___x_8561_, 0, v_a_8475_);
|
||||
lean_ctor_set(v___x_8561_, 1, v_fst_8554_);
|
||||
lean_ctor_set(v___x_8561_, 2, v_fst_8555_);
|
||||
lean_ctor_set(v___x_8561_, 3, v_fst_8553_);
|
||||
lean_ctor_set(v___x_8561_, 4, v_params_8472_);
|
||||
lean_ctor_set_uint8(v___x_8561_, sizeof(void*)*5, v_sym_8474_);
|
||||
lean_inc(v_a_8481_);
|
||||
lean_inc_ref(v_a_8480_);
|
||||
lean_inc(v_a_8479_);
|
||||
lean_inc_ref(v_a_8478_);
|
||||
lean_inc(v_a_8477_);
|
||||
lean_inc_ref(v_a_8476_);
|
||||
lean_inc(v___x_8559_);
|
||||
v___x_8561_ = lean_apply_9(v_k_8473_, v___x_8560_, v___x_8559_, v_a_8476_, v_a_8477_, v_a_8478_, v_a_8479_, v_a_8480_, v_a_8481_, lean_box(0));
|
||||
if (lean_obj_tag(v___x_8561_) == 0)
|
||||
lean_inc(v___x_8560_);
|
||||
v___x_8562_ = lean_apply_9(v_k_8473_, v___x_8561_, v___x_8560_, v_a_8476_, v_a_8477_, v_a_8478_, v_a_8479_, v_a_8480_, v_a_8481_, lean_box(0));
|
||||
if (lean_obj_tag(v___x_8562_) == 0)
|
||||
{
|
||||
lean_object* v_a_8562_; lean_object* v___x_8564_; uint8_t v_isShared_8565_; uint8_t v_isSharedCheck_8573_;
|
||||
v_a_8562_ = lean_ctor_get(v___x_8561_, 0);
|
||||
v_isSharedCheck_8573_ = !lean_is_exclusive(v___x_8561_);
|
||||
if (v_isSharedCheck_8573_ == 0)
|
||||
lean_object* v_a_8563_; lean_object* v___x_8565_; uint8_t v_isShared_8566_; uint8_t v_isSharedCheck_8574_;
|
||||
v_a_8563_ = lean_ctor_get(v___x_8562_, 0);
|
||||
v_isSharedCheck_8574_ = !lean_is_exclusive(v___x_8562_);
|
||||
if (v_isSharedCheck_8574_ == 0)
|
||||
{
|
||||
v___x_8564_ = v___x_8561_;
|
||||
v_isShared_8565_ = v_isSharedCheck_8573_;
|
||||
goto v_resetjp_8563_;
|
||||
v___x_8565_ = v___x_8562_;
|
||||
v_isShared_8566_ = v_isSharedCheck_8574_;
|
||||
goto v_resetjp_8564_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_8562_);
|
||||
lean_dec(v___x_8561_);
|
||||
v___x_8564_ = lean_box(0);
|
||||
v_isShared_8565_ = v_isSharedCheck_8573_;
|
||||
goto v_resetjp_8563_;
|
||||
lean_inc(v_a_8563_);
|
||||
lean_dec(v___x_8562_);
|
||||
v___x_8565_ = lean_box(0);
|
||||
v_isShared_8566_ = v_isSharedCheck_8574_;
|
||||
goto v_resetjp_8564_;
|
||||
}
|
||||
v_resetjp_8563_:
|
||||
v_resetjp_8564_:
|
||||
{
|
||||
lean_object* v___x_8566_; lean_object* v___x_8568_;
|
||||
v___x_8566_ = lean_st_ref_get(v___x_8559_);
|
||||
lean_dec(v___x_8559_);
|
||||
if (v_isShared_8558_ == 0)
|
||||
lean_object* v___x_8567_; lean_object* v___x_8569_;
|
||||
v___x_8567_ = lean_st_ref_get(v___x_8560_);
|
||||
lean_dec(v___x_8560_);
|
||||
if (v_isShared_8559_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_8557_, 1, v___x_8566_);
|
||||
lean_ctor_set(v___x_8557_, 0, v_a_8562_);
|
||||
v___x_8568_ = v___x_8557_;
|
||||
goto v_reusejp_8567_;
|
||||
lean_ctor_set(v___x_8558_, 1, v___x_8567_);
|
||||
lean_ctor_set(v___x_8558_, 0, v_a_8563_);
|
||||
v___x_8569_ = v___x_8558_;
|
||||
goto v_reusejp_8568_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_8573_;
|
||||
v_reuseFailAlloc_8573_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8573_, 0, v_a_8563_);
|
||||
lean_ctor_set(v_reuseFailAlloc_8573_, 1, v___x_8567_);
|
||||
v___x_8569_ = v_reuseFailAlloc_8573_;
|
||||
goto v_reusejp_8568_;
|
||||
}
|
||||
v_reusejp_8568_:
|
||||
{
|
||||
lean_object* v___x_8571_;
|
||||
if (v_isShared_8566_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_8565_, 0, v___x_8569_);
|
||||
v___x_8571_ = v___x_8565_;
|
||||
goto v_reusejp_8570_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_8572_;
|
||||
v_reuseFailAlloc_8572_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8572_, 0, v_a_8562_);
|
||||
lean_ctor_set(v_reuseFailAlloc_8572_, 1, v___x_8566_);
|
||||
v___x_8568_ = v_reuseFailAlloc_8572_;
|
||||
goto v_reusejp_8567_;
|
||||
v_reuseFailAlloc_8572_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8572_, 0, v___x_8569_);
|
||||
v___x_8571_ = v_reuseFailAlloc_8572_;
|
||||
goto v_reusejp_8570_;
|
||||
}
|
||||
v_reusejp_8567_:
|
||||
v_reusejp_8570_:
|
||||
{
|
||||
lean_object* v___x_8570_;
|
||||
if (v_isShared_8565_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_8564_, 0, v___x_8568_);
|
||||
v___x_8570_ = v___x_8564_;
|
||||
goto v_reusejp_8569_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_8571_;
|
||||
v_reuseFailAlloc_8571_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8571_, 0, v___x_8568_);
|
||||
v___x_8570_ = v_reuseFailAlloc_8571_;
|
||||
goto v_reusejp_8569_;
|
||||
}
|
||||
v_reusejp_8569_:
|
||||
{
|
||||
return v___x_8570_;
|
||||
return v___x_8571_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_8574_; lean_object* v___x_8576_; uint8_t v_isShared_8577_; uint8_t v_isSharedCheck_8581_;
|
||||
lean_dec(v___x_8559_);
|
||||
lean_del_object(v___x_8557_);
|
||||
v_a_8574_ = lean_ctor_get(v___x_8561_, 0);
|
||||
v_isSharedCheck_8581_ = !lean_is_exclusive(v___x_8561_);
|
||||
if (v_isSharedCheck_8581_ == 0)
|
||||
lean_object* v_a_8575_; lean_object* v___x_8577_; uint8_t v_isShared_8578_; uint8_t v_isSharedCheck_8582_;
|
||||
lean_dec(v___x_8560_);
|
||||
lean_del_object(v___x_8558_);
|
||||
v_a_8575_ = lean_ctor_get(v___x_8562_, 0);
|
||||
v_isSharedCheck_8582_ = !lean_is_exclusive(v___x_8562_);
|
||||
if (v_isSharedCheck_8582_ == 0)
|
||||
{
|
||||
v___x_8576_ = v___x_8561_;
|
||||
v_isShared_8577_ = v_isSharedCheck_8581_;
|
||||
goto v_resetjp_8575_;
|
||||
v___x_8577_ = v___x_8562_;
|
||||
v_isShared_8578_ = v_isSharedCheck_8582_;
|
||||
goto v_resetjp_8576_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_8574_);
|
||||
lean_dec(v___x_8561_);
|
||||
v___x_8576_ = lean_box(0);
|
||||
v_isShared_8577_ = v_isSharedCheck_8581_;
|
||||
goto v_resetjp_8575_;
|
||||
lean_inc(v_a_8575_);
|
||||
lean_dec(v___x_8562_);
|
||||
v___x_8577_ = lean_box(0);
|
||||
v_isShared_8578_ = v_isSharedCheck_8582_;
|
||||
goto v_resetjp_8576_;
|
||||
}
|
||||
v_resetjp_8575_:
|
||||
v_resetjp_8576_:
|
||||
{
|
||||
lean_object* v___x_8579_;
|
||||
if (v_isShared_8577_ == 0)
|
||||
lean_object* v___x_8580_;
|
||||
if (v_isShared_8578_ == 0)
|
||||
{
|
||||
v___x_8579_ = v___x_8576_;
|
||||
goto v_reusejp_8578_;
|
||||
v___x_8580_ = v___x_8577_;
|
||||
goto v_reusejp_8579_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_8580_;
|
||||
v_reuseFailAlloc_8580_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8580_, 0, v_a_8574_);
|
||||
v___x_8579_ = v_reuseFailAlloc_8580_;
|
||||
goto v_reusejp_8578_;
|
||||
lean_object* v_reuseFailAlloc_8581_;
|
||||
v_reuseFailAlloc_8581_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8581_, 0, v_a_8575_);
|
||||
v___x_8580_ = v_reuseFailAlloc_8581_;
|
||||
goto v_reusejp_8579_;
|
||||
}
|
||||
v_reusejp_8578_:
|
||||
v_reusejp_8579_:
|
||||
{
|
||||
return v___x_8579_;
|
||||
return v___x_8580_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -23328,44 +23331,44 @@ return v___x_8579_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_8583_; lean_object* v___x_8585_; uint8_t v_isShared_8586_; uint8_t v_isSharedCheck_8590_;
|
||||
lean_object* v_a_8584_; lean_object* v___x_8586_; uint8_t v_isShared_8587_; uint8_t v_isSharedCheck_8591_;
|
||||
lean_dec_ref(v_k_8473_);
|
||||
lean_dec_ref(v_params_8472_);
|
||||
v_a_8583_ = lean_ctor_get(v___x_8548_, 0);
|
||||
v_isSharedCheck_8590_ = !lean_is_exclusive(v___x_8548_);
|
||||
if (v_isSharedCheck_8590_ == 0)
|
||||
v_a_8584_ = lean_ctor_get(v___x_8549_, 0);
|
||||
v_isSharedCheck_8591_ = !lean_is_exclusive(v___x_8549_);
|
||||
if (v_isSharedCheck_8591_ == 0)
|
||||
{
|
||||
v___x_8585_ = v___x_8548_;
|
||||
v_isShared_8586_ = v_isSharedCheck_8590_;
|
||||
goto v_resetjp_8584_;
|
||||
v___x_8586_ = v___x_8549_;
|
||||
v_isShared_8587_ = v_isSharedCheck_8591_;
|
||||
goto v_resetjp_8585_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_8583_);
|
||||
lean_dec(v___x_8548_);
|
||||
v___x_8585_ = lean_box(0);
|
||||
v_isShared_8586_ = v_isSharedCheck_8590_;
|
||||
goto v_resetjp_8584_;
|
||||
lean_inc(v_a_8584_);
|
||||
lean_dec(v___x_8549_);
|
||||
v___x_8586_ = lean_box(0);
|
||||
v_isShared_8587_ = v_isSharedCheck_8591_;
|
||||
goto v_resetjp_8585_;
|
||||
}
|
||||
v_resetjp_8584_:
|
||||
v_resetjp_8585_:
|
||||
{
|
||||
lean_object* v___x_8588_;
|
||||
if (v_isShared_8586_ == 0)
|
||||
lean_object* v___x_8589_;
|
||||
if (v_isShared_8587_ == 0)
|
||||
{
|
||||
v___x_8588_ = v___x_8585_;
|
||||
goto v_reusejp_8587_;
|
||||
v___x_8589_ = v___x_8586_;
|
||||
goto v_reusejp_8588_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_8589_;
|
||||
v_reuseFailAlloc_8589_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8589_, 0, v_a_8583_);
|
||||
v___x_8588_ = v_reuseFailAlloc_8589_;
|
||||
goto v_reusejp_8587_;
|
||||
lean_object* v_reuseFailAlloc_8590_;
|
||||
v_reuseFailAlloc_8590_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8590_, 0, v_a_8584_);
|
||||
v___x_8589_ = v_reuseFailAlloc_8590_;
|
||||
goto v_reusejp_8588_;
|
||||
}
|
||||
v_reusejp_8587_:
|
||||
v_reusejp_8588_:
|
||||
{
|
||||
return v___x_8588_;
|
||||
return v___x_8589_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -23373,45 +23376,45 @@ return v___x_8588_;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg___boxed(lean_object* v_mvarId_8593_, lean_object* v_params_8594_, lean_object* v_k_8595_, lean_object* v_sym_8596_, lean_object* v_a_8597_, lean_object* v_a_8598_, lean_object* v_a_8599_, lean_object* v_a_8600_, lean_object* v_a_8601_, lean_object* v_a_8602_, lean_object* v_a_8603_, lean_object* v_a_8604_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg___boxed(lean_object* v_mvarId_8594_, lean_object* v_params_8595_, lean_object* v_k_8596_, lean_object* v_sym_8597_, lean_object* v_a_8598_, lean_object* v_a_8599_, lean_object* v_a_8600_, lean_object* v_a_8601_, lean_object* v_a_8602_, lean_object* v_a_8603_, lean_object* v_a_8604_, lean_object* v_a_8605_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_sym_boxed_8605_; lean_object* v_res_8606_;
|
||||
v_sym_boxed_8605_ = lean_unbox(v_sym_8596_);
|
||||
v_res_8606_ = l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg(v_mvarId_8593_, v_params_8594_, v_k_8595_, v_sym_boxed_8605_, v_a_8597_, v_a_8598_, v_a_8599_, v_a_8600_, v_a_8601_, v_a_8602_, v_a_8603_);
|
||||
lean_dec(v_a_8603_);
|
||||
lean_dec_ref(v_a_8602_);
|
||||
lean_dec(v_a_8601_);
|
||||
lean_dec_ref(v_a_8600_);
|
||||
lean_dec(v_a_8599_);
|
||||
uint8_t v_sym_boxed_8606_; lean_object* v_res_8607_;
|
||||
v_sym_boxed_8606_ = lean_unbox(v_sym_8597_);
|
||||
v_res_8607_ = l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg(v_mvarId_8594_, v_params_8595_, v_k_8596_, v_sym_boxed_8606_, v_a_8598_, v_a_8599_, v_a_8600_, v_a_8601_, v_a_8602_, v_a_8603_, v_a_8604_);
|
||||
lean_dec(v_a_8604_);
|
||||
lean_dec_ref(v_a_8603_);
|
||||
lean_dec(v_a_8602_);
|
||||
lean_dec_ref(v_a_8601_);
|
||||
lean_dec(v_a_8600_);
|
||||
lean_dec_ref(v_a_8599_);
|
||||
lean_dec_ref(v_a_8598_);
|
||||
lean_dec_ref(v_a_8597_);
|
||||
return v_res_8606_;
|
||||
return v_res_8607_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal(lean_object* v_00_u03b1_8607_, lean_object* v_mvarId_8608_, lean_object* v_params_8609_, lean_object* v_k_8610_, uint8_t v_sym_8611_, lean_object* v_a_8612_, lean_object* v_a_8613_, lean_object* v_a_8614_, lean_object* v_a_8615_, lean_object* v_a_8616_, lean_object* v_a_8617_, lean_object* v_a_8618_, lean_object* v_a_8619_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal(lean_object* v_00_u03b1_8608_, lean_object* v_mvarId_8609_, lean_object* v_params_8610_, lean_object* v_k_8611_, uint8_t v_sym_8612_, lean_object* v_a_8613_, lean_object* v_a_8614_, lean_object* v_a_8615_, lean_object* v_a_8616_, lean_object* v_a_8617_, lean_object* v_a_8618_, lean_object* v_a_8619_, lean_object* v_a_8620_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_8621_;
|
||||
v___x_8621_ = l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg(v_mvarId_8608_, v_params_8609_, v_k_8610_, v_sym_8611_, v_a_8612_, v_a_8614_, v_a_8615_, v_a_8616_, v_a_8617_, v_a_8618_, v_a_8619_);
|
||||
return v___x_8621_;
|
||||
lean_object* v___x_8622_;
|
||||
v___x_8622_ = l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___redArg(v_mvarId_8609_, v_params_8610_, v_k_8611_, v_sym_8612_, v_a_8613_, v_a_8615_, v_a_8616_, v_a_8617_, v_a_8618_, v_a_8619_, v_a_8620_);
|
||||
return v___x_8622_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___boxed(lean_object* v_00_u03b1_8622_, lean_object* v_mvarId_8623_, lean_object* v_params_8624_, lean_object* v_k_8625_, lean_object* v_sym_8626_, lean_object* v_a_8627_, lean_object* v_a_8628_, lean_object* v_a_8629_, lean_object* v_a_8630_, lean_object* v_a_8631_, lean_object* v_a_8632_, lean_object* v_a_8633_, lean_object* v_a_8634_, lean_object* v_a_8635_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal___boxed(lean_object* v_00_u03b1_8623_, lean_object* v_mvarId_8624_, lean_object* v_params_8625_, lean_object* v_k_8626_, lean_object* v_sym_8627_, lean_object* v_a_8628_, lean_object* v_a_8629_, lean_object* v_a_8630_, lean_object* v_a_8631_, lean_object* v_a_8632_, lean_object* v_a_8633_, lean_object* v_a_8634_, lean_object* v_a_8635_, lean_object* v_a_8636_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_sym_boxed_8636_; lean_object* v_res_8637_;
|
||||
v_sym_boxed_8636_ = lean_unbox(v_sym_8626_);
|
||||
v_res_8637_ = l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal(v_00_u03b1_8622_, v_mvarId_8623_, v_params_8624_, v_k_8625_, v_sym_boxed_8636_, v_a_8627_, v_a_8628_, v_a_8629_, v_a_8630_, v_a_8631_, v_a_8632_, v_a_8633_, v_a_8634_);
|
||||
lean_dec(v_a_8634_);
|
||||
lean_dec_ref(v_a_8633_);
|
||||
lean_dec(v_a_8632_);
|
||||
lean_dec_ref(v_a_8631_);
|
||||
lean_dec(v_a_8630_);
|
||||
lean_dec_ref(v_a_8629_);
|
||||
lean_dec(v_a_8628_);
|
||||
lean_dec_ref(v_a_8627_);
|
||||
return v_res_8637_;
|
||||
uint8_t v_sym_boxed_8637_; lean_object* v_res_8638_;
|
||||
v_sym_boxed_8637_ = lean_unbox(v_sym_8627_);
|
||||
v_res_8638_ = l_Lean_Elab_Tactic_Grind_GrindTacticM_runAtGoal(v_00_u03b1_8623_, v_mvarId_8624_, v_params_8625_, v_k_8626_, v_sym_boxed_8637_, v_a_8628_, v_a_8629_, v_a_8630_, v_a_8631_, v_a_8632_, v_a_8633_, v_a_8634_, v_a_8635_);
|
||||
lean_dec(v_a_8635_);
|
||||
lean_dec_ref(v_a_8634_);
|
||||
lean_dec(v_a_8633_);
|
||||
lean_dec_ref(v_a_8632_);
|
||||
lean_dec(v_a_8631_);
|
||||
lean_dec_ref(v_a_8630_);
|
||||
lean_dec(v_a_8629_);
|
||||
lean_dec_ref(v_a_8628_);
|
||||
return v_res_8638_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Basic(uint8_t builtin);
|
||||
|
|
|
|||
11870
stage0/stdlib/Lean/Elab/Tactic/Grind/BuiltinTactic.c
generated
11870
stage0/stdlib/Lean/Elab/Tactic/Grind/BuiltinTactic.c
generated
File diff suppressed because it is too large
Load diff
39602
stage0/stdlib/Lean/Elab/Tactic/Grind/Config.c
generated
39602
stage0/stdlib/Lean/Elab/Tactic/Grind/Config.c
generated
File diff suppressed because one or more lines are too long
11625
stage0/stdlib/Lean/Elab/Tactic/Grind/Lint.c
generated
11625
stage0/stdlib/Lean/Elab/Tactic/Grind/Lint.c
generated
File diff suppressed because it is too large
Load diff
39172
stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c
generated
39172
stage0/stdlib/Lean/Elab/Tactic/Grind/Main.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c
generated
2
stage0/stdlib/Lean/Elab/Tactic/Grind/Param.c
generated
|
|
@ -6284,7 +6284,7 @@ _start:
|
|||
{
|
||||
lean_object* v_config_1868_; uint8_t v_revert_1869_;
|
||||
v_config_1868_ = lean_ctor_get(v_params_1864_, 0);
|
||||
v_revert_1869_ = lean_ctor_get_uint8(v_config_1868_, sizeof(void*)*12 + 29);
|
||||
v_revert_1869_ = lean_ctor_get_uint8(v_config_1868_, sizeof(void*)*13 + 29);
|
||||
if (v_revert_1869_ == 0)
|
||||
{
|
||||
lean_object* v___x_1870_; lean_object* v___x_1871_;
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__L
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___lam__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___lam__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 const lean_ctor_object l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*12 + 32, .m_other = 12, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(9) << 1) | 1)),((lean_object*)(((size_t)(5) << 1) | 1)),((lean_object*)(((size_t)(8) << 1) | 1)),((lean_object*)(((size_t)(1000) << 1) | 1)),((lean_object*)(((size_t)(1000) << 1) | 1)),((lean_object*)(((size_t)(100000) << 1) | 1)),((lean_object*)(((size_t)(1024) << 1) | 1)),((lean_object*)(((size_t)(1000) << 1) | 1)),((lean_object*)(((size_t)(1048576) << 1) | 1)),((lean_object*)(((size_t)(10) << 1) | 1)),((lean_object*)(((size_t)(50) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1)),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 1, 1, 1),LEAN_SCALAR_PTR_LITERAL(0, 0, 1, 0, 1, 1, 1, 1),LEAN_SCALAR_PTR_LITERAL(1, 0, 1, 1, 1, 1, 1, 1),LEAN_SCALAR_PTR_LITERAL(1, 1, 1, 1, 1, 0, 1, 1)}};
|
||||
static const lean_ctor_object l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*13 + 32, .m_other = 13, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(9) << 1) | 1)),((lean_object*)(((size_t)(5) << 1) | 1)),((lean_object*)(((size_t)(8) << 1) | 1)),((lean_object*)(((size_t)(8) << 1) | 1)),((lean_object*)(((size_t)(1000) << 1) | 1)),((lean_object*)(((size_t)(1000) << 1) | 1)),((lean_object*)(((size_t)(100000) << 1) | 1)),((lean_object*)(((size_t)(1024) << 1) | 1)),((lean_object*)(((size_t)(1000) << 1) | 1)),((lean_object*)(((size_t)(1048576) << 1) | 1)),((lean_object*)(((size_t)(10) << 1) | 1)),((lean_object*)(((size_t)(50) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1)),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 1, 1, 1),LEAN_SCALAR_PTR_LITERAL(0, 0, 1, 0, 1, 1, 1, 1),LEAN_SCALAR_PTR_LITERAL(1, 0, 1, 1, 1, 1, 1, 1),LEAN_SCALAR_PTR_LITERAL(1, 1, 1, 1, 1, 0, 1, 1)}};
|
||||
static const lean_object* l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___closed__0 = (const lean_object*)&l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___closed__0_value;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Grind_RegisterSymSimp_0__Lean_Elab_Command_withGrindTacticM___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2515,10 +2515,10 @@ v_resetjp_678_:
|
|||
{
|
||||
lean_object* v___x_681_; lean_object* v___x_682_; lean_object* v___x_683_; lean_object* v___x_684_; lean_object* v___x_685_; lean_object* v___x_687_;
|
||||
v___x_681_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_681_, 0, v___y_661_);
|
||||
lean_ctor_set(v___x_681_, 0, v___y_662_);
|
||||
lean_ctor_set(v___x_681_, 1, v___y_665_);
|
||||
v___x_682_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_682_, 0, v___y_662_);
|
||||
lean_ctor_set(v___x_682_, 0, v___y_661_);
|
||||
lean_ctor_set(v___x_682_, 1, v___y_663_);
|
||||
lean_ctor_set(v___x_682_, 2, v___x_681_);
|
||||
v___x_683_ = l_Lean_Meta_Sym_Simp_symSimpVariantExtension;
|
||||
|
|
@ -2567,8 +2567,8 @@ if (lean_obj_tag(v___y_694_) == 0)
|
|||
{
|
||||
lean_object* v___x_699_;
|
||||
v___x_699_ = lean_unsigned_to_nat(2u);
|
||||
v___y_661_ = v___y_698_;
|
||||
v___y_662_ = v___y_695_;
|
||||
v___y_661_ = v___y_695_;
|
||||
v___y_662_ = v___y_698_;
|
||||
v___y_663_ = v___y_696_;
|
||||
v___y_664_ = v___y_697_;
|
||||
v___y_665_ = v___x_699_;
|
||||
|
|
@ -2580,8 +2580,8 @@ lean_object* v_val_700_;
|
|||
v_val_700_ = lean_ctor_get(v___y_694_, 0);
|
||||
lean_inc(v_val_700_);
|
||||
lean_dec_ref(v___y_694_);
|
||||
v___y_661_ = v___y_698_;
|
||||
v___y_662_ = v___y_695_;
|
||||
v___y_661_ = v___y_695_;
|
||||
v___y_662_ = v___y_698_;
|
||||
v___y_663_ = v___y_696_;
|
||||
v___y_664_ = v___y_697_;
|
||||
v___y_665_ = v_val_700_;
|
||||
|
|
|
|||
2503
stage0/stdlib/Lean/Elab/Tactic/Grind/Trace.c
generated
2503
stage0/stdlib/Lean/Elab/Tactic/Grind/Trace.c
generated
File diff suppressed because it is too large
Load diff
14528
stage0/stdlib/Lean/Elab/Tactic/Lets.c
generated
14528
stage0/stdlib/Lean/Elab/Tactic/Lets.c
generated
File diff suppressed because it is too large
Load diff
11206
stage0/stdlib/Lean/Elab/Tactic/LibrarySearch.c
generated
11206
stage0/stdlib/Lean/Elab/Tactic/LibrarySearch.c
generated
File diff suppressed because it is too large
Load diff
45620
stage0/stdlib/Lean/Elab/Tactic/NormCast.c
generated
45620
stage0/stdlib/Lean/Elab/Tactic/NormCast.c
generated
File diff suppressed because one or more lines are too long
50867
stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c
generated
50867
stage0/stdlib/Lean/Elab/Tactic/Omega/Frontend.c
generated
File diff suppressed because it is too large
Load diff
7502
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
7502
stage0/stdlib/Lean/Elab/Tactic/Rewrite.c
generated
File diff suppressed because it is too large
Load diff
79936
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
79936
stage0/stdlib/Lean/Elab/Tactic/Simp.c
generated
File diff suppressed because one or more lines are too long
626
stage0/stdlib/Lean/Elab/Tactic/SimpArith.c
generated
626
stage0/stdlib/Lean/Elab/Tactic/SimpArith.c
generated
|
|
@ -32,7 +32,8 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*);
|
|||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
||||
lean_object* l_Array_append___redArg(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_MessageData_nil;
|
||||
lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestions___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
|
|
@ -484,7 +485,7 @@ return v___x_134_;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(lean_object* v_stx_139_, lean_object* v_tokenNew_140_, lean_object* v_kindNew_141_, lean_object* v_a_142_, lean_object* v_a_143_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_stx_x27_145_; lean_object* v_stx_x27_146_; lean_object* v___x_147_; lean_object* v_a_148_; lean_object* v___x_149_; lean_object* v_a_150_; lean_object* v___x_151_; lean_object* v_a_152_; lean_object* v___x_154_; uint8_t v_isShared_155_; uint8_t v_isSharedCheck_175_;
|
||||
lean_object* v_stx_x27_145_; lean_object* v_stx_x27_146_; lean_object* v___x_147_; lean_object* v_a_148_; lean_object* v___x_149_; lean_object* v_a_150_; lean_object* v___x_151_; lean_object* v_a_152_; lean_object* v___x_154_; uint8_t v_isShared_155_; uint8_t v_isSharedCheck_176_;
|
||||
lean_inc(v_stx_139_);
|
||||
v_stx_x27_145_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_setKind(v_stx_139_, v_tokenNew_140_, v_kindNew_141_);
|
||||
v_stx_x27_146_ = l_Lean_Syntax_unsetTrailing(v_stx_x27_145_);
|
||||
|
|
@ -499,11 +500,11 @@ lean_inc(v_a_150_);
|
|||
lean_dec_ref(v___x_149_);
|
||||
v___x_151_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addArith___redArg(v_a_150_, v_a_142_);
|
||||
v_a_152_ = lean_ctor_get(v___x_151_, 0);
|
||||
v_isSharedCheck_175_ = !lean_is_exclusive(v___x_151_);
|
||||
if (v_isSharedCheck_175_ == 0)
|
||||
v_isSharedCheck_176_ = !lean_is_exclusive(v___x_151_);
|
||||
if (v_isSharedCheck_176_ == 0)
|
||||
{
|
||||
v___x_154_ = v___x_151_;
|
||||
v_isShared_155_ = v_isSharedCheck_175_;
|
||||
v_isShared_155_ = v_isSharedCheck_176_;
|
||||
goto v_resetjp_153_;
|
||||
}
|
||||
else
|
||||
|
|
@ -511,7 +512,7 @@ else
|
|||
lean_inc(v_a_152_);
|
||||
lean_dec(v___x_151_);
|
||||
v___x_154_ = lean_box(0);
|
||||
v_isShared_155_ = v_isSharedCheck_175_;
|
||||
v_isShared_155_ = v_isSharedCheck_176_;
|
||||
goto v_resetjp_153_;
|
||||
}
|
||||
v_resetjp_153_:
|
||||
|
|
@ -557,503 +558,504 @@ goto v_reusejp_169_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_174_;
|
||||
v_reuseFailAlloc_174_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_174_, 0, v_ref_156_);
|
||||
v___x_170_ = v_reuseFailAlloc_174_;
|
||||
lean_object* v_reuseFailAlloc_175_;
|
||||
v_reuseFailAlloc_175_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_175_, 0, v_ref_156_);
|
||||
v___x_170_ = v_reuseFailAlloc_175_;
|
||||
goto v_reusejp_169_;
|
||||
}
|
||||
v_reusejp_169_:
|
||||
{
|
||||
lean_object* v___x_171_; uint8_t v___x_172_; lean_object* v___x_173_;
|
||||
lean_object* v___x_171_; uint8_t v___x_172_; lean_object* v___x_173_; lean_object* v___x_174_;
|
||||
v___x_171_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg___closed__2));
|
||||
v___x_172_ = 4;
|
||||
v___x_173_ = l_Lean_Meta_Tactic_TryThis_addSuggestions___redArg(v___x_159_, v___x_168_, v___x_170_, v___x_171_, v___x_161_, v___x_172_, v_a_142_, v_a_143_);
|
||||
return v___x_173_;
|
||||
v___x_173_ = l_Lean_MessageData_nil;
|
||||
v___x_174_ = l_Lean_Meta_Tactic_TryThis_addSuggestions___redArg(v___x_159_, v___x_168_, v___x_170_, v___x_171_, v___x_161_, v___x_172_, v___x_173_, v_a_142_, v_a_143_);
|
||||
return v___x_174_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg___boxed(lean_object* v_stx_176_, lean_object* v_tokenNew_177_, lean_object* v_kindNew_178_, lean_object* v_a_179_, lean_object* v_a_180_, lean_object* v_a_181_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg___boxed(lean_object* v_stx_177_, lean_object* v_tokenNew_178_, lean_object* v_kindNew_179_, lean_object* v_a_180_, lean_object* v_a_181_, lean_object* v_a_182_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_182_;
|
||||
v_res_182_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_176_, v_tokenNew_177_, v_kindNew_178_, v_a_179_, v_a_180_);
|
||||
lean_dec(v_a_180_);
|
||||
lean_dec_ref(v_a_179_);
|
||||
return v_res_182_;
|
||||
lean_object* v_res_183_;
|
||||
v_res_183_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_177_, v_tokenNew_178_, v_kindNew_179_, v_a_180_, v_a_181_);
|
||||
lean_dec(v_a_181_);
|
||||
lean_dec_ref(v_a_180_);
|
||||
return v_res_183_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions(lean_object* v_stx_183_, lean_object* v_tokenNew_184_, lean_object* v_kindNew_185_, lean_object* v_a_186_, lean_object* v_a_187_, lean_object* v_a_188_, lean_object* v_a_189_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions(lean_object* v_stx_184_, lean_object* v_tokenNew_185_, lean_object* v_kindNew_186_, lean_object* v_a_187_, lean_object* v_a_188_, lean_object* v_a_189_, lean_object* v_a_190_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_191_;
|
||||
v___x_191_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_183_, v_tokenNew_184_, v_kindNew_185_, v_a_188_, v_a_189_);
|
||||
return v___x_191_;
|
||||
lean_object* v___x_192_;
|
||||
v___x_192_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_184_, v_tokenNew_185_, v_kindNew_186_, v_a_189_, v_a_190_);
|
||||
return v___x_192_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___boxed(lean_object* v_stx_192_, lean_object* v_tokenNew_193_, lean_object* v_kindNew_194_, lean_object* v_a_195_, lean_object* v_a_196_, lean_object* v_a_197_, lean_object* v_a_198_, lean_object* v_a_199_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___boxed(lean_object* v_stx_193_, lean_object* v_tokenNew_194_, lean_object* v_kindNew_195_, lean_object* v_a_196_, lean_object* v_a_197_, lean_object* v_a_198_, lean_object* v_a_199_, lean_object* v_a_200_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_200_;
|
||||
v_res_200_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions(v_stx_192_, v_tokenNew_193_, v_kindNew_194_, v_a_195_, v_a_196_, v_a_197_, v_a_198_);
|
||||
lean_dec(v_a_198_);
|
||||
lean_dec_ref(v_a_197_);
|
||||
lean_dec(v_a_196_);
|
||||
lean_dec_ref(v_a_195_);
|
||||
return v_res_200_;
|
||||
lean_object* v_res_201_;
|
||||
v_res_201_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions(v_stx_193_, v_tokenNew_194_, v_kindNew_195_, v_a_196_, v_a_197_, v_a_198_, v_a_199_);
|
||||
lean_dec(v_a_199_);
|
||||
lean_dec_ref(v_a_198_);
|
||||
lean_dec(v_a_197_);
|
||||
lean_dec_ref(v_a_196_);
|
||||
return v_res_201_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0(lean_object* v_msgData_201_, lean_object* v___y_202_, lean_object* v___y_203_, lean_object* v___y_204_, lean_object* v___y_205_){
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0(lean_object* v_msgData_202_, lean_object* v___y_203_, lean_object* v___y_204_, lean_object* v___y_205_, lean_object* v___y_206_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_207_; lean_object* v_env_208_; lean_object* v___x_209_; lean_object* v_mctx_210_; lean_object* v_lctx_211_; lean_object* v_options_212_; lean_object* v___x_213_; lean_object* v___x_214_; lean_object* v___x_215_;
|
||||
v___x_207_ = lean_st_ref_get(v___y_205_);
|
||||
v_env_208_ = lean_ctor_get(v___x_207_, 0);
|
||||
lean_inc_ref(v_env_208_);
|
||||
lean_dec(v___x_207_);
|
||||
v___x_209_ = lean_st_ref_get(v___y_203_);
|
||||
v_mctx_210_ = lean_ctor_get(v___x_209_, 0);
|
||||
lean_inc_ref(v_mctx_210_);
|
||||
lean_dec(v___x_209_);
|
||||
v_lctx_211_ = lean_ctor_get(v___y_202_, 2);
|
||||
v_options_212_ = lean_ctor_get(v___y_204_, 2);
|
||||
lean_inc_ref(v_options_212_);
|
||||
lean_inc_ref(v_lctx_211_);
|
||||
v___x_213_ = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(v___x_213_, 0, v_env_208_);
|
||||
lean_ctor_set(v___x_213_, 1, v_mctx_210_);
|
||||
lean_ctor_set(v___x_213_, 2, v_lctx_211_);
|
||||
lean_ctor_set(v___x_213_, 3, v_options_212_);
|
||||
v___x_214_ = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(v___x_214_, 0, v___x_213_);
|
||||
lean_ctor_set(v___x_214_, 1, v_msgData_201_);
|
||||
v___x_215_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_object* v___x_208_; lean_object* v_env_209_; lean_object* v___x_210_; lean_object* v_mctx_211_; lean_object* v_lctx_212_; lean_object* v_options_213_; lean_object* v___x_214_; lean_object* v___x_215_; lean_object* v___x_216_;
|
||||
v___x_208_ = lean_st_ref_get(v___y_206_);
|
||||
v_env_209_ = lean_ctor_get(v___x_208_, 0);
|
||||
lean_inc_ref(v_env_209_);
|
||||
lean_dec(v___x_208_);
|
||||
v___x_210_ = lean_st_ref_get(v___y_204_);
|
||||
v_mctx_211_ = lean_ctor_get(v___x_210_, 0);
|
||||
lean_inc_ref(v_mctx_211_);
|
||||
lean_dec(v___x_210_);
|
||||
v_lctx_212_ = lean_ctor_get(v___y_203_, 2);
|
||||
v_options_213_ = lean_ctor_get(v___y_205_, 2);
|
||||
lean_inc_ref(v_options_213_);
|
||||
lean_inc_ref(v_lctx_212_);
|
||||
v___x_214_ = lean_alloc_ctor(0, 4, 0);
|
||||
lean_ctor_set(v___x_214_, 0, v_env_209_);
|
||||
lean_ctor_set(v___x_214_, 1, v_mctx_211_);
|
||||
lean_ctor_set(v___x_214_, 2, v_lctx_212_);
|
||||
lean_ctor_set(v___x_214_, 3, v_options_213_);
|
||||
v___x_215_ = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(v___x_215_, 0, v___x_214_);
|
||||
return v___x_215_;
|
||||
lean_ctor_set(v___x_215_, 1, v_msgData_202_);
|
||||
v___x_216_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v___x_216_, 0, v___x_215_);
|
||||
return v___x_216_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0___boxed(lean_object* v_msgData_216_, lean_object* v___y_217_, lean_object* v___y_218_, lean_object* v___y_219_, lean_object* v___y_220_, lean_object* v___y_221_){
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0___boxed(lean_object* v_msgData_217_, lean_object* v___y_218_, lean_object* v___y_219_, lean_object* v___y_220_, lean_object* v___y_221_, lean_object* v___y_222_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_222_;
|
||||
v_res_222_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0(v_msgData_216_, v___y_217_, v___y_218_, v___y_219_, v___y_220_);
|
||||
lean_dec(v___y_220_);
|
||||
lean_dec_ref(v___y_219_);
|
||||
lean_dec(v___y_218_);
|
||||
lean_dec_ref(v___y_217_);
|
||||
return v_res_222_;
|
||||
lean_object* v_res_223_;
|
||||
v_res_223_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0(v_msgData_217_, v___y_218_, v___y_219_, v___y_220_, v___y_221_);
|
||||
lean_dec(v___y_221_);
|
||||
lean_dec_ref(v___y_220_);
|
||||
lean_dec(v___y_219_);
|
||||
lean_dec_ref(v___y_218_);
|
||||
return v_res_223_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(lean_object* v_msg_223_, lean_object* v___y_224_, lean_object* v___y_225_, lean_object* v___y_226_, lean_object* v___y_227_){
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(lean_object* v_msg_224_, lean_object* v___y_225_, lean_object* v___y_226_, lean_object* v___y_227_, lean_object* v___y_228_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_ref_229_; lean_object* v___x_230_; lean_object* v_a_231_; lean_object* v___x_233_; uint8_t v_isShared_234_; uint8_t v_isSharedCheck_239_;
|
||||
v_ref_229_ = lean_ctor_get(v___y_226_, 5);
|
||||
v___x_230_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0(v_msg_223_, v___y_224_, v___y_225_, v___y_226_, v___y_227_);
|
||||
v_a_231_ = lean_ctor_get(v___x_230_, 0);
|
||||
v_isSharedCheck_239_ = !lean_is_exclusive(v___x_230_);
|
||||
if (v_isSharedCheck_239_ == 0)
|
||||
lean_object* v_ref_230_; lean_object* v___x_231_; lean_object* v_a_232_; lean_object* v___x_234_; uint8_t v_isShared_235_; uint8_t v_isSharedCheck_240_;
|
||||
v_ref_230_ = lean_ctor_get(v___y_227_, 5);
|
||||
v___x_231_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0_spec__0(v_msg_224_, v___y_225_, v___y_226_, v___y_227_, v___y_228_);
|
||||
v_a_232_ = lean_ctor_get(v___x_231_, 0);
|
||||
v_isSharedCheck_240_ = !lean_is_exclusive(v___x_231_);
|
||||
if (v_isSharedCheck_240_ == 0)
|
||||
{
|
||||
v___x_233_ = v___x_230_;
|
||||
v_isShared_234_ = v_isSharedCheck_239_;
|
||||
goto v_resetjp_232_;
|
||||
v___x_234_ = v___x_231_;
|
||||
v_isShared_235_ = v_isSharedCheck_240_;
|
||||
goto v_resetjp_233_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_231_);
|
||||
lean_dec(v___x_230_);
|
||||
v___x_233_ = lean_box(0);
|
||||
v_isShared_234_ = v_isSharedCheck_239_;
|
||||
goto v_resetjp_232_;
|
||||
lean_inc(v_a_232_);
|
||||
lean_dec(v___x_231_);
|
||||
v___x_234_ = lean_box(0);
|
||||
v_isShared_235_ = v_isSharedCheck_240_;
|
||||
goto v_resetjp_233_;
|
||||
}
|
||||
v_resetjp_232_:
|
||||
v_resetjp_233_:
|
||||
{
|
||||
lean_object* v___x_235_; lean_object* v___x_237_;
|
||||
lean_inc(v_ref_229_);
|
||||
v___x_235_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_235_, 0, v_ref_229_);
|
||||
lean_ctor_set(v___x_235_, 1, v_a_231_);
|
||||
if (v_isShared_234_ == 0)
|
||||
lean_object* v___x_236_; lean_object* v___x_238_;
|
||||
lean_inc(v_ref_230_);
|
||||
v___x_236_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_236_, 0, v_ref_230_);
|
||||
lean_ctor_set(v___x_236_, 1, v_a_232_);
|
||||
if (v_isShared_235_ == 0)
|
||||
{
|
||||
lean_ctor_set_tag(v___x_233_, 1);
|
||||
lean_ctor_set(v___x_233_, 0, v___x_235_);
|
||||
v___x_237_ = v___x_233_;
|
||||
goto v_reusejp_236_;
|
||||
lean_ctor_set_tag(v___x_234_, 1);
|
||||
lean_ctor_set(v___x_234_, 0, v___x_236_);
|
||||
v___x_238_ = v___x_234_;
|
||||
goto v_reusejp_237_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_238_;
|
||||
v_reuseFailAlloc_238_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_238_, 0, v___x_235_);
|
||||
v___x_237_ = v_reuseFailAlloc_238_;
|
||||
goto v_reusejp_236_;
|
||||
lean_object* v_reuseFailAlloc_239_;
|
||||
v_reuseFailAlloc_239_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_239_, 0, v___x_236_);
|
||||
v___x_238_ = v_reuseFailAlloc_239_;
|
||||
goto v_reusejp_237_;
|
||||
}
|
||||
v_reusejp_236_:
|
||||
v_reusejp_237_:
|
||||
{
|
||||
return v___x_237_;
|
||||
return v___x_238_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg___boxed(lean_object* v_msg_240_, lean_object* v___y_241_, lean_object* v___y_242_, lean_object* v___y_243_, lean_object* v___y_244_, lean_object* v___y_245_){
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg___boxed(lean_object* v_msg_241_, lean_object* v___y_242_, lean_object* v___y_243_, lean_object* v___y_244_, lean_object* v___y_245_, lean_object* v___y_246_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_246_;
|
||||
v_res_246_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v_msg_240_, v___y_241_, v___y_242_, v___y_243_, v___y_244_);
|
||||
lean_dec(v___y_244_);
|
||||
lean_dec_ref(v___y_243_);
|
||||
lean_dec(v___y_242_);
|
||||
lean_dec_ref(v___y_241_);
|
||||
return v_res_246_;
|
||||
lean_object* v_res_247_;
|
||||
v_res_247_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v_msg_241_, v___y_242_, v___y_243_, v___y_244_, v___y_245_);
|
||||
lean_dec(v___y_245_);
|
||||
lean_dec_ref(v___y_244_);
|
||||
lean_dec(v___y_243_);
|
||||
lean_dec_ref(v___y_242_);
|
||||
return v_res_247_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpArith___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_254_; lean_object* v___x_255_;
|
||||
v___x_254_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArith___closed__2));
|
||||
v___x_255_ = l_Lean_stringToMessageData(v___x_254_);
|
||||
return v___x_255_;
|
||||
lean_object* v___x_255_; lean_object* v___x_256_;
|
||||
v___x_255_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArith___closed__2));
|
||||
v___x_256_ = l_Lean_stringToMessageData(v___x_255_);
|
||||
return v___x_256_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArith(lean_object* v_stx_256_, lean_object* v_a_257_, lean_object* v_a_258_, lean_object* v_a_259_, lean_object* v_a_260_, lean_object* v_a_261_, lean_object* v_a_262_, lean_object* v_a_263_, lean_object* v_a_264_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArith(lean_object* v_stx_257_, lean_object* v_a_258_, lean_object* v_a_259_, lean_object* v_a_260_, lean_object* v_a_261_, lean_object* v_a_262_, lean_object* v_a_263_, lean_object* v_a_264_, lean_object* v_a_265_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_266_; lean_object* v___x_267_; lean_object* v___x_268_;
|
||||
v___x_266_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArith___closed__0));
|
||||
v___x_267_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArith___closed__1));
|
||||
v___x_268_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_256_, v___x_266_, v___x_267_, v_a_263_, v_a_264_);
|
||||
if (lean_obj_tag(v___x_268_) == 0)
|
||||
lean_object* v___x_267_; lean_object* v___x_268_; lean_object* v___x_269_;
|
||||
v___x_267_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArith___closed__0));
|
||||
v___x_268_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArith___closed__1));
|
||||
v___x_269_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_257_, v___x_267_, v___x_268_, v_a_264_, v_a_265_);
|
||||
if (lean_obj_tag(v___x_269_) == 0)
|
||||
{
|
||||
lean_object* v___x_269_; lean_object* v___x_270_;
|
||||
lean_dec_ref(v___x_268_);
|
||||
v___x_269_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpArith___closed__3, &l_Lean_Elab_Tactic_evalSimpArith___closed__3_once, _init_l_Lean_Elab_Tactic_evalSimpArith___closed__3);
|
||||
v___x_270_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_269_, v_a_261_, v_a_262_, v_a_263_, v_a_264_);
|
||||
return v___x_270_;
|
||||
lean_object* v___x_270_; lean_object* v___x_271_;
|
||||
lean_dec_ref(v___x_269_);
|
||||
v___x_270_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpArith___closed__3, &l_Lean_Elab_Tactic_evalSimpArith___closed__3_once, _init_l_Lean_Elab_Tactic_evalSimpArith___closed__3);
|
||||
v___x_271_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_270_, v_a_262_, v_a_263_, v_a_264_, v_a_265_);
|
||||
return v___x_271_;
|
||||
}
|
||||
else
|
||||
{
|
||||
return v___x_268_;
|
||||
return v___x_269_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArith___boxed(lean_object* v_stx_271_, lean_object* v_a_272_, lean_object* v_a_273_, lean_object* v_a_274_, lean_object* v_a_275_, lean_object* v_a_276_, lean_object* v_a_277_, lean_object* v_a_278_, lean_object* v_a_279_, lean_object* v_a_280_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArith___boxed(lean_object* v_stx_272_, lean_object* v_a_273_, lean_object* v_a_274_, lean_object* v_a_275_, lean_object* v_a_276_, lean_object* v_a_277_, lean_object* v_a_278_, lean_object* v_a_279_, lean_object* v_a_280_, lean_object* v_a_281_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_281_;
|
||||
v_res_281_ = l_Lean_Elab_Tactic_evalSimpArith(v_stx_271_, v_a_272_, v_a_273_, v_a_274_, v_a_275_, v_a_276_, v_a_277_, v_a_278_, v_a_279_);
|
||||
lean_dec(v_a_279_);
|
||||
lean_dec_ref(v_a_278_);
|
||||
lean_dec(v_a_277_);
|
||||
lean_dec_ref(v_a_276_);
|
||||
lean_dec(v_a_275_);
|
||||
lean_dec_ref(v_a_274_);
|
||||
lean_dec(v_a_273_);
|
||||
lean_dec_ref(v_a_272_);
|
||||
return v_res_281_;
|
||||
lean_object* v_res_282_;
|
||||
v_res_282_ = l_Lean_Elab_Tactic_evalSimpArith(v_stx_272_, v_a_273_, v_a_274_, v_a_275_, v_a_276_, v_a_277_, v_a_278_, v_a_279_, v_a_280_);
|
||||
lean_dec(v_a_280_);
|
||||
lean_dec_ref(v_a_279_);
|
||||
lean_dec(v_a_278_);
|
||||
lean_dec_ref(v_a_277_);
|
||||
lean_dec(v_a_276_);
|
||||
lean_dec_ref(v_a_275_);
|
||||
lean_dec(v_a_274_);
|
||||
lean_dec_ref(v_a_273_);
|
||||
return v_res_282_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0(lean_object* v_00_u03b1_282_, lean_object* v_msg_283_, lean_object* v___y_284_, lean_object* v___y_285_, lean_object* v___y_286_, lean_object* v___y_287_, lean_object* v___y_288_, lean_object* v___y_289_, lean_object* v___y_290_, lean_object* v___y_291_){
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0(lean_object* v_00_u03b1_283_, lean_object* v_msg_284_, lean_object* v___y_285_, lean_object* v___y_286_, lean_object* v___y_287_, lean_object* v___y_288_, lean_object* v___y_289_, lean_object* v___y_290_, lean_object* v___y_291_, lean_object* v___y_292_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_293_;
|
||||
v___x_293_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v_msg_283_, v___y_288_, v___y_289_, v___y_290_, v___y_291_);
|
||||
return v___x_293_;
|
||||
lean_object* v___x_294_;
|
||||
v___x_294_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v_msg_284_, v___y_289_, v___y_290_, v___y_291_, v___y_292_);
|
||||
return v___x_294_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___boxed(lean_object* v_00_u03b1_294_, lean_object* v_msg_295_, lean_object* v___y_296_, lean_object* v___y_297_, lean_object* v___y_298_, lean_object* v___y_299_, lean_object* v___y_300_, lean_object* v___y_301_, lean_object* v___y_302_, lean_object* v___y_303_, lean_object* v___y_304_){
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___boxed(lean_object* v_00_u03b1_295_, lean_object* v_msg_296_, lean_object* v___y_297_, lean_object* v___y_298_, lean_object* v___y_299_, lean_object* v___y_300_, lean_object* v___y_301_, lean_object* v___y_302_, lean_object* v___y_303_, lean_object* v___y_304_, lean_object* v___y_305_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_305_;
|
||||
v_res_305_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0(v_00_u03b1_294_, v_msg_295_, v___y_296_, v___y_297_, v___y_298_, v___y_299_, v___y_300_, v___y_301_, v___y_302_, v___y_303_);
|
||||
lean_dec(v___y_303_);
|
||||
lean_dec_ref(v___y_302_);
|
||||
lean_dec(v___y_301_);
|
||||
lean_dec_ref(v___y_300_);
|
||||
lean_dec(v___y_299_);
|
||||
lean_dec_ref(v___y_298_);
|
||||
lean_dec(v___y_297_);
|
||||
lean_dec_ref(v___y_296_);
|
||||
return v_res_305_;
|
||||
lean_object* v_res_306_;
|
||||
v_res_306_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0(v_00_u03b1_295_, v_msg_296_, v___y_297_, v___y_298_, v___y_299_, v___y_300_, v___y_301_, v___y_302_, v___y_303_, v___y_304_);
|
||||
lean_dec(v___y_304_);
|
||||
lean_dec_ref(v___y_303_);
|
||||
lean_dec(v___y_302_);
|
||||
lean_dec_ref(v___y_301_);
|
||||
lean_dec(v___y_300_);
|
||||
lean_dec_ref(v___y_299_);
|
||||
lean_dec(v___y_298_);
|
||||
lean_dec_ref(v___y_297_);
|
||||
return v_res_306_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_320_; lean_object* v___x_321_; lean_object* v___x_322_; lean_object* v___x_323_; lean_object* v___x_324_;
|
||||
v___x_320_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_321_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1___closed__1));
|
||||
v___x_322_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1___closed__4));
|
||||
v___x_323_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpArith___boxed), 10, 0);
|
||||
v___x_324_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_320_, v___x_321_, v___x_322_, v___x_323_);
|
||||
return v___x_324_;
|
||||
lean_object* v___x_321_; lean_object* v___x_322_; lean_object* v___x_323_; lean_object* v___x_324_; lean_object* v___x_325_;
|
||||
v___x_321_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_322_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1___closed__1));
|
||||
v___x_323_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1___closed__4));
|
||||
v___x_324_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpArith___boxed), 10, 0);
|
||||
v___x_325_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_321_, v___x_322_, v___x_323_, v___x_324_);
|
||||
return v___x_325_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1___boxed(lean_object* v_a_325_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1___boxed(lean_object* v_a_326_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_326_;
|
||||
v_res_326_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1();
|
||||
return v_res_326_;
|
||||
lean_object* v_res_327_;
|
||||
v_res_327_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArith___regBuiltin_Lean_Elab_Tactic_evalSimpArith__1();
|
||||
return v_res_327_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_335_; lean_object* v___x_336_;
|
||||
v___x_335_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__3));
|
||||
v___x_336_ = l_Lean_stringToMessageData(v___x_335_);
|
||||
return v___x_336_;
|
||||
lean_object* v___x_336_; lean_object* v___x_337_;
|
||||
v___x_336_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__3));
|
||||
v___x_337_ = l_Lean_stringToMessageData(v___x_336_);
|
||||
return v___x_337_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang___redArg(lean_object* v_stx_337_, lean_object* v_a_338_, lean_object* v_a_339_, lean_object* v_a_340_, lean_object* v_a_341_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang___redArg(lean_object* v_stx_338_, lean_object* v_a_339_, lean_object* v_a_340_, lean_object* v_a_341_, lean_object* v_a_342_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_343_; lean_object* v___x_344_; lean_object* v___x_345_;
|
||||
v___x_343_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__0));
|
||||
v___x_344_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__2));
|
||||
v___x_345_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_337_, v___x_343_, v___x_344_, v_a_340_, v_a_341_);
|
||||
if (lean_obj_tag(v___x_345_) == 0)
|
||||
lean_object* v___x_344_; lean_object* v___x_345_; lean_object* v___x_346_;
|
||||
v___x_344_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__0));
|
||||
v___x_345_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__2));
|
||||
v___x_346_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_338_, v___x_344_, v___x_345_, v_a_341_, v_a_342_);
|
||||
if (lean_obj_tag(v___x_346_) == 0)
|
||||
{
|
||||
lean_object* v___x_346_; lean_object* v___x_347_;
|
||||
lean_dec_ref(v___x_345_);
|
||||
v___x_346_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__4, &l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__4_once, _init_l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__4);
|
||||
v___x_347_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_346_, v_a_338_, v_a_339_, v_a_340_, v_a_341_);
|
||||
return v___x_347_;
|
||||
lean_object* v___x_347_; lean_object* v___x_348_;
|
||||
lean_dec_ref(v___x_346_);
|
||||
v___x_347_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__4, &l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__4_once, _init_l_Lean_Elab_Tactic_evalSimpArithBang___redArg___closed__4);
|
||||
v___x_348_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_347_, v_a_339_, v_a_340_, v_a_341_, v_a_342_);
|
||||
return v___x_348_;
|
||||
}
|
||||
else
|
||||
{
|
||||
return v___x_345_;
|
||||
return v___x_346_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang___redArg___boxed(lean_object* v_stx_348_, lean_object* v_a_349_, lean_object* v_a_350_, lean_object* v_a_351_, lean_object* v_a_352_, lean_object* v_a_353_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang___redArg___boxed(lean_object* v_stx_349_, lean_object* v_a_350_, lean_object* v_a_351_, lean_object* v_a_352_, lean_object* v_a_353_, lean_object* v_a_354_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_354_;
|
||||
v_res_354_ = l_Lean_Elab_Tactic_evalSimpArithBang___redArg(v_stx_348_, v_a_349_, v_a_350_, v_a_351_, v_a_352_);
|
||||
lean_dec(v_a_352_);
|
||||
lean_dec_ref(v_a_351_);
|
||||
lean_dec(v_a_350_);
|
||||
lean_dec_ref(v_a_349_);
|
||||
return v_res_354_;
|
||||
lean_object* v_res_355_;
|
||||
v_res_355_ = l_Lean_Elab_Tactic_evalSimpArithBang___redArg(v_stx_349_, v_a_350_, v_a_351_, v_a_352_, v_a_353_);
|
||||
lean_dec(v_a_353_);
|
||||
lean_dec_ref(v_a_352_);
|
||||
lean_dec(v_a_351_);
|
||||
lean_dec_ref(v_a_350_);
|
||||
return v_res_355_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang(lean_object* v_stx_355_, lean_object* v_a_356_, lean_object* v_a_357_, lean_object* v_a_358_, lean_object* v_a_359_, lean_object* v_a_360_, lean_object* v_a_361_, lean_object* v_a_362_, lean_object* v_a_363_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang(lean_object* v_stx_356_, lean_object* v_a_357_, lean_object* v_a_358_, lean_object* v_a_359_, lean_object* v_a_360_, lean_object* v_a_361_, lean_object* v_a_362_, lean_object* v_a_363_, lean_object* v_a_364_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_365_;
|
||||
v___x_365_ = l_Lean_Elab_Tactic_evalSimpArithBang___redArg(v_stx_355_, v_a_360_, v_a_361_, v_a_362_, v_a_363_);
|
||||
return v___x_365_;
|
||||
lean_object* v___x_366_;
|
||||
v___x_366_ = l_Lean_Elab_Tactic_evalSimpArithBang___redArg(v_stx_356_, v_a_361_, v_a_362_, v_a_363_, v_a_364_);
|
||||
return v___x_366_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang___boxed(lean_object* v_stx_366_, lean_object* v_a_367_, lean_object* v_a_368_, lean_object* v_a_369_, lean_object* v_a_370_, lean_object* v_a_371_, lean_object* v_a_372_, lean_object* v_a_373_, lean_object* v_a_374_, lean_object* v_a_375_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpArithBang___boxed(lean_object* v_stx_367_, lean_object* v_a_368_, lean_object* v_a_369_, lean_object* v_a_370_, lean_object* v_a_371_, lean_object* v_a_372_, lean_object* v_a_373_, lean_object* v_a_374_, lean_object* v_a_375_, lean_object* v_a_376_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_376_;
|
||||
v_res_376_ = l_Lean_Elab_Tactic_evalSimpArithBang(v_stx_366_, v_a_367_, v_a_368_, v_a_369_, v_a_370_, v_a_371_, v_a_372_, v_a_373_, v_a_374_);
|
||||
lean_dec(v_a_374_);
|
||||
lean_dec_ref(v_a_373_);
|
||||
lean_dec(v_a_372_);
|
||||
lean_dec_ref(v_a_371_);
|
||||
lean_dec(v_a_370_);
|
||||
lean_dec_ref(v_a_369_);
|
||||
lean_dec(v_a_368_);
|
||||
lean_dec_ref(v_a_367_);
|
||||
return v_res_376_;
|
||||
lean_object* v_res_377_;
|
||||
v_res_377_ = l_Lean_Elab_Tactic_evalSimpArithBang(v_stx_367_, v_a_368_, v_a_369_, v_a_370_, v_a_371_, v_a_372_, v_a_373_, v_a_374_, v_a_375_);
|
||||
lean_dec(v_a_375_);
|
||||
lean_dec_ref(v_a_374_);
|
||||
lean_dec(v_a_373_);
|
||||
lean_dec_ref(v_a_372_);
|
||||
lean_dec(v_a_371_);
|
||||
lean_dec_ref(v_a_370_);
|
||||
lean_dec(v_a_369_);
|
||||
lean_dec_ref(v_a_368_);
|
||||
return v_res_377_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_390_; lean_object* v___x_391_; lean_object* v___x_392_; lean_object* v___x_393_; lean_object* v___x_394_;
|
||||
v___x_390_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_391_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1___closed__1));
|
||||
v___x_392_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1___closed__3));
|
||||
v___x_393_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpArithBang___boxed), 10, 0);
|
||||
v___x_394_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_390_, v___x_391_, v___x_392_, v___x_393_);
|
||||
return v___x_394_;
|
||||
lean_object* v___x_391_; lean_object* v___x_392_; lean_object* v___x_393_; lean_object* v___x_394_; lean_object* v___x_395_;
|
||||
v___x_391_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_392_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1___closed__1));
|
||||
v___x_393_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1___closed__3));
|
||||
v___x_394_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpArithBang___boxed), 10, 0);
|
||||
v___x_395_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_391_, v___x_392_, v___x_393_, v___x_394_);
|
||||
return v___x_395_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1___boxed(lean_object* v_a_395_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1___boxed(lean_object* v_a_396_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_396_;
|
||||
v_res_396_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1();
|
||||
return v_res_396_;
|
||||
lean_object* v_res_397_;
|
||||
v_res_397_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpArithBang__1();
|
||||
return v_res_397_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_405_; lean_object* v___x_406_;
|
||||
v___x_405_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__3));
|
||||
v___x_406_ = l_Lean_stringToMessageData(v___x_405_);
|
||||
return v___x_406_;
|
||||
lean_object* v___x_406_; lean_object* v___x_407_;
|
||||
v___x_406_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__3));
|
||||
v___x_407_ = l_Lean_stringToMessageData(v___x_406_);
|
||||
return v___x_407_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith___redArg(lean_object* v_stx_407_, lean_object* v_a_408_, lean_object* v_a_409_, lean_object* v_a_410_, lean_object* v_a_411_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith___redArg(lean_object* v_stx_408_, lean_object* v_a_409_, lean_object* v_a_410_, lean_object* v_a_411_, lean_object* v_a_412_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_413_; lean_object* v___x_414_; lean_object* v___x_415_;
|
||||
v___x_413_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__0));
|
||||
v___x_414_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__2));
|
||||
v___x_415_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_407_, v___x_413_, v___x_414_, v_a_410_, v_a_411_);
|
||||
if (lean_obj_tag(v___x_415_) == 0)
|
||||
lean_object* v___x_414_; lean_object* v___x_415_; lean_object* v___x_416_;
|
||||
v___x_414_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__0));
|
||||
v___x_415_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__2));
|
||||
v___x_416_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_408_, v___x_414_, v___x_415_, v_a_411_, v_a_412_);
|
||||
if (lean_obj_tag(v___x_416_) == 0)
|
||||
{
|
||||
lean_object* v___x_416_; lean_object* v___x_417_;
|
||||
lean_dec_ref(v___x_415_);
|
||||
v___x_416_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__4, &l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__4_once, _init_l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__4);
|
||||
v___x_417_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_416_, v_a_408_, v_a_409_, v_a_410_, v_a_411_);
|
||||
return v___x_417_;
|
||||
lean_object* v___x_417_; lean_object* v___x_418_;
|
||||
lean_dec_ref(v___x_416_);
|
||||
v___x_417_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__4, &l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__4_once, _init_l_Lean_Elab_Tactic_evalSimpAllArith___redArg___closed__4);
|
||||
v___x_418_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_417_, v_a_409_, v_a_410_, v_a_411_, v_a_412_);
|
||||
return v___x_418_;
|
||||
}
|
||||
else
|
||||
{
|
||||
return v___x_415_;
|
||||
return v___x_416_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith___redArg___boxed(lean_object* v_stx_418_, lean_object* v_a_419_, lean_object* v_a_420_, lean_object* v_a_421_, lean_object* v_a_422_, lean_object* v_a_423_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith___redArg___boxed(lean_object* v_stx_419_, lean_object* v_a_420_, lean_object* v_a_421_, lean_object* v_a_422_, lean_object* v_a_423_, lean_object* v_a_424_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_424_;
|
||||
v_res_424_ = l_Lean_Elab_Tactic_evalSimpAllArith___redArg(v_stx_418_, v_a_419_, v_a_420_, v_a_421_, v_a_422_);
|
||||
lean_dec(v_a_422_);
|
||||
lean_dec_ref(v_a_421_);
|
||||
lean_dec(v_a_420_);
|
||||
lean_dec_ref(v_a_419_);
|
||||
return v_res_424_;
|
||||
lean_object* v_res_425_;
|
||||
v_res_425_ = l_Lean_Elab_Tactic_evalSimpAllArith___redArg(v_stx_419_, v_a_420_, v_a_421_, v_a_422_, v_a_423_);
|
||||
lean_dec(v_a_423_);
|
||||
lean_dec_ref(v_a_422_);
|
||||
lean_dec(v_a_421_);
|
||||
lean_dec_ref(v_a_420_);
|
||||
return v_res_425_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith(lean_object* v_stx_425_, lean_object* v_a_426_, lean_object* v_a_427_, lean_object* v_a_428_, lean_object* v_a_429_, lean_object* v_a_430_, lean_object* v_a_431_, lean_object* v_a_432_, lean_object* v_a_433_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith(lean_object* v_stx_426_, lean_object* v_a_427_, lean_object* v_a_428_, lean_object* v_a_429_, lean_object* v_a_430_, lean_object* v_a_431_, lean_object* v_a_432_, lean_object* v_a_433_, lean_object* v_a_434_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_435_;
|
||||
v___x_435_ = l_Lean_Elab_Tactic_evalSimpAllArith___redArg(v_stx_425_, v_a_430_, v_a_431_, v_a_432_, v_a_433_);
|
||||
return v___x_435_;
|
||||
lean_object* v___x_436_;
|
||||
v___x_436_ = l_Lean_Elab_Tactic_evalSimpAllArith___redArg(v_stx_426_, v_a_431_, v_a_432_, v_a_433_, v_a_434_);
|
||||
return v___x_436_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith___boxed(lean_object* v_stx_436_, lean_object* v_a_437_, lean_object* v_a_438_, lean_object* v_a_439_, lean_object* v_a_440_, lean_object* v_a_441_, lean_object* v_a_442_, lean_object* v_a_443_, lean_object* v_a_444_, lean_object* v_a_445_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArith___boxed(lean_object* v_stx_437_, lean_object* v_a_438_, lean_object* v_a_439_, lean_object* v_a_440_, lean_object* v_a_441_, lean_object* v_a_442_, lean_object* v_a_443_, lean_object* v_a_444_, lean_object* v_a_445_, lean_object* v_a_446_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_446_;
|
||||
v_res_446_ = l_Lean_Elab_Tactic_evalSimpAllArith(v_stx_436_, v_a_437_, v_a_438_, v_a_439_, v_a_440_, v_a_441_, v_a_442_, v_a_443_, v_a_444_);
|
||||
lean_dec(v_a_444_);
|
||||
lean_dec_ref(v_a_443_);
|
||||
lean_dec(v_a_442_);
|
||||
lean_dec_ref(v_a_441_);
|
||||
lean_dec(v_a_440_);
|
||||
lean_dec_ref(v_a_439_);
|
||||
lean_dec(v_a_438_);
|
||||
lean_dec_ref(v_a_437_);
|
||||
return v_res_446_;
|
||||
lean_object* v_res_447_;
|
||||
v_res_447_ = l_Lean_Elab_Tactic_evalSimpAllArith(v_stx_437_, v_a_438_, v_a_439_, v_a_440_, v_a_441_, v_a_442_, v_a_443_, v_a_444_, v_a_445_);
|
||||
lean_dec(v_a_445_);
|
||||
lean_dec_ref(v_a_444_);
|
||||
lean_dec(v_a_443_);
|
||||
lean_dec_ref(v_a_442_);
|
||||
lean_dec(v_a_441_);
|
||||
lean_dec_ref(v_a_440_);
|
||||
lean_dec(v_a_439_);
|
||||
lean_dec_ref(v_a_438_);
|
||||
return v_res_447_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_460_; lean_object* v___x_461_; lean_object* v___x_462_; lean_object* v___x_463_; lean_object* v___x_464_;
|
||||
v___x_460_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_461_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1___closed__1));
|
||||
v___x_462_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1___closed__3));
|
||||
v___x_463_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllArith___boxed), 10, 0);
|
||||
v___x_464_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_460_, v___x_461_, v___x_462_, v___x_463_);
|
||||
return v___x_464_;
|
||||
lean_object* v___x_461_; lean_object* v___x_462_; lean_object* v___x_463_; lean_object* v___x_464_; lean_object* v___x_465_;
|
||||
v___x_461_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_462_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1___closed__1));
|
||||
v___x_463_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1___closed__3));
|
||||
v___x_464_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllArith___boxed), 10, 0);
|
||||
v___x_465_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_461_, v___x_462_, v___x_463_, v___x_464_);
|
||||
return v___x_465_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1___boxed(lean_object* v_a_465_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1___boxed(lean_object* v_a_466_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_466_;
|
||||
v_res_466_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1();
|
||||
return v_res_466_;
|
||||
lean_object* v_res_467_;
|
||||
v_res_467_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArith___regBuiltin_Lean_Elab_Tactic_evalSimpAllArith__1();
|
||||
return v_res_467_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__4(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_475_; lean_object* v___x_476_;
|
||||
v___x_475_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__3));
|
||||
v___x_476_ = l_Lean_stringToMessageData(v___x_475_);
|
||||
return v___x_476_;
|
||||
lean_object* v___x_476_; lean_object* v___x_477_;
|
||||
v___x_476_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__3));
|
||||
v___x_477_ = l_Lean_stringToMessageData(v___x_476_);
|
||||
return v___x_477_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg(lean_object* v_stx_477_, lean_object* v_a_478_, lean_object* v_a_479_, lean_object* v_a_480_, lean_object* v_a_481_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg(lean_object* v_stx_478_, lean_object* v_a_479_, lean_object* v_a_480_, lean_object* v_a_481_, lean_object* v_a_482_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_483_; lean_object* v___x_484_; lean_object* v___x_485_;
|
||||
v___x_483_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__0));
|
||||
v___x_484_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__2));
|
||||
v___x_485_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_477_, v___x_483_, v___x_484_, v_a_480_, v_a_481_);
|
||||
if (lean_obj_tag(v___x_485_) == 0)
|
||||
lean_object* v___x_484_; lean_object* v___x_485_; lean_object* v___x_486_;
|
||||
v___x_484_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__0));
|
||||
v___x_485_ = ((lean_object*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__2));
|
||||
v___x_486_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_addSuggestions___redArg(v_stx_478_, v___x_484_, v___x_485_, v_a_481_, v_a_482_);
|
||||
if (lean_obj_tag(v___x_486_) == 0)
|
||||
{
|
||||
lean_object* v___x_486_; lean_object* v___x_487_;
|
||||
lean_dec_ref(v___x_485_);
|
||||
v___x_486_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__4, &l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__4_once, _init_l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__4);
|
||||
v___x_487_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_486_, v_a_478_, v_a_479_, v_a_480_, v_a_481_);
|
||||
return v___x_487_;
|
||||
lean_object* v___x_487_; lean_object* v___x_488_;
|
||||
lean_dec_ref(v___x_486_);
|
||||
v___x_487_ = lean_obj_once(&l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__4, &l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__4_once, _init_l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___closed__4);
|
||||
v___x_488_ = l_Lean_throwError___at___00Lean_Elab_Tactic_evalSimpArith_spec__0___redArg(v___x_487_, v_a_479_, v_a_480_, v_a_481_, v_a_482_);
|
||||
return v___x_488_;
|
||||
}
|
||||
else
|
||||
{
|
||||
return v___x_485_;
|
||||
return v___x_486_;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___boxed(lean_object* v_stx_488_, lean_object* v_a_489_, lean_object* v_a_490_, lean_object* v_a_491_, lean_object* v_a_492_, lean_object* v_a_493_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg___boxed(lean_object* v_stx_489_, lean_object* v_a_490_, lean_object* v_a_491_, lean_object* v_a_492_, lean_object* v_a_493_, lean_object* v_a_494_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_494_;
|
||||
v_res_494_ = l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg(v_stx_488_, v_a_489_, v_a_490_, v_a_491_, v_a_492_);
|
||||
lean_dec(v_a_492_);
|
||||
lean_dec_ref(v_a_491_);
|
||||
lean_dec(v_a_490_);
|
||||
lean_dec_ref(v_a_489_);
|
||||
return v_res_494_;
|
||||
lean_object* v_res_495_;
|
||||
v_res_495_ = l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg(v_stx_489_, v_a_490_, v_a_491_, v_a_492_, v_a_493_);
|
||||
lean_dec(v_a_493_);
|
||||
lean_dec_ref(v_a_492_);
|
||||
lean_dec(v_a_491_);
|
||||
lean_dec_ref(v_a_490_);
|
||||
return v_res_495_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang(lean_object* v_stx_495_, lean_object* v_a_496_, lean_object* v_a_497_, lean_object* v_a_498_, lean_object* v_a_499_, lean_object* v_a_500_, lean_object* v_a_501_, lean_object* v_a_502_, lean_object* v_a_503_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang(lean_object* v_stx_496_, lean_object* v_a_497_, lean_object* v_a_498_, lean_object* v_a_499_, lean_object* v_a_500_, lean_object* v_a_501_, lean_object* v_a_502_, lean_object* v_a_503_, lean_object* v_a_504_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_505_;
|
||||
v___x_505_ = l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg(v_stx_495_, v_a_500_, v_a_501_, v_a_502_, v_a_503_);
|
||||
return v___x_505_;
|
||||
lean_object* v___x_506_;
|
||||
v___x_506_ = l_Lean_Elab_Tactic_evalSimpAllArithBang___redArg(v_stx_496_, v_a_501_, v_a_502_, v_a_503_, v_a_504_);
|
||||
return v___x_506_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang___boxed(lean_object* v_stx_506_, lean_object* v_a_507_, lean_object* v_a_508_, lean_object* v_a_509_, lean_object* v_a_510_, lean_object* v_a_511_, lean_object* v_a_512_, lean_object* v_a_513_, lean_object* v_a_514_, lean_object* v_a_515_){
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllArithBang___boxed(lean_object* v_stx_507_, lean_object* v_a_508_, lean_object* v_a_509_, lean_object* v_a_510_, lean_object* v_a_511_, lean_object* v_a_512_, lean_object* v_a_513_, lean_object* v_a_514_, lean_object* v_a_515_, lean_object* v_a_516_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_516_;
|
||||
v_res_516_ = l_Lean_Elab_Tactic_evalSimpAllArithBang(v_stx_506_, v_a_507_, v_a_508_, v_a_509_, v_a_510_, v_a_511_, v_a_512_, v_a_513_, v_a_514_);
|
||||
lean_dec(v_a_514_);
|
||||
lean_dec_ref(v_a_513_);
|
||||
lean_dec(v_a_512_);
|
||||
lean_dec_ref(v_a_511_);
|
||||
lean_dec(v_a_510_);
|
||||
lean_dec_ref(v_a_509_);
|
||||
lean_dec(v_a_508_);
|
||||
lean_dec_ref(v_a_507_);
|
||||
return v_res_516_;
|
||||
lean_object* v_res_517_;
|
||||
v_res_517_ = l_Lean_Elab_Tactic_evalSimpAllArithBang(v_stx_507_, v_a_508_, v_a_509_, v_a_510_, v_a_511_, v_a_512_, v_a_513_, v_a_514_, v_a_515_);
|
||||
lean_dec(v_a_515_);
|
||||
lean_dec_ref(v_a_514_);
|
||||
lean_dec(v_a_513_);
|
||||
lean_dec_ref(v_a_512_);
|
||||
lean_dec(v_a_511_);
|
||||
lean_dec_ref(v_a_510_);
|
||||
lean_dec(v_a_509_);
|
||||
lean_dec_ref(v_a_508_);
|
||||
return v_res_517_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1(){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_530_; lean_object* v___x_531_; lean_object* v___x_532_; lean_object* v___x_533_; lean_object* v___x_534_;
|
||||
v___x_530_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_531_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1___closed__1));
|
||||
v___x_532_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1___closed__3));
|
||||
v___x_533_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___boxed), 10, 0);
|
||||
v___x_534_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_530_, v___x_531_, v___x_532_, v___x_533_);
|
||||
return v___x_534_;
|
||||
lean_object* v___x_531_; lean_object* v___x_532_; lean_object* v___x_533_; lean_object* v___x_534_; lean_object* v___x_535_;
|
||||
v___x_531_ = l_Lean_Elab_Tactic_tacticElabAttribute;
|
||||
v___x_532_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1___closed__1));
|
||||
v___x_533_ = ((lean_object*)(l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1___closed__3));
|
||||
v___x_534_ = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllArithBang___boxed), 10, 0);
|
||||
v___x_535_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_531_, v___x_532_, v___x_533_, v___x_534_);
|
||||
return v___x_535_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1___boxed(lean_object* v_a_535_){
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1___boxed(lean_object* v_a_536_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_536_;
|
||||
v_res_536_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1();
|
||||
return v_res_536_;
|
||||
lean_object* v_res_537_;
|
||||
v_res_537_ = l___private_Lean_Elab_Tactic_SimpArith_0__Lean_Elab_Tactic_evalSimpAllArithBang___regBuiltin_Lean_Elab_Tactic_evalSimpAllArithBang__1();
|
||||
return v_res_537_;
|
||||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Tactic_Simp(uint8_t builtin);
|
||||
|
|
|
|||
12638
stage0/stdlib/Lean/Elab/Tactic/SimpTrace.c
generated
12638
stage0/stdlib/Lean/Elab/Tactic/SimpTrace.c
generated
File diff suppressed because one or more lines are too long
4300
stage0/stdlib/Lean/Elab/Tactic/Simpa.c
generated
4300
stage0/stdlib/Lean/Elab/Tactic/Simpa.c
generated
File diff suppressed because it is too large
Load diff
17740
stage0/stdlib/Lean/Elab/Tactic/SolveByElim.c
generated
17740
stage0/stdlib/Lean/Elab/Tactic/SolveByElim.c
generated
File diff suppressed because it is too large
Load diff
70109
stage0/stdlib/Lean/Elab/Tactic/Try.c
generated
70109
stage0/stdlib/Lean/Elab/Tactic/Try.c
generated
File diff suppressed because one or more lines are too long
43084
stage0/stdlib/Lean/Elab/Term/TermElabM.c
generated
43084
stage0/stdlib/Lean/Elab/Term/TermElabM.c
generated
File diff suppressed because it is too large
Load diff
3531
stage0/stdlib/Lean/Linter/Basic.c
generated
3531
stage0/stdlib/Lean/Linter/Basic.c
generated
File diff suppressed because it is too large
Load diff
10
stage0/stdlib/Lean/Linter/Coe.c
generated
10
stage0/stdlib/Lean/Linter/Coe.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter.Coe
|
||||
// Imports: public import Lean.Elab.Command public import Lean.Server.InfoUtils import Lean.Linter.Basic import all Lean.Elab.Term.TermElabM
|
||||
// Imports: public import Lean.Elab.Command public import Lean.Server.InfoUtils import Lean.Linter.Init import all Lean.Elab.Term.TermElabM
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -3988,7 +3988,7 @@ return v_res_1334_;
|
|||
}
|
||||
lean_object* runtime_initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Server_InfoUtils(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Term_TermElabM(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Linter_Coe(uint8_t builtin) {
|
||||
|
|
@ -4001,7 +4001,7 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Lean_Server_InfoUtils(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Term_TermElabM(builtin);
|
||||
|
|
@ -4026,7 +4026,7 @@ return lean_io_result_mk_ok(lean_box(0));
|
|||
}
|
||||
lean_object* initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Server_InfoUtils(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Term_TermElabM(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Linter_Coe(uint8_t builtin) {
|
||||
|
|
@ -4039,7 +4039,7 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Server_InfoUtils(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Term_TermElabM(builtin);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Linter/Deprecated.c
generated
10
stage0/stdlib/Lean/Linter/Deprecated.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter.Deprecated
|
||||
// Imports: public import Lean.Meta.Basic import Lean.Linter.Basic import Lean.Elab.InfoTree.Main import Lean.ExtraModUses import Init.Omega
|
||||
// Imports: public import Lean.Meta.Basic import Lean.Linter.Init import Lean.Elab.InfoTree.Main import Lean.ExtraModUses import Init.Omega
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -4864,7 +4864,7 @@ return v_res_1578_;
|
|||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Meta_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_InfoTree_Main(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_ExtraModUses(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Omega(uint8_t builtin);
|
||||
|
|
@ -4876,7 +4876,7 @@ _G_runtime_initialized = true;
|
|||
res = runtime_initialize_Lean_Meta_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_InfoTree_Main(builtin);
|
||||
|
|
@ -4908,7 +4908,7 @@ _G_meta_initialized = true;
|
|||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Meta_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_InfoTree_Main(uint8_t builtin);
|
||||
lean_object* initialize_Lean_ExtraModUses(uint8_t builtin);
|
||||
lean_object* initialize_Init_Omega(uint8_t builtin);
|
||||
|
|
@ -4920,7 +4920,7 @@ _G_initialized = true;
|
|||
res = initialize_Lean_Meta_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_InfoTree_Main(builtin);
|
||||
|
|
|
|||
10
stage0/stdlib/Lean/Linter/DocsOnAlt.c
generated
10
stage0/stdlib/Lean/Linter/DocsOnAlt.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter.DocsOnAlt
|
||||
// Imports: import Lean.Parser.Syntax public import Lean.Data.Options import Lean.Elab.Command import Lean.Linter.Basic import Lean.Server.InfoUtils
|
||||
// Imports: import Lean.Parser.Syntax public import Lean.Data.Options import Lean.Elab.Command import Lean.Linter.Init import Lean.Server.InfoUtils
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -3293,7 +3293,7 @@ return v_res_1054_;
|
|||
lean_object* runtime_initialize_Lean_Parser_Syntax(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Data_Options(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Server_InfoUtils(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Linter_DocsOnAlt(uint8_t builtin) {
|
||||
|
|
@ -3309,7 +3309,7 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Lean_Elab_Command(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Server_InfoUtils(builtin);
|
||||
|
|
@ -3335,7 +3335,7 @@ return lean_io_result_mk_ok(lean_box(0));
|
|||
lean_object* initialize_Lean_Parser_Syntax(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Data_Options(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Server_InfoUtils(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Linter_DocsOnAlt(uint8_t builtin) {
|
||||
|
|
@ -3351,7 +3351,7 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Elab_Command(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Server_InfoUtils(builtin);
|
||||
|
|
|
|||
495
stage0/stdlib/Lean/Linter/EnvLinter/Builtin.c
generated
495
stage0/stdlib/Lean/Linter/EnvLinter/Builtin.c
generated
|
|
@ -80,13 +80,9 @@ lean_object* l_List_reverse___redArg(lean_object*);
|
|||
lean_object* l_Lean_MessageData_ofList(lean_object*);
|
||||
lean_object* l_Lean_ConstantInfo_type(lean_object*);
|
||||
lean_object* l_runST___redArg(lean_object*);
|
||||
uint8_t l_Lean_isImplicitReducibleCore(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_components(lean_object*);
|
||||
lean_object* l_List_tail_x21___redArg(lean_object*);
|
||||
lean_object* l_List_zipWith___at___00List_zip_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
uint8_t l_Lean_ConstantInfo_isDefinition(lean_object*);
|
||||
lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Linter_EnvLinter_defLemma_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Linter_EnvLinter_defLemma_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Linter_EnvLinter_defLemma_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -313,39 +309,6 @@ static lean_object* l_Lean_Linter_EnvLinter_checkUnivs___closed__6;
|
|||
static lean_once_cell_t l_Lean_Linter_EnvLinter_checkUnivs___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Linter_EnvLinter_checkUnivs___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_EnvLinter_checkUnivs;
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_find_x3f___at___00Lean_Linter_EnvLinter_dupNamespace_spec__1(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_find_x3f___at___00Lean_Linter_EnvLinter_dupNamespace_spec__1___boxed(lean_object*);
|
||||
static const lean_string_object l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 15, .m_capacity = 15, .m_length = 14, .m_data = "The namespace "};
|
||||
static const lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__0 = (const lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__0_value;
|
||||
static lean_once_cell_t l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__1;
|
||||
static const lean_string_object l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = " is duplicated in the name"};
|
||||
static const lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__2 = (const lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__2_value;
|
||||
static lean_once_cell_t l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Lean_Linter_EnvLinter_dupNamespace___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Linter_EnvLinter_dupNamespace___lam__0___boxed, .m_arity = 6, .m_num_fixed = 0, .m_objs = {} };
|
||||
static const lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__0 = (const lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___closed__0_value;
|
||||
static const lean_string_object l_Lean_Linter_EnvLinter_dupNamespace___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 44, .m_capacity = 44, .m_length = 43, .m_data = "No declarations have a duplicate namespace."};
|
||||
static const lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__1 = (const lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___closed__1_value;
|
||||
static const lean_ctor_object l_Lean_Linter_EnvLinter_dupNamespace___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___closed__1_value)}};
|
||||
static const lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__2 = (const lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___closed__2_value;
|
||||
static lean_once_cell_t l_Lean_Linter_EnvLinter_dupNamespace___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__3;
|
||||
static const lean_string_object l_Lean_Linter_EnvLinter_dupNamespace___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 31, .m_capacity = 31, .m_length = 30, .m_data = "DUPLICATED NAMESPACES IN NAME:"};
|
||||
static const lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__4 = (const lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___closed__4_value;
|
||||
static const lean_ctor_object l_Lean_Linter_EnvLinter_dupNamespace___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___closed__4_value)}};
|
||||
static const lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__5 = (const lean_object*)&l_Lean_Linter_EnvLinter_dupNamespace___closed__5_value;
|
||||
static lean_once_cell_t l_Lean_Linter_EnvLinter_dupNamespace___closed__6_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__6;
|
||||
static lean_once_cell_t l_Lean_Linter_EnvLinter_dupNamespace___closed__7_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Lean_Linter_EnvLinter_dupNamespace___closed__7;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_EnvLinter_dupNamespace;
|
||||
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Linter_EnvLinter_defLemma_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7(lean_object* v_msgData_1_, lean_object* v___y_2_, lean_object* v___y_3_, lean_object* v___y_4_, lean_object* v___y_5_){
|
||||
_start:
|
||||
{
|
||||
|
|
@ -4106,460 +4069,6 @@ v___x_1398_ = lean_obj_once(&l_Lean_Linter_EnvLinter_checkUnivs___closed__7, &l_
|
|||
return v___x_1398_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___redArg(lean_object* v_declName_1399_, lean_object* v___y_1400_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1402_; lean_object* v_env_1403_; uint8_t v___x_1404_; lean_object* v___x_1405_; lean_object* v___x_1406_;
|
||||
v___x_1402_ = lean_st_ref_get(v___y_1400_);
|
||||
v_env_1403_ = lean_ctor_get(v___x_1402_, 0);
|
||||
lean_inc_ref(v_env_1403_);
|
||||
lean_dec(v___x_1402_);
|
||||
v___x_1404_ = l_Lean_isImplicitReducibleCore(v_env_1403_, v_declName_1399_);
|
||||
v___x_1405_ = lean_box(v___x_1404_);
|
||||
v___x_1406_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v___x_1406_, 0, v___x_1405_);
|
||||
return v___x_1406_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___redArg___boxed(lean_object* v_declName_1407_, lean_object* v___y_1408_, lean_object* v___y_1409_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1410_;
|
||||
v_res_1410_ = l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___redArg(v_declName_1407_, v___y_1408_);
|
||||
lean_dec(v___y_1408_);
|
||||
return v_res_1410_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0(lean_object* v_declName_1411_, lean_object* v___y_1412_, lean_object* v___y_1413_, lean_object* v___y_1414_, lean_object* v___y_1415_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1417_;
|
||||
v___x_1417_ = l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___redArg(v_declName_1411_, v___y_1415_);
|
||||
return v___x_1417_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___boxed(lean_object* v_declName_1418_, lean_object* v___y_1419_, lean_object* v___y_1420_, lean_object* v___y_1421_, lean_object* v___y_1422_, lean_object* v___y_1423_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1424_;
|
||||
v_res_1424_ = l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0(v_declName_1418_, v___y_1419_, v___y_1420_, v___y_1421_, v___y_1422_);
|
||||
lean_dec(v___y_1422_);
|
||||
lean_dec_ref(v___y_1421_);
|
||||
lean_dec(v___y_1420_);
|
||||
lean_dec_ref(v___y_1419_);
|
||||
return v_res_1424_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_find_x3f___at___00Lean_Linter_EnvLinter_dupNamespace_spec__1(lean_object* v_x_1425_){
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(v_x_1425_) == 0)
|
||||
{
|
||||
lean_object* v___x_1426_;
|
||||
v___x_1426_ = lean_box(0);
|
||||
return v___x_1426_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_head_1427_; lean_object* v_tail_1428_; lean_object* v_fst_1429_; lean_object* v_snd_1430_; uint8_t v___x_1431_;
|
||||
v_head_1427_ = lean_ctor_get(v_x_1425_, 0);
|
||||
v_tail_1428_ = lean_ctor_get(v_x_1425_, 1);
|
||||
v_fst_1429_ = lean_ctor_get(v_head_1427_, 0);
|
||||
v_snd_1430_ = lean_ctor_get(v_head_1427_, 1);
|
||||
v___x_1431_ = lean_name_eq(v_fst_1429_, v_snd_1430_);
|
||||
if (v___x_1431_ == 0)
|
||||
{
|
||||
v_x_1425_ = v_tail_1428_;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_1433_;
|
||||
lean_inc(v_head_1427_);
|
||||
v___x_1433_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_1433_, 0, v_head_1427_);
|
||||
return v___x_1433_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_find_x3f___at___00Lean_Linter_EnvLinter_dupNamespace_spec__1___boxed(lean_object* v_x_1434_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1435_;
|
||||
v_res_1435_ = l_List_find_x3f___at___00Lean_Linter_EnvLinter_dupNamespace_spec__1(v_x_1434_);
|
||||
lean_dec(v_x_1434_);
|
||||
return v_res_1435_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1437_; lean_object* v___x_1438_;
|
||||
v___x_1437_ = ((lean_object*)(l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__0));
|
||||
v___x_1438_ = l_Lean_stringToMessageData(v___x_1437_);
|
||||
return v___x_1438_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1440_; lean_object* v___x_1441_;
|
||||
v___x_1440_ = ((lean_object*)(l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__2));
|
||||
v___x_1441_ = l_Lean_stringToMessageData(v___x_1440_);
|
||||
return v___x_1441_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0(lean_object* v_declName_1442_, lean_object* v___y_1443_, lean_object* v___y_1444_, lean_object* v___y_1445_, lean_object* v___y_1446_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1448_;
|
||||
lean_inc(v_declName_1442_);
|
||||
v___x_1448_ = l_Lean_Linter_EnvLinter_isAutoDecl___redArg(v_declName_1442_, v___y_1446_);
|
||||
if (lean_obj_tag(v___x_1448_) == 0)
|
||||
{
|
||||
lean_object* v_a_1449_; lean_object* v___x_1451_; uint8_t v_isShared_1452_; uint8_t v_isSharedCheck_1501_;
|
||||
v_a_1449_ = lean_ctor_get(v___x_1448_, 0);
|
||||
v_isSharedCheck_1501_ = !lean_is_exclusive(v___x_1448_);
|
||||
if (v_isSharedCheck_1501_ == 0)
|
||||
{
|
||||
v___x_1451_ = v___x_1448_;
|
||||
v_isShared_1452_ = v_isSharedCheck_1501_;
|
||||
goto v_resetjp_1450_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1449_);
|
||||
lean_dec(v___x_1448_);
|
||||
v___x_1451_ = lean_box(0);
|
||||
v_isShared_1452_ = v_isSharedCheck_1501_;
|
||||
goto v_resetjp_1450_;
|
||||
}
|
||||
v_resetjp_1450_:
|
||||
{
|
||||
uint8_t v___x_1453_;
|
||||
v___x_1453_ = lean_unbox(v_a_1449_);
|
||||
lean_dec(v_a_1449_);
|
||||
if (v___x_1453_ == 0)
|
||||
{
|
||||
lean_object* v___x_1454_; lean_object* v_a_1455_; lean_object* v___x_1457_; uint8_t v_isShared_1458_; uint8_t v_isSharedCheck_1496_;
|
||||
lean_del_object(v___x_1451_);
|
||||
lean_inc(v_declName_1442_);
|
||||
v___x_1454_ = l_Lean_isImplicitReducible___at___00Lean_Linter_EnvLinter_dupNamespace_spec__0___redArg(v_declName_1442_, v___y_1446_);
|
||||
v_a_1455_ = lean_ctor_get(v___x_1454_, 0);
|
||||
v_isSharedCheck_1496_ = !lean_is_exclusive(v___x_1454_);
|
||||
if (v_isSharedCheck_1496_ == 0)
|
||||
{
|
||||
v___x_1457_ = v___x_1454_;
|
||||
v_isShared_1458_ = v_isSharedCheck_1496_;
|
||||
goto v_resetjp_1456_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1455_);
|
||||
lean_dec(v___x_1454_);
|
||||
v___x_1457_ = lean_box(0);
|
||||
v_isShared_1458_ = v_isSharedCheck_1496_;
|
||||
goto v_resetjp_1456_;
|
||||
}
|
||||
v_resetjp_1456_:
|
||||
{
|
||||
uint8_t v___x_1459_;
|
||||
v___x_1459_ = lean_unbox(v_a_1455_);
|
||||
lean_dec(v_a_1455_);
|
||||
if (v___x_1459_ == 0)
|
||||
{
|
||||
lean_object* v___x_1460_; lean_object* v___x_1461_; lean_object* v___x_1462_; lean_object* v___x_1463_;
|
||||
v___x_1460_ = l_Lean_Name_components(v_declName_1442_);
|
||||
v___x_1461_ = l_List_tail_x21___redArg(v___x_1460_);
|
||||
v___x_1462_ = l_List_zipWith___at___00List_zip_spec__0(lean_box(0), lean_box(0), v___x_1460_, v___x_1461_);
|
||||
v___x_1463_ = l_List_find_x3f___at___00Lean_Linter_EnvLinter_dupNamespace_spec__1(v___x_1462_);
|
||||
lean_dec(v___x_1462_);
|
||||
if (lean_obj_tag(v___x_1463_) == 1)
|
||||
{
|
||||
lean_object* v_val_1464_; lean_object* v___x_1466_; uint8_t v_isShared_1467_; uint8_t v_isSharedCheck_1487_;
|
||||
v_val_1464_ = lean_ctor_get(v___x_1463_, 0);
|
||||
v_isSharedCheck_1487_ = !lean_is_exclusive(v___x_1463_);
|
||||
if (v_isSharedCheck_1487_ == 0)
|
||||
{
|
||||
v___x_1466_ = v___x_1463_;
|
||||
v_isShared_1467_ = v_isSharedCheck_1487_;
|
||||
goto v_resetjp_1465_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_val_1464_);
|
||||
lean_dec(v___x_1463_);
|
||||
v___x_1466_ = lean_box(0);
|
||||
v_isShared_1467_ = v_isSharedCheck_1487_;
|
||||
goto v_resetjp_1465_;
|
||||
}
|
||||
v_resetjp_1465_:
|
||||
{
|
||||
lean_object* v_fst_1468_; lean_object* v___x_1470_; uint8_t v_isShared_1471_; uint8_t v_isSharedCheck_1485_;
|
||||
v_fst_1468_ = lean_ctor_get(v_val_1464_, 0);
|
||||
v_isSharedCheck_1485_ = !lean_is_exclusive(v_val_1464_);
|
||||
if (v_isSharedCheck_1485_ == 0)
|
||||
{
|
||||
lean_object* v_unused_1486_;
|
||||
v_unused_1486_ = lean_ctor_get(v_val_1464_, 1);
|
||||
lean_dec(v_unused_1486_);
|
||||
v___x_1470_ = v_val_1464_;
|
||||
v_isShared_1471_ = v_isSharedCheck_1485_;
|
||||
goto v_resetjp_1469_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_fst_1468_);
|
||||
lean_dec(v_val_1464_);
|
||||
v___x_1470_ = lean_box(0);
|
||||
v_isShared_1471_ = v_isSharedCheck_1485_;
|
||||
goto v_resetjp_1469_;
|
||||
}
|
||||
v_resetjp_1469_:
|
||||
{
|
||||
lean_object* v___x_1472_; lean_object* v___x_1473_; lean_object* v___x_1475_;
|
||||
v___x_1472_ = lean_obj_once(&l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__1, &l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__1_once, _init_l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__1);
|
||||
v___x_1473_ = l_Lean_MessageData_ofName(v_fst_1468_);
|
||||
if (v_isShared_1471_ == 0)
|
||||
{
|
||||
lean_ctor_set_tag(v___x_1470_, 7);
|
||||
lean_ctor_set(v___x_1470_, 1, v___x_1473_);
|
||||
lean_ctor_set(v___x_1470_, 0, v___x_1472_);
|
||||
v___x_1475_ = v___x_1470_;
|
||||
goto v_reusejp_1474_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1484_;
|
||||
v_reuseFailAlloc_1484_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1484_, 0, v___x_1472_);
|
||||
lean_ctor_set(v_reuseFailAlloc_1484_, 1, v___x_1473_);
|
||||
v___x_1475_ = v_reuseFailAlloc_1484_;
|
||||
goto v_reusejp_1474_;
|
||||
}
|
||||
v_reusejp_1474_:
|
||||
{
|
||||
lean_object* v___x_1476_; lean_object* v___x_1477_; lean_object* v___x_1479_;
|
||||
v___x_1476_ = lean_obj_once(&l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__3, &l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__3_once, _init_l_Lean_Linter_EnvLinter_dupNamespace___lam__0___closed__3);
|
||||
v___x_1477_ = lean_alloc_ctor(7, 2, 0);
|
||||
lean_ctor_set(v___x_1477_, 0, v___x_1475_);
|
||||
lean_ctor_set(v___x_1477_, 1, v___x_1476_);
|
||||
if (v_isShared_1467_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1466_, 0, v___x_1477_);
|
||||
v___x_1479_ = v___x_1466_;
|
||||
goto v_reusejp_1478_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1483_;
|
||||
v_reuseFailAlloc_1483_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1483_, 0, v___x_1477_);
|
||||
v___x_1479_ = v_reuseFailAlloc_1483_;
|
||||
goto v_reusejp_1478_;
|
||||
}
|
||||
v_reusejp_1478_:
|
||||
{
|
||||
lean_object* v___x_1481_;
|
||||
if (v_isShared_1458_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1457_, 0, v___x_1479_);
|
||||
v___x_1481_ = v___x_1457_;
|
||||
goto v_reusejp_1480_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1482_;
|
||||
v_reuseFailAlloc_1482_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1482_, 0, v___x_1479_);
|
||||
v___x_1481_ = v_reuseFailAlloc_1482_;
|
||||
goto v_reusejp_1480_;
|
||||
}
|
||||
v_reusejp_1480_:
|
||||
{
|
||||
return v___x_1481_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_1488_; lean_object* v___x_1490_;
|
||||
lean_dec(v___x_1463_);
|
||||
v___x_1488_ = lean_box(0);
|
||||
if (v_isShared_1458_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1457_, 0, v___x_1488_);
|
||||
v___x_1490_ = v___x_1457_;
|
||||
goto v_reusejp_1489_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1491_;
|
||||
v_reuseFailAlloc_1491_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1491_, 0, v___x_1488_);
|
||||
v___x_1490_ = v_reuseFailAlloc_1491_;
|
||||
goto v_reusejp_1489_;
|
||||
}
|
||||
v_reusejp_1489_:
|
||||
{
|
||||
return v___x_1490_;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_1492_; lean_object* v___x_1494_;
|
||||
lean_dec(v_declName_1442_);
|
||||
v___x_1492_ = lean_box(0);
|
||||
if (v_isShared_1458_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1457_, 0, v___x_1492_);
|
||||
v___x_1494_ = v___x_1457_;
|
||||
goto v_reusejp_1493_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1495_;
|
||||
v_reuseFailAlloc_1495_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1495_, 0, v___x_1492_);
|
||||
v___x_1494_ = v_reuseFailAlloc_1495_;
|
||||
goto v_reusejp_1493_;
|
||||
}
|
||||
v_reusejp_1493_:
|
||||
{
|
||||
return v___x_1494_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v___x_1497_; lean_object* v___x_1499_;
|
||||
lean_dec(v_declName_1442_);
|
||||
v___x_1497_ = lean_box(0);
|
||||
if (v_isShared_1452_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_1451_, 0, v___x_1497_);
|
||||
v___x_1499_ = v___x_1451_;
|
||||
goto v_reusejp_1498_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1500_;
|
||||
v_reuseFailAlloc_1500_ = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1500_, 0, v___x_1497_);
|
||||
v___x_1499_ = v_reuseFailAlloc_1500_;
|
||||
goto v_reusejp_1498_;
|
||||
}
|
||||
v_reusejp_1498_:
|
||||
{
|
||||
return v___x_1499_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_1502_; lean_object* v___x_1504_; uint8_t v_isShared_1505_; uint8_t v_isSharedCheck_1509_;
|
||||
lean_dec(v_declName_1442_);
|
||||
v_a_1502_ = lean_ctor_get(v___x_1448_, 0);
|
||||
v_isSharedCheck_1509_ = !lean_is_exclusive(v___x_1448_);
|
||||
if (v_isSharedCheck_1509_ == 0)
|
||||
{
|
||||
v___x_1504_ = v___x_1448_;
|
||||
v_isShared_1505_ = v_isSharedCheck_1509_;
|
||||
goto v_resetjp_1503_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_a_1502_);
|
||||
lean_dec(v___x_1448_);
|
||||
v___x_1504_ = lean_box(0);
|
||||
v_isShared_1505_ = v_isSharedCheck_1509_;
|
||||
goto v_resetjp_1503_;
|
||||
}
|
||||
v_resetjp_1503_:
|
||||
{
|
||||
lean_object* v___x_1507_;
|
||||
if (v_isShared_1505_ == 0)
|
||||
{
|
||||
v___x_1507_ = v___x_1504_;
|
||||
goto v_reusejp_1506_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_1508_;
|
||||
v_reuseFailAlloc_1508_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_1508_, 0, v_a_1502_);
|
||||
v___x_1507_ = v_reuseFailAlloc_1508_;
|
||||
goto v_reusejp_1506_;
|
||||
}
|
||||
v_reusejp_1506_:
|
||||
{
|
||||
return v___x_1507_;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_EnvLinter_dupNamespace___lam__0___boxed(lean_object* v_declName_1510_, lean_object* v___y_1511_, lean_object* v___y_1512_, lean_object* v___y_1513_, lean_object* v___y_1514_, lean_object* v___y_1515_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_res_1516_;
|
||||
v_res_1516_ = l_Lean_Linter_EnvLinter_dupNamespace___lam__0(v_declName_1510_, v___y_1511_, v___y_1512_, v___y_1513_, v___y_1514_);
|
||||
lean_dec(v___y_1514_);
|
||||
lean_dec_ref(v___y_1513_);
|
||||
lean_dec(v___y_1512_);
|
||||
lean_dec_ref(v___y_1511_);
|
||||
return v_res_1516_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_EnvLinter_dupNamespace___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1521_; lean_object* v___x_1522_;
|
||||
v___x_1521_ = ((lean_object*)(l_Lean_Linter_EnvLinter_dupNamespace___closed__2));
|
||||
v___x_1522_ = l_Lean_MessageData_ofFormat(v___x_1521_);
|
||||
return v___x_1522_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_EnvLinter_dupNamespace___closed__6(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1526_; lean_object* v___x_1527_;
|
||||
v___x_1526_ = ((lean_object*)(l_Lean_Linter_EnvLinter_dupNamespace___closed__5));
|
||||
v___x_1527_ = l_Lean_MessageData_ofFormat(v___x_1526_);
|
||||
return v___x_1527_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_EnvLinter_dupNamespace___closed__7(void){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_1528_; lean_object* v___x_1529_; lean_object* v___x_1530_; lean_object* v___f_1531_; lean_object* v___x_1532_;
|
||||
v___x_1528_ = 1;
|
||||
v___x_1529_ = lean_obj_once(&l_Lean_Linter_EnvLinter_dupNamespace___closed__6, &l_Lean_Linter_EnvLinter_dupNamespace___closed__6_once, _init_l_Lean_Linter_EnvLinter_dupNamespace___closed__6);
|
||||
v___x_1530_ = lean_obj_once(&l_Lean_Linter_EnvLinter_dupNamespace___closed__3, &l_Lean_Linter_EnvLinter_dupNamespace___closed__3_once, _init_l_Lean_Linter_EnvLinter_dupNamespace___closed__3);
|
||||
v___f_1531_ = ((lean_object*)(l_Lean_Linter_EnvLinter_dupNamespace___closed__0));
|
||||
v___x_1532_ = lean_alloc_ctor(0, 3, 1);
|
||||
lean_ctor_set(v___x_1532_, 0, v___f_1531_);
|
||||
lean_ctor_set(v___x_1532_, 1, v___x_1530_);
|
||||
lean_ctor_set(v___x_1532_, 2, v___x_1529_);
|
||||
lean_ctor_set_uint8(v___x_1532_, sizeof(void*)*3, v___x_1528_);
|
||||
return v___x_1532_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Linter_EnvLinter_dupNamespace(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1533_;
|
||||
v___x_1533_ = lean_obj_once(&l_Lean_Linter_EnvLinter_dupNamespace___closed__7, &l_Lean_Linter_EnvLinter_dupNamespace___closed__7_once, _init_l_Lean_Linter_EnvLinter_dupNamespace___closed__7);
|
||||
return v___x_1533_;
|
||||
}
|
||||
}
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Linter_EnvLinter_Builtin(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -4608,8 +4117,6 @@ l_Lean_Linter_EnvLinter_defLemma = _init_l_Lean_Linter_EnvLinter_defLemma();
|
|||
lean_mark_persistent(l_Lean_Linter_EnvLinter_defLemma);
|
||||
l_Lean_Linter_EnvLinter_checkUnivs = _init_l_Lean_Linter_EnvLinter_checkUnivs();
|
||||
lean_mark_persistent(l_Lean_Linter_EnvLinter_checkUnivs);
|
||||
l_Lean_Linter_EnvLinter_dupNamespace = _init_l_Lean_Linter_EnvLinter_dupNamespace();
|
||||
lean_mark_persistent(l_Lean_Linter_EnvLinter_dupNamespace);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Linter_EnvLinter_Basic(uint8_t builtin);
|
||||
|
|
|
|||
18
stage0/stdlib/Lean/Linter/Extra.c
generated
18
stage0/stdlib/Lean/Linter/Extra.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter.Extra
|
||||
// Imports: public import Lean.Linter.Extra.UnnecessarySeqFocus public import Lean.Linter.Extra.UnreachableTactic
|
||||
// Imports: public import Lean.Linter.Extra.DupNamespace public import Lean.Linter.Extra.UnnecessarySeqFocus public import Lean.Linter.Extra.UnreachableTactic public import Lean.Linter.Extra.UnusedDecidableInType
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -13,19 +13,27 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
lean_object* runtime_initialize_Lean_Linter_Extra_DupNamespace(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Extra_UnnecessarySeqFocus(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Extra_UnreachableTactic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Extra_UnusedDecidableInType(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Linter_Extra(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_runtime_initialized = true;
|
||||
res = runtime_initialize_Lean_Linter_Extra_DupNamespace(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Extra_UnnecessarySeqFocus(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Extra_UnreachableTactic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Extra_UnusedDecidableInType(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
static bool _G_meta_initialized = false;
|
||||
|
|
@ -35,19 +43,27 @@ if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
|||
_G_meta_initialized = true;
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Linter_Extra_DupNamespace(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Extra_UnnecessarySeqFocus(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Extra_UnreachableTactic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Extra_UnusedDecidableInType(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Linter_Extra(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Lean_Linter_Extra_DupNamespace(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Extra_UnnecessarySeqFocus(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Extra_UnreachableTactic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Extra_UnusedDecidableInType(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Extra(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
2882
stage0/stdlib/Lean/Linter/Extra/DupNamespace.c
generated
Normal file
2882
stage0/stdlib/Lean/Linter/Extra/DupNamespace.c
generated
Normal file
File diff suppressed because it is too large
Load diff
8158
stage0/stdlib/Lean/Linter/Extra/UnusedDecidableInType.c
generated
Normal file
8158
stage0/stdlib/Lean/Linter/Extra/UnusedDecidableInType.c
generated
Normal file
File diff suppressed because it is too large
Load diff
1605
stage0/stdlib/Lean/Linter/Init.c
generated
Normal file
1605
stage0/stdlib/Lean/Linter/Init.c
generated
Normal file
File diff suppressed because it is too large
Load diff
9058
stage0/stdlib/Lean/Linter/List.c
generated
9058
stage0/stdlib/Lean/Linter/List.c
generated
File diff suppressed because it is too large
Load diff
2767
stage0/stdlib/Lean/Linter/MissingDocs.c
generated
2767
stage0/stdlib/Lean/Linter/MissingDocs.c
generated
File diff suppressed because it is too large
Load diff
10
stage0/stdlib/Lean/Linter/Sets.c
generated
10
stage0/stdlib/Lean/Linter/Sets.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter.Sets
|
||||
// Imports: public meta import Lean.Linter.Basic public meta import Lean.Elab.Command public import Init.Notation import Lean.Data.KVMap
|
||||
// Imports: public meta import Lean.Linter.Init public meta import Lean.Elab.Command public import Init.Notation import Lean.Data.KVMap
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -1473,14 +1473,14 @@ if (lean_io_result_is_error(res)) return res;
|
|||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
static bool _G_meta_initialized = false;
|
||||
LEAN_EXPORT lean_object* meta_initialize_Lean_Linter_Sets(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_meta_initialized = true;
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Elab_Command(builtin);
|
||||
|
|
@ -1490,7 +1490,7 @@ l_Lean_Linter_registerSet___auto__1 = _init_l_Lean_Linter_registerSet___auto__1(
|
|||
lean_mark_persistent(l_Lean_Linter_registerSet___auto__1);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Elab_Command(uint8_t builtin);
|
||||
lean_object* initialize_Init_Notation(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Data_KVMap(uint8_t builtin);
|
||||
|
|
@ -1499,7 +1499,7 @@ LEAN_EXPORT lean_object* initialize_Lean_Linter_Sets(uint8_t builtin) {
|
|||
lean_object * res;
|
||||
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
|
||||
_G_initialized = true;
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Elab_Command(builtin);
|
||||
|
|
|
|||
7001
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
7001
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
File diff suppressed because it is too large
Load diff
10
stage0/stdlib/Lean/Linter/Util.c
generated
10
stage0/stdlib/Lean/Linter/Util.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Linter.Util
|
||||
// Imports: public import Lean.Server.InfoUtils public import Lean.Linter.Basic
|
||||
// Imports: public import Lean.Server.InfoUtils public import Lean.Linter.Init
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -395,7 +395,7 @@ return v___x_121_;
|
|||
}
|
||||
}
|
||||
lean_object* runtime_initialize_Lean_Server_InfoUtils(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lean_Linter_Util(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -404,7 +404,7 @@ _G_runtime_initialized = true;
|
|||
res = runtime_initialize_Lean_Server_InfoUtils(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Basic(builtin);
|
||||
res = runtime_initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
@ -417,7 +417,7 @@ _G_meta_initialized = true;
|
|||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* initialize_Lean_Server_InfoUtils(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Linter_Init(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Linter_Util(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -426,7 +426,7 @@ _G_initialized = true;
|
|||
res = initialize_Lean_Server_InfoUtils(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Linter_Basic(builtin);
|
||||
res = initialize_Lean_Linter_Init(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lean_Linter_Util(builtin);
|
||||
|
|
|
|||
15673
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
15673
stage0/stdlib/Lean/Meta/AppBuilder.c
generated
File diff suppressed because it is too large
Load diff
17054
stage0/stdlib/Lean/Meta/Basic.c
generated
17054
stage0/stdlib/Lean/Meta/Basic.c
generated
File diff suppressed because it is too large
Load diff
13787
stage0/stdlib/Lean/Meta/Instances.c
generated
13787
stage0/stdlib/Lean/Meta/Instances.c
generated
File diff suppressed because it is too large
Load diff
2595
stage0/stdlib/Lean/Meta/MethodSpecs.c
generated
2595
stage0/stdlib/Lean/Meta/MethodSpecs.c
generated
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue